Transmission of USB data in a data stream
In a method for transfer of USB data in a data stream, which includes streaming data, the streaming data and the USB data, which includes a number of USB packets with a first number of bits, is received. The USB data is divided to create a number of transfer packets with a second number of bits of USB data. A transfer packet is inserted into the data stream, and the assembled data stream is transferred. An interruption pattern is added to at least an initial transfer packet to signal that USB data is present in the data stream.
1 . A method for transfer of USB data in a data stream, the data stream including non-USB streaming data, the method comprising:
receiving the non-USB streaming data and at least a part of the USB data, the USB data including a number of USB packets with a first number of bits, and the non-USB streaming data being non-USB data including at least one of audio data, video data, or measurement data;
dividing the USB data to create a number of USB transfer packets with a second number of bits of USB data;
inserting a USB transfer packet, from among the number of USB transfer packets, into the data stream by combining the USB transfer packet with the non-USB streaming data; and
transferring the data stream, wherein
an interruption pattern is added to at least an initial USB transfer packet to signal that USB data is present in the data stream.
2 . The method as claimed in claim 1 , wherein the USB transfer packet comprises transfer control data, which includes information indicative of where a further USB transfer packet is to be transmitted.
3 . The method as claimed in claim 2 , wherein the information specifies that the further USB transfer packet is to be transmitted at a defined interval.
4 . The method as claimed in claim 2 , wherein the further USB transfer packet does not have an interruption pattern.
5 . The method as claimed in claim 1 , wherein each of the number of USB transfer packets comprises transfer control data.
6 . The method as claimed in claim 1 , wherein the dividing and the inserting begin upon receipt of the second number of bits of USB data.
7 . The method as claimed in claim 1 , further comprising:
selecting the interruption pattern from a number of interruption patterns, such that the interruption pattern occurs as rarely as possible in remaining portions of the non-USB streaming data.
8 . The method as claimed in claim 1 , wherein the USB transfer packet comprises cyclic redundancy check data, the cyclic redundancy check data being usable to identify transmission errors.
9 . The method as claimed in claim 8 , wherein the cyclic redundancy check data is usable to identify and correct the transmission errors.
10 . The method as claimed in claim 1 , wherein the USB transfer packet is inserted into the data stream and transferred in a short period of time after creation.
11 . The method as claimed in claim 1 , wherein
the interruption pattern includes two identical subpatterns, and
the method further includes adding a third identical subpattern to distinguish the interruption pattern in response to the two identical subpatterns occurring in the non-USB streaming data.
12 . A method for receiving data transferred according to the method of claim 1 , the method comprising:
receiving the data stream;
identifying the interruption pattern;
dividing the data stream into the USB transfer packets and the non-USB streaming data based on the interruption pattern;
reconstructing the USB data included in the USB transfer packets into USB data packets; and
separating output of the non-USB streaming data and the reconstructed USB data.
13 . A non-transitory computer program product including a computer program, which is loadable into a logic arrangement of a receiver, the computer program having program sections for carrying out the method as claimed in claim 12 , when the computer program is executed at the receiver.
14 . A non-transitory computer program product including a computer program, which is loadable into a logic arrangement of a transmitter, the computer program having program sections for carrying out the method as claimed in claim 1 , when the computer program is executed at the transmitter.
15 . A non-transitory computer-readable medium storing program sections that, when executed on a logic arrangement at a transmitter, cause the transmitter to carry out the method of claim 1 .
16 . A non-transitory computer-readable medium storing program sections that, when executed on a logic arrangement at a receiver, cause the receiver to carry out the method of claim 12 .
17 . The method as claimed in claim 1 , wherein the dividing the USB data includes adding the interruption pattern to at least the initial USB transfer packet of the divided USB data, the interruption pattern including at least two subpatterns.
18 . The method as claimed in claim 1 , wherein the interruption pattern identifies the associated transfer packet and signals to a receiver that a transfer packet is involved.
19 . The method as claimed in claim 1 , wherein the transferring the data stream includes transmitting the data stream including the USB transfer packet and the non-USB streaming data via one cable.
20 . The method as claimed in claim 1 , wherein the interruption pattern identifies the at least the initial transfer packet and signals to a receiver that the USB transfer packet is included.
21 . The method as claimed in claim 1 , wherein
the transfer of USB data in the data stream is performed by a USB 2.0 Transceiver Macrocell Interface (UTMI) Low Pin Interface (ULPI) transceiver, and
the non-USB streaming data is high speed serial link (HSSL) data.
22 . A transmitter to transfer USB data in a data stream, the data stream including non-USB streaming data, the transmitter comprising:
at least one streaming input interface configured to receive the non-USB streaming data;
a USB input interface configured to receive the USB data, the USB data including a number of USB packets with a first number of bits, and the non-USB streaming data being non-USB data including at least one of audio data, video data, or measurement data;
a distribution unit configured to divide the USB data to create a number of USB transfer packets with a second number of bits of USB data,
a combination unit configured to insert a USB transfer packet, from among the number of USB transfer packets, into the data stream by combining the USB transfer packet with the non-USB streaming data; and
an output interface configured to transmit the data stream, wherein
an interruption pattern is added to at least an initial USB transfer packet to signal that USB data is present in the data stream.
23 . A transmission system to transmit USB data in at least one data stream, the data stream including non-USB streaming data, the transmission system comprising:
a client apparatus having a first transmitter and a first receiver; and
a host apparatus having a second transmitter and a second receiver, wherein
at least one of the first transmitter or the second transmitter are configured as a transmitter as claimed in claim 22 ,
the first transmitter is connected to the second receiver, and
the second transmitter is connected to the first receiver.
24 . A receiver to receive USB data in a data stream, the data stream including non-USB streaming data, and the receiver comprising:
an input interface configured to receive an assembled data stream, which includes a combination of USB transfer packets and non-USB streaming data, wherein at least an initial USB transfer packet has an interruption pattern to signal that USB data is present in the data stream, and the non-USB streaming data is non-USB data including at least one of audio data, video data, or measurement data;
an identification unit configured to identify the interruption pattern;
a division unit configured to divide the data stream into USB transfer packets and non-USB streaming data based on the interruption pattern;
a reconstruction unit configured to reconstruct the USB data included in the USB transfer packets into USB data packets;
at least one streaming output interface configured to output the streaming data; and
a USB output interface configured to output the USB data.
25 . A transmission system to transmit USB data in at least one data stream, the at least one data stream including non-USB streaming data, the transmission system comprising:
a client apparatus having a first transmitter and a first receiver; and
a host apparatus having a second transmitter and a second receiver, wherein
at least one of the first receiver or the second receiver are configured as a receiver as claimed in claim 24 ,
the first transmitter is connected to the second receiver, and
the second transmitter is connected to the first receiver.
26 . A method for transfer of USB data in a data stream, the data stream including non-USB streaming data, the method comprising:
receiving the non-USB streaming data and at least a part of the USB data, the USB data including a number of USB packets with a first number of bits, and the streaming data being non-USB data including at least one of audio data, video data, or measurement data;
inserting a USB packet, from among the number of USB packets, into the data stream by combining the USB packet with the streaming data; and
transferring the data stream, wherein
an interruption pattern is added to at least an initial USB packet to signal that USB data is present in the data stream.
27 . A method for receiving data transferred according to the method of claim 23 , the method comprising:
receiving the data stream;
identifying the interruption pattern;
dividing the data stream into at least one USB packet and the non-USB streaming data based on the interruption pattern; and
separating output of the non-USB streaming data and the at least one USB packet.
28 . The method as claimed in claim 26 , wherein the interruption pattern identifies the associated USB packet and signals to a receiver that a USB packet is involved.