WO2021254396A1 - 数据流的传输方法、设备及系统 - Google Patents

数据流的传输方法、设备及系统 Download PDF

Info

Publication number
WO2021254396A1
WO2021254396A1 PCT/CN2021/100374 CN2021100374W WO2021254396A1 WO 2021254396 A1 WO2021254396 A1 WO 2021254396A1 CN 2021100374 W CN2021100374 W CN 2021100374W WO 2021254396 A1 WO2021254396 A1 WO 2021254396A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data stream
transmitters
segments
transmitter
Prior art date
Application number
PCT/CN2021/100374
Other languages
English (en)
French (fr)
Inventor
李涛
董超峰
曹东波
胡科军
杨军
Original Assignee
京东方科技集团股份有限公司
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 京东方科技集团股份有限公司 filed Critical 京东方科技集团股份有限公司
Priority to US18/010,467 priority Critical patent/US20230269410A1/en
Priority to DE112021002853.7T priority patent/DE112021002853T5/de
Publication of WO2021254396A1 publication Critical patent/WO2021254396A1/zh

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/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
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present disclosure relates to a data stream transmission method, equipment and system.
  • the present disclosure provides a data stream transmission method, equipment and system.
  • a data stream transmission method is provided, the method is executed by a distribution device having multiple transmitters, and the method includes:
  • the multiple transmitters are respectively used to send the corresponding data segments to the confluence device, so that the confluence device combines the multiple data segments to obtain the data stream, and then sends the data stream to the playback device.
  • the total length of all data segments corresponding to the transmitter is related to the link parameter corresponding to the transmitter, and the link parameter corresponding to the transmitter is: between the transmitter and the confluence device The parameters of the link.
  • the link parameter corresponding to the transmitter includes: the strength of the signal transmitted on the link between the transmitter and the confluence device, and the total length is positively correlated with the strength of the signal.
  • the lengths of the multiple data segments are the same.
  • At least two of the data segments have different lengths.
  • respectively using the multiple transmitters to send the corresponding data segment to the converging device includes:
  • the multiple data segments are respectively encapsulated to obtain multiple data packets corresponding to the multiple data segments one-to-one; wherein, for the data packet corresponding to each of the data segments, the data packet includes: the data Segment, and a sequence number of the data segment, where the sequence number is used to indicate the order of the data segment in the multiple data segments;
  • the multiple transmitters are respectively used to send the data packet in which the corresponding data segment is located to the converging device.
  • the data in the data stream is collected by a collecting device, and the data packet further includes: an identification of the collecting device.
  • the multiple transmitters are at least part of the transmitters in the shunt device, and the method further includes:
  • the link parameter corresponding to the transmitter is: the parameter of the link between the transmitter and the confluence device.
  • the link parameter corresponding to the transmitter is used to reflect: the quality of the link between the transmitter and the confluence device;
  • the multiple transmitters are: n transmitters with the highest link quality reflected by the corresponding link parameters in the shunt device, n>1.
  • the number of receiving antennas is smaller than the number of transmitting antennas.
  • a data stream transmission method is provided, the method is executed by a confluence device, and the method includes:
  • the multiple data segments sent by the multiple transmitters by the receiving and offloading device include:
  • the multiple data packets correspond to the multiple data segments one-to-one, and the data corresponding to each of the data segments
  • the data packet includes: the data segment, and a sequence number of the data segment, the sequence number is used to indicate the order of the data segment in the multiple data segments;
  • Combining the multiple data segments to obtain a data stream includes:
  • the data in the data stream is collected by a collecting device, and each of the multiple data packets includes an identification of the collecting device.
  • a data stream transmission system including: a splitting device, a merging device, and a playback device;
  • the offloading device has a plurality of transmitters, and the offloading device is configured to obtain a data stream to be transmitted, obtain a plurality of data segments corresponding to the plurality of transmitters in the data stream, and respectively use all the data streams.
  • the multiple transmitters send the corresponding data segments to the confluence device; wherein each of the transmitters corresponds to at least one data segment, and different transmitters correspond to different data segments;
  • the merging device is configured to, after receiving the multiple data segments, combine the multiple data segments to obtain the data stream, and send the data stream to the playback device;
  • the playback device is configured to play the data stream after receiving the data stream.
  • the data stream transmission system further includes: an acquisition device and an encoding device; wherein the acquisition device is configured to collect data in the data stream and send the collected data to the encoding device; the encoding device is configured to The sent data is encoded to obtain a data stream; the playback device is configured to decode the data stream to obtain the data in the data stream, and play the data in the data stream.
  • the data stream transmission system further includes: a buffering device; the merging device is configured to send the data stream to the buffering device; the buffering device is configured to buffer the data stream; the playback device is configured to obtain the data stream buffered by the buffering device.
  • the data stream transmission system further includes: a streaming device; the playback device is configured to send a data stream acquisition request to the streaming device; the streaming device is configured to pull the data stream from the cache device according to the acquisition request , And send a data stream to the playback device.
  • the data stream transmission system further includes: a transfer device; the playback device is configured to send the acquisition request to the streaming device through the transfer device; the streaming device is configured to send the data stream to the playback device through the transfer device.
  • a data stream transmission device which has multiple transmitters, and the data stream transmission device includes:
  • the first obtaining module is configured to obtain the data stream to be transmitted
  • the second acquisition module is configured to acquire multiple data segments corresponding to the multiple transmitters in the data stream, wherein each of the transmitters corresponds to at least one of the data segments, and different transmitters correspond to Different said data segments;
  • the sending module is configured to respectively use the multiple transmitters to send the corresponding data segments to the merging device, so that the merging device combines the multiple data segments to obtain the data stream, and then sends the data to the playback device. ⁇ data flow.
  • the total length of all data segments corresponding to the transmitter is related to the link parameter corresponding to the transmitter, and the link parameter corresponding to the transmitter is: between the transmitter and the confluence device The parameters of the link.
  • the link parameter corresponding to the transmitter includes: the strength of the signal transmitted on the link between the transmitter and the confluence device, and the total length is positively correlated with the strength of the signal.
  • the lengths of the multiple data segments are the same.
  • At least two of the data segments have different lengths.
  • the sending module is configured to:
  • the multiple data segments are respectively encapsulated to obtain multiple data packets corresponding to the multiple data segments one-to-one; wherein, for the data packet corresponding to each of the data segments, the data packet includes: the data Segment, and a sequence number of the data segment, where the sequence number is used to indicate the order of the data segment in the multiple data segments;
  • the multiple transmitters are respectively used to send the data packet in which the corresponding data segment is located to the converging device.
  • the data in the data stream is collected by a collecting device, and the data packet further includes: an identification of the collecting device.
  • the multiple transmitters are at least part of the transmitters in the offloading device, and the data stream transmission device further includes:
  • a determining module configured to determine the multiple transmitters according to link parameters corresponding to the transmitter
  • the link parameter corresponding to the transmitter is: the parameter of the link between the transmitter and the confluence device.
  • the link parameter corresponding to the transmitter is used to reflect: the quality of the link between the transmitter and the confluence device;
  • the multiple transmitters are: n transmitters with the highest link quality reflected by the corresponding link parameters in the shunt device, n>1.
  • the number of receiving antennas is smaller than the number of transmitting antennas.
  • a data stream transmission device including:
  • the receiving module is configured to receive multiple data segments in the data stream sent by multiple transmitters by the shunt device;
  • a combination module configured to combine the multiple data segments to obtain the data stream
  • the sending module is configured to send the data stream to the playback device.
  • the receiving module is configured to:
  • the multiple data packets correspond to the multiple data segments one-to-one, and the data corresponding to each of the data segments
  • the data packet includes: the data segment, and a sequence number of the data segment, the sequence number is used to indicate the order of the data segment in the multiple data segments;
  • the combination module is configured to combine the multiple data segments in the order indicated by the sequence numbers of the multiple data segments to obtain the data stream.
  • the data in the data stream is collected by a collecting device, and each of the multiple data packets includes an identification of the collecting device.
  • a data stream transmission device in a sixth aspect, includes: a processor, a memory, and multiple transmitters, and a program is stored in the memory;
  • the processor is configured to call a program stored in the memory, so that the data stream transmission device executes the data stream transmission method according to any one of the designs in the first aspect.
  • a data stream transmission device including: a processor and a memory, and a program is stored in the memory;
  • the processor is configured to call a program stored in the memory, so that the data stream transmission device executes the data stream transmission method according to any one of the designs in the second aspect.
  • a computer storage medium stores a computer program
  • the computer executes the data stream transmission method described in any one of the designs in the first aspect.
  • a computer storage medium stores a computer program
  • the computer executes the data stream transmission method described in any one of the designs in the second aspect.
  • Fig. 1 is a flowchart of a data stream transmission method provided by an embodiment of the disclosure.
  • FIG. 2 is a flowchart of another data stream transmission method provided by an embodiment of the disclosure.
  • FIG. 3 is a flowchart of yet another data stream transmission method provided by an embodiment of the disclosure.
  • FIG. 4 is a schematic diagram of a structure of a data packet provided by an embodiment of the disclosure.
  • FIG. 5 is a schematic diagram of the layout of an antenna provided by an embodiment of the disclosure.
  • Fig. 6 is a flowchart of a method for a streaming device to send a data stream to a playback device according to an embodiment of the disclosure.
  • FIG. 7 is a schematic diagram of an application scenario provided by an embodiment of the disclosure.
  • FIG. 8 is a schematic structural diagram of a confluence device provided by an embodiment of the disclosure.
  • FIG. 9 is a schematic structural diagram of a streaming device provided by an embodiment of the disclosure.
  • FIG. 10 is a schematic structural diagram of a data transmission system provided by an embodiment of the disclosure.
  • FIG. 11 is a schematic structural diagram of a data stream transmission device provided by an embodiment of the disclosure.
  • FIG. 12 is a schematic structural diagram of another data stream transmission device provided by an embodiment of the disclosure.
  • FIG. 13 is a schematic structural diagram of another data stream transmission device provided by an embodiment of the disclosure.
  • a device when a device transmits a data stream to another device, it will use its transmitter to transmit the data stream to another device.
  • the data volume of the data stream is large (for example, the data stream is a video data stream with a higher resolution (such as 4K resolution or 8K resolution))
  • the device uses The efficiency of its transmitter to transmit data streams is often low. If the data stream is a live data stream or an on-demand data stream, it will cause the other device to provide the data stream to the playback terminal, and the playback terminal will experience a freeze when playing the data stream.
  • the embodiments of the present disclosure provide a data stream transmission method, which transmits the data stream through multiple transmitters, so as to effectively improve the transmission efficiency of the data stream.
  • FIG. 1 is a flowchart of a data stream transmission method provided by an embodiment of the present disclosure, and the method may be executed by a shunt device. As shown in Figure 1, the method includes:
  • step 101 the data stream to be transmitted is obtained.
  • the data stream to be transmitted may be a data stream received by the offload device, or a data stream generated by the offload device, which is not limited in the embodiment of the present disclosure.
  • the data stream when the data stream is a data stream received by the shunt device, the data stream may be a data stream sent to the shunt device after the encoding device encodes the data collected by the collecting device.
  • the acquisition device is in communication connection with the encoding device, and the encoding device is in communication connection with the shunt device.
  • step 102 multiple data segments corresponding to multiple transmitters are acquired in the data stream, where each transmitter corresponds to at least one data segment, and different transmitters correspond to different data segments.
  • the shunt device has the multiple (such as 2, 3, or 4) transmitters.
  • the transmitter may be a component capable of transmitting data.
  • the transmitter includes at least a transmitter, and the transmitter may also include a receiver. .
  • the transmitter may be a 5th Generation Mobile Communication Technology (5G) module, a 4th Generation Mobile Communication Technology (4G) module, or the like.
  • the module (such as 5G module) includes hardware such as baseband chip, radio frequency, storage, power management, etc., and the module can establish a communication connection with the confluence device.
  • the multiple transmitters in step 102 may be part of the transmitters in the shunt device, or may be all the transmitters in the shunt device, which is not limited in the embodiment of the present disclosure.
  • the shunt device may split the data stream obtained in step 101 into multiple data segments, the multiple data segments have a corresponding relationship with multiple transmitters, and each transmitter can correspond to at least one data segment. Data segments corresponding to multiple transmitters constitute the multiple data segments.
  • step 103 multiple transmitters are used to send corresponding data segments to the merging device, so that the merging device combines the multiple data segments to obtain a data stream, and then sends the data stream to the playback device.
  • Each transmitter in the shunting device is in communication with the confluence device. After the shunt device obtains the data segment corresponding to each transmitter, it can use the transmitter to send the data segment corresponding to the transmitter to the confluence device. In this way, the shunt device can send multiple data segments through multiple transmitters To the confluence equipment.
  • the shunt device uses multiple transmitters to send corresponding data segments to the merging device respectively, so that the multiple transmitters can send data segments to the merging device in parallel. .
  • the merging device can combine the multiple data segments to obtain a data stream. In this way, it is realized that the split device sends a data stream to the confluence device. Since the sum of the bandwidths of multiple transmitters is large, the efficiency of the splitting device to send the data stream to the merging device is higher.
  • FIG. 2 is a flowchart of another data stream transmission method provided by an embodiment of the present disclosure, and the method may be executed by a confluence device. As shown in Figure 2, the method includes:
  • step 201 multiple data segments sent by multiple transmitters by the shunt device are received.
  • the merging device may establish a communication connection with multiple transmitters in the diverging device.
  • the merging device may receive multiple data segments sent by the multiple transmitters by the diverging device based on these communication connections.
  • step 201 reference may be made to the related descriptions in step 102 and step 103, and details are not described herein in the embodiment of the present disclosure.
  • step 202 multiple data segments are combined to obtain a data stream.
  • the splitting device can split the data stream into multiple data segments corresponding to multiple transmitters according to certain rules, and respectively use the multiple transmitters to transmit the corresponding data segments to the confluence device.
  • the merging device can reorganize these data segments into the above-mentioned data stream according to the opposite rule.
  • the shunt device can sequentially allocate the multiple data segments obtained by splitting to the multiple transmitters according to the ordering of the multiple transmitters, and the data segment allocated to each transmitter is the data segment corresponding to the transmitter. Then, the merging device can reorganize the data segments sent by these transmitters into the above-mentioned data stream according to the sequence of the multiple transmitters.
  • multiple transmitters include transmitters 1, 2 and 3, and the order of these three transmitters is: transmitters 1, 2, and 3.
  • the data stream includes data segments 1, 2 and 3 arranged in sequence.
  • the shunt device can allocate data segment 1 to transmitter 1 (transmitter 1 corresponds to data segment 1), data segment 2 to transmitter 2 (transmitter 2 corresponds to data segment 2), and data segment 3 to transmitter 3. (Transmitter 3 corresponds to data segment 3).
  • the confluence device can arrange the data segment 1 sent by the transmitter 1 in the first place, the data segment 2 sent by the transmitter 2 in the second place, and the data segment sent by the transmitter 3 according to the order of the three transmitters. 3 is placed in the third place, so that the data stream composed of data segments 1, 2 and 3 is obtained.
  • the shunt device when the shunt device uses the transmitter to send the corresponding data segment, it can encapsulate multiple data segments separately to obtain multiple data packets corresponding to the multiple data segments one-to-one; wherein, for each data segment corresponding to the data packet , The data packet includes: the data segment, and the serial number of the data segment. The serial number is used to indicate the order of the data segment in multiple data segments.
  • the splitting device can respectively use multiple transmitters to send the data packet in which the corresponding data segment is located to the converging device.
  • the merging device After receiving multiple data packets, the merging device can parse these data packets separately to obtain multiple data segments and the serial number of each data segment. After that, the merging device can reorganize the multiple data segments into the aforementioned data stream according to the sequence indicated by the sequence numbers of the multiple data segments.
  • multiple transmitters include transmitters 1, 2, and 3, and the data stream includes data segments 1, 2, 3, 4, 5, and 6 arranged in sequence.
  • the shunt device allocates data segments 1, 2 and 3 to transmitter 1 (transmitter 1 corresponds to data segments 1, 2 and 3), and data segments 4 and 5 are allocated to transmitter 2 (transmitter 2 corresponds to data segments 4 and 3). 5) Allocate data segment 6 to transmitter 3 (transmitter 3 corresponds to data segment 6).
  • the shunt device can also encapsulate data segment 1 into data packet 1 (including data segment 1 and its serial number 1), encapsulate data segment 2 into data packet 2 (including data segment 2 and its serial number 2), and encapsulate data segment 3 Encapsulate data packet 3 (including data segment 3 and its serial number 3), encapsulate data segment 4 into data packet 4 (including data segment 4 and its serial number 4), and encapsulate data segment 5 into data packet 5 (including data Segment 5 and its serial number 5), encapsulate the data segment 6 into a data packet 6 (including the data segment 6 and its serial number 6).
  • the confluence device can parse the six data packets to obtain data segment 1 and its serial number 1, data segment 2 and its serial number 2, data segment 3 and its serial number 3, and data segment 4. And its serial number 4, data segment 5 and its serial number 5, and data segment 6 and its serial number 6. Finally, the merging device can arrange the six data segments into data segments 1, 2, 3, 4, 5, and 6 according to the serial numbers of the data segments to obtain the above-mentioned data stream.
  • step 203 the obtained data stream is sent to the playback device.
  • the shunt device uses multiple transmitters to send corresponding data segments to the merging device respectively, so that the multiple transmitters can send data segments to the merging device in parallel. .
  • the merging device can combine the multiple data segments to obtain a data stream. In this way, it is realized that the split device sends a data stream to the confluence device. Since the sum of the bandwidths of multiple transmitters is large, the efficiency of the splitting device to send the data stream to the merging device is higher.
  • FIG. 3 is a flowchart of another data stream transmission method provided by an embodiment of the present disclosure. As shown in FIG. 3, the method includes:
  • step 301 the collecting device collects data.
  • the data collected by the collecting device may be audio data, video data, multimedia data, etc.
  • the embodiment of the present disclosure does not limit the type of data.
  • the video data may be high-definition video data such as 4K resolution or 8K resolution.
  • the collection device can be any device capable of collecting data, such as a mobile phone, a video camera, and a tablet computer.
  • the data collected by the collection device may be digital component serial interface (English Serial Digital Interface, SDI) data.
  • SDI Simple Serial Digital Interface
  • step 302 the collecting device sends the collected data to the encoding device.
  • the acquisition device is in communication connection with the encoding device, and the acquisition device can send the collected data to the encoding device, so that the encoding device can encode the data collected by the acquisition device in step 303 to obtain a data stream.
  • the communication connection in the embodiment of the present disclosure may be a communication connection based on a wired network or a communication connection based on a wireless network, which is not limited in the embodiment of the present disclosure.
  • the network can be the Internet, Local Area Network (LAN), Metropolitan Area Network (MAN), Wide Area Network (WAN), mobile network, private network or virtual private network, or any combination of these networks .
  • step 303 the encoding device encodes the data sent by the collecting device to obtain a data stream.
  • the encoding device may be a video encoding device, and the encoding method adopted by the encoding device may be an inter-frame encoding method.
  • step 304 the encoding device sends the data stream to the offloading device.
  • the encoding device is in communication connection with the splitting device, and the encoding device can send the encoded data stream to the splitting device, so that the splitting device can obtain the data stream, and then split the data stream through subsequent steps.
  • the encoding device may send a data stream to the offloading device according to a data transmission protocol, for example, sending a data stream to the offloading device according to Transmission Control Protocol/Internet Protocol (TCP/IP).
  • a data transmission protocol for example, sending a data stream to the offloading device according to Transmission Control Protocol/Internet Protocol (TCP/IP).
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the shunt device obtains multiple data segments corresponding to multiple transmitters in the data stream, where each transmitter corresponds to at least one data segment, and different transmitters correspond to different data segments.
  • step 305 reference may be made to the above step 102, which is not described in detail in the embodiment of the present disclosure.
  • the data segment corresponding to the transmitter is a data segment that the transmitter needs to transmit.
  • the parameters of the link between the transmitter and the merging device are related to the efficiency of the transmitter to transmit data segments to the merging device.
  • the shunt device can be based on the parameters of the link between the transmitter and the merging device (Referred to as the link parameter corresponding to the transmitter), to allocate the corresponding data segment for the transmitter. At this time, the total length of all data segments corresponding to the transmitter is related to the link parameters corresponding to the transmitter.
  • the link parameter corresponding to the transmitter includes: the strength of the signal transmitted on the link between the transmitter and the confluence device.
  • the total length of all data segments corresponding to the transmitter is positively correlated with the signal strength.
  • the higher the strength of the signal transmitted on the link between the transmitter and the merging device the higher the efficiency of the transmitter for transmitting data segments, and the longer the total length of all data segments that the splitting device can allocate to the transmitter.
  • multiple transmitters include transmitters 1, 2, and 3.
  • the strength of the signal transmitted on the link between transmitter 1 and the confluence device is strength 1, and the strength of the signal transmitted on the link between transmitter 2 and the confluence device The strength is strength 2, and the strength of the signal transmitted on the link between the transmitter 3 and the confluence device is strength 3.
  • the total length of all data segments corresponding to transmitter 1 is length 1, the total length of all data segments corresponding to transmitter 2 is length 2, and the total length of all data segments corresponding to transmitter 3 is length 3. If intensity 1>intensity 2>intensity 3, then length 1>length 2>length 3.
  • the link parameter corresponding to the transmitter includes: the strength of the signal transmitted on the link between the transmitter and the confluence device as an example.
  • the link parameter corresponding to the transmitter may also be the connection parameter.
  • Other parameters such as transmission delay, transmission rate, etc.
  • the transmission delay is the length of time from the transmitter sending a data packet to the confluence device until the transmitter receives the response packet of the data packet sent by the confluence device.
  • the link parameters corresponding to the transmitter include: the strength of the signal transmitted on the link between the transmitter and the merging device, and the transmission rate of the link between the transmitter and the merging device, and the shunt device includes n transmitters
  • the total length of the data stream is T.
  • Si represents the transmission rate of the link between the i-th transmitter and the merging device
  • S represents the sum of the transmission rates of the link between n transmitters and the merging device
  • the strength of the signal transmitted on the link between each transmitter and the confluence device is related.
  • Xi is the ratio of the signal strength to the total signal strength
  • the total signal strength is the sum of the signal strengths transmitted on the link between n transmitters and the confluence device.
  • the multiple transmitters may correspond to multiple data segments one-to-one, or the multiple transmitters may not correspond to multiple data segments one-to-one. Regardless of how the multiple transmitters correspond to the multiple data segments, the lengths of the multiple data segments may be the same, or at least two of the multiple data segments have different lengths.
  • the shunt device can determine the number of data segments corresponding to the transmitter according to the link parameters corresponding to the transmitter, and allocate the data segments corresponding to the number of data segments to the transmitter .
  • the shunt device may determine the length of the data segment corresponding to the transmitter according to the link parameters corresponding to the transmitter, and assign the corresponding data segment to the transmitter. The length of the data segment.
  • the foregoing multiple transmitters may be at least part of the transmitters in the offloading device.
  • the offloading device may determine the multiple transmitters according to the link parameters corresponding to the transmitters.
  • the link parameter corresponding to the transmitter is used to reflect: the quality of the link between the transmitter and the merging device; the multiple transmitters determined by the splitting device are: the link reflected by the corresponding link parameters in the splitting device N transmitters with the highest channel quality, n>1. In this way, it can be ensured that the quality of the links between the multiple transmitters used to transmit the data stream and the merging device are high, and the efficiency of using the multiple transmitters to transmit the data stream is high.
  • the link parameters corresponding to the transmitter include: the strength of the signal transmitted on the link between the transmitter and the merging device.
  • the strength of the signal transmitted on the link between the transmitter 1 and the confluence device is strength 1
  • the strength of the signal transmitted on the link between the transmitter 2 and the confluence device is strength 2
  • the link between the transmitter 3 and the confluence device The strength of the signal transmitted on it is strength 3, the strength of the signal transmitted on the link between the transmitter 4 and the confluence device is strength 4
  • the strength of the signal transmitted on the link between the transmitter 5 and the confluence device is strength 5.
  • intensity 1>intensity 2>intensity 3>intensity 4>intensity 5 the multiple transmitters determined by the shunt device may be transmitters 1, 2, and 3.
  • the shunt device can use the transmitter to send a detection packet to the merging device to measure the parameters of the link between the transmitter and the merging device. After the shunt device operates for a period of time, the shunt device can determine the parameters of the link according to the data transmission condition on the link during the operation.
  • the shunt device after the shunt device obtains the link parameters corresponding to the transmitter, each time it sends a data stream to the converging device, it can determine the data segment corresponding to the transmitter and the multiple transmitters based on these link parameters.
  • the shunt device may also update the obtained link parameters, and determine the data segment corresponding to the transmitter and the above multiple transmitters according to the updated link parameters, which is not limited in the embodiment of the present disclosure.
  • step 306 the splitting device respectively uses multiple transmitters to send corresponding data segments to the merging device.
  • step 306 reference may be made to the related content in step 103 and step 202, which is not described in detail in the embodiment of the present disclosure.
  • the offloading device uses the transmitter to send a data packet to the merging device to send the data segment included in the data packet to the merging device
  • the data packet includes not only the data segment, but also the serial number of the data segment.
  • the package may also include: the identification of the collection device.
  • the structure of the data packet can be shown in Figure 4.
  • the data packet includes: a collection device identification (Resource ID) field, a data protocol type (Data Protocol Type) field, a data length (Data Length) field, and a packet Serial number (Package serial) field and data (data) part.
  • the collection device identification field includes the identification of the collection device
  • the data protocol type field includes the type of encapsulation protocol used by the data packet
  • the data length field includes the length of the data part
  • the packet sequence number field includes the serial number of the encapsulated data segment.
  • the data part includes the encapsulated data segment.
  • the acquisition device identification field may include 7 bytes, and the serial number field may include 4 bytes.
  • the type of encapsulation protocol in the data protocol type field can be any type, such as Real-time Transport Protocol (RTP), Real-Time Messaging Protocol (RTMP) or Transmission Control Protocol (Transmission Control Protocol) , TCP) etc.
  • RTP Real-time Transport Protocol
  • RTMP Real-Time Messaging Protocol
  • TCP Transmission Control Protocol
  • the data packet may also include a first source address and a first destination address, where the first source address is an address of a transmitter that transmits the data packet, and the first destination address is an address of a shunt device.
  • the address in the embodiment of the present disclosure may be a physical address or a network address, which is not limited in the embodiment of the present disclosure.
  • step 307 the merging device combines multiple data segments to obtain a data stream.
  • step 307 reference may be made to the related content in step 202, which is not described in detail in the embodiment of the present disclosure.
  • the merging device can check the received data Determine the data segment that includes the identification of the same collection device in the segment. After that, the merging device can combine the data segments including the identifier of the same collection device to obtain a data stream.
  • the method provided by the embodiment of the present disclosure may be applicable to scenarios where multiple collection devices collect data.
  • the confluence device may use artificial intelligence recognition to classify the received data packets, where the data packets classified into one type have the identity of the same collection device.
  • the shunt device may extract statistical characteristics of multiple data packets to construct multiple sample data, and the sample data includes the category label of the data packet.
  • the offloading device may learn a plurality of sample data through a machine learning model to construct a classification model, and then use the trained classification model to classify the received data packets.
  • the Convolutional Neural Network (CNN) model is trained by the gradient descent method to obtain the classification model.
  • the merging device is also referred to as a streaming device.
  • the collection device sends the collected data to the streaming device through the encoding device and the streaming device.
  • This process can be called streaming.
  • There can be three push protocols used for push streaming namely Real Time Streaming Protocol (RTSP), Real Time Messaging Protocol (RTMP), and Hypertext Transfer Protocol (Hypertext Transfer Protocol).
  • RTSP Real Time Streaming Protocol
  • RTMP Real Time Messaging Protocol
  • HTTP Hypertext Transfer Protocol
  • HTTP HTTP Live Streaming
  • step 308 the merging device sends the data stream to the playback device.
  • step 309 the playback device decodes the data stream to obtain data in the data stream.
  • step 310 the playback device plays the data in the data stream.
  • the merging device After the merging device obtains the data stream, it can send the data stream to the playback device, so that the playback device can decode the data stream to obtain the data in the data stream, and then play the data.
  • the playback device in the present disclosure may be a desktop computer, a notebook computer, a smart phone, a tablet computer, smart glasses, etc., but is not limited to this.
  • the shunt device uses multiple transmitters to send corresponding data segments to the merging device respectively, so that the multiple transmitters can send data segments to the merging device in parallel. .
  • the merging device can combine the multiple data segments to obtain a data stream. In this way, it is realized that the split device sends a data stream to the confluence device. Since the sum of the bandwidths of multiple transmitters is large, the efficiency of the splitting device to send the data stream to the merging device is higher.
  • the shunt device has at least two transmitters, the transmitters may include a transmitter and a receiver, and the transmitter can use the transmitters to send data segments to the shunt device, and use the receivers therein. Receive the data sent by the shunt device.
  • the transmitter has a transmitting antenna, and the receiver has a receiving antenna.
  • the frequency band of each antenna in the shunt device can be the same or different.
  • the antennas in the shunt device may be antennas with frequency band numbers N79, N78, N41, and so on.
  • the antenna in the shunt device can be a 5G antenna or the 4th generation mobile communication technology (4G) antenna.
  • the shunt device may include a housing, and both the transmitting antenna and the receiving antenna may be arranged close to the inner side of the housing.
  • the number of receiving antennas is smaller than the number of transmitting antennas. Since the transmitter is mainly used to send data to the confluence device, the receiving antenna in at least one transmitter may be less than the transmitting antenna. Moreover, when there are fewer receiving antennas, the area occupied by the antenna inside the housing on the inside of the housing can be reduced, and more transmitting antennas can be arranged in a limited space.
  • each transmitter of the shunt device adopts a 2 ⁇ 2 multiple-in multiple-out (MIMO) antenna
  • each transmitter has two transmitting antennas and two receiving antennas.
  • the shunt device should have 6 transmitting antennas and 6 receiving antennas, a total of 12 antennas.
  • one receiving antenna of a certain transmitter can be omitted.
  • Antennas 1, 2, 3, and 4 are the antennas of transmitter 1, and antennas 1 and 2 are both transmitting antennas.
  • Antennas 3 and 4 are receiving antennas; antennas 5, 6 and 7 are the antennas of transmitter 2, antennas 5 and 6 are transmitting antennas, antenna 7 is receiving antenna; antennas 8, 9, 10 and 11 are transmitter 3 Antennas 8 and 9 are both transmitting antennas, and antennas 10 and 11 are both receiving antennas. It can be seen that one receiving antenna of the transmitter 2 is omitted.
  • the merging device needs to send the data stream to the playback device. It should be noted that the merging device can send a data stream to the playback device in any of a variety of ways. The following will take one of these methods as an example for explanation.
  • FIG. 6 is a flow chart of a method for a converging device to send a data stream to a playback device according to an embodiment of the present disclosure.
  • the method shown in FIG. 6 is applicable to the scenario shown in FIG. 7, as shown in FIG. Including: acquisition equipment, encoding equipment, merging equipment, caching equipment, streaming equipment, transfer equipment and playback equipment connected in sequence.
  • acquisition equipment e.g., acquisition equipment, encoding equipment, merging equipment, caching equipment, streaming equipment, transfer equipment and playback equipment connected in sequence.
  • the explanation of the collection device, the encoding device, the merging device, and the playback device can refer to the relevant explanation in the above-mentioned embodiment, and the embodiment of the present disclosure will not be repeated here.
  • the cache device, the streaming device, and the transfer device can all be servers, and the cache device, the streaming device, and the transfer device can form a cloud resource platform.
  • step 308 may include:
  • step 3081 the merging device sends the data stream to the buffering device.
  • the merging device When the merging device sends a data stream to the buffer device, it may also encapsulate the data in the data stream (for example, based on TCP encapsulation) to obtain a second data packet, and send the second data packet to the buffer device.
  • the second data packet includes data in the data stream, and also includes a second source address and a second destination address.
  • the second source address is the address of the confluence device
  • the second destination address is the storage address of the data stream on the cache device.
  • each of the second data packets may also include a packet sequence number (used to indicate the order of the second data packet).
  • the merging device may sequentially add these second data packets to the buffer queue, and sequentially send the second data packets in the buffer queue to the buffer device.
  • the structure of the second data packet sent by the merging device to the buffering device and the structure of the data packet (may be referred to as the first data packet) sent by the offloading device to the merging device may be different or the same, which is not limited in the embodiment of the present disclosure.
  • the merging device may also determine whether the communication connection between the merging device and the buffering device is faulty before sending the data stream to the buffering device.
  • the confluence device may send the data stream to the buffer device.
  • step 3082 the cache device caches the data stream.
  • the merging device After the merging device obtains the data stream, it can send the data stream to the buffer device to buffer the data stream in the buffer device.
  • step 3083 the playback device sends a data stream acquisition request to the streaming device.
  • the playback device may generate a data stream acquisition request in response to the user's operation on the playback device, and send the acquisition request to the streaming device.
  • the acquisition request may include: the identifier of the data stream.
  • the identifier of the data stream may be the identifier of the collection device that collects the data in the data stream, or it may be an identifier that has a mapping relationship with the identifier of the collection device.
  • the playback device sends a data stream acquisition request to the streaming device.
  • the acquisition request includes the identification of the data stream, such as the identification of the collection device that collects the data stream, and the host's Room number or host’s username, etc.
  • the playback device may send the acquisition request to the streaming device through the transit device.
  • the playback device may send the acquisition request to the transit device, and the transit device may forward the acquisition request to the streaming device.
  • step 3084 the streaming device pulls the data stream from the cache device according to the data stream acquisition request.
  • the streaming device can pull the above-mentioned data stream from the cache device.
  • the data stream pulled by the streaming device can be cached in the streaming management pool in the streaming device.
  • the streaming device may first determine whether the data stream identifier in the acquisition request exists. For example, the streaming device can determine whether the data stream identifier in the acquisition request exists according to a data stream identifier list; when the data stream identifier in the acquisition request belongs to the data stream identifier list, the streaming device can determine to acquire the data in the request The identity of the stream exists. When the identifier of the data stream in the acquisition request exists, the streaming device pulls the data stream corresponding to the identifier of the collection device from the cache device.
  • the streaming device may send an identification of the data flow in the acquisition request to the caching device, for example, sending a connection request including the identification to the caching device.
  • the cache device receives the identifier of the data stream, if it is determined that the identifier of the data stream exists and the data stream corresponding to the identifier of the data stream is stored in the cache device, the cache device can send the data stream to the streaming device .
  • the streaming device may first send a subscription message to the caching device before sending the identification of the data flow to the caching device, and then the caching device may push the identification of at least one data flow to the streaming device based on the subscription message.
  • the data stream identifier list in the streaming device may include the identifier of the at least one data stream pushed by the caching device.
  • the data stream identifier list may also be a list pre-stored on the streaming server. This disclosure implements The example does not limit this.
  • step 3085 the streaming device sends the data stream to the playback device.
  • the streaming device may send the data stream to the playback device through the relay device.
  • the streaming device sends the data stream to the transfer device, and the transfer device forwards the data stream to the playback device.
  • the playback device needs to include a player that supports the RTMP streaming protocol.
  • the playback device is a computer
  • the computer needs to have a Video Lan Client (VLC)
  • VLC Video Lan Client
  • the playback device is a mobile phone
  • the mobile phone needs to have a Vitamio (a client name) client.
  • the playback device obtains the data stream buffered by the buffer device.
  • the cache device in the scenario shown in FIG. 7 can also be replaced with a blockchain, which is used to cache the above-mentioned data stream, and correspondingly, the steps performed by the cache device can be performed by the blockchain.
  • the process of transmitting data between certain devices may include the process of data encapsulation and decapsulation, and the process of data verification.
  • the confluence device sends a data stream to the buffer device
  • the data in the data stream can be encapsulated into a data packet
  • the data packet can be sent to the buffer device.
  • the caching device After receiving the data packet, the caching device only needs to store the data packet.
  • the streaming device pulls these data packets from the cache device, it needs to decapsulate the data packets to obtain the data in the data packets.
  • the data packet may include a check bit. After the streaming device receives the data packet, it will check the data packet based on the check bit.
  • the confluence device has a receiving module, a statistical analysis module, a package verification module, a buffer module, and a sending module.
  • the receiving module is used to receive data packets sent by multiple transmitters; the statistical analysis module is used to determine the data packets that have the identity of the same acquisition device among the received data packets; the package verification module is used to verify the identity of the same acquisition device
  • the data in the data packet is encapsulated to obtain a second data packet, and a check bit is added to the second data packet; the buffer module is used to add the second data packet to the buffer queue; the sending module is used to send the buffer queue to the buffer device The second data packet in.
  • the confluence device may also have some interfaces, such as an operating system interface and a test interface (such as a Swagger UI interface).
  • the streaming device has a receiving module, a statistical analysis module, an unpacking verification module, a buffering module, and a sending module.
  • the receiving module is used to receive the data packet in the data stream from the buffer device;
  • the unpacking verification module is used to decapsulate and verify the data packet to obtain the data in the data packet;
  • the buffer module is used to buffer the data to Pull stream management pool;
  • the sending module is used to send the data in the pull stream management pool to the playback device;
  • the statistical analysis module is used to perform some statistical analysis-related operations.
  • the streaming device may also have some interfaces, such as an operating system interface and a test interface.
  • the embodiment of the present disclosure provides a data stream transmission system.
  • the data stream transmission system includes: a streaming device, a merging device, and a playback device.
  • the shunt device has multiple transmitters, and the shunt device is configured to obtain the data stream to be transmitted, obtain multiple data segments corresponding to the multiple transmitters in the data stream, and use the multiple transmitters to send the corresponding data to the confluence device.
  • the data segment where each transmitter corresponds to at least one data segment, and different transmitters correspond to different data segments;
  • the merging device is configured to, after receiving multiple data segments, combine the multiple data segments to obtain a data stream, and send the data stream to the playback device;
  • the playback device is configured to play the data stream after receiving the data stream.
  • the data stream transmission system also includes: a collection device and an encoding device; wherein the collection device is configured to collect data in the data stream and send the collection to the encoding device The received data; the encoding device is configured to encode the data sent by the collection device to obtain a data stream; the playback device is configured to decode the data stream to obtain the data in the data stream, and to play the data in the data stream.
  • the data stream transmission system further includes: a buffering device; the merging device is configured to send the data stream to the buffering device; the buffering device is configured to buffer the data stream; the playback device is configured to obtain the data stream buffered by the buffering device.
  • the data stream transmission system further includes: a streaming device; the playback device is configured to send a data stream acquisition request to the streaming device; the streaming device is configured to pull the data stream from the cache device according to the acquisition request , And send a data stream to the playback device.
  • the data stream transmission system further includes: a transfer device; the playback device is configured to send the acquisition request to the streaming device through the transfer device; the streaming device is configured to send the data stream to the playback device through the transfer device.
  • the shunt device uses multiple transmitters to send corresponding data segments to the merging device, so that the multiple transmitters can send data segments to the merging device in parallel. .
  • the merging device can combine the multiple data segments to obtain a data stream. In this way, it is realized that the split device sends a data stream to the confluence device. Since the sum of the bandwidths of multiple transmitters is large, the efficiency of the splitting device to send the data stream to the merging device is higher.
  • the embodiment of the present disclosure provides a data stream transmission device, and the data stream transmission device has multiple transmitters.
  • the data stream transmission equipment includes:
  • the first obtaining module 1101 is configured to obtain the data stream to be transmitted
  • the second acquisition module 1102 is configured to acquire multiple data segments corresponding to multiple transmitters in the data stream, where each transmitter corresponds to at least one data segment, and different transmitters correspond to different data segments;
  • the sending module 1103 is configured to respectively use multiple transmitters to send corresponding data segments to the merging device, so that the merging device combines the multiple data segments to obtain a data stream, and then sends the data stream to the playback device.
  • the total length of all data segments corresponding to the transmitter is related to the link parameter corresponding to the transmitter, and the link parameter corresponding to the transmitter is: between the transmitter and the confluence device The parameters of the link.
  • the link parameter corresponding to the transmitter includes: the strength of the signal transmitted on the link between the transmitter and the confluence device, and the total length is positively correlated with the strength of the signal.
  • the lengths of the multiple data segments are the same.
  • At least two of the data segments have different lengths.
  • the sending module 1103 is configured to:
  • the multiple data segments are respectively encapsulated to obtain multiple data packets corresponding to the multiple data segments one-to-one; wherein, for the data packet corresponding to each of the data segments, the data packet includes: the data Segment, and a sequence number of the data segment, where the sequence number is used to indicate the order of the data segment in the multiple data segments;
  • the multiple transmitters are respectively used to send the data packet in which the corresponding data segment is located to the converging device.
  • the data in the data stream is collected by a collecting device, and the data packet further includes: an identification of the collecting device.
  • the multiple transmitters are at least part of the transmitters in the offloading device, and the data stream transmission device further includes:
  • a determining module configured to determine the multiple transmitters according to link parameters corresponding to the transmitter
  • the link parameter corresponding to the transmitter is: the parameter of the link between the transmitter and the confluence device.
  • the link parameter corresponding to the transmitter is used to reflect: the quality of the link between the transmitter and the confluence device;
  • the multiple transmitters are: n transmitters with the highest link quality reflected by the corresponding link parameters in the shunt device, n>1.
  • the number of receiving antennas is smaller than the number of transmitting antennas.
  • the sending module uses multiple transmitters to send corresponding data segments to the confluence device respectively, so that the multiple transmitters can send data segments to the confluence device in parallel .
  • the merging device can combine the multiple data segments to obtain a data stream. In this way, it is realized that the split device sends a data stream to the converged device. Since the sum of the bandwidths of multiple transmitters is large, the efficiency of the splitting device to send the data stream to the merging device is higher.
  • the embodiment of the present disclosure provides another data stream transmission device.
  • the data stream transmission device includes:
  • the receiving module 1201 is configured to receive multiple data segments in the data stream sent by the shunt device using multiple transmitters;
  • the combining module 1202 is configured to combine multiple data segments to obtain a data stream
  • the sending module 1203 is configured to send a data stream to the playback device.
  • the receiving module 1201 is configured to:
  • the multiple data packets correspond to the multiple data segments one-to-one, and the data corresponding to each of the data segments
  • the data packet includes: the data segment, and a sequence number of the data segment, the sequence number is used to indicate the order of the data segment in the multiple data segments;
  • the combining module 1202 is configured to combine the multiple data segments in the order indicated by the sequence numbers of the multiple data segments to obtain the data stream.
  • the data in the data stream is collected by a collecting device, and each of the multiple data packets includes an identification of the collecting device.
  • the receiving module receives the splitting device and uses multiple transmitters to send corresponding data segments to the merging device, so that the multiple transmitters can send the corresponding data segment to the merging device in parallel. Send the data segment.
  • the combination module can combine the multiple data segments to obtain a data stream. In this way, it is realized that the split device sends a data stream to the confluence device. Since the sum of the bandwidths of multiple transmitters is large, the efficiency of the splitting device to send the data stream to the merging device is higher.
  • the embodiments of the present disclosure provide another data stream transmission device.
  • the data stream transmission device may be a shunt device, and the data stream transmission device includes: a processor, a memory And multiple transmitters, the memory is stored with a program; the processor is configured to call the program stored in the memory, so that the data stream transmission device executes any data stream execution performed by the shunt device as provided in the embodiments of the present disclosure Transmission method.
  • the data stream transmission device may include an integrated processing chip and multiple transmitters connected to the processing chip through a USB interface, where the integrated processing chip includes the above-mentioned processor.
  • the processor has cores (such as 6 cores), SDI signal input, Reduced Gigabit Media Independent Interface (RGMII), multiple Universal Serial Bus (USB) interfaces, and power management module , Embedded multimedia controller (English full name: Embedded MultiMedia Card, abbreviated eMMC), memory and other components.
  • the USB interface can be any standard USB interface, such as a USB 3.0 standard USB interface. Multiple USB ports can be connected to multiple transmitters in a one-to-one correspondence.
  • the USB interface may be a pluggable interface, so that the transmitter can be connected to the processor in a pluggable manner.
  • the integrated processing chip can also include a wireless (Wi-Fi) module and an RJ-45 connector, the Wi-Fi module is connected to the SDI signal input terminal, and the RJ-45 connector (a connector) is connected RGMII.
  • Wi-Fi wireless
  • RJ-45 connector a connector
  • the embodiments of the present disclosure provide another data stream transmission device.
  • the data stream transmission device may be a confluence device, and the data stream transmission device includes: a processor, a memory And multiple transmitters, the memory is stored with a program; the processor is configured to call the program stored in the memory, so that the data stream transmission device executes any data stream execution performed by the confluence device provided in the embodiments of the present disclosure Transmission method.
  • the embodiments of the present disclosure also provide a computer storage medium in which a computer program is stored; when the computer program runs on a computer, the computer executes any of the shunt devices or The data stream transmission method executed by the confluence device.
  • the embodiments of the present disclosure also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute any data stream transmission method executed by the splitting device or the merging device provided in the embodiments of the present disclosure.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance.
  • the term “at least one” refers to one or more, and “multiple” refers to two or more, unless expressly defined otherwise.
  • the disclosed system, equipment, etc. may be implemented in other configuration methods.
  • the device embodiments described above are only illustrative.
  • the division of modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules can be combined or integrated into another. A system or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separate, and the components described as units may or may not be physical units, and may be located in one place or distributed on multiple devices. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种数据流的传输方法、设备及系统,数据流的传输方法包括:获取待传输的数据流(101);在数据流中获取与多个传输器对应的多个数据段,其中,每个传输器对应至少一个数据段,且不同传输器对应不同的数据段(102);分别利用多个传输器向合流设备发送对应的数据段,以使合流设备组合多个数据段得到数据流后,向播放设备发送数据流(103)。

Description

数据流的传输方法、设备及系统
本公开要求于2020年06月17日提交的申请号为202010555153.8、发明名称为“数据分流设备和数据处理系统”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及一种数据流的传输方法、设备及系统。
背景技术
随着互联网(Internet)的飞速发展,各式各样的社会活动都可以在网上直播,如新闻发布会、体育比赛、展览、宣传、远程会议、远程看护、开学典礼、开业典礼、校友聚会、周年庆典、结婚庆典等。在直播的过程中,直播的数据流会在多个设备之间传输。
发明内容
本公开提供了一种数据流的传输方法、设备及系统。
第一方面,提供了一种数据流的传输方法,所述方法由分流设备执行,所述分流设备具有多个传输器,所述方法包括:
获取待传输的数据流;
在所述数据流中获取与所述多个传输器对应的多个数据段,其中,每个所述传输器对应至少一个所述数据段,且不同传输器对应不同的所述数据段;
分别利用所述多个传输器向合流设备发送对应的所述数据段,以使所述合流设备组合所述多个数据段得到所述数据流后,向播放设备发送所述数据流。
可选地,所述传输器对应的所有数据段的总长度与所述传输器对应的链路参数相关,所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
可选地,所述传输器对应的链路参数包括:所述传输器与所述合流设备之间链路上传输的信号的强度,所述总长度与所述信号的强度正相关。
可选地,所述多个数据段的长度相同。
可选地,至少两个所述数据段的长度不同。
可选地,分别利用所述多个传输器向合流设备发送对应的所述数据段,包括:
分别封装所述多个数据段,得到所述多个数据段一一对应的多个数据包;其中,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
分别利用所述多个传输器向所述合流设备发送对应的所述数据段所在的所述数据包。
可选地,所述数据流中的数据由采集设备采集,所述数据包还包括:所述采集设备的标识。
可选地,所述多个传输器是所述分流设备中的至少部分传输器,所述方法还包括:
根据所述传输器对应的链路参数,确定所述多个传输器;
所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
可选地,所述传输器对应的链路参数用于反映:所述传输器与所述合流设备之间的链路的质量;
所述多个传输器为:所述分流设备中对应的链路参数所反映的链路质量最高的n个传输器,n>1。
可选地,在所述分流设备中的至少一个传输器中,接收天线的个数小于发射天线的个数。
第二方面,提供了一种数据流的传输方法,所述方法由合流设备执行,所述方法包括:
接收分流设备利用多个传输器发送的多个数据段;
组合所述多个数据段得到数据流;
向播放设备发送所述数据流。
可选地,所述接收分流设备利用多个传输器发送的多个数据段,包括:
接收所述分流设备利用所述多个传输器发送的多个数据包;其中,所述多个数据包与所述多个数据段一一对应,对于每个所述数据段对应的所述数 据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
分别解封装所述多个数据包,得到所述多个数据段,以及所述多个数据段的序列号;
组合所述多个数据段得到数据流,包括:
按照所述多个数据段的序列号所指示的次序,组合所述多个数据段,得到所述数据流。
可选地,所述数据流中的数据由采集设备采集,所述多个数据包均包括所述采集设备的标识。
第三方面,提供了一种数据流的传输系统,包括:分流设备、合流设备和播放设备;
所述分流设备具有多个传输器,所述分流设备被配置为获取待传输的数据流,并在所述数据流中获取与所述多个传输器对应的多个数据段,以及分别利用所述多个传输器向所述合流设备发送对应的所述数据段;其中,每个所述传输器对应至少一个所述数据段,且不同传输器对应不同的所述数据段;
所述合流设备被配置为在接收到所述多个数据段后,组合所述多个数据段得到所述数据流,并向所述播放设备发送所述数据流;
所述播放设备被配置为在接收到所述数据流后,播放所述数据流。
可选地,数据流的传输系统还包括:采集设备和编码设备;其中,采集设备被配置为采集数据流中的数据,并向编码设备发送采集到的数据;编码设备被配置为对采集设备发送的数据进行编码,得到数据流;播放设备被配置为对数据流进行解码,得到数据流中的数据,并播放数据流中的数据。
可选地,数据流的传输系统还包括:缓存设备;合流设备被配置为向缓存设备发送数据流;缓存设备被配置为缓存数据流;播放设备被配置为获取缓存设备缓存的数据流。
可选地,数据流的传输系统还包括:拉流设备;播放设备被配置为向拉流设备发送数据流的获取请求;拉流设备被配置为根据获取请求,从缓存设备上拉取数据流,并向播放设备发送数据流。
可选地,数据流的传输系统还包括:中转设备;播放设备被配置为通过中转设备向拉流设备发送获取请求;拉流设备被配置为通过中转设备向播放设备发送数据流。
第四方面,提供了一种数据流的传输设备,具有多个传输器,所述数据流的传输设备包括:
第一获取模块,被配置为获取待传输的数据流;
第二获取模块,被配置为在所述数据流中获取与所述多个传输器对应的多个数据段,其中,每个所述传输器对应至少一个所述数据段,且不同传输器对应不同的所述数据段;
发送模块,被配置为分别利用所述多个传输器向合流设备发送对应的所述数据段,以使所述合流设备组合所述多个数据段得到所述数据流后,向播放设备发送所述数据流。
可选地,所述传输器对应的所有数据段的总长度与所述传输器对应的链路参数相关,所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
可选地,所述传输器对应的链路参数包括:所述传输器与所述合流设备之间链路上传输的信号的强度,所述总长度与所述信号的强度正相关。
可选地,所述多个数据段的长度相同。
可选地,至少两个所述数据段的长度不同。
可选地,发送模块被配置为:
分别封装所述多个数据段,得到所述多个数据段一一对应的多个数据包;其中,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
分别利用所述多个传输器向所述合流设备发送对应的所述数据段所在的所述数据包。
可选地,所述数据流中的数据由采集设备采集,所述数据包还包括:所述采集设备的标识。
可选地,所述多个传输器是所述分流设备中的至少部分传输器,所述数据流的传输设备还包括:
确定模块,被配置为根据所述传输器对应的链路参数,确定所述多个传输器;
所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
可选地,所述传输器对应的链路参数用于反映:所述传输器与所述合流设备之间的链路的质量;
所述多个传输器为:所述分流设备中对应的链路参数所反映的链路质量最高的n个传输器,n>1。
可选地,在所述分流设备中的至少一个传输器中,接收天线的个数小于发射天线的个数。
第五方面,提供了一种数据流的传输设备,包括:
接收模块,被配置为接收分流设备利用多个传输器发送的数据流中的多个数据段;
组合模块,被配置为组合所述多个数据段得到所述数据流;
发送模块,被配置为向播放设备发送所述数据流。
可选地,所述接收模块被配置为:
接收所述分流设备利用所述多个传输器发送的多个数据包;其中,所述多个数据包与所述多个数据段一一对应,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
分别解封装所述多个数据包,得到所述多个数据段,以及所述多个数据段的序列号;
组合模块被配置为:按照所述多个数据段的序列号所指示的次序,组合所述多个数据段,得到所述数据流。
可选地,所述数据流中的数据由采集设备采集,所述多个数据包均包括所述采集设备的标识。
第六方面,提供了一种数据流的传输设备,所述数据流的传输设备包括:处理器、存储器和多个传输器,所述存储器中存储有程序;
所述处理器被配置为调用所述存储器中存储的程序,以使得所述数据流的传输设备执行如第一方面中任一设计所述的数据流的传输方法。
第七方面,提供了一种数据流的传输设备,所述数据流的传输设备包括:处理器和存储器,所述存储器中存储有程序;
所述处理器被配置为调用所述存储器中存储的程序,以使得所述数据流的传输设备执行如第二方面中任一设计所述的数据流的传输方法。
第八方面,提供了一种计算机存储介质,所述计算机存储介质内存储有 计算机程序;
所述计算机程序在计算机上运行时,使得计算机执行第一方面中任一设计所述的数据流的传输方法。
第九方面,提供了一种计算机存储介质,所述计算机存储介质内存储有计算机程序;
所述计算机程序在计算机上运行时,使得计算机执行第二方面中任一设计所述的数据流的传输方法。
附图说明
图1为本公开实施例提供的一种数据流的传输方法的流程图。
图2为本公开实施例提供的另一种数据流的传输方法的流程图。
图3为本公开实施例提供的又一种数据流的传输方法的流程图。
图4为本公开实施例提供的一种数据包的结构示意图。
图5为本公开实施例提供的一种天线的布局示意图。
图6为本公开实施例提供的一种合流设备向播放设备发送数据流的方法流程图。
图7为本公开实施例提供的一种应用场景示意图。
图8为本公开实施例提供的一种合流设备的结构示意图。
图9为本公开实施例提供的一种拉流设备的结构示意图。
图10为本公开实施例提供的一种数据传输系统的结构示意图。
图11为本公开实施例提供的一种数据流的传输设备的结构示意图。
图12为本公开实施例提供的另一种数据流的传输设备的结构示意图。
图13为本公开实施例提供的另一种数据流的传输设备的结构示意图。
具体实施方式
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅被配置为解释相关公开,而非对该公开的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与公开相关的部分。
需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本公开。
目前,一个设备在向另一个设备传输数据流时,会利用其中的传输器向 另一个设备传输数据流。但是,当数据流的数据量较大时(如数据流为分辨率较高(如4K分辨率或8K分辨率)的视频数据流),由于设备中的传输器的带宽有限,因此,设备利用其传输器传输数据流的效率往往较低。如果该数据流是直播数据流或点播数据流,那么会导致该另一个设备在向播放终端提供该数据流后,播放终端在播放数据流时会出现卡顿的情况。
本公开实施例提供了一种数据流的传输方法,该方法通过多个传输器对数据流进行传输,以有效提升数据流的传输效率。
示例地,图1为本公开实施例提供的一种数据流的传输方法的流程图,该方法可以由分流设备执行。如图1所示,该方法包括:
在步骤101中,获取待传输的数据流。
待传输的数据流可以是分流设备接收到的数据流,也可以是分流设备生成的数据流,本公开实施例对此不作限定。
可选地,当数据流为分流设备接收到的数据流时,该数据流可以是由编码设备对采集设备采集到的数据进行编码后,发送给分流设备的数据流。其中,采集设备与编码设备通信连接,编码设备与分流设备通信连接。
在步骤102中,在数据流中获取与多个传输器对应的多个数据段,其中,每个传输器对应至少一个数据段,且不同传输器对应不同的数据段。
需要说明的是,分流设备具有该多个(如2个、3个或4个等)传输器,传输器可以是能够传输数据的部件,传输器至少包括发射机,传输器还可以包括接收机。
在本公开实施例中,传输器可以是第五代移动通信技术(5th Generation Mobile Communication Technology,5G)模组、第四代移动通信技术(4th Generation Mobile Communication Technology,4G)模组等。其中,模组(如5G模组)包括基带芯片、射频、存储、电源管理等硬件,模组能够与合流设备建立通信连接。
步骤102中的多个传输器可以是分流设备中的部分传输器,也可以是分流设备中的全部传输器,本公开实施例对此不作限定。
在步骤102中,分流设备可以将步骤101中获取的数据流拆分为多个数据段,该多个数据段与多个传输器存在对应关系,每个传输器可以对应至少一个数据段,该多个传输器对应的数据段组成该多个数据段。
在步骤103中,分别利用多个传输器向合流设备发送对应的数据段,以 使合流设备组合多个数据段得到数据流后,向播放设备发送数据流。
分流设备中的每个传输器均与合流设备通信连接。分流设备在得到每个传输器对应的数据段之后,可以利用该传输器向合流设备发送该传输器对应的数据段,这样一来,分流设备便能够通过多个传输器将多个数据段发送至合流设备。
综上所述,本公开实施例提供的数据流的传输方法中,分流设备利用多个传输器分别向合流设备发送对应的数据段,以使该多个传输器可以并行向合流设备发送数据段。合流设备在接收到该多个数据段后,可以组合该多个数据段得到数据流。这样一来,便实现了分流设备向合流设备发送数据流。由于多个传输器的带宽之和较大,因此,分流设备向合流设备发送数据流的效率较高。
又示例地,图2为本公开实施例提供的另一种数据流的传输方法的流程图,该方法可以由合流设备执行。如图2所示,该方法包括:
在步骤201中,接收分流设备利用多个传输器发送的多个数据段。
合流设备可以与分流设备中的多个传输器均建立有通信连接,在步骤201中,合流设备可以基于这些通信连接,接收分流设备利用多个传输器发送的多个数据段。
步骤201可以参考步骤102和步骤103中的相关描述,本公开实施例在此不作赘述。
在步骤202中,组合多个数据段得到数据流。
在本公开实施例中,分流设备可以按照一定的规则将数据流拆分为多个传输器对应的多个数据段,并分别利用多个传输器向合流设备传输对应的数据段。相应地,合流设备在接收到这些数据段之后,可以按照相反的规则将这些数据段重组为上述数据流。
示例地,假设多个数据段与多个传输器一一对应,多个传输器具有一定的排序。分流设备可以按照多个传输器的排序,将拆分得到的多个数据段依次分配给该多个传输器,分配给每个传输器的数据段为该传输器对应的数据段。那么,合流设备便可以按照该多个传输器的排序,将这些传输器发送的数据段重组为上述数据流。
比如,多个传输器包括传输器1、2和3,且这三个传输器的排序为:传 输器1、2、3。数据流包括依次排布的数据段1、2和3。分流设备可以将数据段1分配给传输器1(传输器1对应数据段1),将数据段2分配给传输器2(传输器2对应数据段2),将数据段3分配给传输器3(传输器3对应数据段3)。合流设备可以按照这三个传输器的排序,将传输器1发送的数据段1排在第一位,将传输器2发送的数据段2排在第二位,将传输器3发送的数据段3排在第三位,从而得到数据段1、2和3组成的数据流。
又示例地,分流设备在利用传输器发送对应的数据段时,可以分别封装多个数据段,得到多个数据段一一对应的多个数据包;其中,对于每个数据段对应的数据包,数据包包括:数据段,以及数据段的序列号,序列号用于指示数据段在多个数据段中的次序。之后,分流设备可以分别利用多个传输器向合流设备发送对应的数据段所在的数据包。合流设备在接收到多个数据包后,可以分别解析这些数据包,得到多个数据段,以及每个数据段的序列号。之后,合流设备可以根据多个数据段的序列号所指示的次序,将该多个数据段重组为上述数据流。
比如,多个传输器包括传输器1、2和3,数据流包括依次排布的数据段1、2、3、4、5和6。假设分流设备将数据段1、2和3分配给传输器1(传输器1对应数据段1、2和3),将数据段4和5分配给传输器2(传输器2对应数据段4和5),将数据段6分配给传输器3(传输器3对应数据段6)。分流设备还可以将数据段1封装为数据包1(包括数据段1及其序列号1),将数据段2封装为数据包2(包括数据段2及其序列号2),将数据段3封装为数据包3(包括数据段3及其序列号3),将数据段4封装为数据包4(包括数据段4及其序列号4),将数据段5封装为数据包5(包括数据段5及其序列号5),将数据段6封装为数据包6(包括数据段6及其序列号6)。
合流设备在接收到这六个数据包之后,可以解析这六个数据包得到数据段1及其序列号1,数据段2及其序列号2,数据段3及其序列号3,数据段4及其序列号4,数据段5及其序列号5,以及数据段6及其序列号6。最后,合流设备可以按照数据段的序列号将这六个数据段排列为数据段1、2、3、4、5、6,得到上述数据流。
在步骤203中,向播放设备发送得到的数据流。
综上所述,本公开实施例提供的数据流的传输方法中,分流设备利用多个传输器分别向合流设备发送对应的数据段,以使该多个传输器可以并行向 合流设备发送数据段。合流设备在接收到该多个数据段后,可以组合该多个数据段得到数据流。这样一来,便实现了分流设备向合流设备发送数据流。由于多个传输器的带宽之和较大,因此,分流设备向合流设备发送数据流的效率较高。
再示例地,图3为本公开实施例提供的又一种数据流的传输方法的流程图,如图3所示,该方法包括:
在步骤301中,采集设备采集数据。
采集设备采集的数据可以是音频数据、视频数据或者多媒体数据等,本公开实施例不对数据的类型进行限定。视频数据可以是4K分辨率或8K分辨率等高清分辨率的视频数据。
采集设备可以是手机、摄像机、平板电脑等任一种能够采集数据的设备。
可选地,采集设备采集到的数据可以是数字分量串行接口(英文Serial Digital Interface,SDI)数据。
在步骤302中,采集设备向编码设备发送采集到的数据。
采集设备与编码设备通信连接,采集设备可以将采集到的数据发送给编码设备,以便于编码设备在步骤303中对采集设备采集到的数据进行编码,得到数据流。
本公开实施例中的通信连接可以是基于有线网络的通信连接,也可以是基于无线网络的通信连接,本公开实施例对此不作限定。网络可以是因特网、局域网(Local Area Network,LAN)、城域网(Metropolitan Area Network,MAN)、广域网(Wide Area Network,WAN)、移动网络、专用网络或者虚拟专用网络,或者这些网络的任何组合。
在步骤303中,编码设备对采集设备发送的数据进行编码,得到数据流。
可选地,当采集设备采集到的数据包括视频时,编码设备可以是视频编码设备,编码设备采用的编码方式可以是帧间编码方式。
在步骤304中,编码设备向分流设备发送数据流。
编码设备与分流设备通信连接,编码设备可以将编码得到的数据流发送至分流设备,以使分流设备获取到该数据流,进而通过后续步骤对该数据流进行分流。
可选地,编码设备可以按照数据传输协议向分流设备发送数据流,比如, 按照传输控制协议/网际协议(Transmission Control Protocol/Internet Protocol,TCP/IP)向分流设备发送数据流。
在步骤305中,分流设备在数据流中获取与多个传输器对应的多个数据段,其中,每个传输器对应至少一个数据段,且不同传输器对应不同的数据段。
步骤305可以参考上述步骤102,本公开实施例在此不做赘述。
可选地,传输器对应的数据段为传输器需要传输的数据段。传输器与合流设备之间的链路的参数与传输器向合流设备传输数据段的效率相关,为了对这些传输器进行合理利用,分流设备可以根据传输器与合流设备之间的链路的参数(称为传输器对应的链路参数),为传输器分配对应的数据段。此时,传输器对应的所有数据段的总长度与传输器对应的链路参数相关。
示例地,传输器对应的链路参数包括:传输器与合流设备之间链路上传输的信号的强度。这种情况下,传输器对应的所有数据段的总长度与该信号的强度正相关。换句话说,传输器与合流设备之间链路上传输的信号的强度越高,传输器传输数据段的效率越高,那么分流设备可以为该传输器分配所有数据段的总长度越长。
比如,多个传输器包括传输器1、2和3,传输器1与合流设备之间链路上传输的信号的强度为强度1,传输器2与合流设备之间链路上传输的信号的强度为强度2,传输器3与合流设备之间链路上传输的信号的强度为强度3。传输器1对应的所有数据段的总长度为长度1,传输器2对应的所有数据段的总长度为长度2,传输器3对应的所有数据段的总长度为长度3。如果强度1>强度2>强度3,那么长度1>长度2>长度3。
本公开实施例中以传输器对应的链路参数包括:传输器与合流设备之间链路上传输的信号的强度为例,可选地,传输器对应的链路参数还可以是该连接的其他参数,如传输延时、传输速率等。传输延时为传输器向合流设备发送数据包至传输器接收到合流设备发送的该数据包的响应包的时长。
示例地,假设传输器对应的链路参数包括:传输器与合流设备之间链路上传输的信号的强度,以及传输器与合流设备之间链路的传输速率,分流设备包括n个传输器,数据流的总长度是T。那么第i个传输器对应的所有数据段的总长度Li=(Si/S)*T*Xi。其中,1≤i≤n,Si表示第i个传输器与合流设备之间的链路的传输速率,S表示n个传输器与合流设备之间链路的传 输速率之和,Xi与第i个传输器与合流设备之间链路上传输的信号的强度相关。比如,Xi为该信号的强度与总信号强度之比,总信号强度为n个传输器与合流设备之间链路上传输的信号的强度之和。
多个传输器与多个数据段存在对应关系,可以是多个传输器与多个数据段一一对应,也可以是多个传输器与多个数据段不是一一对应。不论多个传输器与多个数据段如何对应,多个数据段的长度可以相同,或者,该多个数据段中至少两个数据段的长度不同。
可选地,在多个数据段的长度相同时,分流设备可以根据传输器对应的链路参数确定传输器对应的数据段个数,并为该传输器分配对应的数据段个数的数据段。
又可选地,在多个数据段中至少两个数据段的长度不同时,分流设备可以根据传输器对应的链路参数,确定传输器对应的数据段长度,并为该传输器分配对应的数据段长度的数据段。
进一步地,上述多个传输器可以是分流设备中的至少部分传输器,此时,分流设备可以根据传输器对应的链路参数确定该多个传输器。
示例地,传输器对应的链路参数用于反映:传输器与合流设备之间的链路的质量;分流设备确定出的多个传输器为:分流设备中对应的链路参数所反映的链路质量最高的n个传输器,n>1。这样一来,就能够保证传输数据流所采用的多个传输器与合流设备之间链路的质量均较高,采用该多个传输器传输数据流的效率较高。
比如,假设分流设备具有传输器1、2、3、4和5,n=3,传输器对应的链路参数包括:传输器与合流设备之间链路上传输的信号的强度。传输器1与合流设备之间链路上传输的信号的强度为强度1,传输器2与合流设备之间链路上传输的信号的强度为强度2,传输器3与合流设备之间链路上传输的信号的强度为强度3,传输器4与合流设备之间链路上传输的信号的强度为强度4,传输器5与合流设备之间链路上传输的信号的强度为强度5。如果强度1>强度2>强度3>强度4>强度5,那么,分流设备确定出的多个传输器可以是传输器1、2和3。
在分流设备刚启动时,分流设备可以利用传输器向合流设备发送探测包,以测量传输器与合流设备之间的链路的参数。在分流设备运行一段时间后,分流设备可以根据运行期间,该链路上数据的传输情况,确定该链路的参数。
可选地,分流设备在得到传输器对应的链路参数后,每次向合流设备发送数据流时,均可以基于这些链路参数确定传输器对应的数据段,以及上述多个传输器。分流设备也可以对得到的链路参数进行更新,并根据更新后的链路参数确定传输器对应的数据段,以及上述多个传输器,本公开实施例对此不作限定。
在步骤306中,分流设备分别利用多个传输器向合流设备发送对应的数据段。
步骤306可以参考上述步骤103和步骤202中的相关内容,本公开实施例在此不做赘述。
可选地,当分流设备利用传输器向合流设备发送数据包的方式,向合流设备发送数据包包括的数据段时,该数据包不仅包括该数据段,以及该数据段的序列号,该数据包还可以包括:采集设备的标识。
示例地,该数据包的结构可以图4所示,数据包包括:依次排布的采集设备标识(Resource ID)字段、数据协议类型(Data Protocol Type)字段、数据长度(Data Length)字段、包序列号(Package Serial)字段和数据(data)部分。其中,采集设备标识字段包括采集设备的标识,数据协议类型字段包括该数据包所采用的封装协议的类型,数据长度字段包括数据部分的长度,包序列号字段包括被封装的数据段的序列号,数据部分包括被封装的数据段。
采集设备标识字段可以包括7个字节,序列号字段可以包括4个字节。数据协议类型字段中封装协议的类型可以是任一种类型,如实时传输协议(Real-time Transport Protocol,RTP)、实时消息传输协议(Real Time Messaging Protocol,RTMP)或传输控制协议(Transmission Control Protocol,TCP)等。
进一步地,数据包还可以包括第一源地址和第一目的地址,该第一源地址为传输该数据包的传输器的地址,第一目的地址为分流设备的地址。本公开实施例中的地址可以是物理地址或网络地址,本公开实施例对此不作限定。
在步骤307中,合流设备组合多个数据段得到数据流。
步骤307可以参考上述步骤202中的相关内容,本公开实施例在此不做赘述。
可选地,当分流设备利用传输器向合流设备发送数据包的方式,向合流设备发送数据包包括的数据段时,如果该数据包包括采集设备的标识,那么 合流设备可以在接收到的数据段中确定包括同一采集设备的标识的数据段。之后,合流设备可以组合包括同一采集设备的标识的数据段得到数据流。这样一来,本公开实施例提供的方法可以适用于多个采集设备采集数据的场景。
可选地,合流设备可以采用人工智能识别的方式,对接收到的数据包进行分类,其中,被分为一类的数据包具有同一采集设备的标识。
例如,分流设备可以提取多个数据包的统计特征以构建多个样本数据,该样本数据包括:数据包的类别标签。之后,分流设备可以通过机器学习模型对多个样本数据进行学习来构建分类模型,再利用训练完成的分类模型对接收到的数据包进行分类。例如,通过梯度下降法对卷积神经网络(Convolutional Neural Network,CNN)模型进行训练,得到分类模型。
在本公开实施例中,合流设备也称为推流设备。采集设备将采集到的数据通过编码设备和分流设备发送给推流设备,这一过程可以称为推流。推流所采用的推送协议可以有三种,分别为实时流传送协议(Real Time Streaming Protocol,RTSP),实时消息传送协议(Real Time Messaging Protocol,RTMP),以及基于超文本传输协议(Hypertext Transfer Protocol,HTTP)的流媒体传输协议(HTTP Live Streaming,HLS)。
在步骤308中,合流设备向播放设备发送数据流。
在步骤309中,播放设备对数据流进行解码,得到数据流中的数据。
在步骤310中,播放设备播放数据流中的数据。
合流设备在得到数据流之后,便可以将数据流发送至播放设备,以便于播放设备对数据流解码得到数据流中的数据,进而播放该数据。
本公开中的播放设备可以是台式电脑、笔记本电脑、智能手机、平板电脑、智能眼镜等设备,但并不局限于此。
综上所述,本公开实施例提供的数据流的传输方法中,分流设备利用多个传输器分别向合流设备发送对应的数据段,以使该多个传输器可以并行向合流设备发送数据段。合流设备在接收到该多个数据段后,可以组合该多个数据段得到数据流。这样一来,便实现了分流设备向合流设备发送数据流。由于多个传输器的带宽之和较大,因此,分流设备向合流设备发送数据流的效率较高。
进一步地,在本公开实施例中,分流设备具有至少两个传输器,传输器 可以包括发射机和接收机,传输器可以利用其中的发射机向分流设备发送数据段,以及利用其中的接收机接收分流设备发送的数据。
发射机具有发射天线,接收机具有接收天线。分流设备中各个天线的频段可以相同也可以不同。例如,分流设备中的天线可以是频段号为N79、N78、N41的天线等。当传输器是5G模组时,分流设备中的天线可以是5G天线,也可以是第四代移动通信技术(the 4th generation mobile communication technology,4G)天线。
分流设备可以包括外壳,发射天线和接收天线均可以设置在紧贴外壳内侧的位置。
可选地,在分流设备的至少一个传输器中,接收天线的个数小于发射天线的个数。由于传输器主要用于向合流设备发送数据,因此,至少一个传输器中的接收天线可以少于发射天线。并且,在接收天线较少时,能够减少外壳内侧天线在外壳内侧所占的面积,以及在有限的空间内设置较多的发射天线。
示例地,假设分流设备的每个传输器采用2×2的多进多出(multiple-in multipleout,MIMO)天线,则每个传输器具有2个发射天线,以及两个接收天线。如果分流设备具有3个传输器,那么,分流设备应该具有6个发射天线和6个接收天线,共12个天线。在本公开实施例中,可以将某一个传输器的一个接收天线省去,比如,请参考图5,天线1、2、3和4为传输器1的天线,天线1和2均为发射天线,天线3和4均为接收天线;天线5、6和7为传输器2的天线,天线5和6均为发射天线,天线7为接收天线;天线8、9、10和11为传输器3的天线,天线8和9均为发射天线,天线10和11均为接收天线。可以看出,传输器2的一个接收天线被省去。
在上述步骤308中,合流设备需要向播放设备发送数据流。需要说明的是,合流设备可以通过多种方式中的任一种方式向播放设备发送数据流,以下将以其中的一种方式为例进行讲解。
示例地,图6为本公开实施例提供的一种合流设备向播放设备发送数据流的方法流程图,图6所示的方法适用于图7所示的场景,如图7所示,该场景包括:依次通信连接的采集设备、编码设备、合流设备、缓存设备、拉流设备、中转设备和播放设备。其中,采集设备、编码设备、合流设备和播 放设备的解释可以参考上述实施例中的相关解释,本公开实施例在此不作赘述。缓存设备、拉流设备和中转设备均可以是服务器,缓存设备、拉流设备和中转设备可以组成云资源平台。
下面将结合图7对图6所示的方法进行说明,如图6所示,步骤308可以包括:
在步骤3081中,合流设备向缓存设备发送数据流。
合流设备在向缓存设备发送数据流时,也可以对该数据流中的数据进行封装(如基于TCP封装),得到第二数据包,并将该第二数据包发送至缓存设备。其中,该第二数据包包括数据流中的数据,还包括第二源地址和第二目的地址。第二源地址为合流设备的地址,第二目的地址为数据流在缓存设备上的存储地址。
合流设备会得到多个这样的第二数据包,此时,这些第二数据包中的每个第二数据包也可以包括包序列号(用于指示该第二数据包的次序)。合流设备可以将这些第二数据包依次加入缓存队列,并将缓存队列中的第二数据包依次发送给缓存设备。
合流设备向缓存设备发送的第二数据包的结构与分流设备发送给合流设备的数据包(可以称为第一数据包)的结构可能不同,也可能相同,本公开实施例对此不作限定。
可选地,合流设备在向缓存设备发送数据流之前,还可以判断合流设备与缓存设备之间的通信连接是否故障。在该通信连接未故障时,合流设备可以向缓存设备发送该数据流。
在步骤3082中,缓存设备缓存数据流。
合流设备在得到数据流之后,可以将数据流发送至缓存设备,以将数据流缓存在缓存设备中。
在步骤3083中,播放设备向拉流设备发送数据流的获取请求。
示例地,播放设备可以响应于用户在播放设备上的操作,生成数据流的获取请求,并向拉流设备发送该获取请求。该获取请求可以包括:数据流的标识。数据流的标识可以是采集该数据流中数据的采集设备的标识,也可以是与该采集设备的标识存在映射关系的标识。
比如,直播观众客户端点击直播房间号进入直播房间,则播放设备发送数据流的获取请求给拉流设备,该获取请求包括数据流的标识,如采集该数据流的采集设备的标识、主播的房间号或者主播的用户名等。
可选地,播放设备可以通过中转设备向拉流设备发送获取请求。比如,播放设备可以将该获取请求发送给中转设备,中转设备可以将该获取请求转发至拉流设备。
在步骤3084中,拉流设备根据数据流的获取请求,从缓存设备上拉取数据流。
拉流设备在接收到数据流的获取请求后,便可以从缓存设备上拉取上述数据流。拉流设备拉取的数据流可以缓存在拉流设备中的拉流管理池中。
可选地,拉流设备在接收到数据流的获取请求之后,还可以先判断获取请求中的数据流的标识是否存在。例如拉流设备可以根据一个数据流标识列表判断获取请求中的数据流的标识是否存在;当获取请求中的数据流的标识属于该数据流标识列表时,拉流设备可以确定获取请求中的数据流的标识存在。当获取请求中的数据流的标识存在时,拉流设备才从缓存设备上拉取该采集设备的标识对应的数据流。
拉流设备在从缓存设备上拉取数据流时,可以向缓存设备发送获取请求中的数据流的标识,如向缓存设备发送包含该标识的连接请求。缓存设备在接收到该数据流的标识后,若确定该数据流的标识存在,且缓存设备中存储有该数据流的标识对应的数据流,则缓存设备可以将该数据流发送至拉流设备。
可选地,拉流设备在向缓存设备发送数据流的标识之前,还可以先向缓存设备发送订阅消息,然后缓存设备可以基于该订阅消息向拉流设备推送至少一个数据流的标识。可选地,拉流设备中的数据流标识列表可以包括缓存设备推送的该至少一个数据流的标识,当然,该数据流标识列表也可以是预先存储在拉流服务器上的列表,本公开实施例对此不作限定。
在步骤3085中,拉流设备向播放设备发送数据流。
示例地,拉流设备可以通过中转设备向播放设备发送数据流。比如,拉流设备将该数据流发送至中转设备,由中转设备将该数据流转发至播放设备。
如果拉流设备和播放设备之间使用的传输协议是RTMP,则播放设备需要包括支持RTMP流协议的播放器。例如,当播放设备是电脑时,电脑需要 具有视频局域网客户端(Video Lan Client,VLC);当播放设备是手机时,手机需要具有Vitamio(一种客户端名称)客户端。
通过上述步骤3083、3084和3085,实现了播放设备获取缓存设备缓存的数据流。
进一步地,图7所示的场景中的缓存设备还可以替换为区块链,该区块链用于缓存上述数据流,相应的,上述由缓存设备执行的步骤可以由区块链执行。
在本公开实施例中,某些设备之间(或者任意两个设备之间)传输数据的过程均可以包括数据的封装和解封装过程,以及数据校验的过程。比如,在合流设备向缓存设备发送数据流时,可以将数据流中的数据封装为数据包,并向缓存设备发送数据包。缓存设备在接收到该数据包后,仅对该数据包进行存储即可。推流设备在从缓存设备上拉取到这些数据包后,需要对该数据包进行解封装,得到该数据包中的数据。其中,数据包可以包含校验位,拉流设备接收到该数据包后,会基于该校验位对该数据包进行校验。
示例地,如图8所示,合流设备具有接收模块、统计分析模块、封装校验模块、缓存模块和发送模块。其中接收模块用于接收多个传输器发送的数据包;统计分析模块用于确定接收到的数据包中具有同一采集设备的标识的数据包;封装校验模块用于对具有同一采集设备的标识的数据包中的数据进行封装得到第二数据包,且在该第二数据包中加入校验位;缓存模块用于将第二数据包加入缓存队列;发送模块用于向缓存设备发送缓存队列中的第二数据包。合流设备还可以具有一些接口,如操作系统接口和测试接口(如Swagger UI接口)。
如图9所示,拉流设备具有接收模块、统计分析模块、拆包校验模块、缓存模块和发送模块。其中接收模块用于接收来自缓存设备的数据流中的数据包;拆包校验模块用于对数据包进行解封装和校验,得到数据包中的数据;缓存模块用于将该数据缓存至拉流管理池;发送模块用于向播放设备发送拉流管理池中的数据;统计分析模块用于执行一些统计分析相关的操作。拉流设备还可以具有一些接口,如操作系统接口和测试接口。
基于本公开实施例提供的数据流的传输方法,本公开实施例提供了一种数据流的传输系统,如图10所示,该数据流的传输系统包括:分流设备、合 流设备和播放设备。
分流设备具有多个传输器,分流设备被配置为获取待传输的数据流,并在数据流中获取与多个传输器对应的多个数据段,以及分别利用多个传输器向合流设备发送对应的数据段;其中,每个传输器对应至少一个数据段,且不同传输器对应不同的数据段;
合流设备被配置为在接收到多个数据段后,组合多个数据段得到数据流,并向播放设备发送数据流;
播放设备被配置为在接收到数据流后,播放数据流。
可选地,在图10的基础上,请参考图6,数据流的传输系统还包括:采集设备和编码设备;其中,采集设备被配置为采集数据流中的数据,并向编码设备发送采集到的数据;编码设备被配置为对采集设备发送的数据进行编码,得到数据流;播放设备被配置为对数据流进行解码,得到数据流中的数据,并播放数据流中的数据。
可选地,数据流的传输系统还包括:缓存设备;合流设备被配置为向缓存设备发送数据流;缓存设备被配置为缓存数据流;播放设备被配置为获取缓存设备缓存的数据流。
可选地,数据流的传输系统还包括:拉流设备;播放设备被配置为向拉流设备发送数据流的获取请求;拉流设备被配置为根据获取请求,从缓存设备上拉取数据流,并向播放设备发送数据流。
可选地,数据流的传输系统还包括:中转设备;播放设备被配置为通过中转设备向拉流设备发送获取请求;拉流设备被配置为通过中转设备向播放设备发送数据流。
综上所述,本公开实施例提供的数据流的传输系统中,分流设备利用多个传输器分别向合流设备发送对应的数据段,以使该多个传输器可以并行向合流设备发送数据段。合流设备在接收到该多个数据段后,可以组合该多个数据段得到数据流。这样一来,便实现了分流设备向合流设备发送数据流。由于多个传输器的带宽之和较大,因此,分流设备向合流设备发送数据流的效率较高。
基于本公开实施例提供的数据流的传输方法,本公开实施例提供了一种数据流的传输设备,该数据流的传输设备具有多个传输器。如图11所示,该 数据流的传输设备包括:
第一获取模块1101,被配置为获取待传输的数据流;
第二获取模块1102,被配置为在数据流中获取与多个传输器对应的多个数据段,其中,每个传输器对应至少一个数据段,且不同传输器对应不同的数据段;
发送模块1103,被配置为分别利用多个传输器向合流设备发送对应的数据段,以使合流设备组合多个数据段得到数据流后,向播放设备发送数据流。
可选地,所述传输器对应的所有数据段的总长度与所述传输器对应的链路参数相关,所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
可选地,所述传输器对应的链路参数包括:所述传输器与所述合流设备之间链路上传输的信号的强度,所述总长度与所述信号的强度正相关。
可选地,所述多个数据段的长度相同。
可选地,至少两个所述数据段的长度不同。
可选地,发送模块1103被配置为:
分别封装所述多个数据段,得到所述多个数据段一一对应的多个数据包;其中,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
分别利用所述多个传输器向所述合流设备发送对应的所述数据段所在的所述数据包。
可选地,所述数据流中的数据由采集设备采集,所述数据包还包括:所述采集设备的标识。
可选地,所述多个传输器是所述分流设备中的至少部分传输器,所述数据流的传输设备还包括:
确定模块,被配置为根据所述传输器对应的链路参数,确定所述多个传输器;
所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
可选地,所述传输器对应的链路参数用于反映:所述传输器与所述合流设备之间的链路的质量;
所述多个传输器为:所述分流设备中对应的链路参数所反映的链路质量最高的n个传输器,n>1。
可选地,在所述分流设备中的至少一个传输器中,接收天线的个数小于发射天线的个数。
综上所述,本公开实施例提供的数据流的传输设备中,发送模块利用多个传输器分别向合流设备发送对应的数据段,以使该多个传输器可以并行向合流设备发送数据段。合流设备在接收到该多个数据段后,可以组合该多个数据段得到数据流。这样一来,便实现了分流设备向合流设备发送数据流。由于多个传输器的带宽之和较大,因此,分流设备向合流设备发送数据流的效率较高。
基于本公开实施例提供的数据流的传输方法,本公开实施例提供了另一种数据流的传输设备,如图12所示,该数据流的传输设备包括:
接收模块1201,被配置为接收分流设备利用多个传输器发送的数据流中的多个数据段;
组合模块1202,被配置为组合多个数据段得到数据流;
发送模块1203,被配置为向播放设备发送数据流。
可选地,所述接收模块1201被配置为:
接收所述分流设备利用所述多个传输器发送的多个数据包;其中,所述多个数据包与所述多个数据段一一对应,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
分别解封装所述多个数据包,得到所述多个数据段,以及所述多个数据段的序列号;
组合模块1202被配置为:按照所述多个数据段的序列号所指示的次序,组合所述多个数据段,得到所述数据流。
可选地,所述数据流中的数据由采集设备采集,所述多个数据包均包括所述采集设备的标识。
综上所述,本公开实施例提供的数据流的传输设备中,接收模块接收分流设备利用多个传输器分别向合流设备发送对应的数据段,以使该多个传输器可以并行向合流设备发送数据段。组合模块可以组合该多个数据段得到数 据流。这样一来,便实现了分流设备向合流设备发送数据流。由于多个传输器的带宽之和较大,因此,分流设备向合流设备发送数据流的效率较高。
基于本公开实施例提供的数据流的传输方法,本公开实施例提供了另一种数据流的传输设备,该数据流的传输设备可以是分流设备,数据流的传输设备包括:处理器、存储器和多个传输器,存储器中存储有程序;处理器被配置为调用存储器中存储的程序,以使得数据流的传输设备执行如本公开实施例提供的任一种由分流设备执行的数据流的传输方法。
示例地,如图13所示,数据流的传输设备可以包括集成处理芯片和与处理芯片通过USB接口连接的多个传输器,其中,集成处理芯片包括上述处理器。处理器具有内核(如6个内核)、SDI信号输入端、精简吉比特介质独立接口(Reduced Gigabit Media Independent Interface,RGMII)、多个通用串行总线(Universal Serial Bus,USB)接口、电源管理模块、嵌入式多媒体控制器(英文全称:Embedded Multi Media Card,缩写eMMC)、内存等元器件。USB接口可以是任一种标准的USB接口,如USB 3.0标准的USB接口。多个USB接口可以与多个传输器一一对应连接。可选地,USB接口可以是可插拔接口,这样一来,传输器便可以与处理器可插拔连接。
请继续参考图13,集成处理芯片还可以包括无线(Wi-Fi)模组和RJ-45连接器,Wi-Fi模组连接SDI信号输入端,RJ-45连接器(一种连接器)连接RGMII。
基于本公开实施例提供的数据流的传输方法,本公开实施例提供了另一种数据流的传输设备,该数据流的传输设备可以是合流设备,数据流的传输设备包括:处理器、存储器和多个传输器,存储器中存储有程序;处理器被配置为调用存储器中存储的程序,以使得数据流的传输设备执行如本公开实施例提供的任一种由合流设备执行的数据流的传输方法。
本公开实施例还提供了一种计算机存储介质,所述计算机存储介质内存储有计算机程序;所述计算机程序在计算机上运行时,使得计算机执行本公开实施例提供的任一种由分流设备或合流设备执行的数据流的传输方法。
本公开实施例还提供了一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得计算机执行本公开实施例提供的任一种分流设备或合流设备执行的数据流的传输方法。
在本公开中,术语“第一”和“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”指一个或多个,“多个”指两个或两个以上,除非另有明确的限定。
本公开实施例提供的方法实施例、设备实施例和系统实施例等不同类型的实施例均可以相互参考,本公开实施例对此不做限定。本公开实施例提供的方法实施例操作的先后顺序能够进行适当调整,操作也能够根据情况进行相应增减,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本公开的保护范围之内,因此不再赘述。
在本公开提供的相应实施例中,应该理解到,所揭露的系统和设备等可以通过其它的构成方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元描述的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个设备上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
以上所述,仅为本公开的可选实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。

Claims (20)

  1. 一种数据流的传输方法,所述方法由分流设备执行,所述分流设备具有多个传输器,所述方法包括:
    获取待传输的数据流;
    在所述数据流中获取与所述多个传输器对应的多个数据段,其中,每个所述传输器对应至少一个所述数据段,且不同传输器对应不同的所述数据段;
    分别利用所述多个传输器向合流设备发送对应的所述数据段,以使所述合流设备组合所述多个数据段得到所述数据流后,向播放设备发送所述数据流。
  2. 根据权利要求1所述的方法,所述传输器对应的所有数据段的总长度与所述传输器对应的链路参数相关,所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
  3. 根据权利要求2所述的方法,所述传输器对应的链路参数包括:所述传输器与所述合流设备之间链路上传输的信号的强度,所述总长度与所述信号的强度正相关。
  4. 根据权利要求1至3任一所述的方法,所述多个数据段的长度相同。
  5. 根据权利要求1至3任一所述的方法,至少两个所述数据段的长度不同。
  6. 根据权利要求1至5任一所述的方法,分别利用所述多个传输器向合流设备发送对应的所述数据段,包括:
    分别封装所述多个数据段,得到所述多个数据段一一对应的多个数据包;其中,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列号用于指示所述数据段在所述多个数据段中的次序;
    分别利用所述多个传输器向所述合流设备发送对应的所述数据段所在的所述数据包。
  7. 根据权利要求6所述的方法,所述数据流中的数据由采集设备采集,所述数据包还包括:所述采集设备的标识。
  8. 根据权利要求1至7任一所述的方法,所述多个传输器是所述分流设备中的至少部分传输器,所述方法还包括:
    根据所述传输器对应的链路参数,确定所述多个传输器;
    所述传输器对应的链路参数为:所述传输器与所述合流设备之间链路的参数。
  9. 根据权利要求8所述的方法,所述传输器对应的链路参数用于反映:所述传输器与所述合流设备之间的链路的质量;
    所述多个传输器为:所述分流设备中对应的链路参数所反映的链路质量最高的n个传输器,n>1。
  10. 根据权利要求1至9任一所述的方法,在所述分流设备中的至少一个传输器中,接收天线的个数小于发射天线的个数。
  11. 一种数据流的传输方法,所述方法由合流设备执行,所述方法包括:
    接收分流设备利用多个传输器发送的多个数据段;
    组合所述多个数据段得到数据流;
    向播放设备发送所述数据流。
  12. 根据权利要求11所述的方法,所述接收分流设备利用多个传输器发送的多个数据段,包括:
    接收所述分流设备利用所述多个传输器发送的多个数据包;其中,所述多个数据包与所述多个数据段一一对应,对于每个所述数据段对应的所述数据包,所述数据包包括:所述数据段,以及所述数据段的序列号,所述序列 号用于指示所述数据段在所述多个数据段中的次序;
    分别解封装所述多个数据包,得到所述多个数据段,以及所述多个数据段的序列号;
    组合所述多个数据段得到数据流,包括:
    按照所述多个数据段的序列号所指示的次序,组合所述多个数据段,得到所述数据流。
  13. 根据权利要求12所述的方法,所述数据流中的数据由采集设备采集,所述多个数据包均包括所述采集设备的标识。
  14. 一种数据流的传输系统,包括:分流设备、合流设备和播放设备;
    所述分流设备具有多个传输器,所述分流设备被配置为获取待传输的数据流,并在所述数据流中获取与所述多个传输器对应的多个数据段,以及分别利用所述多个传输器向所述合流设备发送对应的所述数据段;其中,每个所述传输器对应至少一个所述数据段,且不同传输器对应不同的所述数据段;
    所述合流设备被配置为在接收到所述多个数据段后,组合所述多个数据段得到所述数据流,并向所述播放设备发送所述数据流;
    所述播放设备被配置为在接收到所述数据流后,播放所述数据流。
  15. 一种数据流的传输设备,具有多个传输器,所述数据流的传输设备包括:
    第一获取模块,被配置为获取待传输的数据流;
    第二获取模块,被配置为在所述数据流中获取与所述多个传输器对应的多个数据段,其中,每个所述传输器对应至少一个所述数据段,且不同传输器对应不同的所述数据段;
    发送模块,被配置为分别利用所述多个传输器向合流设备发送对应的所述数据段,以使所述合流设备组合所述多个数据段得到所述数据流后,向播放设备发送所述数据流。
  16. 一种数据流的传输设备,包括:
    接收模块,被配置为接收分流设备利用多个传输器发送的数据流中的多个数据段;
    组合模块,被配置为组合所述多个数据段得到所述数据流;
    发送模块,被配置为向播放设备发送所述数据流。
  17. 一种数据流的传输设备,所述数据流的传输设备包括:处理器、存储器和多个传输器,所述存储器中存储有程序;
    所述处理器被配置为调用所述存储器中存储的程序,以使得所述数据流的传输设备执行如权利要求1至10任一所述的数据流的传输方法。
  18. 一种数据流的传输设备,所述数据流的传输设备包括:处理器和存储器,所述存储器中存储有程序;
    所述处理器被配置为调用所述存储器中存储的程序,以使得所述数据流的传输设备执行如权利要求11至13任一所述的数据流的传输方法。
  19. 一种计算机存储介质,所述计算机存储介质内存储有计算机程序;
    所述计算机程序在计算机上运行时,使得计算机执行权利要求1至10任一所述的数据流的传输方法。
  20. 一种计算机存储介质,所述计算机存储介质内存储有计算机程序;
    所述计算机程序在计算机上运行时,使得计算机执行权利要求11至13任一所述的数据流的传输方法。
PCT/CN2021/100374 2020-06-17 2021-06-16 数据流的传输方法、设备及系统 WO2021254396A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/010,467 US20230269410A1 (en) 2020-06-17 2021-06-16 Method, device and system for transmitting data stream and computer storage medium
DE112021002853.7T DE112021002853T5 (de) 2020-06-17 2021-06-16 Verfahren, vorrichtung und system zum übertragen von datenströmen

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010555153.8 2020-06-17
CN202010555153.8A CN111726647B (zh) 2020-06-17 2020-06-17 数据分流设备和数据处理系统

Publications (1)

Publication Number Publication Date
WO2021254396A1 true WO2021254396A1 (zh) 2021-12-23

Family

ID=72567193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100374 WO2021254396A1 (zh) 2020-06-17 2021-06-16 数据流的传输方法、设备及系统

Country Status (4)

Country Link
US (1) US20230269410A1 (zh)
CN (1) CN111726647B (zh)
DE (1) DE112021002853T5 (zh)
WO (1) WO2021254396A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726647B (zh) * 2020-06-17 2023-05-26 京东方科技集团股份有限公司 数据分流设备和数据处理系统
CN113490170A (zh) * 2021-07-09 2021-10-08 中国飞机强度研究所 一种飞机强度试验数据发送终端及发送方法

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708042A (zh) * 2004-06-10 2005-12-14 索尼公司 通信系统、发送装置和接收装置
CN1792054A (zh) * 2003-05-15 2006-06-21 Lg电子株式会社 移动通信系统及其信号处理方法
CN101023616A (zh) * 2004-07-16 2007-08-22 高通股份有限公司 单速率分层无线通信系统中的多调制方案
CN103152754A (zh) * 2013-03-12 2013-06-12 京信通信系统(中国)有限公司 一种lte系统中的链路自适应方法及装置
CN103731241A (zh) * 2014-01-22 2014-04-16 四川大学 提高通信系统频谱效率的编码系统及方法
CN104335647A (zh) * 2012-05-21 2015-02-04 高通股份有限公司 用于向参与d2d通信的设备提供发射功率控制的方法和装置
US20160191290A1 (en) * 2013-09-05 2016-06-30 Lg Electronics Inc. Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN107040297A (zh) * 2008-05-21 2017-08-11 高通股份有限公司 用于确定基于空分多址(sdma)的无线通信系统中的空间信道的方法及设备
US20180310287A1 (en) * 2015-12-29 2018-10-25 Huawei Technologies Co., Ltd. Terminal device, network device, data transmission method, and wireless communications system
CN111726647A (zh) * 2020-06-17 2020-09-29 京东方科技集团股份有限公司 数据分流设备和数据处理系统

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6081523A (en) * 1997-12-05 2000-06-27 Advanced Micro Devices, Inc. Arrangement for transmitting packet data segments from a media access controller across multiple physical links
US7948966B2 (en) * 2007-10-01 2011-05-24 Powerwave Cognition, Inc. Multi-metric routing calculations
US9716920B2 (en) * 2010-08-05 2017-07-25 Qualcomm Incorporated Signaling attributes for network-streamed video data
US20130177294A1 (en) * 2012-01-07 2013-07-11 Aleksandr Kennberg Interactive media content supporting multiple camera views
US20150373075A1 (en) * 2014-06-23 2015-12-24 Radia Perlman Multiple network transport sessions to provide context adaptive video streaming
CN105656798A (zh) * 2016-01-08 2016-06-08 努比亚技术有限公司 数据传输方法、装置、多通道路由方法及用户设备
CN105392020B (zh) * 2015-11-19 2019-01-25 广州华多网络科技有限公司 一种互联网视频直播方法,及系统
US10757453B2 (en) * 2017-09-13 2020-08-25 Amazon Technologies, Inc. Distributed multi-datacenter video packaging system
US11032841B2 (en) * 2019-04-26 2021-06-08 XCOM Labs, Inc. Downlink active set management for multiple-input multiple-output communications
CN110418376B (zh) * 2019-07-29 2022-11-01 国广东方网络(北京)有限公司 数据传输方法及装置

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1792054A (zh) * 2003-05-15 2006-06-21 Lg电子株式会社 移动通信系统及其信号处理方法
CN1708042A (zh) * 2004-06-10 2005-12-14 索尼公司 通信系统、发送装置和接收装置
CN101023616A (zh) * 2004-07-16 2007-08-22 高通股份有限公司 单速率分层无线通信系统中的多调制方案
CN107040297A (zh) * 2008-05-21 2017-08-11 高通股份有限公司 用于确定基于空分多址(sdma)的无线通信系统中的空间信道的方法及设备
CN104335647A (zh) * 2012-05-21 2015-02-04 高通股份有限公司 用于向参与d2d通信的设备提供发射功率控制的方法和装置
CN103152754A (zh) * 2013-03-12 2013-06-12 京信通信系统(中国)有限公司 一种lte系统中的链路自适应方法及装置
US20160191290A1 (en) * 2013-09-05 2016-06-30 Lg Electronics Inc. Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals
CN103731241A (zh) * 2014-01-22 2014-04-16 四川大学 提高通信系统频谱效率的编码系统及方法
US20180310287A1 (en) * 2015-12-29 2018-10-25 Huawei Technologies Co., Ltd. Terminal device, network device, data transmission method, and wireless communications system
CN111726647A (zh) * 2020-06-17 2020-09-29 京东方科技集团股份有限公司 数据分流设备和数据处理系统

Also Published As

Publication number Publication date
CN111726647B (zh) 2023-05-26
DE112021002853T5 (de) 2023-03-09
CN111726647A (zh) 2020-09-29
US20230269410A1 (en) 2023-08-24

Similar Documents

Publication Publication Date Title
WO2021254396A1 (zh) 数据流的传输方法、设备及系统
CN105472477B (zh) 一种数据传输方法、装置及设备
KR101484843B1 (ko) 멀티미디어 전송 시스템에서 미디어 전송 패킷 전송 방법 및 장치
US8149711B2 (en) Data stream control for network devices
US11249796B2 (en) Method and apparatus for enhanced assertion management in cloud media processing
CN101883097A (zh) 服务器设备共享客户端设备屏幕的实现方法及装置
CN109862377B (zh) 视频传输方法、装置、系统及计算机可读存储介质
US10506006B2 (en) Method and system for flow-rate regulation in a content-controlled streaming network
CN110113662A (zh) 一种适应多种网络状况的视频监控客户端系统
CN109729390A (zh) 一种iptv节目监测方法、装置及系统
CN112291366A (zh) 数据传输方法、装置、存储介质及电子设备
CN110113306A (zh) 分发数据的方法和网络设备
TWI321016B (en) Method for transferring video data and proxy server using the same
CN108040253A (zh) 监测视频直播性能的方法、装置、设备和存储介质
CN109302384B (zh) 一种数据的处理方法和系统
US20160073173A1 (en) Video stream providing method and system and relay apparatus
US11108670B2 (en) Streaming network adapted to content selection
TWI495288B (zh) 無線行動裝置、無線網路串流廣播系統與無線網路串流廣播方法
CN110049069B (zh) 一种数据获取方法及装置
WO2021190050A1 (zh) 监控业务的方法、装置和系统
CN201123043Y (zh) 家庭无线多媒体游戏系统
CN107210973B (zh) 一种报文处理方法、装置及系统
CN103701827A (zh) 基于自适应流媒体服务网关系统实现流媒体播放的方法
US20170070553A1 (en) Method and system for panoramic multimedia streaming
CN110351247B (zh) 一种参数采集方法、装置及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21825426

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21825426

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/07/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21825426

Country of ref document: EP

Kind code of ref document: A1