CN114245181A - Multimedia data transmission method and device under mixed channel - Google Patents

Multimedia data transmission method and device under mixed channel Download PDF

Info

Publication number
CN114245181A
CN114245181A CN202111543438.0A CN202111543438A CN114245181A CN 114245181 A CN114245181 A CN 114245181A CN 202111543438 A CN202111543438 A CN 202111543438A CN 114245181 A CN114245181 A CN 114245181A
Authority
CN
China
Prior art keywords
channel
data packet
bandwidth
transmitted
channels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111543438.0A
Other languages
Chinese (zh)
Inventor
魏永彬
赵晨辉
李学良
董家炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumavision Technologies Co Ltd
Original Assignee
Sumavision Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumavision Technologies Co Ltd filed Critical Sumavision Technologies Co Ltd
Priority to CN202111543438.0A priority Critical patent/CN114245181A/en
Publication of CN114245181A publication Critical patent/CN114245181A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a multimedia data transmission method and a device under a mixed channel, which comprises the following steps: acquiring the bandwidth surplus of a plurality of channels; arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels; detecting the occupied space of a data packet to be transmitted; searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted; if the data packet exists, transmitting the data packet to be transmitted through the searched channel; if the data packet does not exist, the data packet to be transmitted is divided to obtain a plurality of divided subdata, and each divided subdata packet is transmitted through a matched channel; the data packet can be sent simultaneously under a plurality of channels, and when the occupied space of the data packet is large, the data packet is divided, so that the transmission pressure of the channels can be relieved, and the normal transmission of the data packet is ensured.

Description

Multimedia data transmission method and device under mixed channel
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a multimedia data transmission method and apparatus under a hybrid channel.
Background
Data transmission is to transmit data from a data source to a data terminal through one or more data links according to a certain rule, and the main function of the data transmission is to realize information transmission and exchange between points. A good data transmission mode can improve the real-time performance and reliability of data transmission.
The data transmission part is in an important position in the whole system, which is equivalent to the transmission of signals from nerves of a human body to various parts of the body, and how to efficiently, accurately and timely transmit digital information acquired by the acquisition module is an important subject.
The hybrid channel generally refers to that data passes through a plurality of channels, and one or a plurality of channels are selected to be shared at the same time according to the quality of the current channel and other factors, and data transmission is carried out at the same time. Multimedia data transmission under mixed channel conditions will face more problems than a single channel. At present, multimedia data transmission methods are generally only suitable for transmission in a single channel, but not suitable for transmission in a mixed channel. When single channel transmission is adopted, the data transmission efficiency is low, and the single channel transmission pressure is large, so that normal data transmission cannot be ensured.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for transmitting multimedia data in a hybrid channel, in which a data packet can be simultaneously transmitted in multiple channels, and when the occupied space of the data packet is large, a segmentation method is adopted, so that the transmission pressure of the channels can be relieved, and the normal transmission of the data packet can be ensured.
In a first aspect, an embodiment of the present invention provides a method for transmitting multimedia data in a mixed channel, where the method includes:
acquiring the bandwidth surplus of a plurality of channels;
arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels;
detecting the occupied space of a data packet to be transmitted;
searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted;
if the data packet exists, transmitting the data packet to be transmitted through the searched channel;
if the data packet does not exist, the data packet to be transmitted is segmented to obtain a plurality of segmented subdata, and each segmented subdata packet is transmitted through a matched channel.
Further, the dividing the data packet to be transmitted to obtain a plurality of divided subdata, and transmitting each divided subdata packet through a matched channel includes:
acquiring a first channel and a second channel from the arranged channels, wherein the first channel is the maximum channel arranged first, and the second channel is arranged second and smaller than the first channel;
dividing the data packet to be transmitted into first sub data packets which are not more than the bandwidth surplus of the first channel to obtain first surplus data packets;
transmitting the first sub-packet through the first channel;
dividing the first residual data packet into second sub data packets which are not larger than the bandwidth residual of the second channel to obtain second residual data packets;
transmitting the second sub-packet through the second channel;
and segmenting the second residual data packet again until the data packet to be transmitted is segmented completely.
Further, the dividing the data packet to be transmitted to obtain a plurality of divided subdata, and transmitting each divided subdata packet through a matched channel includes:
setting the number of the arranged channels as n;
equally dividing the data packets to be transmitted to obtain n unit data packets;
selecting a minimum channel from the arranged channels;
judging whether the bandwidth surplus corresponding to the minimum channel meets the transmission of the unit data packet or not;
if yes, transmitting each unit data packet through the arranged channel;
and if the bandwidth residual quantity does not meet the requirement, the unit data packet is continuously divided in equal quantity until the bandwidth residual quantity corresponding to the minimum channel meets the requirement of transmitting the unit data packet.
Further, the plurality of channels includes a third channel and a fourth channel, and the method further includes:
when the residual bandwidth of the third channel is the same as the residual bandwidth of the fourth channel, detecting a first preset bandwidth corresponding to the third channel and a second preset bandwidth corresponding to the fourth channel;
if the first preset bandwidth is larger than the second preset bandwidth, arranging the third channel in front of the fourth channel;
and if the first preset bandwidth is smaller than the second preset bandwidth, arranging the fourth channel in front of the third channel.
In a second aspect, an embodiment of the present invention provides an apparatus for transmitting multimedia data under a mixed channel, where the apparatus includes:
an obtaining unit, configured to obtain bandwidth remaining amounts of a plurality of channels;
the first arranging unit is used for arranging the channels according to the bandwidth surplus of each channel from large to small to obtain the arranged channels;
the first detection unit is used for detecting the occupied space of the data packet to be transmitted;
the searching unit is used for searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted;
the first transmission unit is used for transmitting the data packet to be transmitted through the searched channel when the data packet exists;
and the second transmission unit is used for dividing the data packet to be transmitted to obtain a plurality of divided subdata when the data packet does not exist, and transmitting each divided subdata packet through a matched channel.
Further, the second transmission unit is specifically configured to:
acquiring a first channel and a second channel from the arranged channels, wherein the first channel is the maximum channel arranged first, and the second channel is arranged second and smaller than the first channel;
dividing the data packet to be transmitted into first sub data packets which are not more than the bandwidth surplus of the first channel to obtain first surplus data packets;
transmitting the first sub-packet through the first channel;
dividing the first residual data packet into second sub data packets which are not larger than the bandwidth residual of the second channel to obtain second residual data packets;
transmitting the second sub-packet through the second channel;
and segmenting the second residual data packet again until the data packet to be transmitted is segmented completely.
Further, the second transmission unit is specifically configured to:
setting the number of the arranged channels as n;
equally dividing the data packets to be transmitted to obtain n unit data packets;
selecting a minimum channel from the arranged channels;
judging whether the bandwidth surplus corresponding to the minimum channel meets the transmission of the unit data packet or not;
if yes, transmitting each unit data packet through the arranged channel;
and if the bandwidth residual quantity does not meet the requirement, the unit data packet is continuously divided in equal quantity until the bandwidth residual quantity corresponding to the minimum channel meets the requirement of transmitting the unit data packet.
Further, the plurality of channels includes a third channel and a fourth channel, and the apparatus further includes:
a second detecting unit, configured to detect a first preset bandwidth corresponding to the third channel and a second preset bandwidth corresponding to the fourth channel when the remaining bandwidth of the third channel is the same as the remaining bandwidth of the fourth channel;
a second arranging unit, configured to arrange the third channel before the fourth channel when the first preset bandwidth is greater than the second preset bandwidth;
a third arranging unit, configured to arrange the fourth channel before the third channel when the first preset bandwidth is smaller than the second preset bandwidth.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the method described above when executing the computer program.
In a fourth aspect, embodiments of the invention provide a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method as described above.
The embodiment of the invention provides a multimedia data transmission method and a device under a mixed channel, which comprises the following steps: acquiring the bandwidth surplus of a plurality of channels; arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels; detecting the occupied space of a data packet to be transmitted; searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted; if the data packet exists, transmitting the data packet to be transmitted through the searched channel; if the data packet does not exist, the data packet to be transmitted is divided to obtain a plurality of divided subdata, and each divided subdata packet is transmitted through a matched channel; the data packet can be sent simultaneously under a plurality of channels, and when the occupied space of the data packet is large, the data packet is divided, so that the transmission pressure of the channels can be relieved, and the normal transmission of the data packet is ensured.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a multimedia data transmission method under a hybrid channel according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a multimedia data transmission apparatus under a hybrid channel according to a second embodiment of the present invention.
Icon:
1-an acquisition unit; 2-a first arrangement unit; 3-a first detection unit; 4-a lookup unit; 5-a first transmission unit; 6-second transmission unit.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the understanding of the present embodiment, the following detailed description will be given of the embodiment of the present invention.
The first embodiment is as follows:
fig. 1 is a flowchart of a multimedia data transmission method under a hybrid channel according to an embodiment of the present invention.
Referring to fig. 1, the method includes the steps of:
step S101, acquiring the bandwidth surplus of a plurality of channels;
here, the multimedia data in the mixed channel is transmitted by using a multimedia data transmission method in the mixed channel. The mixed channel comprises a plurality of channels, and the bandwidth surplus of each channel is obtained according to the bandwidth use condition of each channel.
Step S102, arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels;
here, in the process of arranging the channels, the more bandwidth remaining amount of the channel, the more the channel is ranked.
Step S103, detecting the occupied space of the data packet to be transmitted;
step S104, searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted; if so, executing step S105; if not, go to step S106;
step S105, transmitting the data packet to be transmitted through the searched channel;
and step S106, dividing the data packet to be transmitted to obtain a plurality of divided subdata, and transmitting each divided subdata packet through a matched channel.
Specifically, the occupied space of the data packet to be transmitted is the amount of the storage space actually occupied by the data packet to be transmitted. And when the data packet to be transmitted is transmitted, inquiring from back to front according to the arranged channel sequence until the channel with the residual channel bandwidth capable of transmitting the data packet to be transmitted is inquired, and transmitting by adopting the channel. Comparing the bandwidth surplus corresponding to all the arranged channels with the occupied space of the data packet to be transmitted, and selecting the channel with the bandwidth surplus closest to the occupied space of the data packet to be transmitted to transmit the data of the data packet to be transmitted. The method and the device have the advantages that the multiple channels are considered in a comprehensive mode, the data packages to be transmitted can be sent under the multiple channels simultaneously, and the problem of multimedia data transmission under a mixed channel is solved; the data package to be transmitted can complete data transmission at a high speed, a good transmission mode is selected, and when the occupied space of the data package to be transmitted is large, the transmission pressure of a channel can be relieved by adopting a segmentation mode, and normal transmission of data can be guaranteed.
Further, step S106 includes the steps of:
step S201, acquiring a first channel and a second channel from the arranged channels, wherein the first channel is the maximum channel of the first arrangement, and the second channel is arranged second and smaller than the first channel;
step S202, dividing a data packet to be transmitted into first sub data packets which are not more than the bandwidth surplus of a first channel to obtain first surplus data packets;
step S203, transmitting the first sub data packet through a first channel;
step S204, dividing the first residual data packet into second sub data packets which are not more than the bandwidth residual of the second channel to obtain second residual data packets;
step S205, transmitting the second sub data packet through a second channel;
and step S206, the second residual data packet is divided again until the division of the data packet to be transmitted is completed.
Specifically, when a channel exists, the bandwidth surplus of which can meet the occupation space of the data packet to be transmitted, the data packet to be transmitted is transmitted through the channel;
and when the bandwidth surplus can not be inquired to meet the channel of the occupied space of the data packet to be transmitted, dividing the data packet to be transmitted until the divided data packet to be transmitted is not more than the maximum bandwidth surplus, and retransmitting the data packet to be transmitted.
Further, step S106 further includes the following steps:
step S301, setting the number of the arranged channels as n;
step S302, equally dividing the data packets to be transmitted to obtain n unit data packets;
step S303, selecting a minimum channel from the arranged channels;
step S304, judging whether the bandwidth surplus corresponding to the minimum channel meets the transmission of a unit data packet; if yes, go to step S305; if not, executing step S306;
step S305, transmitting each unit data packet through the arranged channel;
and step S306, continuously dividing the unit data packet in equal quantity until the bandwidth surplus corresponding to the minimum channel meets the transmission requirement of the unit data packet.
Further, the plurality of channels includes a third channel and a fourth channel, and the method further includes the steps of:
step S401, when the residual bandwidth of the third channel is the same as the residual bandwidth of the fourth channel, detecting a first preset bandwidth corresponding to the third channel and a second preset bandwidth corresponding to the fourth channel;
step S402, if the first preset bandwidth is larger than the second preset bandwidth, arranging the third channel in front of the fourth channel;
in step S403, if the first preset bandwidth is smaller than the second preset bandwidth, the fourth channel is arranged before the third channel.
The embodiment of the invention provides a multimedia data transmission method under a mixed channel, which comprises the following steps: acquiring the bandwidth surplus of a plurality of channels; arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels; detecting the occupied space of a data packet to be transmitted; searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted; if the data packet exists, transmitting the data packet to be transmitted through the searched channel; if the data packet does not exist, the data packet to be transmitted is divided to obtain a plurality of divided subdata, and each divided subdata packet is transmitted through a matched channel; the data packet can be sent simultaneously under a plurality of channels, and when the occupied space of the data packet is large, the data packet is divided, so that the transmission pressure of the channels can be relieved, and the normal transmission of the data packet is ensured.
Example two:
fig. 2 is a schematic diagram of a multimedia data transmission apparatus under a hybrid channel according to a second embodiment of the present invention.
Referring to fig. 2, the apparatus includes:
an obtaining unit 1, configured to obtain bandwidth residuals of a plurality of channels;
the first arranging unit 2 is used for arranging the channels according to the bandwidth surplus of each channel from large to small to obtain the arranged channels;
the first detection unit 3 is used for detecting the occupied space of the data packet to be transmitted;
the searching unit 4 is used for searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted;
the first transmission unit 5 is used for transmitting the data packet to be transmitted through the searched channel when the data packet exists;
and the second transmission unit 6 is configured to, when the packet does not exist, divide the packet to be transmitted to obtain a plurality of divided sub-data, and transmit each divided sub-data packet through a matched channel.
Further, the second transmission unit 6 is specifically configured to:
acquiring a first channel and a second channel from the arranged channels, wherein the first channel is the maximum channel of the first arrangement, and the second channel is arranged second and smaller than the first channel;
dividing a data packet to be transmitted into first sub data packets which are not more than the bandwidth surplus of a first channel to obtain first surplus data packets;
transmitting the first sub data packet through a first channel;
dividing the first residual data packet into second sub data packets which are not more than the bandwidth residual of a second channel to obtain second residual data packets;
transmitting a second sub-packet through the second channel;
and the second residual data packet is divided again until the division of the data packet to be transmitted is completed.
Further, the second transmission unit 6 is specifically configured to:
setting the number of the arranged channels as n;
equally dividing the data packets to be transmitted to obtain n unit data packets;
selecting a minimum channel from the arranged channels;
judging whether the bandwidth surplus corresponding to the minimum channel meets the transmission of a unit data packet or not;
if yes, transmitting each unit data packet through the arranged channel;
and if the bandwidth residual quantity does not meet the requirement, the unit data packet is continuously divided in equal quantity until the bandwidth residual quantity corresponding to the minimum channel meets the requirement of transmitting the unit data packet.
Further, the plurality of channels includes a third channel and a fourth channel, and the apparatus further includes:
a second detecting unit (not shown) for detecting a first preset bandwidth corresponding to a third channel and a second preset bandwidth corresponding to a fourth channel when the remaining amount of bandwidth of the third channel is the same as the remaining amount of bandwidth of the fourth channel;
a second arranging unit (not shown) for arranging the third channel before the fourth channel in case that the first preset bandwidth is greater than the second preset bandwidth;
and a third arranging unit (not shown) for arranging the fourth channel before the third channel in case that the first preset bandwidth is smaller than the second preset bandwidth.
The embodiment of the invention provides a multimedia data transmission device under a mixed channel, which comprises: acquiring the bandwidth surplus of a plurality of channels; arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels; detecting the occupied space of a data packet to be transmitted; searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted; if the data packet exists, transmitting the data packet to be transmitted through the searched channel; if the data packet does not exist, the data packet to be transmitted is divided to obtain a plurality of divided subdata, and each divided subdata packet is transmitted through a matched channel; the data packet can be sent simultaneously under a plurality of channels, and when the occupied space of the data packet is large, the data packet is divided, so that the transmission pressure of the channels can be relieved, and the normal transmission of the data packet is ensured.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the method for transmitting multimedia data under a hybrid channel provided in the foregoing embodiment are implemented.
An embodiment of the present invention further provides a computer-readable medium having non-volatile program codes executable by a processor, where the computer-readable medium stores a computer program, and the computer program is executed by the processor to perform the steps of the method for transmitting multimedia data in a hybrid channel according to the foregoing embodiment.
The computer program product provided in the embodiment of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, which is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for transmitting multimedia data in a mixed channel, the method comprising:
acquiring the bandwidth surplus of a plurality of channels;
arranging the channels in a descending order according to the bandwidth surplus of each channel to obtain the arranged channels;
detecting the occupied space of a data packet to be transmitted;
searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted;
if the data packet exists, transmitting the data packet to be transmitted through the searched channel;
if the data packet does not exist, the data packet to be transmitted is segmented to obtain a plurality of segmented subdata, and each segmented subdata packet is transmitted through a matched channel.
2. The method according to claim 1, wherein the dividing the data packet to be transmitted to obtain a plurality of divided sub-data, and transmitting each divided sub-data packet through a matching channel comprises:
acquiring a first channel and a second channel from the arranged channels, wherein the first channel is the maximum channel arranged first, and the second channel is arranged second and smaller than the first channel;
dividing the data packet to be transmitted into first sub data packets which are not more than the bandwidth surplus of the first channel to obtain first surplus data packets;
transmitting the first sub-packet through the first channel;
dividing the first residual data packet into second sub data packets which are not larger than the bandwidth residual of the second channel to obtain second residual data packets;
transmitting the second sub-packet through the second channel;
and segmenting the second residual data packet again until the data packet to be transmitted is segmented completely.
3. The method according to claim 1, wherein the dividing the data packet to be transmitted to obtain a plurality of divided sub-data, and transmitting each divided sub-data packet through a matching channel comprises:
setting the number of the arranged channels as n;
equally dividing the data packets to be transmitted to obtain n unit data packets;
selecting a minimum channel from the arranged channels;
judging whether the bandwidth surplus corresponding to the minimum channel meets the transmission of the unit data packet or not;
if yes, transmitting each unit data packet through the arranged channel;
and if the bandwidth residual quantity does not meet the requirement, the unit data packet is continuously divided in equal quantity until the bandwidth residual quantity corresponding to the minimum channel meets the requirement of transmitting the unit data packet.
4. The method of claim 1, wherein the plurality of channels comprises a third channel and a fourth channel, and wherein the method further comprises:
when the residual bandwidth of the third channel is the same as the residual bandwidth of the fourth channel, detecting a first preset bandwidth corresponding to the third channel and a second preset bandwidth corresponding to the fourth channel;
if the first preset bandwidth is larger than the second preset bandwidth, arranging the third channel in front of the fourth channel;
and if the first preset bandwidth is smaller than the second preset bandwidth, arranging the fourth channel in front of the third channel.
5. An apparatus for transmitting multimedia data on a mixed channel, the apparatus comprising:
an obtaining unit, configured to obtain bandwidth remaining amounts of a plurality of channels;
the first arranging unit is used for arranging the channels according to the bandwidth surplus of each channel from large to small to obtain the arranged channels;
the first detection unit is used for detecting the occupied space of the data packet to be transmitted;
the searching unit is used for searching whether a channel matched with the occupied space exists in the arranged channels according to the occupied space of the data packet to be transmitted;
the first transmission unit is used for transmitting the data packet to be transmitted through the searched channel when the data packet exists;
and the second transmission unit is used for dividing the data packet to be transmitted to obtain a plurality of divided subdata when the data packet does not exist, and transmitting each divided subdata packet through a matched channel.
6. The apparatus for transmitting multimedia data under a hybrid channel according to claim 5, wherein the second transmission unit is specifically configured to:
acquiring a first channel and a second channel from the arranged channels, wherein the first channel is the maximum channel arranged first, and the second channel is arranged second and smaller than the first channel;
dividing the data packet to be transmitted into first sub data packets which are not more than the bandwidth surplus of the first channel to obtain first surplus data packets;
transmitting the first sub-packet through the first channel;
dividing the first residual data packet into second sub data packets which are not larger than the bandwidth residual of the second channel to obtain second residual data packets;
transmitting the second sub-packet through the second channel;
and segmenting the second residual data packet again until the data packet to be transmitted is segmented completely.
7. The apparatus for transmitting multimedia data under a hybrid channel according to claim 5, wherein the second transmission unit is specifically configured to:
setting the number of the arranged channels as n;
equally dividing the data packets to be transmitted to obtain n unit data packets;
selecting a minimum channel from the arranged channels;
judging whether the bandwidth surplus corresponding to the minimum channel meets the transmission of the unit data packet or not;
if yes, transmitting each unit data packet through the arranged channel;
and if the bandwidth residual quantity does not meet the requirement, the unit data packet is continuously divided in equal quantity until the bandwidth residual quantity corresponding to the minimum channel meets the requirement of transmitting the unit data packet.
8. The apparatus for transmitting multimedia data on a mixed channel according to claim 5, wherein the plurality of channels includes a third channel and a fourth channel, the apparatus further comprising:
a second detecting unit, configured to detect a first preset bandwidth corresponding to the third channel and a second preset bandwidth corresponding to the fourth channel when the remaining bandwidth of the third channel is the same as the remaining bandwidth of the fourth channel;
a second arranging unit, configured to arrange the third channel before the fourth channel when the first preset bandwidth is greater than the second preset bandwidth;
a third arranging unit, configured to arrange the fourth channel before the third channel when the first preset bandwidth is smaller than the second preset bandwidth.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 4 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 4.
CN202111543438.0A 2021-12-16 2021-12-16 Multimedia data transmission method and device under mixed channel Pending CN114245181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111543438.0A CN114245181A (en) 2021-12-16 2021-12-16 Multimedia data transmission method and device under mixed channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111543438.0A CN114245181A (en) 2021-12-16 2021-12-16 Multimedia data transmission method and device under mixed channel

Publications (1)

Publication Number Publication Date
CN114245181A true CN114245181A (en) 2022-03-25

Family

ID=80757305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111543438.0A Pending CN114245181A (en) 2021-12-16 2021-12-16 Multimedia data transmission method and device under mixed channel

Country Status (1)

Country Link
CN (1) CN114245181A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401809A (en) * 2013-08-13 2013-11-20 中国电子科技集团公司第二十八研究所 Multichannel dynamic allocation method in narrow-band communication system
CN108513712A (en) * 2017-03-30 2018-09-07 深圳市大疆创新科技有限公司 Video transmission method, method of reseptance, system and unmanned vehicle
CN111526606A (en) * 2020-04-23 2020-08-11 海尔优家智能科技(北京)有限公司 Method and device for data transmission, smart home equipment and storage medium
CN112564943A (en) * 2020-11-20 2021-03-26 北京邮电大学 Data transmission method, system and medium based on multiple network nodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401809A (en) * 2013-08-13 2013-11-20 中国电子科技集团公司第二十八研究所 Multichannel dynamic allocation method in narrow-band communication system
CN108513712A (en) * 2017-03-30 2018-09-07 深圳市大疆创新科技有限公司 Video transmission method, method of reseptance, system and unmanned vehicle
CN111526606A (en) * 2020-04-23 2020-08-11 海尔优家智能科技(北京)有限公司 Method and device for data transmission, smart home equipment and storage medium
CN112564943A (en) * 2020-11-20 2021-03-26 北京邮电大学 Data transmission method, system and medium based on multiple network nodes

Similar Documents

Publication Publication Date Title
CN102045849B (en) Sending method of physical downlink control channel (PDCCH) information as well as determination method and device of PDCCH search space
US11166268B2 (en) Control information format processing method, base station, and user equipment
US8559322B2 (en) Link state detection method and system
WO2009094087A1 (en) Orthogonal frequency division multiple access with carrier sense
CN111181923A (en) Flow detection method and device, electronic equipment and storage medium
US20220377783A1 (en) Control information indicating method, communication node and computer readable storage medium
EP3694168A1 (en) Dynamic configuration method, terminal device, network device and computer storage medium
CN114245181A (en) Multimedia data transmission method and device under mixed channel
CN111126430A (en) Data clustering method for anomaly detection system and wireless communication network terminal
CN113824634B (en) Data transmission method, device, computer equipment and readable storage medium
CN113645296B (en) Method and device for reporting battery module information of sharing bicycle and computer equipment
CN113329096B (en) Message transmission method and device, electronic equipment and storage medium
CN111343647A (en) Method, apparatus, device and medium for user perception evaluation
CN110278119B (en) Resource allocation method and resource allocation device for edge node
CN110401458B (en) Data check coding method and system
CN113891325A (en) Network switching method and system based on multi-access edge calculation
EP1566760A2 (en) Method and system of replacing missing genotyping data
CN112422900A (en) Video data storage method based on block chain
CN106385322A (en) Data group calling method, device and system
CN115865790B (en) Communication system, communication method, and battery management system
CN114980333B (en) Verification method and device of resource allocation result, electronic equipment and storage medium
CN116095015B (en) Electronic sentinel data transmission efficiency improving method, device, equipment and storage medium
CN111459696A (en) Data processing method and device
CN117409573A (en) Determination method for vehicle-mounted communication path, control device, vehicle and storage medium
CN115988538A (en) Communication fault scoring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination