Real-time data transmission method, device and system based on intelligent 5G emergency knapsack
By determining the ownership of the main equipment and multi-level equipment based on the signal strength in the smart 5G first aid backpack, and optimizing the data reception and transmission moments, the problem of the insolable real-time data transmission of the smart 5G first aid backpack in remote meetings is solved, and more stable and efficient data transmission is achieved.
Patent Information
- Application Number
- CN202510273188.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2045-03-10
AI Technical Summary
The real-time data transmission of smart 5G first aid backpack in remote meetings is not smooth, resulting in lag and delay.
By determining the ownership of the main device according to the signal strength, determining the multi-level equipment, and dividing the connection and communication time respectively, optimizing the data reception and transmission time, sharing the data processing pressure, and using different channels between the internal and external networks for data transmission.
It effectively avoids the problem of unsmooth real-time data transmission in remote meetings, reduces lag and delay, and improves the stability and efficiency of data transmission.
Smart Images

Figure CN120128906A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and particularly to a real-time data transmission method, device, and system based on an intelligent 5G first aid backpack. Background Art
[0002] In field operations, a backpack is a common piece of equipment. With the development of technology, backpacks have also started to develop in the direction of intelligence. For example, they can be connected to remote medical staff and empowered with 5G for devices. Nowadays, there is an intelligent 5G first aid backpack, which is provided with communication equipment to enable the intelligent 5G first aid backpack to be connected to experts in real time for remote consultation and guidance.
[0003] Currently, the way the intelligent 5G first aid backpack conducts remote video is to select a preset intelligent 5G first aid backpack as a connection device to communicate with a remote device for a remote meeting, and other intelligent 5G first aid backpacks do not participate in this process.
[0004] In this way, the intelligent 5G first aid backpack used as the connection device is fixed each time. Since only one communication device is used and this communication device also needs to receive information from other communication devices, problems such as poor communication signals and the communication device's own data processing may occur, resulting in slow data transmission and accumulation of real-time data, and further causing situations such as lag and delay in the remote meeting. Therefore, there is a problem that the real-time data transmission of the remote meeting is not smooth. Summary of the Invention
[0005] Based on this, it is necessary to provide a real-time data transmission method, device, and system based on an intelligent 5G first aid backpack for the above problems.
[0006] The embodiment of the present invention is implemented as follows. For the real-time data transmission method based on an intelligent 5G first aid backpack, the real-time data transmission method based on an intelligent 5G first aid backpack includes:
[0007] S101, determining the ownership of the master device according to the signal strength;
[0008] S102, determining a first preset number of secondary devices from other communication devices outside the master device;
[0009] S103, connecting to each secondary device respectively and determining the communication duration between the master device and each secondary device respectively;
[0010] S104, dividing the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device;
[0011] S105. At every other preset time, determine the receiving time and receiving duration of the master device and the second device for receiving the downlink video respectively according to the communication durations of the first device and the second device;
[0012] S106. Receive the downlink video according to the receiving time of the master device for receiving the downlink video, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the downlink video to the master device;
[0013] S107. Upload the 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 an intelligent 5G first aid backpack. The real-time data transmission device based on the intelligent 5G first aid backpack includes:
[0015] A first selection module, configured to determine the attribution of the master device according to the signal strength;
[0016] A second selection module, configured to determine a first preset number of secondary devices from other communication devices outside the master device;
[0017] A determination duration module, configured to connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively;
[0018] A device division module, configured to divide the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device;
[0019] A determination reception module, configured to, at every other preset time, determine the receiving time and receiving duration of the master device and the second device for receiving the downlink video respectively according to the communication durations of the first device and the second device;
[0020] A data reception module, configured to receive the downlink video according to the receiving time of the master device for receiving the downlink video, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the downlink video to the master device;
[0021] An upload data module, configured to upload the 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 an intelligent 5G first aid backpack. The real-time data transmission system based on the intelligent 5G first aid backpack includes: a plurality of communication devices, a plurality of image devices, a plurality of sound devices, and a computer device disposed in the communication device;
[0023] The communication devices form a multi-layer tree-like network;
[0024] One of the image devices is connected to one of the communication devices, and is used for collecting 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, and is used for collecting real-time audio to form uploaded audio and playing downlink audio;
[0026] The computer device is used to execute the steps of the above-mentioned real-time data transmission method based on the intelligent 5G first aid backpack.
[0027] The real-time data transmission method based on the intelligent 5G first aid backpack provided by the embodiment of the present invention determines the ownership of the master device according to the signal strength; determines the first preset number of secondary devices from other communication devices outside the master device; connects to each secondary device respectively and determines the communication duration between the master device and each secondary device respectively; divides the secondary devices into the first device, the second device, and the third device according to the communication duration of each secondary device; every other preset time, determines the receiving time and receiving duration of the master device and the second device for receiving the downlink video according to the communication duration of the first device and the second device respectively; receives the downlink video according to the receiving time of the master device for receiving the downlink video, controls the first device to receive the downlink audio, controls the second device to receive the downlink video and controls the second device to send the downlink video to the master device; uploads the uplink audio and uplink video through the first device and the third device. By doing so, the data interaction with the outside by only one communication device originally is changed to the data interaction with the outside by multiple communication devices. The audio data is responsible by the first device, the downlink video data is responsible by the master device and the second device, and the uplink video data is responsible by the third device. The master device and the second device are set with receiving durations. If the master device has slow data transmission due to poor communication signals, the second device will be switched to receive data after the receiving duration of the master device arrives; the pressure of data processing is shared among multiple communication devices, and the data transmission between the master device and the secondary devices uses an internal network, which is different from the channel of the external network used by the master device to connect to the outside, avoiding the problem of real-time data accumulation; from these two aspects, the occurrence of stuttering, delay, etc. in the remote meeting is avoided, thus solving the problem of unsmooth real-time data transmission in the remote meeting. Description of the Drawings
[0028] Figure 1 It is a flowchart of the real-time data transmission method based on the intelligent 5G first aid backpack in an embodiment;
[0029] Figure 2 It is a structural block diagram of the real-time data transmission device based on the intelligent 5G first aid backpack in an embodiment;
[0030] Figure 3 It is a structural block diagram of the real-time data transmission system based on the intelligent 5G first aid backpack in an embodiment;
[0031] Figure 4 It is a block diagram of the internal structure of a computer device in an embodiment. Specific embodiments
[0032] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present 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 only used to explain the present invention and are not used to limit the present invention.
[0033] It can be understood that the terms "first", "second", etc. used in the present invention can be used in this document to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of the present invention, the first xx script can be called the second xx script, and similarly, the second xx script can be called the first xx script.
[0034] As Figure 1 shown, in one embodiment, a real-time data transmission method based on an intelligent 5G first aid backpack is proposed, which may specifically include the following steps:
[0035] S101, determine the attribution of the master device according to the signal strength;
[0036] S102, determine a first preset number of secondary devices from other communication devices outside the master 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, divide the secondary devices into first devices, second devices, and third devices according to the communication duration of each secondary device;
[0039] S105, every other preset time, determine the receiving time and receiving duration of the master device and the second device receiving the downlink video according to the communication duration of the first device and the second device respectively;
[0040] S106, receive the downlink video according to the receiving time of the master device receiving the downlink video, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the downlink video to the master device;
[0041] S107, upload the 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 of the master device.
[0043] In this embodiment, the intelligent 5G first aid backpack has multiple functions, such as collecting on-site environmental information, monitoring the physical status of the operating personnel, monitoring the travel route, monitoring the travel speed, and remote conferencing. The information collected needs to be communicated and integrated in a timely manner. Therefore, communication is required between intelligent 5G first aid backpacks. Thus, a communication device is provided inside the intelligent 5G first aid backpack. Here, the master device and the secondary device refer to the communication devices inside the intelligent 5G first aid backpack, and an intelligent 5G first aid backpack can be regarded as a communication device.
[0044] In this embodiment, in S101, at the beginning, a communication device in one intelligent 5G first aid backpack is designated as the master device, which can be pre-specified. After the step of S101, the actual communication device corresponding to the master device may change or may not. 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, the real-time data includes the data of downlink audio, downlink video, uplink audio, and uplink video. The intelligent 5G first aid backpack contains image devices and sound devices, and is connected to the communication device in the same intelligent 5G first aid backpack to display downlink audio or downlink video, and at the same time generate uplink audio or uplink video and send it to the communication device. Downlink audio / downlink video refers to the audio data / video data sent from the external network to the communication device, and uplink audio / uplink video refers to the audio data / video data that the communication device needs to send to the external network.
[0046] In this embodiment, communication devices that are not the master device and the secondary device can be set as tertiary devices, etc. These devices are only connected to the upper-level device. For example, a tertiary device can only be connected to a secondary device. Moreover, these devices are not connected to the external network and are connected to the internal network.
[0047] In this embodiment, the first preset quantity can be set to 6.
[0048] In this embodiment, connecting each secondary device to the master device forms an internal network between communication devices, while the master device and the secondary device receive downlink audio or downlink video through the external network of the communication device and the base station. The internal network can be a communication network such as Bluetooth or WiFi, and the external network can be a communication network such as a 5G network or a satellite network.
[0049] In this embodiment, the communication duration includes not only the duration of data transmission between two devices but also the duration of device data processing.
[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 s or even shorter, which is the inevitable delay time for real-time data transmission.
[0052] In this embodiment, the downlink audio and downlink video are received separately, and the uplink audio and uplink video are sent separately, so as to distribute the pressure of data uplink or downlink to the secondary devices. The master device will not cause video or audio stuttering due to the accumulation of data to be processed. At the same time, if the signal of the master device is unstable, data can be received through other secondary devices.
[0053] In this embodiment, in S106, receiving the downlink video according to the receiving time of the master device receiving the downlink video includes: receiving the downlink video according to the receiving time of the master device receiving the downlink video; determining whether the duration of the master device receiving the downlink video is equal to the receiving duration of the master device receiving the downlink video, and if so, stopping receiving the downlink video.
[0054] The real-time data transmission method based on the intelligent 5G first aid backpack provided by the embodiment of the present invention determines the ownership of the master device according to the signal strength; determines a first preset number of secondary devices from other communication devices outside the master device; connects with each secondary device separately and determines the communication duration between the master device and each secondary device separately; divides the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device; at every preset time interval, determines the receiving time and receiving duration of the master device and the second device receiving the downlink video according to the communication duration of the first device and the second device respectively; receives the downlink video according to the receiving time of the master device receiving the downlink video, controls the first device to receive the downlink audio, controls the second device to receive the downlink video and controls the second device to send the downlink video to the master device; uploads the uplink audio and uplink video through the first device and the third device. By doing so, the data interaction with the outside by only one communication device originally is changed to the data interaction with the outside by multiple communication devices. The audio data is responsible by the first device, the downlink video data is responsible by the master device and the second device, and the uplink video data is responsible by the third device. The master device and the second device are set with receiving durations. If the master device has slow data transmission due to poor communication signals, the second device will be switched to receive data after the receiving duration of the master device reaches; the pressure of data processing is distributed to multiple communication devices, and the data transmission between the master device and the secondary devices uses the internal network, which is different from the channel of the external network used by the master device to connect to the outside, avoiding the problem of real-time data accumulation; from these two aspects, the occurrence of stuttering and delay in remote meetings is avoided, thus solving the problem of unsmooth real-time data transmission in remote meetings.
[0055] In one embodiment, determining the attribution of the master device according to the signal strength includes:
[0056] Obtain the signal strength A of each communication device for the external network;
[0057] Judge whether the signal strength of the master device is the maximum value among the signal strengths A. If so, there is no need to change the attribution of the master device;
[0058] If the signal strength of the master device is not the maximum value among the signal strengths A, then record the second preset number of communication devices with the strongest signal strengths A as target devices;
[0059] For each target device, obtain the signal strength B of other target devices searched by this target device;
[0060] Determine the communication score of this target device for other target devices according to the signal strength B;
[0061] Obtain the total score of this target device from the average value of the communication scores of other target devices for this target device;
[0062] Determine the target device with the highest total score as the master device.
[0063] In this embodiment, the signal strength A is the search result of the signal strength of the communication device for the external network.
[0064] In this embodiment, the second preset number can be set to 10.
[0065] In this embodiment, determining the communication score of this target device for other target devices according to the signal strength B can adopt the normalization method. For example, record the maximum value among the signal strengths B of other target devices searched by all target devices as 100 and the minimum value as 0. In this way, all the signal strengths B can be normalized, and the normalized value is the communication score of the target device for other target devices.
[0066] In one embodiment, determining the first preset number of secondary devices from other communication devices outside the master device includes:
[0067] Obtain the signal strength C of other communication devices searched by the master device;
[0068] Sort the other communication devices searched by the master device in descending order according to the signal strength C to obtain the first sequence;
[0069] Select the communication devices with the top rankings in the first sequence according to the third preset number and record them as judgment devices;
[0070] For each judgment device, determine whether the judgment device is a target device. If so, determine the judgment device as a secondary device;
[0071] Determine whether the number of secondary devices is equal to a first preset number. If so, discard the secondary devices at the back in the first sequence one by one until the number of secondary devices is equal to the first preset number. If not, determine the non-secondary devices in the judgment devices as secondary devices one by one in the order of the first sequence until the number of secondary devices is equal to the first preset number.
[0072] In this embodiment, the signal strength C is the search result of the signal strength of the master device in the internal network for other communication devices.
[0073] In this embodiment, the third preset number can be set to 10.
[0074] In one embodiment, the steps of respectively connecting to each secondary device and respectively determining the communication duration between the master device and each secondary device include:
[0075] Connect to each secondary device respectively;
[0076] For each secondary device, send test data to the secondary device and receive the feedback data sent by the secondary device;
[0077] Send reply data to the secondary device according to the received feedback data;
[0078] From (t 2 -t 1 )+(t 3 -t 2 )+(t 5 -t 4 ) obtain the communication duration between the master device and the secondary device;
[0079] Wherein, t 1 is the time when sending test data to the secondary device, t 2 is the time when the secondary device receives the test data, t 3 is the time when the secondary device sends the feedback data, t 4 is the time when the master device receives the feedback data sent by the secondary device, t 5 is the time when the master device sends the reply data.
[0080] In this embodiment, the communication duration not only includes the duration of data transmission between two devices, but also includes the duration of device data processing. For example, t 2 -t 1 is the duration of data transmission between the master device and the secondary device. Among them, the timestamp of t 1 is included in the test data, t2 The time stamp of is included in the feedback data; t 3 -t 2 is the duration for the secondary device to process data, where t 3 The time stamp of is included in the feedback data; t 5 -t 4 is the duration for the master device to process data, where t 4 、t 5 The time stamp of is included in the response data.
[0081] In this embodiment, in the step of sending response data to the secondary device according to the received feedback data, the feedback data can be regarded as a piece of test data sent by the secondary device, and the response data is regarded as a piece of feedback data, which is sent back by the master device after receiving the test data of the secondary device.
[0082] In this embodiment, the communication duration can be obtained by synthesizing multiple pieces of test data, such as calculating the average value. It can also be obtained from the historical data transmission situation of the communication device.
[0083] In one embodiment, the secondary devices are divided into the first device, the second device, and the third device according to the communication duration of each secondary device:
[0084] Sort the secondary devices according to their communication durations in ascending order to obtain a second sequence;
[0085] Mark the last secondary device in the second sequence as the first device;
[0086] Mark the first secondary device in the second sequence as the second device;
[0087] Judge whether the number of the third devices is greater than the number of the second devices. If not, select a secondary device from the remaining secondary devices in the forward order of the second sequence as the third device. If so, select a secondary device from the remaining secondary devices in the reverse order of the second sequence as the second device.
[0088] In this embodiment, only one first device is needed, and since the data volume of audio is much lower than that of video, the difference is dozens of times or even thousands of times. Therefore, there is no need to select a secondary device with good communication quality. The shorter the communication duration, the better the communication quality.
[0089] In this embodiment, since the downstream video is the main purpose of the remote meeting, the secondary device with the best communication quality is selected as the second device to ensure the reception quality.
[0090] In this embodiment, since the master device is also involved in receiving the downlink video, and the rate of the uplink data is slower than that of the downlink data, generally speaking, the number of the third devices is required to be greater than or equal to the number of the second devices.
[0091] In one embodiment, determining the receiving time and receiving duration of the downlink video received by the master device and the second device respectively according to the communication durations of the first device and the second device includes:
[0092] Determine the communication duration T of the first device 1 ;
[0093] Obtain the maximum data volume P of the downlink audio transmitted by the external network within a preset time from the historical data 1 and the data volume P of the downlink video 2 ;
[0094] From T 1 +P 1 / v to determine the first duration;
[0095] From P 2 / (v(n + 1)) to determine the second duration;
[0096] Judge whether the second duration is greater than the first duration. If so, determine the second duration as the receiving duration of the master device for receiving the downlink video. If not, determine the first duration as the receiving duration of the master device for receiving the downlink video;
[0097] Determine the first moment of each preset time as the receiving moment of the master device for receiving the downlink video;
[0098] For each second device, from (P 2 -T 2 *v) / (v*n)+T 3 to obtain the receiving duration of this second device for receiving the downlink video;
[0099] From T 4 +T 2 +(j - 1)*T 5 -T 3 to determine the receiving moment of this second device for receiving the downlink video;
[0100] Wherein, v is the average downlink rate when the communication device receives external data, n is the number of the second devices, T 2 is the receiving duration of the master device for receiving the downlink video, T 3 is the error duration, T 4 is the first moment of each preset time, T 5 is the receiving duration of the second device for receiving the downlink video, and j is the serial number of the second device, and j starts from 1.
[0101] In this embodiment, when confirming the second duration, it is default that the receiving durations of the master device and the second device are the same. Therefore, the time required for the data volume of the downstream video is evenly distributed between the master device and the second device.
[0102] In this embodiment, when the data of the downstream video 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 receiving moments and receiving durations of the master device and the second device for receiving the downstream video are specified, and the receiving moments and receiving durations of the master device and the second device are staggered. In this way, it can be ensured that only one communication device receives the data of the downstream video at a time, avoiding conflicts. At the same time, when the second device is receiving the data of the downstream video, 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 explain the multiple second devices. For example, the first second device and the second second device. In principle, the receiving moment of the first second device for receiving the downstream video is after the receiving moment of the master device for receiving the downstream video, and the receiving moment of the second second device for receiving the downstream video is after the receiving moment of the first second device for receiving the downstream video. In an ideal state, when the receiving duration of the master device reaches, the first second device is immediately controlled to receive the downstream video. When the receiving duration of the first second device reaches, the second second device is immediately controlled to receive the downstream video. Here, the serial number of the second device is related to the receiving moment of the second device for receiving the downstream video, and the earlier the moment, the earlier the serial number.
[0104] In this embodiment, to avoid data loss caused during the process of data reception switching of the communication device, the second device starts data reception one T in advance. 3 Therefore, the receiving duration also needs to be delayed by one T. 3 . T 3 can be set to be between 1 / 5 and 1 / 2 of (P 2 -T 2 *v) / (v*n).
[0105] In one embodiment, controlling the second device to receive the downstream video and controlling the second device to send the downstream video to the master device includes:
[0106] For each second device, determine whether the current moment has reached the receiving moment of this second device for receiving the downstream video. If so, control this second device to receive the downstream video;
[0107] Determine whether the duration passed by this second device for receiving the downstream video is equal to or greater than the receiving duration of this second device for receiving the downstream video. If so, control this second device to stop receiving the downstream video;
[0108] Determine whether the second device has stopped receiving the downstream video. If so, obtain the timestamps T of all data packets in the downstream videos received by the master device and the previous second device. 6;
[0109] Determine the timestamp T of the data packets in the downstream video received by the second device. 7 Whether it is the same as the timestamp T 6 If so, discard the data packets corresponding to the timestamp T 6 That is the same as the timestamp T 7 The corresponding data packets;
[0110] Send the downstream video corresponding to the data packets not discarded by the second device to the master device.
[0111] In this embodiment, there is no interference between the master device receiving the downstream video and the second device receiving the downstream video, and the judgment condition is related to the current moment.
[0112] In this embodiment, the serial number of the second device is related to the moment when the second device receives the downstream video. The earlier the moment, the earlier the serial number.
[0113] In this embodiment, if the current moment has not reached the receiving moment of the second device receiving the downstream video, continue to judge. If the duration of the second device receiving the downstream video is less than the receiving duration of the second device receiving the downstream video, continue to judge.
[0114] In this embodiment, since there is the same data receiving time period between the master device and the second device, it is necessary to discard one of the two identical data. The same is true for different second devices.
[0115] In this embodiment, the downstream video is several data packets, and each data packet corresponds to a sent timestamp. The data packets with the same timestamp are the same data packet, so they can be distinguished by the timestamp.
[0116] In this embodiment, the downstream video received by the second device is first processed on the second device, and then data transmission is performed through the internal network between the second device and the master device. A communication channel different from the external network is adopted to reduce the situation of data accumulation.
[0117] In one embodiment, the uploading of the upstream audio and upstream video through the first device and the third device includes:
[0118] Send the upstream audio to the first device;
[0119] Obtain the data volume P of the upstream video generated by the master device within a preset time 3 ;
[0120] From P 3Obtain the data volume of the uplink video sent by the master device to each third device;
[0121] Divide the uplink video generated by the master device within a preset time according to the data volume of the uplink video sent by the master device to each third device, and control the master device to send the uplink video to each third device respectively;
[0122] Control the first device and the third device to upload the received uplink video;
[0123] Where m is the number of third devices.
[0124] In this embodiment, the master device does not upload the uplink audio or uplink video to the external network, but sends all of them to the first device and the third device through the internal network, and the first device and the third device process and upload the data of the uplink audio or uplink video. This will not occupy the processing capacity of the master device.
[0125] Such as Figure 2 shown, in one embodiment, a real-time data transmission device based on an intelligent 5G first aid backpack is provided, which may specifically include:
[0126] A first selection module, configured to determine the attribution of the master device according to the signal strength;
[0127] A second selection module, configured to determine a first preset number of secondary devices from other communication devices outside the master device;
[0128] A determination duration module, configured to connect to each secondary device respectively and determine the communication duration between the master device and each secondary device respectively;
[0129] A device division module, configured to divide the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device;
[0130] A determination reception module, configured to determine the reception moment and reception duration of the master device and the second device receiving the downlink video respectively according to the communication duration of the first device and the second device every preset time;
[0131] A reception data module, configured to receive the downlink video according to the reception moment of the master device receiving the downlink video, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the downlink video to the master device;
[0132] An upload data module, configured to upload the uplink audio and uplink video through the first device and the third device.
[0133] In this embodiment, each module of the real-time data transmission device based on the intelligent 5G first aid backpack is modularized in the method part of the present invention. For the specific explanations of each module, please refer to the corresponding content in the method part of the present invention, and the embodiments of the present invention will not be elaborated here.
[0134] As Figure 3 shown, in one embodiment, a real-time data transmission system based on an intelligent 5G first aid backpack is provided, which may specifically include:
[0135] Several communication devices, several image devices, several sound devices, and a computer device disposed in the communication device;
[0136] The communication devices form a multi-layer tree diagram network;
[0137] One of the image devices is connected to one of the communication devices for collecting real-time images to form an uploaded video and playing a downloaded video;
[0138] One of the sound devices is connected to one of the communication devices for collecting real-time audio to form an uploaded audio and playing a downloaded audio;
[0139] The computer device is used to execute the steps of the above-mentioned real-time data transmission method based on the intelligent 5G first aid backpack.
[0140] In this embodiment, a computer device is disposed inside each communication device for processing data, and the computer device for executing the steps of the real-time data transmission method based on the intelligent 5G first aid backpack is the computer device of the main device.
[0141] In this embodiment, the multi-layer tree diagram network formed by the communication devices is as Figure 3 shown. Device 1 is the main 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 the main device or secondary devices, they are connected to any one of the communication devices among devices 2-7, not connected to the main device, and these communication devices do not communicate with the external network.
[0142] In this embodiment, the image device includes a display image device and a shooting image device. The sound device includes a playing sound device and a collecting sound device.
[0143] The real-time data transmission system based on the intelligent 5G first aid backpack provided by the embodiment of the present invention determines the attribution of the master device according to the signal strength; determines a first preset number of secondary devices from other communication devices outside the master device; connects with each secondary device respectively and determines the communication duration between the master device and each secondary device respectively; divides the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device; every other preset time, determines the receiving moment and receiving duration of the master device and the second device receiving the downlink video respectively according to the communication duration of the first device and the second device; receives the downlink video according to the receiving moment of the master device receiving the downlink video, controls the first device to receive the uplink audio, controls the second device to receive the downlink video and controls the second device to send the downlink video to the master device; uploads the uplink audio and uplink video through the first device and the third device. Doing so changes the original situation where only one communication device interacts with the outside for data into multiple communication devices interacting with the outside for data. The audio data is responsible by the first device, the downlink video data is responsible by the master device and the second device, and the uplink video data is responsible by the third device. The master device and the second device are set with receiving durations. If the master device has slow data transmission due to poor communication signals, the second device will be switched to receive data after the receiving duration of the master device reaches; the pressure of data processing is shared among multiple communication devices, and the data transmission between the master device and the secondary devices uses an internal network, which is different from the channel of the external network used by the master device to connect with the outside, avoiding the problem of real-time data accumulation; from these two aspects, it avoids the occurrence of situations such as freezing and delay in remote meetings, thus solving the problem of unsmooth real-time data transmission in remote meetings.
[0144] Figure 4 The internal structure diagram of a computer device in one embodiment is shown. As Figure 4 shown, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and can also store a computer program. When the computer program is executed by the processor, the processor can implement the real-time data transmission method based on the intelligent 5G first aid backpack provided by the embodiment of the present invention. The internal memory can also store a computer program. When the computer program is executed by the processor, the processor can execute the real-time data transmission method based on the intelligent 5G first aid backpack provided by the embodiment of the present invention. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball, or a touchpad set on the shell of the computer device, or an external keyboard, a touchpad, or a mouse, etc.
[0145] Those skilled in the art can understand, Figure 4The structure shown is only a block diagram of some structures related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0146] In one embodiment, the real-time data transmission device based on the intelligent 5G first aid backpack provided by the embodiments of the present invention can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in Figure 4 . Each program module constituting the real-time data transmission device based on the intelligent 5G first aid backpack can be stored in the memory of the computer device. For example, Figure 2 the first selection module, the second selection module, the determination duration module, the division device module, the determination reception module, the reception data module, and the upload data module shown in. The computer program constituted by each program module enables the processor to execute the steps in the real-time data transmission method based on the intelligent 5G first aid backpack in each embodiment of the present invention described in this specification.
[0147] For example, Figure 4 the computer device shown in can execute step S101 through the first selection module in the real-time data transmission device based on the intelligent 5G first aid backpack as shown in Figure 2 ; the computer device can execute step S102 through the second selection module; the computer device can execute step S103 through the determination duration module; the computer device can execute step S104 through the division device module; the computer device can execute step S105 through the determination reception module; the computer device can execute step S106 through the reception data module; the computer device can execute step S107 through the upload data module.
[0148] In one embodiment, a computer device is proposed. The computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0149] S101, determining the attribution of the master device according to the signal strength;
[0150] S102, determining a first preset number of secondary devices from other communication devices outside the master device;
[0151] S103, connecting to each secondary device respectively and determining the communication duration between the master device and each secondary device respectively;
[0152] S104, dividing the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device;
[0153] S105. At every preset time interval, determine the receiving time and receiving duration of the master device and the second device for receiving the downlink video respectively according to the communication durations of the first device and the second device;
[0154] S106. Receive the downlink video according to the receiving time of the master device for receiving the downlink video, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the downlink video to the master device;
[0155] S107. Upload the uplink audio and uplink video through the first device and the third device.
[0156] In one embodiment, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the processor is caused to perform the following steps:
[0157] S101. Determine the attribution of the master device according to the signal strength;
[0158] S102. Determine a first preset number of secondary devices from other communication devices outside the master 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. Divide the secondary devices into a first device, a second device, and a third device according to the communication duration of each secondary device;
[0161] S105. At every preset time interval, determine the receiving time and receiving duration of the master device and the second device for receiving the downlink video respectively according to the communication durations of the first device and the second device;
[0162] S106. Receive the downlink video according to the receiving time of the master device for receiving the downlink video, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the downlink video to the master device;
[0163] S107. Upload the 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 embodiments of the present invention are shown in sequence according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in each embodiment may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed 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 executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0165] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database or other medium used in the embodiments provided by the present invention can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (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 arbitrarily. For the sake of brevity of description, 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, it should be considered as the scope described in this specification.
[0167] The above embodiments only represent several implementation manners of the present invention. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the patent of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several deformations and improvements can still be made, and these all belong to the protection scope of the present invention.
Claims
1. A real-time data transmission method based on an intelligent 5G emergency backpack, characterized in that: The real-time data transmission method based on the intelligent 5G emergency backpack includes: S101, determining the ownership of the master device according to the signal strength; S102, determining a first preset number of secondary devices from other communication devices other than the primary device; S103, connecting with each secondary device respectively and determining the communication time between the main device and each secondary device respectively; S104, dividing the secondary devices into first devices, second devices, and third devices according to the communication duration of each secondary device; S105, determining the receiving time and receiving duration of the downlink video at the main device and the second device respectively according to the communication duration of the first device and the second device at every preset time; S106, receiving the downlink video according to the receiving time of the downlink video received by the master device, controlling the first device to receive the downlink audio, controlling the second device to receive the downlink video and controlling the second device to send the downlink video to the master device; S107, uploading uplink audio and uplink video through the first device and the third device.
2. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1 is characterized in that: The determining the ownership of the master device according to the signal strength includes: Obtain the signal strength A of each communication device to the external network; Determine whether the signal strength of the master device is the maximum value of the signal strength A. If so, there is no need to change the ownership of the master device; If the signal strength of the master device is not the maximum value among the signal strengths A, the communication devices with the strongest signal strengths A in the second preset number are recorded as target devices; For each target device, obtain the signal strength B of other target devices searched by the target device; Determine the communication score of the target device to other target devices according to the signal strength B; The total score of the target device is obtained by averaging the communication scores of the target device given by other target devices; The target device with the highest total score is determined as the primary device.
3. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 2 is characterized in that: The step of determining a first preset number of secondary devices from other communication devices other than the primary device includes: Obtain the signal strength C of other communication devices searched by the main device; Sort the other communication devices searched by the master device in descending order according to the signal strength C to obtain a first sequence; Selecting a communication device ranked first in the first sequence according to the third preset number as a determination device; For each determination device, determine whether the determination device is a target device, and if so, determine the determination device as a secondary device; Determine whether the number of secondary devices is equal to the first preset number. If so, discard the secondary devices at the end of the first sequence one by one until the number of secondary devices is equal to the first preset number. If not, determine the non-secondary devices in the determination device as secondary devices one by one in the order of the first sequence until the number of secondary devices is equal to the first preset number.
4. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1 is characterized in that: The connecting with each secondary device respectively and determining the communication time between the main device and each secondary device respectively include: Connect to each secondary device separately; For each secondary device, send test data to the secondary device and receive return data sent by the secondary device; Send reply data to the secondary device according to the received return data; The communication time between the primary device and the secondary device is obtained by (t2-t1)+(t3-t2)+(t5-t4); Among them, t1 is the time for sending test data to the secondary device, t2 is the time for the secondary device to receive the test data, t3 is the time for the secondary device to send return data, t4 is the time for the primary device to receive the return data sent by the secondary device, and t5 is the time for the primary device to send reply data.
5. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1 is characterized in that: The second-level devices are divided into first devices, second devices, and third devices according to the communication duration of each second-level device: According to the communication duration of each secondary device, the communication duration is sorted from short to long to obtain a second sequence; Record the last secondary device in the second sequence as the first device; Record the first secondary device in the second sequence as the second device; Determine whether the number of third devices is greater than the number of second devices. If not, select one secondary device from the remaining secondary devices in the forward order of the second sequence and record it as the third device. If so, select one secondary device from the remaining secondary devices in the reverse order of the second sequence and record it as the second device.
6. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1 is characterized in that: The method of determining the receiving time and receiving duration of the downlink video received by the main device and the second device respectively according to the communication duration of the first device and the second device includes: Determine the communication duration T1 of the first device; Obtain the maximum data volume P1 of the downlink audio and the data volume P2 of the downlink video transmitted by the external network within a preset time from the historical data; The first duration is determined by T1+P1 / v; The second duration is determined by P2 / (v(n+1)); Determine whether the second duration is greater than the first duration, if so, determine the second duration as the receiving duration for the main device to receive the downlink video, if not, determine the first duration as the receiving duration for the main device to receive the downlink video; Determine the first moment of each preset time as the receiving moment of the main device receiving the downlink video; For each second device, the reception time length of the downlink video received by the second device is obtained by (P2-T2*v) / (v*n)+T3; The receiving time when the second device receives the downlink video is determined by T4+T2+(j-1)*T5-T3; Among them, v is the average downlink rate when the communication device receives external data, n is the number of second devices, T2 is the receiving time of the main device to receive the downlink video, T3 is the error time, T4 is the first moment of each preset time, T5 is the receiving time of the second device to receive the downlink video, and j is the serial number of the second device, and j is calculated from 1.
7. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1 is characterized in that: The controlling the second device to receive the downlink video and controlling the second device to send the downlink video to the main device includes: For each second device, determine whether the current time reaches the receiving time of the second device to receive the downlink video, and if so, control the second device to receive the downlink video; Determine whether the time duration for the second device to receive the downlink video is equal to or greater than the time duration for the second device to receive the downlink video, and if so, control the second device to stop receiving the downlink video; Determine whether the second device stops receiving the downlink video. If so, obtain the timestamps T of all data packets in the downlink video received by the main device and the previous second device. 6; Determine whether the timestamp T7 of the data packet in the downlink video received by the second device is the same as the timestamp T6, and if so, discard the data packet corresponding to the timestamp T7 that is the same as the timestamp T6; The downlink video corresponding to the data packet not discarded by the second device is sent to the main device.
8. The real-time data transmission method based on the intelligent 5G emergency backpack according to claim 1 is characterized in that: The uploading of uplink audio and uplink video through the first device and the third device includes: Sending uplink audio to the first device; Obtain the data volume P3 of the uplink video generated by the master device within a preset time; The data volume of the uplink video sent by the master device to each third device is obtained by P3 / m; According to the data volume of the uplink video 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 the uplink video to each third device respectively; Controlling the first device and the third device to upload the received uplink video; Here, m is the number of third devices.
9. A real-time data transmission device based on an intelligent 5G emergency backpack, characterized in that: The real-time data transmission device based on the intelligent 5G emergency backpack includes: A first selection module, used to determine the ownership of the master device according to the signal strength; A second selection module, used to determine a first preset number of secondary devices from other communication devices other than the primary device; A duration determination module, used to connect to each secondary device respectively and determine the communication duration between the main device and each secondary device respectively; A device division module, used to divide the secondary devices into first devices, second devices, and third devices according to the communication duration of each secondary device; A receiving module is determined, which is used to determine the receiving time and receiving duration of the main device and the second device to receive the downlink video at every preset time according to the communication duration of the first device and the second device; A data receiving module, used to receive the downlink video according to the receiving time of the downlink video received by the main device, control the first device to receive the downlink audio, control the second device to receive the downlink video and control the second device to send the 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.
10. Real-time data transmission system based on intelligent 5G emergency backpack, characterized in that: The real-time data transmission system based on the intelligent 5G emergency backpack includes: a plurality of communication devices, a plurality of image devices, a plurality of sound devices, and a computer device arranged in the communication device; The communication devices form a multi-layer tree graph network; One of the image devices is connected to one of the communication devices to collect real-time images to form uploaded videos and play downlink videos; One of the sound devices is connected to one of the communication devices to collect real-time audio to form uploaded audio and play downlink audio; The computer device is used to execute 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 8.
Citation Information
Patent Citations
Multi-level link data uploading and issuing method
CN110691404A
Resource allocation method and device
CN111356244A
Data transmission method and device
CN112640564A
System for distributing data using multiple communication channels
US10117286B1
Prioritization of data communication
US20120040682A1