Data transmission method and related device
By using multiple transmission channels and dynamic data packet splitting technology in the data transmission system, the target transmission channel is selected according to the current transmission rate, and the problem that data transmission efficiency in the existing technology is affected by a single transmission channel, achieving more efficient and flexible data transmission.
Patent Information
- Application Number
- CN202510282001.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing data transmission methods rely on a single transmission channel, resulting in a change in transmission rate directly affecting data transmission efficiency, lacking flexibility and efficiency.
Using a data transmission system, including a first transmission channel and a second transmission channel, the current data packet is obtained from the data to be transmitted according to the current transmission rate of the first transmission channel, and an appropriate target transmission channel is selected for transmission.
It improves the flexibility and efficiency of data transmission, and improves the overall transmission efficiency by dynamically adjusting the transmission channel and data packet splitting, matching the transmission rate and packet size.
Smart Images

Figure CN119788593A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a data transmission method and related devices. Background Art
[0002] With the continuous development of intelligence, data has become the core element to promote the development and innovation of various industries. Massive data is generated all the time and needs to be transmitted. The current data transmission method mainly relies on a single transmission channel, so when the transmission rate of the transmission channel changes, it will directly affect the data transmission efficiency.
[0003] In view of this, how to propose a more efficient data transmission method has become an urgent problem to be solved. Summary of the invention
[0004] The main technical problem solved by the present application is to provide a data transmission method and related devices, which can improve the efficiency of data transmission.
[0005] To solve the above technical problems, a technical solution adopted in the present application is: to provide a data transmission method, which is implemented by using a data transmission system, and the data transmission system includes a first transmission channel and a second transmission channel. The data transmission method includes: obtaining a current transmission rate corresponding to the first transmission channel, and based on the current transmission rate, obtaining a current data packet from the data to be transmitted; based on the current transmission rate, selecting at least one of the first transmission channel and the second transmission channel as a target transmission channel; and transmitting the current data packet using the target transmission channel.
[0006] Among them, based on the current transmission rate, selecting at least one from the first transmission channel and the second transmission channel as the target transmission channel includes: obtaining a reference transmission rate matching the first transmission channel, and determining the size relationship between the current transmission rate and the reference transmission rate; in response to the current transmission rate being less than the reference transmission rate, using the first transmission channel and the second transmission channel as the target transmission channels; in response to the current transmission rate being greater than or equal to the reference transmission rate, using the first transmission channel as the target transmission channel.
[0007] Among them, when the target transmission channel includes the first transmission channel and the second transmission channel, the transmission of the current data packet using the target transmission channel includes: based on the arrangement order of the current data packets, sequentially determining the first data packet and the second data packet from all the current data packets, transmitting the first data packet to the data receiving end using the first transmission channel, and transmitting the second data packet to the data receiving end using the second transmission channel; in response to the first transmission channel completing the transmission of the first data packet, determining the first data packet from the remaining current data packets, and returning to the step of transmitting the first data packet to the data receiving end using the first transmission channel; in response to the second transmission channel completing the transmission of the second data packet, determining the second data packet from the remaining current data packets, and returning to the step of transmitting the second data packet to the data receiving end using the second transmission channel.
[0008] Among them, based on the current transmission rate, selecting at least one from the first transmission channel and the second transmission channel as the target transmission channel includes: obtaining a reference transmission rate matching the first transmission channel, and determining the size relationship between the current transmission rate and the reference transmission rate; in response to the current transmission rate being less than the reference transmission rate, taking the second transmission channel as the target transmission channel; in response to the current transmission rate being greater than or equal to the reference transmission rate, taking the first transmission channel as the target transmission channel.
[0009] Wherein, obtaining the current data packet from the data to be transmitted based on the current transmission rate includes: obtaining a reference splitting threshold; wherein the reference splitting threshold is determined based on at least the current transmission rate of the first transmission channel; and splitting part of the data to be transmitted based on the reference splitting threshold to obtain at least one current data packet.
[0010] Among them, the obtaining of the current transmission rate corresponding to the first transmission channel, based on the current transmission rate, before obtaining the current data packet from the data to be transmitted, includes: obtaining the initial video data corresponding to the target object; based on the reference information matched by the target object, extracting key data and sub-key data from the initial video data; wherein the reference information includes at least one of the feature information, behavior information and position information of the target object in the initial video data; based on the key data and the sub-key data, obtaining the data to be transmitted.
[0011] Wherein, obtaining the data to be transmitted based on the key data and the sub-key data includes: concatenating the key data and the sub-key data to obtain the data to be transmitted; wherein the key data is preferentially transmitted.
[0012] After the current data packet is transmitted through the target transmission channel, the method further includes: splicing the current data packets received by the data receiving end to obtain target data.
[0013] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, comprising a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the method mentioned in the above technical solution.
[0014] In order to solve the above technical problems, another technical solution adopted in the present application is: providing a computer-readable storage medium storing program instructions that can be executed by a processor, wherein the program instructions are used to implement the method mentioned in the above technical solution.
[0015] The beneficial effect of the present application is that, different from the prior art, the data transmission method proposed in the present application improves the flexibility and efficiency of data transmission by transmitting the current data packet obtained from the data to be transmitted using at least one of the first transmission channel and the second transmission channel according to the current transmission rate of the first transmission channel. In addition, during the transmission process, according to the current transmission rate, the current data packet for transmission is split from the data to be transmitted, so that the size of the current data packet matches the current transmission rate, further improving the efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them: Figure 1 It is a flowchart of an implementation method of the data transmission method of the present application; Figure 2 yes Figure 1 Step S102 corresponds to a flow chart of another implementation method; Figure 3 yes Figure 1 Step S102 corresponds to a flowchart of another implementation method; Figure 4 yes Figure 1 Step S101 corresponds to a flow chart of another implementation method; Figure 5 yes Figure 1 The flowchart before step S101 corresponds to an implementation method; Figure 6 yes Figure 5 Step S503 in the figure is a schematic diagram corresponding to an implementation method; Figure 7 It is a structural schematic diagram of an embodiment of the electronic device of the present application; Figure 8 It is a structural schematic diagram of an implementation method of a computer-readable storage medium of the present application. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments, and different embodiments can be adaptively combined. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0018] See also Figure 1 , Figure 1 1 is a flow chart of an implementation method of a data transmission method of the present application. The data transmission method is implemented by a data transmission system. The data transmission system includes a first transmission channel and a second transmission channel. The specific implementation process of the data transmission method includes: S101: Acquire a current transmission rate corresponding to a first transmission channel, and acquire a current data packet from data to be transmitted based on the current transmission rate.
[0019] In one embodiment, during data transmission, the first transmission channel is used as the main transmission channel, and the first transmission channel is used preferentially for data transmission. During data transmission, the current transmission rate corresponding to the first transmission channel is obtained, and the data to be transmitted is split according to the current transmission rate to obtain the current data packet from the data to be transmitted.
[0020] Specifically, after obtaining the current transmission rate corresponding to the first transmission channel, a reference splitting threshold is determined according to the current transmission rate, and part of the data to be transmitted is split into a reference number of current data packets. Different from directly splitting all the data to be transmitted into current data packets whose data size is the reference splitting threshold, the above scheme splits part of the data to be transmitted into a reference number of current data packets, so that during the data transmission process, the size of the current data packet is more matched with the current transmission rate corresponding to the first transmission channel, so as to improve the efficiency of data transmission; and the above reference number can be set according to actual needs.
[0021] In one implementation scenario, the first transmission channel is a WiFi transmission channel. Alternatively, the first transmission channel may also be other types of transmission channels.
[0022] In another embodiment, the current transmission rate corresponding to the first transmission channel is detected at preset time intervals, and the splitting method of the data to be transmitted is adjusted according to the detected current transmission rate. The preset time interval can be set according to actual needs.
[0023] In another embodiment, the split current data packet is matched with a corresponding data tag, and the data tag is used to represent the association relationship between different data tags.
[0024] Specifically, when the data to be transmitted is split to obtain the current data packet, a data tag matching the current data packet is generated, so that after the current data packet is subsequently transmitted to the data receiving end, each current data packet is spliced according to the data tag.
[0025] S102: Based on the current transmission rate, select at least one of the first transmission channel and the second transmission channel as a target transmission channel.
[0026] In one embodiment, the data transmission system further includes a second transmission channel. During the data transmission process, at least one of the first transmission channel and the second transmission channel is selected as a target transmission channel according to a current transmission rate.
[0027] Specifically, when the current transmission rate is high, to avoid wasting communication resources, only the first transmission channel is used as the target transmission channel. Alternatively, when the current transmission rate is low, to improve transmission efficiency, both the first transmission channel and the second transmission channel are used as the target transmission channels.
[0028] In one implementation scenario, the second transmission channel is any one of a Bluetooth transmission channel, a wireless transmission channel, and a cellular communication transmission channel.
[0029] S103: Transmit the current data packet using the target transmission channel.
[0030] In one implementation, according to the determined target transmission channel, the current data packets are sequentially transmitted using the target transmission channel.
[0031] Specifically, when the target transmission channel includes only the first transmission channel, the current data packets are sequentially transmitted to the data receiving end by using the first transmission channel according to the order of the current data packets obtained by splitting.
[0032] Alternatively, when the target transmission channel includes the first transmission channel and the second transmission channel, the current data packets are interleavedly transmitted to the data receiving end using the first transmission channel and the second transmission channel according to the order of the split current data packets.
[0033] The data transmission method proposed in the present application improves the flexibility and efficiency of data transmission by transmitting the current data packet obtained from the data to be transmitted using at least one of the first transmission channel and the second transmission channel according to the current transmission rate of the first transmission channel. In addition, during the transmission process, the current data packet for transmission is split from the data to be transmitted according to the current transmission rate, so that the size of the current data packet matches the current transmission rate, further improving the efficiency of data transmission.
[0034] See also Figure 2 , Figure 2 yes Figure 1 Step S102 in the flowchart corresponds to another embodiment. Specifically, the implementation process of step S102 includes: S201: Acquire a reference transmission rate matching a first transmission channel, and determine a magnitude relationship between a current transmission rate and the reference transmission rate.
[0035] In one embodiment, a reference transmission rate matching the first transmission channel is obtained, the reference transmission rate is compared with the current transmission rate corresponding to the first transmission channel, and the size relationship between the current transmission rate and the reference transmission rate is determined, that is, it is determined whether the current transmission rate is less than the reference transmission rate.
[0036] In one implementation scenario, the reference transmission rate may be determined based on the hardware device information of the first transmission channel; or, the reference transmission rate may be obtained by reverse calculation through multiple experiments; or, the reference transmission rate may be estimated by relevant technical personnel.
[0037] S202: In response to the current transmission rate being lower than the reference transmission rate, taking the first transmission channel and the second transmission channel as target transmission channels.
[0038] In one embodiment, when the current transmission rate corresponding to the first transmission channel is less than the reference transmission rate, it indicates that the current transmission efficiency of the first transmission channel is low, and the first transmission channel and the second transmission channel are both used as target transmission channels, so that the first transmission channel and the second transmission channel are subsequently combined to transmit the data to be transmitted, thereby improving the efficiency of data transmission.
[0039] S203: In response to the current transmission rate being greater than or equal to the reference transmission rate, taking the first transmission channel as the target transmission channel.
[0040] In one implementation, when the current transmission rate corresponding to the first transmission channel is greater than or equal to the reference transmission rate, it indicates that the current transmission efficiency of the first transmission channel is relatively high, and the first transmission channel is used as the target transmission channel to save data transmission costs.
[0041] The above scheme compares the current transmission rate corresponding to the first transmission channel with the reference transmission rate to determine at least one of the first transmission channel and the second transmission channel to transmit the current data packet, thereby improving the flexibility of data transmission.
[0042] In another embodiment, when the target transmission channel includes a first transmission channel and a second transmission channel, the specific implementation process of step S103 includes: based on the arrangement order of the current data packets, determining the first data packet and the second data packet in sequence from all current data packets, transmitting the first data packet to the data receiving end using the first transmission channel, and transmitting the second data packet to the data receiving end using the second transmission channel.
[0043] Specifically, according to the splitting order, the multiple current data packets obtained by splitting are arranged in sequence, and the first data packet and the second data packet are determined from all the current data packets in sequence according to the arrangement order. The first data packet is allocated to the first transmission channel for transmission, and the second data packet is allocated to the second transmission channel for transmission.
[0044] Further, in response to the first transmission channel completing the transmission of the first data packet, the first data packet is determined from the remaining current data packets, and the process returns to the step of transmitting the first data packet to the data receiving end by using the first transmission channel.
[0045] And, in response to the second transmission channel completing the transmission of the second data packet, determining the second data packet from the remaining current data packets, and returning to the step of transmitting the second data packet to the data receiving end by using the second transmission channel.
[0046] See also Figure 3 , Figure 3 yes Figure 1 Step S102 in FIG. 1 corresponds to a flowchart of another implementation method. Specifically, the implementation process of step S102 includes: S301: Acquire a reference transmission rate matching a first transmission channel, and determine a magnitude relationship between a current transmission rate and the reference transmission rate.
[0047] In one implementation, a reference transmission rate matching the first transmission channel is obtained, and the reference transmission rate is compared with the current transmission rate corresponding to the first transmission channel to determine whether the current transmission rate is less than the reference transmission rate. The specific implementation process may refer to the above corresponding implementation, and will not be elaborated in detail here.
[0048] S302: In response to the current transmission rate being lower than the reference transmission rate, taking the second transmission channel as the target transmission channel.
[0049] In one embodiment, when the current transmission rate is less than the reference transmission rate, it indicates that the current transmission efficiency of the first transmission channel is low, and it is determined that the transmission state of the first transmission channel is abnormal. In order to ensure the stability of the data and the efficiency of the transmission during the transmission process, the second transmission channel is used as the target transmission channel, so that the data to be transmitted is subsequently transmitted through the second transmission channel.
[0050] S303: In response to the current transmission rate being greater than or equal to the reference transmission rate, taking the first transmission channel as the target transmission channel.
[0051] In one implementation, when the current transmission rate is greater than or equal to the reference transmission rate, it indicates that the current transmission efficiency of the first transmission channel is relatively high, and the first transmission channel is used as the target transmission channel to save data transmission costs.
[0052] See also Figure 4 , Figure 4 yes Figure 1 Step S101 in the flowchart corresponds to another embodiment. Specifically, the implementation process of step S101 includes: S401: Obtain a reference splitting threshold; wherein the reference splitting threshold is determined based on at least a current transmission rate of a first transmission channel.
[0053] In one implementation, the reference split threshold is determined according to at least one of a current transmission rate of the first transmission channel and a current transmission rate of the second transmission channel.
[0054] In one implementation scenario, current transmission rates corresponding to the first transmission channel and the second transmission channel are obtained, a maximum transmission rate among the current transmission rates corresponding to the first transmission channel and the second transmission channel is determined, and a reference split threshold is determined according to the maximum transmission rate.
[0055] Specifically, when the current transmission rate corresponding to the first transmission channel is greater than the current transmission rate corresponding to the second transmission channel, the current transmission rate corresponding to the first transmission channel is used as the maximum transmission rate; or, when the current transmission rate corresponding to the first transmission channel is less than the current transmission rate corresponding to the second transmission channel, the current transmission rate corresponding to the second transmission channel is used as the maximum transmission rate. According to the determined maximum transmission rate, the reference splitting threshold is determined. The larger the maximum transmission rate, the larger the reference splitting threshold, that is, the larger the data volume of the current data packet obtained subsequently according to the reference splitting threshold.
[0056] In another embodiment, the current transmission rates corresponding to the first transmission channel and the second transmission channel are obtained, and the average transmission rate between the current transmission rates corresponding to the first transmission channel and the second transmission channel is determined. According to the above average transmission rate, the reference split threshold is determined. The larger the average transmission rate, the larger the reference split threshold, that is, the larger the data volume of the current data packet obtained subsequently according to the reference split threshold.
[0057] S402: Split part of the data to be transmitted based on a reference splitting threshold to obtain at least one current data packet.
[0058] In one implementation, according to the determined reference splitting threshold, part of the data to be transmitted is split into a reference number of current data packets, wherein the reference number can be set according to actual needs.
[0059] The above scheme determines the reference splitting threshold value according to at least one of the current transmission rate of the first transmission channel and the current transmission rate of the second transmission channel, thereby improving the flexibility of splitting the data to be transmitted.
[0060] See also Figure 5 , Figure 5 yes Figure 1 The process before step S101 corresponds to a flow chart of an implementation method. Specifically, the process before step S101 also includes: S501: Acquire initial video data corresponding to a target object.
[0061] In one implementation, to achieve transmission of video data, initial video data corresponding to the target object is acquired.
[0062] In one implementation scenario, the above-mentioned initial video data is collected by a camera collection device, and the target object is the collected vehicle or other target.
[0063] In another embodiment, the initial video data may also be a video stored in a storage device, and the initial video data is transmitted through the data transmission method proposed in the present application for subsequent processing.
[0064] S502: extracting key data and sub-key data from the initial video data based on reference information matched by the target object; wherein the reference information includes at least one of feature information, behavior information and position information of the target object in the initial video data.
[0065] In one embodiment, corresponding reference information is determined for the target object, and the reference information includes at least one of behavior information and location information of the target object. Further, information is extracted from the initial video data to use data corresponding to the reference information in the initial video data as key data; and data in the initial video data that is different from the key data is used as sub-key data.
[0066] In one implementation scenario, a trained image analysis model is obtained, and the video frames in the initial video data are sequentially input into the image analysis model to extract key data and sub-key data using the image analysis model. The specific structure and training method of the image analysis model can refer to the existing neural network model structure and the corresponding training method, and will not be elaborated in detail here.
[0067] In a specific application scenario, when the target object in the initial video data is a vehicle, key data corresponding to the target object is extracted from the initial video data. The key data includes feature information, behavior information, and location information corresponding to the target object. Feature information includes at least one of the vehicle body color, vehicle brand, and license plate information of the target object; behavior information includes at least one of the driving speed, driving acceleration, and driving state of the target object; and location information includes at least one of the vehicle body posture of the target object and the angle between the vehicle and the camera acquisition device.
[0068] In another embodiment, the above critical data and sub-critical data are also matched with corresponding timestamp information, which is used to provide a reference for subsequent task processing.
[0069] S503: Obtain data to be transmitted based on the key data and the sub-key data.
[0070] In one implementation, the key data and the sub-key data are respectively used as the data to be transmitted. The data to be transmitted is transmitted to the data receiving end by the method mentioned in any of the above implementations.
[0071] In another embodiment, the key data and the sub-key data are concatenated to obtain the data to be transmitted, wherein the key data is preferentially transmitted.
[0072] Specifically, see Figure 6 , Figure 6 yes Figure 5Step S503 in the figure corresponds to a schematic diagram of an implementation method. After extracting the key data and the sub-key data from the initial video data, the key data and the sub-key data are spliced to obtain the data to be transmitted. In the obtained data to be transmitted, the key data is located before the sub-key data, so that the key data is preferentially transmitted in the subsequent transmission process. By preferentially transmitting the key data, the data receiving end performs the corresponding processing task according to the acquired key data, thereby improving the efficiency of task processing. For example, when the data receiving end is used to identify vehicle information according to the received data, the data receiving end extracts the license plate information of the target object according to the received key data, thereby determining the corresponding vehicle information. This method does not require the data receiving end to perform analysis based on the received complete initial video data, thereby improving the efficiency of recognition.
[0073] In another embodiment, after the current data packets are transmitted to the data receiving end by the method mentioned in any of the above embodiments, the current data packets received by the data receiving end are spliced to obtain the target data.
[0074] Specifically, for subsequent data storage or analysis, the data receiving end is used to splice the received current data packets to obtain target data.
[0075] See also Figure 7 , Figure 7 1 is a schematic diagram of the structure of an embodiment of an electronic device of the present application. The electronic device comprises: a memory 10 and a processor 20 coupled to each other. The memory 10 stores program instructions, and the processor 20 is used to execute the program instructions to implement the method mentioned in any of the above embodiments. Specifically, the electronic device includes but is not limited to: a desktop computer, a laptop computer, a tablet computer, a server, etc., which are not limited here. In addition, the processor 20 can also be called a CPU (Center Processing Unit). The processor 20 may be an integrated circuit chip with signal processing capabilities. The processor 20 may also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. In addition, the processor 20 may be implemented by an integrated circuit chip.
[0076] See also Figure 8 , Figure 8The storage medium 30 stores program instructions 40 that can be executed by a processor, and when the program instructions 40 are executed by the processor, the method mentioned in any of the above embodiments is implemented.
[0077] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0079] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0081] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A data transmission method, characterized in that: The data transmission method is implemented by using a data transmission system, the data transmission system includes a first transmission channel and a second transmission channel, and the data transmission method includes: Acquire a current transmission rate corresponding to the first transmission channel, and acquire a current data packet from data to be transmitted based on the current transmission rate; Based on the current transmission rate, selecting at least one of the first transmission channel and the second transmission channel as a target transmission channel; The current data packet is transmitted using the target transmission channel.
2. The method according to claim 1, characterized in that The selecting at least one of the first transmission channel and the second transmission channel as a target transmission channel based on the current transmission rate includes: Acquire a reference transmission rate that matches the first transmission channel, and determine a magnitude relationship between the current transmission rate and the reference transmission rate; In response to the current transmission rate being less than the reference transmission rate, taking the first transmission channel and the second transmission channel as the target transmission channels; In response to the current transmission rate being greater than or equal to the reference transmission rate, the first transmission channel is used as the target transmission channel.
3. The method according to claim 2, characterized in that When the target transmission channel includes the first transmission channel and the second transmission channel, the transmitting the current data packet by using the target transmission channel includes: Based on the arrangement order of the current data packets, sequentially determine a first data packet and a second data packet from all the current data packets, transmit the first data packet to a data receiving end by using the first transmission channel, and transmit the second data packet to the data receiving end by using the second transmission channel; In response to the first transmission channel completing the transmission of the first data packet, determining the first data packet from the remaining current data packets, and returning to the step of transmitting the first data packet to the data receiving end by using the first transmission channel; In response to the second transmission channel completing the transmission of the second data packet, a second data packet is determined from the remaining current data packets, and the process returns to the step of transmitting the second data packet to the data receiving end by using the second transmission channel.
4. The method according to claim 1, characterized in that: The selecting at least one of the first transmission channel and the second transmission channel as a target transmission channel based on the current transmission rate includes: Acquire a reference transmission rate that matches the first transmission channel, and determine a magnitude relationship between the current transmission rate and the reference transmission rate; In response to the current transmission rate being less than the reference transmission rate, using the second transmission channel as the target transmission channel; In response to the current transmission rate being greater than or equal to the reference transmission rate, the first transmission channel is used as the target transmission channel.
5. The method according to claim 1, characterized in that The acquiring a current data packet from data to be transmitted based on the current transmission rate includes: Acquire a reference splitting threshold; wherein the reference splitting threshold is determined based on at least the current transmission rate of the first transmission channel; The part of the data to be transmitted is split based on the reference splitting threshold to obtain at least one current data packet.
6. The method according to claim 1, characterized in that The obtaining of the current transmission rate corresponding to the first transmission channel, before obtaining the current data packet from the data to be transmitted based on the current transmission rate, includes: Obtaining initial video data corresponding to the target object; Extracting key data and sub-key data from the initial video data based on reference information matched by the target object; wherein the reference information includes at least one of feature information, behavior information and position information of the target object in the initial video data; Based on the key data and the sub-key data, the data to be transmitted is obtained.
7. The method according to claim 6, characterized in that The obtaining the data to be transmitted based on the key data and the sub-key data includes: The key data and the sub-key data are concatenated to obtain the data to be transmitted; wherein the key data is preferentially transmitted.
8. The method according to claim 3, characterized in that After the current data packet is transmitted through the target transmission channel, the method further comprises: The current data packets received by the data receiving end are spliced to obtain target data.
9. An electronic device, characterized in that: The method comprises a memory and a processor coupled to each other, wherein the memory stores program instructions, and the processor is used to execute the program instructions to implement the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: Program instructions that can be executed by a processor are stored, and the program instructions are used to implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Data transmission method and device, computer device and storage medium
CN112511422A
Chip, communication method and system and storage medium
CN115994048A
Video transmission method and system based on streaming processing
CN119562138A
System and method for data transfer, including protocols for use in data transfer
US20140201318A1
Method of, and apparatus for, transmitting data, and a communication system
WO2006035408A1