CN113196720B - Data processing method, transmission equipment and data processing system - Google Patents

Data processing method, transmission equipment and data processing system Download PDF

Info

Publication number
CN113196720B
CN113196720B CN202180000792.0A CN202180000792A CN113196720B CN 113196720 B CN113196720 B CN 113196720B CN 202180000792 A CN202180000792 A CN 202180000792A CN 113196720 B CN113196720 B CN 113196720B
Authority
CN
China
Prior art keywords
data
packet
data packet
header
main link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202180000792.0A
Other languages
Chinese (zh)
Other versions
CN113196720A (en
Inventor
鲍鹏鑫
王学寰
张兴新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN113196720A publication Critical patent/CN113196720A/en
Application granted granted Critical
Publication of CN113196720B publication Critical patent/CN113196720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable

Abstract

The application discloses a data processing method, transmission equipment and a data processing system. The method comprises the following steps: the first transmission equipment receives a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data, processes the first data packet to obtain a second data packet, the second data packet comprises a packet header and a load, the packet header is used for indicating the data type of the load, the data type comprises at least one of the main link data and the auxiliary channel data, and sends the second data packet to the second transmission equipment; the second transmission device decapsulates the second data packet to obtain the first data packet. By adopting the scheme of the application, the first data packet to be sent is processed, and the processed second data packet is transmitted instead of directly transmitting the first data packet, so that cables required for data transmission can be reduced.

Description

Data processing method, transmission equipment and data processing system
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data processing method, a transmission device, and a data processing system.
Background
With the development of electronic technology, in order to facilitate the use of users, one electronic device may be connected to a plurality of display screens, and different videos may be acquired from the electronic device and displayed on different display screens. For example, with the development of the automobile industry, more and more display screens are in the vehicle, and multiple display screens can acquire different videos from the automobile. However, if each display screen is separately connected to the vehicle, the number of cables in the vehicle increases, resulting in increased cost and complicated cable deployment. The arrangement rule of the display screens in the vehicle is that the display screens are far from the vehicle, and the distance between the display screens is near, so that in order to reduce the in-vehicle connection cable, a daisy chain (Daisychain) connection mode shown in fig. 1 can be adopted between a plurality of display screens in the vehicle and between the display screens and the vehicle.
Interfaces currently supporting daisy chain connectivity in the video transmission field include display interfaces (DP). However, DP includes a main link (main link), a secondary channel (auxiliary channel), and a hot plug detect channel (hot plug detect), and requires 11 cables in total, and the number of cables required is large.
In view of this, there is a need to reduce the cables required for data transmission.
Disclosure of Invention
The embodiment of the application provides a data processing method, transmission equipment and a data processing system, so as to reduce cables required by data transmission.
In a first aspect, a data processing method is provided, the method being applied to a first transmission device, the method comprising: receiving a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data; processing the first data packet to obtain a second data packet, wherein the second data packet comprises a packet header and a load, the packet header is used for indicating the data type of the load, and the data type comprises at least one of main link data and auxiliary channel data; and transmitting the second data packet. In this aspect, by processing a first data packet to be transmitted and transmitting the processed second data packet, instead of directly transmitting the first data packet, cables required for data transmission can be reduced.
In one possible implementation, the first data packet includes main link data, and before the processing the first data packet to obtain the second data packet, the method further includes: the main link data in the first data packet is mapped into a data packet transmitted on a single channel, i.e. a single channel data packet, the main link data comprising data of one or more channels. In this implementation, when the primary link data is included in the first data packet, since the primary link data of the DP interface may include data on one or more lanes, the primary link data needs to be converted onto one lane before the first data packet containing the primary link data is processed.
In another possible implementation, the packet header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload. In the implementation, the sequence number is used for performing cycle counting on the sent second data packet and is used for packet loss detection of the second transmission equipment, so that the reliability of data transmission is improved. The length of the load is used to represent the length of the load carried in the second data packet, so that the second transmission device can know the length of the load of the second data packet, and determine the boundary of the second data packet.
In yet another possible implementation, when the data type of the load is main link data, the packet header is further used to indicate the number of fragments of the main link data. In this implementation, since the data packet of the main link data is long, the data packet of the main link data may be segmented in bytes and transmitted in segments, and a second data packet carries a segment of the main link data packet, where the header of the second data packet is used to indicate the number of segments of the main link data.
In yet another possible implementation, the packet header is further used to indicate a transmission mode supported by the display interface, where the transmission mode includes a single stream transport (single stream transport, SST) mode or a multi-stream transport (MST) mode. Since the single stream transmission mode and the multi stream transmission mode of the DP interface are different in structure, in this implementation, the transmission mode may also be indicated in the header, so that when the second transmission device receives the second data packet, the second data packet may be subjected to different conversion processing according to the indicated transmission mode.
In yet another possible implementation, the transmission mode is a multi-stream transmission mode, and the packet header is further used to indicate the number of data streams included in the load.
In yet another possible implementation, the header is further configured to indicate that the second data packet contains display interface data. In this implementation, the second data packet includes display interface data indicated by the packet header, and when the second transmission device receives the second data packet, the second transmission device may perform corresponding processing on the display interface data.
In a second aspect, there is provided a data processing method applied to a second transmission device, the method comprising: receiving a second data packet, wherein the second data packet comprises a packet header and a load, the packet header is used for indicating the data type of the load, and the data type comprises at least one of main link data and auxiliary channel data; and decapsulating the second data packet to obtain a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data.
In one possible implementation, the first data packet includes main link data, where the main link data is a single channel data packet, and after decapsulating the second data packet to obtain the first data packet, the method further includes: the single channel data packet is mapped onto one or more channels.
In yet another possible implementation, the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
In yet another possible implementation, when the data type of the load is main link data, the packet header is further used to indicate the number of fragments of the main link data.
In yet another possible implementation, the packet header is further configured to indicate a transmission mode supported by the display interface, the transmission mode including a single stream transmission mode or a multi-stream transmission mode.
In yet another possible implementation, the transmission mode is a multi-stream transmission mode, and the packet header is further configured to indicate a number of data streams included in the load.
In a further possible implementation, the header is further configured to indicate that the second data packet contains display interface DP data.
In a third aspect, there is provided a transmission apparatus comprising: the receiving and transmitting unit is used for receiving a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data; the processing unit is used for processing the first data packet to obtain a second data packet, wherein the second data packet comprises a packet head and a load, the packet head is used for indicating the data type of the load, and the data type comprises at least one of main channel data and auxiliary channel data; and the transceiver unit is further configured to send the second data packet.
In one possible implementation, the first data packet includes primary link data; the processing unit is further configured to map main link data in the first data packet into a single channel data packet, where the main link data includes data of one or more channels.
In yet another possible implementation, the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
In yet another possible implementation, when the data type of the load is main link data, the packet header is further used to indicate the number of fragments of the main link data.
In yet another possible implementation, the packet header is further configured to indicate a transmission mode supported by the display interface, the transmission mode including a single stream transmission mode or a multi-stream transmission mode.
In yet another possible implementation, the transmission mode is a multi-stream transmission mode, and the packet header is further configured to indicate a number of data streams included in the load.
In a further possible implementation, the header is further configured to indicate that the second data packet contains display interface DP data.
The specific implementation and the beneficial effects of the above transmission device may refer to the description of the first aspect or any possible implementation of the first aspect, which is not repeated here.
In a fourth aspect, there is provided a transmission apparatus comprising: a transceiver unit, configured to receive a second data packet, where the second data packet includes a packet header and a payload, where the packet header is configured to indicate a data type of the payload, and the data type includes at least one of primary link data and secondary channel data; and the processing unit is used for decapsulating the second data packet to obtain a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data.
In one possible implementation, the first data packet includes primary link data; the processing unit is further configured to map the single channel data packet onto one or more channels.
In yet another possible implementation, the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
In yet another possible implementation, when the data type of the load is main link data, the packet header is further used to indicate the number of fragments of the main link data.
In yet another possible implementation, the packet header is further configured to indicate a transmission mode supported by the display interface, the transmission mode including a single stream transmission mode or a multi-stream transmission mode.
In yet another possible implementation, the transmission mode is a multi-stream transmission mode, and the packet header is further configured to indicate a number of data streams included in the load.
In a further possible implementation, the header is further configured to indicate that the second data packet contains display interface DP data.
The specific implementation and the beneficial effects of the above transmission device may refer to the description of the first aspect or any possible implementation of the first aspect, which is not repeated here.
In a fifth aspect, there is provided a data processing system comprising a transmission device as described in any of the third or third aspects, or as described in any of the fourth or fourth aspects.
In a sixth aspect, there is provided a transmission apparatus comprising: one or more processors configured to execute a program stored in a memory, which when executed, causes the transmission device to perform the method as described in the first aspect or any one of the implementations of the first aspect.
In one possible implementation, the memory is located outside the transmission device.
In a seventh aspect, there is provided a transmission apparatus comprising: one or more processors configured to execute a program stored in a memory, which when executed, causes the transmission device to perform the method as described in the second aspect or any one of the second aspects.
In one possible implementation, the memory is located outside the transmission device.
In an eighth aspect, there is provided a computer readable storage medium comprising computer instructions which, when run on a computer, perform the method of any one of the possible implementations of the first aspect, the second aspect, the first aspect or any one of the possible implementations of the second aspect.
In a ninth aspect, there is provided a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform any one of the possible implementations of the first aspect, the second aspect or any one of the possible implementations of the second aspect described above.
Drawings
FIG. 1 is a schematic diagram of an example daisy chain connection between a display screen and a vehicle;
FIG. 2 is a schematic diagram of the internal structure of the DP interface;
FIG. 3 is a schematic diagram of a packet mapping onto 4 lanes in SST mode;
FIG. 4a is a schematic diagram of a packet in MST mode;
FIG. 4b is a schematic diagram of another structure of a packet in MST mode;
FIG. 5 is a schematic diagram of a topology of multi-stream transmission in MST mode;
Fig. 6 is a schematic diagram of a structure of a secondary channel transmission packet;
fig. 7 is a schematic flow chart of a data processing method according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating processing of DP data in a vehicle-mounted scenario according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating processing of DP data in another vehicle-mounted scenario according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating processing of DP data in still another vehicle-mounted scenario according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a transmission device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of still another transmission device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of still another transmission device according to an embodiment of the present application;
FIG. 14 is a schematic diagram of a data processing system according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application.
DP interface
As shown in the internal structure diagram of the DP interface in fig. 2, a source device (source device) and a sink device (sink device) are connected through the DP interface. The DP interface comprises a main link, an auxiliary channel and a hot plug detection channel. The main link is unidirectional high-speed transmission and consists of 4 pairs of wires, and can be configured to be 1/2/4 pair wire transmission (namely, 1 pair, 2 pairs or 4 pairs of the 4 pairs of wires are configured for data transmission) in use for carrying audio and video services. The auxiliary channel is bidirectional low-speed transmission and consists of 1 pair of lines and is used for carrying the services such as link management, equipment management and the like. The hot plug detection channel is a unidirectional transmission signal and consists of 1 wire for hot plug detection.
For transmission of main link data, the DP interface supports a single-stream transport (SST) mode and a multi-stream transport (MST) mode. Wherein the MST mode supports the daisy chain connection mode.
In SST mode, the primary link data may be mapped onto 1/2/4 of the 4 lanes (lanes), respectively. Specifically, assuming configuration 1 transmits main link data to the line, mapping to 1 channel of the 4 channels, and leaving the remaining 3 channels idle; assuming configuration 2 pairs of line transmission main link data, mapping to 2 channels of the 4 channels, and leaving the rest 2 channels idle; assuming configuration 4 transmits primary link data to the wires, then each maps onto 4 lanes.
Specifically, as shown in fig. 3, a schematic structure of mapping data packets onto 4 channels in SST mode is shown. The data between two Blanking Ends (BE) on each channel is an SST packet, which may include a row of image pixel data. The omitted parts denoted by "- -" in pix and the drawing are image pixel data, blanking Start (BS) is a control symbol, VB-ID is indication information of data attribute, and Mvid and Maud are clock information. A second data packet (second data packet) may BE further carried between the clock information and the second BE, wherein the second packet contains audio data and audio attribute information, and further padding symbols.
The MST mode refers to transmitting a plurality of video stream data in one packet. As shown in fig. 4a, a structure of a data packet in MST mode is shown, where an MST data packet is composed of 64 timeslots, where the 1 st timeslot carries a multi-stream transport packet header (multi-stream transport packet header, MTPH), and other timeslots are allocated to each data stream according to the number of data streams on the link and the bandwidth occupied by each data stream, and carry at most 63 data streams. As shown in fig. 4b, which is a schematic diagram of another structure of a packet in MST mode, unlike fig. 4a, the 1 st to 5 th slots are allocated for carrying 1 video stream, i.e. VC load, and other slots are reserved.
Fig. 5 is a schematic diagram of a topology structure of multi-stream transmission in MST mode, wherein a DP source device (DP source) 1 and a DP source device 2 include a data source (stream source) and a DP packet transmitting end (DP packet Tx); a DP branch device (branch device) 1 and a DP branch device 2 are forwarding devices, each DP branch device includes at least one DP packet second transmission device and at least one DP packet transmitting end, and is configured to aggregate or separate data streams; the DP sink device (sink device) includes a DP second transmission device, which plays after receiving the data. The daisy chain connection shown in fig. 1 can be implemented by a forwarding device.
Fig. 6 shows a schematic structure of a secondary channel packet, where the secondary channel packet starts with a SYNC symbol and ends with a STOP symbol, where COMM is command type, ADDR is address, LEN is DATA length, and DATA is DATA.
As can be seen from the internal structure of the DP interface shown in fig. 2, 11 cables are required for connection between DP interfaces, and the number of cables is large, which increases the cost, complicates cable deployment, and does not meet the deployment requirement of the vehicle-mounted scene, so that the cables required for data transmission need to be reduced.
The application provides a data processing scheme, which can reduce cables required by data transmission by processing a first data packet to be transmitted and transmitting a processed second data packet instead of directly transmitting the first data packet.
Fig. 7 is a schematic flow chart of a data processing method according to an embodiment of the present application, where the method may include the following steps:
s101, a first transmission device receives a first data packet.
The first transmission device may be located in an electronic device providing an audio-visual data source. The first transmission device may receive a first data packet from a DP interface on a processor inside the electronic device, i.e. the first data packet is a DP data packet. The first data packet may include primary link data, secondary channel data, or primary link data and secondary channel data.
Further, if the first data packet includes main link data, since the main link data includes data of one or more channels, the first transmission device may further map the main link data in the first data packet into a data packet transmitted on a single channel, that is, a single channel data packet.
S102, the first transmission equipment processes the first data packet to obtain a second data packet.
Wherein the second data packet includes a header, a payload, and a trailer.
Because the first data packet includes the main link data and/or the auxiliary channel data, the packet header is used for indicating the data type of the load, the load includes the content of the first data packet, and the data type includes at least one of the main link data and the auxiliary channel data. In particular, the header may include a first traffic type field for indicating the data type of the payload. The first traffic type field may comprise 2 bits. For example, if the first data packet includes main link data, the value of the first service type field is "00", which is used to indicate that the data type of the load is main link data; for another example, if the first data packet includes auxiliary channel data, the value of the first service type field is "01", which is used to indicate that the data type of the load is auxiliary channel data; for another example, the first data packet includes main link data and auxiliary channel data, and the value of the first service type field is "10" to indicate that the data type of the load is the main link data and the auxiliary channel data.
The header may also be used to indicate the length of the load. In particular, the header may include a payload length field. The length of the payload in the second data packet may be in bytes. The second transmission device may know the length of the payload of the second data packet according to the length of the payload indicated by the packet header, and is configured to determine the boundary of the second data packet.
The header is also used to indicate the sequence number of the second data packet. The second transmission device can count according to the sequence number so as to detect whether the packet is lost, and the reliability of data transmission can be improved. In particular, the header may include a sequence number field, which may be represented by binary bits and may be counted in cycles. For example, if the number of second packets sent by the first transmission device during a period of time is 32, 5 bits may be used as the sequence number of the second packets. Assuming that the second data packet currently packaged is the 4 th data packet, the value of the sequence number field is '00011'; assuming that the second packet currently encapsulated is the 5 th packet, the value of the sequence number field is "00100", and so on.
Further, if the first transmission device receives the first data packet (i.e., the first data packet is the main link data or the data type of the second data packet is the main link data) sent by the DP transmitting end operating in the SST mode, as shown in fig. 3, the first data packet may be segmented due to the longer first data packet. In particular, the number of bytes in each data packet may be limited to be segmented into several segments for transmission, and one second data packet carries one segment of the main link data packet. The header may also be used to indicate the number of segments of the primary link data. In particular, the packet header may include a field of the number of fragments, which indicates the number of fragments of the main link data contained in the payload, i.e., the total number of fragments of the main link data. For example, assuming that the first packet is divided into 16 segments, the number of segments may be represented by 4 bits.
As an example, if the data type of the second data packet is main link data, the format of the second data packet may be as shown in table 1 below:
TABLE 1
In table 1, the packet header includes 32 bits (i.e., 4 bytes), and of course, the size of the packet header and the size of each field may not be limited. The packet header comprises a first service type, a segmentation number and a sequence number field, and the rest fields are reserved fields. The first service type field is used for indicating that the current data packet is main link service data. The number of segments field is used to indicate that the primary link packet includes several segments. The sequence number field is used to indicate what number of packets are. The payload length field is used to indicate that the payload of the current packet may be 65527 x 8 bits at maximum. Optionally, the trailer may include cyclic redundancy check (cyclic redundancy check, CRC) bits.
As yet another example, if the data type of the second data packet is secondary channel data, the format of the second data packet may be as shown in table 2 below:
TABLE 2
Since the secondary channel data packet as shown in fig. 6 is smaller than the primary channel data packet in SST mode, the secondary channel data may not be segmented before encapsulation, and thus the encapsulation header of the secondary channel data may not include the field of the number of segments. The first service type field is used for indicating that the current data packet is auxiliary channel service data. The sequence number field is used to indicate what number of packets are. The payload length field is used to indicate that the payload of the current packet may be 65527 x 8 bits at maximum. Optionally, the trailer may include CRC check bits. The load carries the portion between DP secondary channel packets SYNC and STOP as shown in fig. 6.
If the first data packet includes the main link data and the auxiliary channel data, the header, the payload and the trailer of the auxiliary channel data packet, and the header, the payload and the trailer of the main link data packet, may be sequentially encapsulated in the second data packet in a concatenated manner. The data format of the auxiliary channel data packet may be referred to in table 2, and the data format of the main channel data packet may be referred to in table 1.
By encapsulating the DP packets, the second packet may distinguish between the data on each lane of the DP.
Further, other types of traffic, such as high definition multimedia interface (high definition multimedia interface, HDMI) traffic, may be transmitted between the transmission chips in addition to DP traffic, and thus the header of the second data packet may further indicate that the second data packet includes DP data. In particular, the header may include a second traffic type field for indicating that the second data packet contains DP data. Thus, whether the DP traffic or other non-DP traffic can be distinguished by the second traffic type field, so that the DP traffic and other traffic can be transmitted simultaneously on the same channel. For example, assuming that the transmitted service type has 16, the second service type field may include 4 bits, where the value of the field of the second service type is "00" is used to indicate that the second data packet is a DP data packet; the field of the second service type takes other values and is used for indicating that the second data packet is other service data packets respectively.
As an example, if the data type of the second data packet is main link data, the format of the second data packet may be as shown in table 3 below:
TABLE 3 Table 3
Unlike that shown in table 1, the header of the second data packet further includes a second traffic type field for indicating that the second data packet contains DP data. The meaning of the other fields is the same as table 1.
As yet another example, if the data type of the second data packet is secondary channel data, the format of the second data packet may be as shown in table 4 below:
TABLE 4 Table 4
Unlike that shown in table 2, the header of the second data packet further includes a second traffic type field for indicating that the second data packet contains DP data. The meaning of the other fields is the same as table 2.
Further, for the main link data, the header of the second data packet may also be used to indicate the transmission mode supported by the DP. In particular, the packet header may include a transmission mode field for indicating whether the transmission mode of the DP is the SST mode or the MST mode. Through the transmission mode field, the second transmission device can perform different conversion processing on the second data packet according to the transmission mode indicated by the packet header after receiving the second data packet.
Further, when the transmission mode field indicates that the transmission mode of the DP is the MST mode, the header of the second data packet may also be used to indicate the number of data streams included in the payload. In particular, the packet header may include a number of streams field for indicating the number of data streams included in the payload.
In one example, if the data type of the second data packet is main link data, the format of the second data packet may be as shown in table 5 below:
TABLE 5
In table 5, a second traffic type field is used to indicate that the second data packet contains DP data; the first service type field is used for indicating the second data packet as main link data; the transmission mode is automatically used for indicating that the DP supports the SST mode or the MST mode; when the transmission mode is MST mode, the stream number field is effective value, which is used to indicate load to include several multiplexing data streams; when the transmission mode is SST mode, the segment number field is a valid value for indicating that the main link packet includes several segments. The meaning of the other fields is the same as table 3.
S103, the first transmission device sends a second data packet to the second transmission device. Accordingly, the second transmission device receives the second data packet.
The first transmission device encapsulates the first data packet to obtain a second data packet, and the second data packet can be sent to a second transmission device in another electronic device through a coaxial line or a twisted pair line, without needing more cables. The other electronic device may be a display screen.
S104, the second transmission equipment unpacks the second data packet according to the packet header.
After the second transmission device receives the second data packet, the second transmission device may first parse the packet header in the second data packet, and decapsulate the second data packet according to the packet header.
Specifically, the second transmission device can know what number of data packets are received according to the sequence number field in the packet header; according to the first service type field in the packet header, the second data packet can be known to be main link data or auxiliary channel data; if the data type of the second data packet is main link data and the DP transmitting end supports the SST mode, knowing that the received main link data comprises a plurality of segments according to the number of segments in the packet header; the length of the load of the second data packet can be obtained according to the load length field in the packet header, so that the data with the corresponding length can be analyzed.
Further, it may be further known that the received second data packet includes DP data, or other service data, according to the second service type field in the packet header.
Further, if the first traffic type field is used to indicate that the data type is main link data and the transmission mode is MST mode, it may be known that the payload includes several multiplexed data streams according to the number of streams in the packet header.
Further, if the data type of the second data packet is main link data, the second transmission device may map the main link data of the single channel to one or more channels after decapsulating the second data packet according to the packet header.
The application of the above method to a specific scenario, such as an in-vehicle scenario, is exemplarily described below:
as shown in fig. 8, a schematic diagram of processing DP data in an on-vehicle scenario is illustrated, where the transmission chip 1 is located in a vehicle, and the transmission chip 1 is connected to a DP transmitting terminal (DP Tx) in a system on chip (SoC) of the vehicle. The car machine is connected with the display 1 and is used for providing an audio and video data source for the display 1. Specifically, in the present embodiment, the transmission chip 1 of the vehicle and the transmission chip 2 of the display 1 are connected by twisted pair wires or coaxial wires. In the display 1, the transmission chip 2 is connected to a DP second transmission device (DP Rx) in the screen. And the SoC in the vehicle machine transmits the DP data packet to the transmission chip 1 through the DP transmitting end. The transmission chip 1 and the transmission chip 2 are long-distance transmission chips meeting the requirements of vehicle-mounted scenes. The DP transmitting end and the DP second transmission device may operate in the SST mode or in the MST mode. The transmitting chip 1 encapsulates the DP data received from the DP transmitting unit in the encapsulation format as described above, and then transmits the DP data to the physical layer of the transmitting chip 2 through the physical layer thereof via the twisted pair or the coaxial line, the transmitting chip 2 parses the received encapsulated data packet to obtain a header of the encapsulated data packet, and decapsulates the encapsulated data packet according to the header to obtain the DP data packet. Alternatively, if the transmitting chip 1 uses the DP data received from the DP transmitting end as the main link data, the transmitting chip 1 maps the DP data from one or more channels (e.g. 1/2/4 channels) to a single channel data packet before encapsulating the DP data. Accordingly, the transmitting chip 2 maps the DP data packet onto one or more channels after decapsulating the encapsulated data packet to obtain the DP data. Thus, the transmission chip 2 can transmit the DP data to the DP second transmission device for display on the screen.
As shown in fig. 9, a schematic diagram of processing DP data in another exemplary vehicle-mounted scenario is shown, where the vehicle is sequentially connected to the display 1 and the display 2, and the vehicle is used as an output terminal of audio/video data to output the audio/video data to the two displays. Specifically, unlike fig. 8, the transmission chip 2 of the display 1 is connected to the transmission chip 2 of the display 2 in addition to the DP second transmission device of the display 1, that is, the display 1 and the display 2 are connected by a daisy chain. In the display 2, the transmission chip 2 is connected to a DP second transmission device in the screen. The working principle of the transmission chip 1 is the same as that of the transmission chip 1 in the scenario shown in fig. 8. The difference between the transmission chip 2 in the display 1 in fig. 9 and the transmission chip 2 in the display 1 in fig. 8 is that after the transmission chip 2 in the display 1 in fig. 9 is unpacked to obtain DP data, if the main link data in MST mode is main link data, the main link data may include one or more data streams, and the unpacked DP data needs to be shunted. And mapping the DP data packets which are shunted to the display 1 in the DP data obtained after the unpacking to one or more channels and transmitting the DP data packets to DP second transmission equipment of the display 1, and repackaging the data streams which are shunted to the display 2 in the DP data obtained after the unpacking and transmitting the data streams to the transmission chip 2 of the display 2 through a coaxial line or a twisted pair line by a physical layer. The transmission chip 2 of the display 2 operates on the same principle as the transmission chip 2 of the display 1 shown in fig. 8.
As shown in fig. 10, which is a schematic diagram illustrating processing of DP data in another vehicle-mounted scenario, unlike fig. 9, the transmission chip 1 in the vehicle has two output interfaces, and the contents of the two output interfaces may be different, so that the data at the DP transmitting end needs to be split. Specifically, the DP transmitting end supports the MST mode, the DP packet includes a plurality of data streams, the transmitting chip 1 first shunts the DP packet, for example, the DP packet includes 8 data streams, the data streams 1 to 5 need to be displayed through the display 1 and the display 2, and the data streams 6 to 8 need to be displayed through the display 3, so that the transmitting chip 1 maps the data streams 1 to 5 transmitted on one or more channels into a single channel packet, encapsulates the data streams 1 to 5 according to the encapsulation format described above, and transmits the data streams to the transmitting chip 2 of the display 1 through twisted pairs or coaxial lines via the physical layer. And the transmission chip 1 maps the data streams 6 to 8 transmitted on one or more channels into single-channel data packets, encapsulates the data streams 6 to 8 according to the encapsulation format described above, and transmits the encapsulated data streams to the transmission chip 2 of the display 3 through twisted pairs or coaxial lines via the physical layer. After receiving the encapsulated data packet, the transmission chip 2 of the display 1 analyzes the data packet to obtain a packet header, and decapsulates the encapsulated data packet according to the packet header to obtain data streams 1 to 5. Assuming that the data streams 1 to 3 are to be displayed on the screen of the display 1 and the data streams 4 to 5 are to be displayed on the screen of the display 2, the transmission chip 2 of the display 1 divides the data streams 1 to 5 into the data streams 1 to 3 and the data streams 4 to 5; then mapping the data packets corresponding to the data streams 1-3 onto one or more channels, and transmitting the data streams 1-3 mapped onto the one or more channels to DP second transmission equipment of the display 1, so as to display on the screen of the display 1; and repackages the data streams 4 to 5 to the transmission chip 2 of the display 2 through twisted pair or coaxial line via the physical layer. After the transmission chip 2 of the display 2 receives the encapsulated data streams 4 to 5, the encapsulated data streams 4 to 5 are decapsulated and channel-converted. The transmission chip 1 encapsulates the data streams 6 to 8 according to the encapsulation format described above, and transmits the encapsulated data streams to the transmission chip 2 of the display 3 via the physical layer via twisted pair or coaxial lines. After the transmission chip 2 of the display 3 receives the encapsulated data streams 6 to 8, the encapsulated data streams 6 to 8 are decapsulated and channel-converted.
According to the data processing method provided by the embodiment of the application, the first data packet to be sent is processed, and the processed second data packet is transmitted instead of directly transmitting the first data packet, so that cables required for data transmission can be reduced.
Based on the same conception of the data processing method, a transmission device is also provided.
Some or all of the above methods may be implemented by software or firmware, and as shown in fig. 11, a schematic structural diagram of a transmission apparatus for performing the above data processing method is provided. Specifically, the transmission apparatus 1000 includes: a transceiver unit 11 and a processing unit 12. Wherein:
a transceiver unit 11, configured to receive a first data packet, where the first data packet includes main link data and/or auxiliary channel data;
a processing unit 12, configured to process the first data packet to obtain a second data packet, where the second data packet includes a packet header and a payload, the packet header is used to indicate a data type of the payload, and the data type includes at least one of the main link data and the auxiliary channel data;
the transceiver unit 11 is further configured to send the second data packet.
In one possible implementation, the first data packet includes primary link data;
the processing unit 12 is further configured to map the main link data in the first data packet into a single channel data packet, where the main link data includes data of one or more channels.
In yet another possible implementation, the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
In yet another possible implementation, when the data type of the load is main link data, the packet header is further used to indicate the number of fragments of the main link data.
In yet another possible implementation, the packet header is further configured to indicate a transmission mode supported by the display interface, the transmission mode including a single stream transmission mode or a multi-stream transmission mode.
In yet another possible implementation, the transmission mode is a multi-stream transmission mode, and the packet header is further configured to indicate a number of data streams included in the load.
In a further possible implementation, the header is further configured to indicate that the second data packet contains display interface DP data.
For a specific implementation of the above units reference is made to the description of the first transmission device in the embodiment of the method shown in fig. 7.
As shown in fig. 12, there is provided a schematic structural diagram of still another transmission apparatus for performing the above-described data processing method. Specifically, the transmission apparatus 2000 includes: a transceiver unit 21 and a processing unit 22. Wherein:
a transceiver unit 21, configured to receive a second data packet, where the second data packet includes a packet header and a payload, and the packet header is configured to indicate a data type of the payload, and the data type includes at least one of primary link data and secondary channel data;
and a processing unit 22, configured to decapsulate the second data packet to obtain a first data packet, where the first data packet includes main link data and/or auxiliary channel data.
In one possible implementation, the first data packet includes primary link data;
the processing unit 22 is further configured to map the single channel data packet onto one or more channels.
In yet another possible implementation, the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
In yet another possible implementation, when the data type of the load is main link data, the packet header is further used to indicate the number of fragments of the main link data.
In yet another possible implementation, the packet header is further configured to indicate a transmission mode supported by the display interface, the transmission mode including a single stream transmission mode or a multi-stream transmission mode.
In yet another possible implementation, the transmission mode is a multi-stream transmission mode, and the packet header is further configured to indicate a number of data streams included in the load.
In a further possible implementation, the header is further configured to indicate that the second data packet contains display interface DP data.
For a specific implementation of the above units reference is made to the description of the second transmission device in the embodiment of the method shown in fig. 7.
Alternatively, the transmission device may be a chip or an integrated circuit when embodied.
Alternatively, when part or all of the data processing methods of the above-described embodiments are implemented by software or firmware, they may be implemented by a transmission device 3000 provided in fig. 13. As shown in fig. 13, the transmission apparatus 3000 may include: processor 31 (the processor 31 in the transmission chip may be one or more, one processor being exemplified in fig. 13).
Wherein the processor 31 is configured to perform the method steps performed by the first transmission device/the second transmission device in fig. 7.
Alternatively, the memory 32 for storing the program is located outside the transmission chip, and the processor 31 is connected to the memory 32 through a circuit or a wire for reading and executing the program stored in the memory 32.
The processor 31 may be a central processor (central processing unit, CPU), a network processor (network processor, NP), or a WLAN device.
The processor 31 may further comprise a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
The memory 32 may include volatile memory (RAM), such as random-access memory (RAM); the memory may also include a nonvolatile memory (non-volatile memory), such as a flash memory (flash memory), a hard disk (HDD) or a Solid State Drive (SSD); the memory may also comprise a combination of the above types of memories.
As shown in fig. 14, there is also provided a data processing system 4000 including the above-described transmission device 1000 and transmission device 2000.
Embodiments of the present application also provide a computer-readable storage medium comprising computer instructions which, when executed on a computer, perform the method of the above embodiments.
Embodiments of the present application also provide a computer program product comprising instructions, including computer instructions, which when run on a computer cause the computer to perform the method of the above embodiments.
It should be noted that, in the embodiments of the present invention, the term "plurality" refers to two or more, and accordingly, the term "plurality" may also be understood as "at least two" in the embodiments of the present invention. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/", unless otherwise specified, generally indicates that the associated object is an "or" relationship.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the division of the unit is merely a logic function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. The coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a read-only memory (ROM), or a random-access memory (random access memory, RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a digital versatile disk (digital versatile disc, DVD), or a semiconductor medium, such as a Solid State Disk (SSD), or the like.

Claims (26)

1. A data processing method, the method being applied to a first transmission device, the method comprising:
receiving a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data;
processing the first data packet to obtain a second data packet, wherein the second data packet comprises a packet header and a load, the packet header is used for indicating a data type of the load, the data type comprises at least one of main link data and auxiliary channel data, the packet header is also used for indicating a transmission mode supported by a display interface, the transmission mode comprises a single-stream transmission mode or a multi-stream transmission mode, and the packet header is also used for indicating the number of data streams included in the load when the transmission mode is the multi-stream transmission mode;
and sending the second data packet.
2. The method of claim 1, wherein the first data packet includes primary link data, and wherein the processing the first data packet results in a second data packet, the method further comprising:
and mapping the main link data in the first data packet into a single channel data packet, wherein the main link data comprises data of one or more channels.
3. The method according to claim 1 or 2, wherein the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
4. A method according to any of claims 1-3, wherein the header is further adapted to indicate the number of fragments of the main link data when the data type of the payload is main link data.
5. The method of any of claims 1-4, wherein the header is further configured to indicate that the second data packet contains display interface DP data.
6. A data processing method, wherein the method is applied to a second transmission device, the method comprising:
receiving a second data packet, the second data packet including a packet header and a payload, the packet header being for indicating a data type of the payload, the data type including at least one of primary link data and secondary channel data, the packet header also being for indicating a transmission mode supported by a display interface, the transmission mode including a single stream transmission mode or a multi stream transmission mode, the packet header also being for indicating a number of data streams included in the payload in case the transmission mode is the multi stream transmission mode;
And decapsulating the second data packet to obtain a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data.
7. The method of claim 6, wherein the first data packet includes main link data, the main link data is a single channel data packet, and the decapsulating the second data packet results in the first data packet, the method further comprising:
the single channel data packet is mapped onto one or more channels.
8. The method of claim 6 or 7, wherein the header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
9. The method according to any of claims 6-8, wherein when the data type of the payload is main link data, the header is further configured to indicate a number of fragments of the main link data.
10. The method according to any of claims 6-9, wherein the header is further configured to indicate that the second data packet contains display interface DP data.
11. A transmission apparatus, characterized by comprising:
the receiving and transmitting unit is used for receiving a first data packet, wherein the first data packet comprises main link data and/or auxiliary channel data;
A processing unit, configured to process the first data packet to obtain a second data packet, where the second data packet includes a packet header and a payload, where the packet header is configured to indicate a data type of the payload, the data type includes at least one of the main link data and the auxiliary channel data, the packet header is further configured to indicate a transmission mode supported by a display interface, the transmission mode includes a single-stream transmission mode or a multi-stream transmission mode, and in a case where the transmission mode is the multi-stream transmission mode, the packet header is further configured to indicate a number of data streams included in the payload;
the transceiver unit is further configured to send the second data packet.
12. The transmission apparatus according to claim 11, wherein the first data packet includes main link data;
the processing unit is further configured to map main link data in the first data packet into a single channel data packet, where the main link data includes data of one or more channels.
13. The transmission apparatus according to claim 11 or 12, wherein the packet header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
14. The transmission apparatus according to any one of claims 11 to 13, wherein when the data type of the load is main link data, the packet header is further configured to indicate the number of fragments of the main link data.
15. The transmission device according to any one of claims 11 to 14, wherein the packet header is further configured to indicate that the second data packet includes display interface DP data.
16. A transmission apparatus, characterized by comprising:
a transceiver unit, configured to receive a second data packet, where the second data packet includes a packet header and a payload, where the packet header is configured to indicate a data type of the payload, where the data type includes at least one of primary link data and secondary channel data, where the packet header is further configured to indicate a transmission mode supported by a display interface, where the transmission mode includes a single-stream transmission mode or a multi-stream transmission mode, and where the transmission mode is the multi-stream transmission mode, where the packet header is further configured to indicate a number of data streams included in the payload;
and the processing unit is used for decapsulating the second data packet to obtain a first data packet, and the first data packet comprises main link data and/or auxiliary channel data.
17. The transmission apparatus of claim 16, wherein the first data packet comprises main link data, the main link data being a single channel data packet;
the processing unit is further configured to map the single channel data packet onto one or more channels.
18. The transmission apparatus according to claim 16 or 17, wherein the packet header is further configured to indicate at least one of a sequence number of the second data packet or a length of the payload.
19. The transmission apparatus according to any one of claims 16 to 18, wherein when the data type of the load is main link data, the packet header is further configured to indicate the number of fragments of the main link data.
20. The transmission device according to any one of claims 16-19, wherein the header is further configured to indicate that the second data packet contains display interface DP data.
21. A data processing system comprising a transmission device according to any of claims 11-15 and/or a transmission device according to any of claims 16-20.
22. A transmission apparatus, characterized by comprising: one or more processors; the processor is configured to execute a program stored in a memory, which when executed is configured to implement the method according to any of claims 1-5.
23. The transmission device of claim 22, wherein the memory is located external to the transmission device.
24. A transmission apparatus, characterized by comprising: one or more processors; the processor is configured to execute a program stored in a memory, which when executed, is configured to implement the method according to any of claims 6-10.
25. The transmission device of claim 24, wherein the memory is located external to the transmission device.
26. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-10.
CN202180000792.0A 2021-03-22 2021-03-22 Data processing method, transmission equipment and data processing system Active CN113196720B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/081977 WO2022198357A1 (en) 2021-03-22 2021-03-22 Data processing method and transmission device, and data processing system

Publications (2)

Publication Number Publication Date
CN113196720A CN113196720A (en) 2021-07-30
CN113196720B true CN113196720B (en) 2023-07-28

Family

ID=76977022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202180000792.0A Active CN113196720B (en) 2021-03-22 2021-03-22 Data processing method, transmission equipment and data processing system

Country Status (2)

Country Link
CN (1) CN113196720B (en)
WO (1) WO2022198357A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297198B (en) * 2022-09-21 2023-01-13 中昊芯英(杭州)科技有限公司 Data processing method, circuit, medium and computing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299183A (en) * 2007-04-30 2008-11-05 创世纪微芯片公司 Packet based video display interface enumeration method
CN110290095A (en) * 2018-03-19 2019-09-27 北京京东尚科信息技术有限公司 The method and apparatus for being used for transmission data
CN111147519A (en) * 2019-12-31 2020-05-12 奇安信科技集团股份有限公司 Data detection method, device, electronic equipment and medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8204076B2 (en) * 2003-05-01 2012-06-19 Genesis Microchip Inc. Compact packet based multimedia interface
US9053753B2 (en) * 2006-11-09 2015-06-09 Broadcom Corporation Method and system for a flexible multiplexer and mixer
US8159927B2 (en) * 2007-02-16 2012-04-17 Gennum Corporation Transmit, receive, and cross-talk cancellation filters for back channelling
US8237624B2 (en) * 2008-05-06 2012-08-07 Integrated Device Technology, Inc. System having capability for daisy-chained serial distribution of video display data
US20110157302A1 (en) * 2009-12-30 2011-06-30 Ati Technologies Ulc Three-dimensional video display system with multi-stream sending/receiving operation
CN102595199A (en) * 2011-01-11 2012-07-18 中兴通讯股份有限公司 Streaming media packet packaging and transmitting method, and streaming media processing device
US9070199B2 (en) * 2012-10-02 2015-06-30 Apple Inc. Sharing a graphics-processing-unit display port
US9015357B2 (en) * 2012-10-22 2015-04-21 Ati Technologies Ulc Method and device for providing high speed data transmission with video data
CN103812606B (en) * 2012-11-21 2018-07-17 优倍快网络公司 Improve the method and system of the efficiency of Radio Link
US10083147B2 (en) * 2016-12-30 2018-09-25 Intel Corporation Apparatuses and methods for multilane universal serial bus (USB2) communication over embedded universal serial bus (eUSB2)
US20190116321A1 (en) * 2017-10-17 2019-04-18 Microsoft Technology Licensing, Llc Downstream selectable user device display output

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299183A (en) * 2007-04-30 2008-11-05 创世纪微芯片公司 Packet based video display interface enumeration method
CN110290095A (en) * 2018-03-19 2019-09-27 北京京东尚科信息技术有限公司 The method and apparatus for being used for transmission data
CN111147519A (en) * 2019-12-31 2020-05-12 奇安信科技集团股份有限公司 Data detection method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN113196720A (en) 2021-07-30
WO2022198357A1 (en) 2022-09-29

Similar Documents

Publication Publication Date Title
CN108989286B (en) Encapsulation method, decapsulation method and device for universal data stream
CN113287329B (en) Data transmission method and device
CN113498596B (en) PCIe-based data transmission method and device
CN109698732B (en) Method and device for transmitting data
CN109561395A (en) A kind of blue-tooth transmission method and device
KR102450095B1 (en) Data transmission method, transmission device, and reception device
CN113196720B (en) Data processing method, transmission equipment and data processing system
KR20130126932A (en) Method and system for asynchronous and isochronous data transmission in a high speed video network
WO2018230919A1 (en) Method and device for processing mac layer header
CN113498597B (en) PCIe-based data transmission method and device
CN112804129B (en) Message transmission method and system, transmitting end VPN equipment and GRE splicing equipment
CN110661745B (en) Overhead transmission method, device, equipment and computer readable storage medium
JP6065108B2 (en) Wireless communication apparatus, wireless communication system, and wireless communication method
CN113439268A (en) PCIe-based data transmission method, device and system
CN113287288B (en) Data transmission method and device
CN106537830A (en) Protocol frame transmission method, device, node equipment and system
US20020196751A1 (en) Method and apparatus for indicating packet boundaries in frames
CN112384904B (en) Apparatus and method for binding two data channels via point-to-point connection and use thereof
WO2022041164A1 (en) Image transmission method and apparatus
CN102497311B (en) The method of transmission/receiver section expense, device and transmission system in SDH/SONET circuit simulation
CN110401805A (en) Receiver and relevant signal processing method
EP4236121A1 (en) Network synchronization method and apparatus, and device, system and readable storage medium
CN114079675B (en) Message processing method, device, terminal equipment and mobile broadband internet surfing equipment
CN110535789B (en) SRIO-ETH protocol conversion chip verification device and method
CN115866179A (en) Bridge video transmission system and method avoiding video low-level protocol analysis

Legal Events

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