A control method and system for multi-channel data transmission
Through intelligent data partitioning and matching mechanisms, the problem of uneven channel utilization in multi-channel data transmission is solved, improving transmission efficiency and data integrity, and making it suitable for high-concurrency, low-latency scenarios.
Patent Information
- Application Number
- CN202511395850.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-28
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2045-09-28
AI Technical Summary
Existing multi-channel data transmission methods suffer from uneven channel utilization, resulting in some channels being idle while other channels waste resources. Furthermore, uneven data fragmentation leads to channel load imbalance and transmission errors.
By dynamically determining the available transmission channels and the amount of data to be transmitted, an intelligent data partitioning and matching mechanism is adopted. Data is split based on the similarity of data fields and fused at the receiving end. Combined with a dynamic matching strategy of head-first or tail-first, critical data is ensured to be transmitted first.
It improves channel utilization, optimizes data transmission efficiency, reduces the complexity of data reassembly at the receiving end, ensures data integrity, and is suitable for high-concurrency, low-latency scenarios.
Smart Images

Figure CN120881010B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of control technology for multi-channel data transmission, and particularly relates to a control method and system for multi-channel data transmission. Background Technology
[0002] In modern data transmission systems, multi-channel parallel transmission technology is widely used to improve data transmission efficiency and bandwidth utilization. For example, in fields such as AI-based cloud computing, distributed storage, and real-time communication, data typically needs to be sent simultaneously through multiple transmission channels in the network to reduce latency and increase throughput. However, existing multi-channel data transmission methods still suffer from uneven channel utilization: when there are many idle transmission channels, traditional methods may only evenly distribute data to some channels, while other channels remain idle, leading to resource waste. Summary of the Invention
[0003] This invention provides a control method and system for multi-channel data transmission, which solves the technical problem of wasting resources by only evenly distributing data to some channels while other channels remain idle.
[0004] In a first aspect, the present invention provides a control method for multi-channel data transmission, comprising:
[0005] Obtain the data to be transmitted at the current moment and the set of idle transmission channels, wherein the set of idle transmission channels contains at least one idle transmission channel;
[0006] Determine whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset threshold, and whether the number of data to be transmitted is greater than the number of channels;
[0007] If the number of channels is greater than a preset threshold and the amount of data is greater than the number of channels, then the data to be transmitted is divided according to a preset data analysis model, and each piece of data to be transmitted divided into the same data set is split to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split.
[0008] Based on the amount of baseline data to be transmitted, each data set is matched with each idle transmission channel in the idle transmission channel set to obtain at least one matching relationship;
[0009] Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding idle transmission channel using at least one matching relationship. The baseline data to be transmitted and the split data are then transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0010] The first received data and the second received data are fused to obtain fused received data corresponding to each of the split data, and the fused received data and the first received data are used as received data to be transmitted in the data set.
[0011] Secondly, the present invention provides a control system for multi-channel data transmission, comprising:
[0012] The acquisition module is configured to acquire the data to be transmitted at the current time and a set of idle transmission channels, wherein the set of idle transmission channels includes at least one idle transmission channel;
[0013] The judgment module is configured to determine whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset number threshold, and whether the number of data to be transmitted is greater than the number of channels.
[0014] The splitting module is configured to, if the number of channels is greater than a preset threshold and the number of data is greater than the number of channels, divide the data to be transmitted according to a preset data analysis model, and split each piece of data to be transmitted that is divided into the same data set to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split.
[0015] The matching module is configured to match each data set with each idle transmission channel in the idle transmission channel set according to the number of baseline data to be transmitted, so as to obtain at least one matching relationship;
[0016] The transmission module is configured to input each baseline data to be transmitted and each split data in a certain data set into a corresponding idle transmission channel based on a preset data transmission rule and using at least one matching relationship, and transmit each baseline data to be transmitted and each split data to the receiving server via the idle transmission channel, thereby generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0017] The fusion module is configured to fuse the first received data and the second received data to obtain fused received data corresponding to each of the split data, and to use the fused received data and the first received data as received data to be transmitted in the data set.
[0018] Thirdly, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the control method for multi-channel data transmission according to any embodiment of the present invention.
[0019] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor performs the steps of the control method for multi-channel data transmission according to any embodiment of the present invention.
[0020] The control method and system for multi-channel data transmission of this application have the following advantages:
[0021] Improve channel utilization and optimize data transmission efficiency:
[0022] By dynamically determining the number of idle transmission channels and the amount of data to be transmitted, this invention can adaptively adjust data splitting and allocation strategies under different scenarios. When there are many idle channels and a large amount of data, an intelligent data partitioning and matching mechanism is adopted to ensure that each channel is fully utilized and to avoid resource idleness. At the same time, through the coordinated transmission of the baseline data to be transmitted and the split data, the channel load imbalance caused by uneven data fragmentation is reduced, thereby significantly improving the overall transmission throughput.
[0023] Reduce the complexity of data reassembly at the receiving end and improve data integrity:
[0024] This invention employs an intelligent splitting strategy based on data field similarity. It splits data to be transmitted with an inclusion relationship into baseline data and split data, and automatically merges them at the receiving end based on identical data fields. Compared to traditional random fragmentation, this method reduces the computational overhead of data reassembly, avoids transmission errors caused by data order discrepancies or missing fields, and ensures data integrity and consistency.
[0025] Dynamic matching mechanism enhances system flexibility:
[0026] This invention proposes a priority matching strategy based on the amount of baseline data. When the number of channels does not match the number of data sets, a dynamic adjustment method of head-first or tail-first is adopted to ensure that critical data is transmitted first, while avoiding overload of some channels. For example, when the number of data sets exceeds the number of channels, a tail-to-head matching rule is used to merge and transmit low-priority data, while high-priority data is still transmitted through independent channels, thereby maximizing transmission efficiency with limited resources.
[0027] Suitable for high-concurrency, low-latency scenarios:
[0028] By cross-arranging the baseline data and splitting the data, and optimizing the data input order in the transmission queue, this invention can effectively reduce the waiting delay during transmission, and is especially suitable for application scenarios with high real-time requirements (such as video streaming transmission, distributed computing based on artificial intelligence, etc.). Attached Figure Description
[0029] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 A flowchart illustrating a control method for multi-channel data transmission according to an embodiment of the present invention;
[0031] Figure 2 This is a structural block diagram of a multi-channel data transmission control system provided in an embodiment of the present invention;
[0032] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0034] Please see Figure 1 The diagram shows a flowchart of a control method for multi-channel data transmission according to this application.
[0035] like Figure 1As shown, the control method for multi-channel data transmission specifically includes the following steps:
[0036] Step S101: Obtain the data to be transmitted at the current time and the set of idle transmission channels, wherein the set of idle transmission channels includes at least one idle transmission channel.
[0037] Step S102: Determine whether the number of idle transmission channels in the idle transmission channel set is greater than a preset number threshold, and whether the number of data to be transmitted is greater than the number of channels.
[0038] In this step, the preset quantity threshold is 1.
[0039] In one specific embodiment, after determining whether the number of idle transmission channels in the idle transmission channel set is greater than a preset threshold and whether the number of data to be transmitted is greater than the number of channels, if the number of channels is not greater than the preset threshold, the data to be transmitted is divided according to a preset data analysis model, and each piece of data to be transmitted in the same data set is split to obtain baseline data to be transmitted and split data corresponding to the baseline data to be transmitted; based on preset data transmission rules, each baseline data to be transmitted and each split data are input into a corresponding idle transmission channel, and each baseline data to be transmitted and each split data are transmitted to the receiving server via an idle transmission channel to generate first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0040] If the number of channels is greater than the preset threshold and the number of data is not greater than the number of channels, the data to be transmitted is divided according to the preset data analysis model, and each piece of data to be transmitted in the same data set is split to obtain the baseline data to be transmitted and the split data corresponding to the baseline data to be transmitted.
[0041] Each data set is arbitrarily allocated a unique idle transmission channel. Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding transmission channel. The baseline data to be transmitted and each split data are transmitted to the receiving server through the transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0042] It should be noted that the preset data similarity-based partitioning groups data with inclusion relationships or similarities into the same set. Specifically, the data analysis model can be trained using a conventional convolutional neural network. For example, the preset data analysis model partitions the data to be transmitted (data A and data B). The data analysis model detects that data A and data B have an inclusion relationship (data B contains data A), therefore data A and data B are partitioned into the same data set S1.
[0043] Split the data to be transmitted in data set S1:
[0044] The data recognition model outputs data A and data B, which have an inclusion relationship. Assuming that the data field length of data A (10 characters) is less than that of data B (13 characters), data A will be used as the baseline data to be transmitted.
[0045] Remove the data field of the same preset length as data A (the preset length is 10 times the length of data A) from data B, and use the remaining data as the split data (data B').
[0046] Ultimately, the baseline data to be transmitted is data A, and the split data is data B'.
[0047] In this way, when channel resources are limited or the data volume is small, data partitioning, splitting, and merging can effectively utilize available channels, reduce redundant transmission, and improve data transmission efficiency.
[0048] Step S103: If the number of channels is greater than a preset threshold and the number of data is greater than the number of channels, then the data to be transmitted is divided according to a preset data analysis model, and each data to be transmitted divided into the same data set is split to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split.
[0049] In this step, each piece of data to be transmitted from the same dataset is input into a preset data recognition model. The data recognition model outputs at least two pieces of data to be transmitted that have an inclusion relationship. The piece of data to be transmitted with the smallest data field among the at least two pieces of data to be transmitted is taken as the baseline piece of data to be transmitted. Based on the baseline piece of data to be transmitted, the other pieces of data to be transmitted among the at least two pieces of data to be transmitted are split using a preset splitting rule to obtain split data corresponding to the baseline piece of data to be transmitted. The splitting rule is to remove data fields of the same preset length as the baseline piece of data to be transmitted from the other pieces of data to be transmitted, and the remaining data is the split data.
[0050] Specifically, the data recognition model can be obtained by training a conventional recurrent neural network.
[0051] Step S104: Match each data set with each idle transmission channel in the idle transmission channel set according to the number of reference data to be transmitted, and obtain at least one matching relationship.
[0052] In this step, the total number of data sets is obtained, and it is determined whether the total number of data sets equals the number of channels. If the total number of data sets equals the number of channels, a unique idle transmission channel is matched for each data set. If the total number of data sets is greater than the number of channels, the number of baseline data to be transmitted in each data set is obtained, and the data sets are sorted from most to least according to the number of baseline data to be transmitted, resulting in a data set sequence. The data set with the largest number of baseline data to be transmitted in the data set sequence is defined as the head data set, and the data set with the smallest number of baseline data to be transmitted in the data set sequence is defined as the tail data set. The sequence continues from the tail data set to the head data set. In the direction of the data sets, at least two data sets are matched with the same idle transmission channel based on a preset first matching rule until the number of remaining unmatched data sets equals the number of channels. If the total number of sets is less than the number of channels, the data set with the largest number of reference data to be transmitted in the data set sequence is defined as the head data set, and the data set with the smallest number of reference data to be transmitted in the data set sequence is defined as the tail data set. In the direction from the head data set to the tail data set, at least two data sets are matched with the same idle transmission channel based on a preset second matching rule until the number of remaining unmatched data sets equals the number of channels.
[0053] It should be noted that the first matching rule is:
[0054] The first target quantity is obtained by summing the number of reference data to be transmitted in the tail data set with the first number of reference data to be transmitted in the first data set, where the first data set is the data set adjacent to the tail data set. The first target quantity is then determined to be greater than the number of reference data to be transmitted in the head data set. If the first target quantity is not greater than the number of reference data to be transmitted in the head data set, the second number of reference data to be transmitted in the second data set is obtained, and the sum of the second number and the first target quantity is calculated to obtain the second target quantity, where the second data set is the data set adjacent to the first data set. The second target quantity is then determined to be greater than the number of reference data to be transmitted in the head data set. If the second target quantity is greater than the number of reference data to be transmitted in the head data set, the second data set, the first data set, and the tail data set are matched to the same idle transmission channel, and the third number of reference data to be transmitted in the third data set and the fourth number of reference data to be transmitted in the fourth data set are obtained to obtain the third target quantity.
[0055] Specifically, the third data set is the data set adjacent to the second data set, the fourth data set is the data set adjacent to the third data set, and the fourth data set is different from the second data set.
[0056] The second matching rule is:
[0057] The first ratio result is obtained by comparing the number of baseline data to be transmitted in the header data set with the fifth number of baseline data to be transmitted in the fifth data set. The first ratio result is then determined to be greater than the target value. If the first ratio result is not greater than the target value, the header data set is matched with two idle transmission channels simultaneously. The second ratio result is obtained by comparing the fifth number of baseline data to be transmitted in the fifth data set with the sixth number of baseline data to be transmitted in the sixth data set. The second ratio result is then determined to be greater than the target value. If the first ratio result is greater than the target value, the header data set is matched with the idle transmission channels of the target value simultaneously. The target value is the difference between the number of channels and the total number of sets.
[0058] Specifically, the fifth data set is the data set adjacent to the fourth data set, the sixth data set is the data set adjacent to the fifth data set, and the sixth data set is different from the fourth data set.
[0059] Step S105: Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding idle transmission channel using at least one matching relationship. The baseline data to be transmitted and the split data are then transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0060] In this step, the baseline data to be transmitted and the split data are sequentially and alternately arranged in a transmission queue, and the data in the transmission queue are sequentially input into an idle transmission channel. The baseline data to be transmitted and the split data are transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0061] Step S106: The first received data and the second received data are fused to obtain fused received data corresponding to each of the split data, and the fused received data and the first received data are used as received data to be transmitted in the data set.
[0062] In this step, the first received data that has the same data field as the second received data is found, and the first received data and the second received data are merged based on the same data field to obtain the merged received data corresponding to each split data.
[0063] In summary, the method of this application dynamically determines the number of idle transmission channels and the amount of data to be transmitted, and adopts an intelligent data partitioning and matching mechanism. When there are many idle channels and a large amount of data, it can ensure that each channel is fully utilized and avoid resource idleness. At the same time, it solves the channel load imbalance problem by coordinating the transmission of the baseline data to be transmitted and the split data, which significantly improves the transmission throughput. It innovatively adopts an intelligent splitting strategy based on data field similarity, splitting data with inclusion relationship into baseline data and split data, and automatically merging them at the receiving end based on the same fields. Compared with the traditional random fragmentation method, it greatly reduces the reassembly computation overhead and effectively ensures data integrity and consistency. The proposed dynamic matching mechanism implements priority matching according to the amount of baseline data. When the number of channels and the number of data sets do not match, it adopts a flexible adjustment strategy of head-first or tail-first to ensure that key data is transmitted first while avoiding channel overload. By optimizing the data arrangement order in the transmission queue, it is particularly suitable for high-concurrency and low-latency scenarios.
[0064] Please see Figure 2 The diagram shows a structural block diagram of a multi-channel data transmission control system according to this application.
[0065] like Figure 2 As shown, the multi-channel data transmission control system 200 includes an acquisition module 210, a judgment module 220, a splitting module 230, a matching module 240, a transmission module 250, and a fusion module 260.
[0066] The acquisition module 210 is configured to acquire the data to be transmitted at the current time and a set of idle transmission channels, wherein the set of idle transmission channels contains at least one idle transmission channel; the judgment module 220 is configured to judge whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset number threshold, and whether the number of data to be transmitted is greater than the number of channels; the splitting module 230 is configured to, if the number of channels is greater than the preset number threshold, and the number of data is greater than the number of channels, divide the data to be transmitted according to a preset data analysis model, and split each data to be transmitted in the same data set to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted, wherein the baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the split portion of the data to be transmitted; the matching module 240 is configured to, according to the The number of baseline data to be transmitted is used to match each data set with each idle transmission channel in the idle transmission channel set to obtain at least one matching relationship; the transmission module 250 is configured to input each baseline data to be transmitted and each split data in a certain data set into a corresponding idle transmission channel based on a preset data transmission rule and using the at least one matching relationship, and transmit the baseline data to be transmitted and the split data to the receiving server through the idle transmission channel to generate first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data; the fusion module 260 is configured to fuse the first received data and the second received data to obtain fused received data corresponding to each split data, and use the fused received data and the first received data as received data divided into data to be transmitted in the certain data set.
[0067] It should be understood that Figure 2 The modules and references described in the document Figure 1 The steps described in the text correspond to those in the method described above. Therefore, the operations, features, and corresponding technical effects described above also apply to the method described in the text. Figure 2 The various modules in the document will not be described in detail here.
[0068] In other embodiments, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor performs the control method for multi-channel data transmission in any of the above method embodiments.
[0069] In one embodiment, the computer-readable storage medium of the present invention stores computer-executable instructions, which are configured as follows:
[0070] Obtain the data to be transmitted at the current moment and the set of idle transmission channels, wherein the set of idle transmission channels contains at least one idle transmission channel;
[0071] Determine whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset threshold, and whether the number of data to be transmitted is greater than the number of channels;
[0072] If the number of channels is greater than a preset threshold and the amount of data is greater than the number of channels, then the data to be transmitted is divided according to a preset data analysis model, and each piece of data to be transmitted divided into the same data set is split to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split.
[0073] Based on the amount of baseline data to be transmitted, each data set is matched with each idle transmission channel in the idle transmission channel set to obtain at least one matching relationship;
[0074] Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding idle transmission channel using at least one matching relationship. The baseline data to be transmitted and the split data are then transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0075] The first received data and the second received data are fused to obtain fused received data corresponding to each of the split data, and the fused received data and the first received data are used as received data to be transmitted in the data set.
[0076] Computer-readable storage media may include a stored program area and a stored data area, wherein the stored program area may store an operating system and an application program required for at least one function; the stored data area may store data created based on the use of the control system for multi-channel data transmission. Furthermore, the computer-readable storage medium may include high-speed random access memory, and may also include memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include memory remotely disposed relative to a processor, which can be connected to the control system for multi-channel data transmission via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0077] Figure 3 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present invention, such as... Figure 3 As shown, the device includes a processor 310 and a memory 320. The electronic device may also include an input device 330 and an output device 340. The processor 310, memory 320, input device 330, and output device 340 can be connected via a bus or other means. Figure 3 Taking a bus connection as an example, the memory 320 is the computer-readable storage medium described above. The processor 310 executes various server functions and data processing by running non-volatile software programs, instructions, and modules stored in the memory 320, thereby realizing the control method for multi-channel data transmission described in the above embodiment. The input device 330 can receive input digital or character information and generate key signal inputs related to user settings and function control of the multi-channel data transmission control system. The output device 340 may include a display screen or other display device.
[0078] The aforementioned electronic device can execute the method provided in the embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in this embodiment can be found in the method provided in the embodiments of the present invention.
[0079] In one implementation, the above-described electronic device is applied to a control system for multi-channel data transmission, serving as a client, and includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0080] Obtain the data to be transmitted at the current moment and the set of idle transmission channels, wherein the set of idle transmission channels contains at least one idle transmission channel;
[0081] Determine whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset threshold, and whether the number of data to be transmitted is greater than the number of channels;
[0082] If the number of channels is greater than a preset threshold and the amount of data is greater than the number of channels, then the data to be transmitted is divided according to a preset data analysis model, and each piece of data to be transmitted divided into the same data set is split to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split.
[0083] Based on the amount of baseline data to be transmitted, each data set is matched with each idle transmission channel in the idle transmission channel set to obtain at least one matching relationship;
[0084] Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding idle transmission channel using at least one matching relationship. The baseline data to be transmitted and the split data are then transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
[0085] The first received data and the second received data are fused to obtain fused received data corresponding to each of the split data, and the fused received data and the first received data are used as received data to be transmitted in the data set.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A control method for multi-channel data transmission, characterized in that, include: Obtain the data to be transmitted at the current moment and the set of idle transmission channels, wherein the set of idle transmission channels contains at least one idle transmission channel; Determine whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset threshold, and whether the number of data to be transmitted is greater than the number of channels; If the number of channels is greater than a preset threshold and the amount of data is greater than the number of channels, then the data to be transmitted is divided according to a preset data analysis model, and each piece of data to be transmitted divided into the same data set is split to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split. Based on the amount of baseline data to be transmitted, each data set is matched with each idle transmission channel in the idle transmission channel set to obtain at least one matching relationship; Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding idle transmission channel using at least one matching relationship. The baseline data to be transmitted and the split data are then transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data. The first received data and the second received data are fused to obtain fused received data corresponding to each of the split data, and the fused received data and the first received data are used as received data to be transmitted in the data set.
2. The control method for multi-channel data transmission according to claim 1, characterized in that, in, The preset quantity threshold is 1; After determining whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset threshold, and whether the amount of data to be transmitted is greater than the number of channels, the method further includes: If the number of channels is not greater than a preset number threshold, the data to be transmitted is divided according to a preset data analysis model, and each data to be transmitted in the same data set is split to obtain the baseline data to be transmitted and the split data corresponding to the baseline data to be transmitted. Based on preset data transmission rules, each baseline data to be transmitted and each split data are input into a corresponding idle transmission channel, and the baseline data to be transmitted and the split data are transmitted to the receiving server via the idle transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
3. The control method for multi-channel data transmission according to claim 1, characterized in that, After determining whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset threshold, and whether the amount of data to be transmitted is greater than the number of channels, the method further includes: If the number of channels is greater than a preset threshold and the number of data is not greater than the number of channels, then the data to be transmitted is divided according to a preset data analysis model, and each data to be transmitted in the same data set is split to obtain the baseline data to be transmitted and the split data corresponding to the baseline data to be transmitted. Each data set is arbitrarily assigned a unique idle transmission channel. Based on preset data transmission rules, each baseline data to be transmitted and each split data in a certain data set are input into a corresponding transmission channel. The baseline data to be transmitted and the split data are transmitted to the receiving server through the transmission channel, generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data.
4. The control method for multi-channel data transmission according to claim 1, characterized in that, The step of splitting the data to be transmitted into the same data set to obtain a baseline data to be transmitted and the corresponding split data includes: Each piece of data to be transmitted from the same dataset is input into a preset data recognition model, and the data recognition model outputs at least two pieces of data to be transmitted that have an inclusion relationship. The data with the smallest data field among the at least two data to be transmitted is taken as the baseline data to be transmitted. Based on the baseline data to be transmitted, the other data to be transmitted among the at least two data to be transmitted are split using a preset splitting rule to obtain split data corresponding to the baseline data to be transmitted. The splitting rule is to remove data fields of the same preset length as the baseline data to be transmitted from the other data to be transmitted, and the remaining data is the split data.
5. The control method for multi-channel data transmission according to claim 1, characterized in that, The step of matching each data set with each idle transmission channel in the idle transmission channel set based on the reference number of data to be transmitted, to obtain at least one matching relationship, includes: Obtain the total number of data sets and determine whether the total number of data sets is equal to the number of channels; If the total number of data sets is equal to the number of channels, then each data set is matched with a unique idle transmission channel. If the total number of data sets is greater than the number of channels, then the number of baseline data to be transmitted in each data set is obtained, and the data sets are sorted from most to least according to the number of baseline data to be transmitted to obtain a data set sequence. The data set with the largest number of reference data to be transmitted in the data set sequence is defined as the head data set, and the data set with the smallest number of reference data to be transmitted in the data set sequence is defined as the tail data set. Along the direction from the tail data set to the head data set, at least two data sets are matched with the same idle transmission channel based on a preset first matching rule, until the number of remaining unmatched data sets equals the number of channels; If the total number of sets is less than the number of channels, then the set with the largest number of reference data to be transmitted in the data set sequence is defined as the head data set, and the set with the smallest number of reference data to be transmitted in the data set sequence is defined as the tail data set. Along the direction from the head data set to the tail data set, at least two data sets are matched with the same idle transmission channel based on a preset second matching rule, until the number of remaining unmatched data sets equals the number of channels.
6. The control method for multi-channel data transmission according to claim 5, characterized in that, in, The first matching rule is: The first target number is obtained by summing the number of reference data to be transmitted in the tail data set with the first number of reference data to be transmitted in the first data set, wherein the first data set is the data set adjacent to the tail data set. Determine whether the first target quantity is greater than the base quantity of data to be transmitted in the header data set; If the first target number is not greater than the number of baseline data to be transmitted in the header data set, then obtain the second number of baseline data to be transmitted in the second data set, calculate the sum of the second number and the first target number, and obtain the second target number, wherein the second data set is the data set adjacent to the first data set; Determine whether the second target quantity is greater than the base quantity of data to be transmitted in the header data set; If the second target number is greater than the number of reference data to be transmitted in the header data set, then the second data set, the first data set, and the tail data set are matched with the same idle transmission channel, and the third number of reference data to be transmitted in the third data set and the fourth number of reference data to be transmitted in the fourth data set are obtained to get the third target number.
7. The control method for multi-channel data transmission according to claim 5, characterized in that, in, The second matching rule is: Obtain the ratio between the number of reference data to be transmitted in the header data set and the fifth number of reference data to be transmitted in the fifth data set, obtain a first ratio result, and determine whether the first ratio result is greater than the target value; If the first ratio result is not greater than the target value, the header data set is matched with two idle transmission channels at the same time, and the ratio between the fifth number of the reference data to be transmitted in the fifth data set and the sixth number of the reference data to be transmitted in the sixth data set is obtained to get the second ratio result, and it is determined whether the second ratio result is greater than the target value. If the first ratio result is greater than the target value, then the header data set is simultaneously matched with the idle transmission channel of the target value, wherein the target value is the difference between the number of channels and the total number of sets.
8. The control method for multi-channel data transmission according to claim 1, characterized in that, The method of inputting each baseline data to be transmitted and each split data in a certain data set into a corresponding idle transmission channel based on the preset data transmission rules and using at least one matching relationship includes: Each baseline data to be transmitted and each split data are sequentially and crosswise arranged in a certain transmission queue, and the data in the certain transmission queue are sequentially input into a certain idle transmission channel.
9. The control method for multi-channel data transmission according to claim 1, characterized in that, The step of fusing the first received data and the second received data to obtain fused received data corresponding to each of the split data includes: Find the first received data that has the same data field as the second received data, and merge the first received data and the second received data based on the same data field to obtain the merged received data corresponding to each of the split data.
10. A control system for multi-channel data transmission, characterized in that, include: The acquisition module is configured to acquire the data to be transmitted at the current time and a set of idle transmission channels, wherein the set of idle transmission channels includes at least one idle transmission channel; The judgment module is configured to determine whether the number of idle transmission channels in the set of idle transmission channels is greater than a preset number threshold, and whether the number of data to be transmitted is greater than the number of channels. The splitting module is configured to, if the number of channels is greater than a preset threshold and the number of data is greater than the number of channels, divide the data to be transmitted according to a preset data analysis model, and split each piece of data to be transmitted that is divided into the same data set to obtain a baseline data to be transmitted and split data corresponding to the baseline data to be transmitted. The baseline data to be transmitted is the complete data to be transmitted that has not been split, and the split data is the part of the data to be transmitted that has been split. The matching module is configured to match each data set with each idle transmission channel in the idle transmission channel set according to the number of baseline data to be transmitted, so as to obtain at least one matching relationship; The transmission module is configured to input each baseline data to be transmitted and each split data in a certain data set into a corresponding idle transmission channel based on a preset data transmission rule and using at least one matching relationship, and transmit each baseline data to be transmitted and each split data to the receiving server via the idle transmission channel, thereby generating first received data corresponding to each baseline data to be transmitted and second received data corresponding to each split data. The fusion module is configured to fuse the first received data and the second received data to obtain fused received data corresponding to each of the split data, and to use the fused received data and the first received data as received data to be transmitted in the data set.
Citation Information
Patent Citations
Heterogeneous data processing method and device and electronic equipment
CN114154196A
Data transmission method and device, storage medium and electronic equipment
CN117202111A