CN113287288A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN113287288A
CN113287288A CN202180001386.6A CN202180001386A CN113287288A CN 113287288 A CN113287288 A CN 113287288A CN 202180001386 A CN202180001386 A CN 202180001386A CN 113287288 A CN113287288 A CN 113287288A
Authority
CN
China
Prior art keywords
data packet
identification information
display device
sink
data
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.)
Granted
Application number
CN202180001386.6A
Other languages
Chinese (zh)
Other versions
CN113287288B (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 CN113287288A publication Critical patent/CN113287288A/en
Application granted granted Critical
Publication of CN113287288B publication Critical patent/CN113287288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Security & Cryptography (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Small-Scale Networks (AREA)

Abstract

A method and a device for data transmission are provided, the method comprises the following steps: acquiring a mapping relation table (S201) containing identification information and sink numbers of display devices, wherein the identification information of each display device corresponds to one or more sink numbers; converting a first data packet into a second data packet (S202), wherein the first data packet includes DP data, the second data packet includes destination device identification information and a destination sink number, and the destination sink number indicates a destination sink of the second data packet; the second packet is transmitted (S203). By adopting the method, the single-cable transmission of the DP data can be realized, and the transmission distance of the DP data is increased.

Description

Data transmission method and device
Technical Field
The application belongs to the technical field of vehicle networking communication, and particularly relates to a data transmission method and device.
Background
With the development of the automobile industry, more and more display screens are arranged in an automobile, and the plurality of display screens can acquire different display contents from the vehicle-mounted terminal to display respectively. The existing in-vehicle display screens are generally arranged according to the rule that the display screens are far away from a vehicle-mounted terminal, and the display screens are close to each other, so that the length of cables in a vehicle can be greatly reduced by adopting a daisy chain linking mode among the display screens. At present, a Display Port (DP) is used for supporting daisy chain connection in video transmission, and the DP is composed of a Main channel (Main link), an auxiliary channel (AUX CH), and a Hot Plug Detect channel (Hot Plug Detect). The main channel is in one-way high-speed transmission and consists of 4 pairs of lines, namely 8 lines, and during use, 1/2/4 pairs of lines can be configured for carrying audio and video services. The auxiliary channel is in bidirectional low-speed transmission, consists of 1 pair of lines, namely 2 lines, and is used for bearing services such as link management, data management and the like. The hot plug detection channel is a unidirectional transmission signal, consists of 1 line and is used for hot plug detection.
Because the DP needs 11 lines to complete transmission, the number of required cables is large, the distance for DP transmission is only 3 meters, the transmission cables are expected to be reduced in the vehicle-mounted scene, the transmission distance is increased, and therefore the requirements of the vehicle-mounted scene cannot be met by the existing DP transmission scheme.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present application is to provide a method and an apparatus for data transmission to solve the problems of more cables and shorter transmission distance.
In a first aspect, an embodiment of the present application provides a method for data transmission, where the method is applied to a vehicle-mounted terminal, and may include:
the method comprises the steps that a vehicle-mounted terminal obtains a mapping relation table containing identification information of display equipment and sink numbers, wherein the identification information of each display equipment corresponds to one or more sink numbers;
converting a first data packet to a second data packet, wherein the first data packet includes DP data, the second data packet includes destination device identification information and a destination sink number indicating a destination sink of the second data packet;
and sending the second data packet.
By obtaining the mapping relation table of the identification information and the sink number of the display device, the vehicle-mounted terminal and the first display device can convert the data packet, and the destination device identification information and the destination sink number are added into the converted second data packet, so that the destination address of the second data packet transmission can be determined according to the destination device identification information and the destination sink number, the DP data can be transmitted by using a non-DP interface, the number of cables is reduced, and the data transmission distance is increased.
In one possible implementation manner, the obtaining a mapping relationship table including identification information of a display device and a sink number includes:
the vehicle-mounted terminal broadcasts a first message and receives at least one response message, wherein the response message comprises a group of mapping information consisting of identification information and one or more information sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
and establishing the mapping relation table according to the received one or more groups of mapping information.
The identification information and the sink number of one or more display devices are acquired through the response message or the report message, so that a corresponding mapping relation table can be established. And the DP interface in the vehicle-mounted terminal determines a destination sink of the first data packet according to the mapping relation table, and adds destination equipment identification information and a destination sink number into the converted data packet so as to enable DP data to be transmitted on a non-DP interface.
In one possible implementation manner, the obtaining a mapping relationship table including identification information of a display device and a sink number includes:
and the vehicle-mounted terminal acquires the mapping relation table from pre-stored data.
The mapping relation table is maintained in a pre-stored mode, and the processing efficiency of the vehicle-mounted terminal is higher.
In one possible implementation manner, the identification information of the display device includes:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
In a possible implementation manner, the response message or the report message further includes extended Display Identification Data (EDID for short) of the Display device, and the mapping relationship table further includes the EDID of the Display device.
The identification information of the display equipment and the information of the information sink number can be merged in the existing information for transmitting the EDID information for transmission, the multiplexing of the existing information can be realized, the change of the existing information is reduced, and the cost is lower.
In a second aspect, an embodiment of the present application provides a method for data transmission, where the method is applied to a first display device, and the method includes:
receiving a second data packet, wherein the second data packet is obtained by converting a first data packet, the first data packet comprises DP data, and the second data packet comprises destination equipment identification information and a destination sink number;
converting the second data packet into a third data packet under the condition that the destination device identification information matches the identification information of the first display device, the type of the third data packet corresponding to the interface type of the destination sink;
transmitting the third packet to a destination sink indicated by the destination sink number;
and sending the second data packet to a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
It is understood that the first display device may be directly connected to the second display device.
The attribution of the second data packet can be determined by comparing whether the identification information of the first display device is matched with the identification information of the destination device, and when the second data packet belongs to the first display device, the second data packet can be converted into a third data packet which is supported and received by the interface of the destination sink. DP data transmitted between the vehicle-mounted terminal and the first display device can be converted through the data packet, and the converted second data packet comprises destination device identification information and a destination sink number, so that a destination address transmitted by the second data packet can be determined according to the destination device identification information and the destination sink number, the DP data can be transmitted through a non-DP interface, the number of cables is reduced, and the data transmission distance is increased.
In a possible implementation manner, the type of the third data packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
In one possible implementation manner, the identification information of the first display device includes:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
In a third aspect, an embodiment of the present application provides a data transmission method, which is applied to a first transmission chip, and may include:
the first transmission chip receives a first data packet, wherein the first data packet comprises DP data;
acquiring a mapping relation table of identification information and sink numbers of display equipment, wherein the identification information of each display equipment corresponds to one or more sink numbers;
converting the first data packet into a second data packet, the second data packet comprising destination device identification information and a destination sink number, wherein the destination sink number is used for indicating a destination sink of the second data packet;
and sending the second data packet.
In one possible implementation manner, the obtaining a mapping relationship table including identification information of a display device and a sink number includes:
the first transmission chip broadcasts a first message and receives at least one response message, wherein the response message comprises a group of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
and establishing the mapping relation table according to the received one or more groups of mapping information.
In one possible implementation manner, the obtaining a mapping relationship table including identification information of a display device and a sink number includes: the sending device obtains the mapping relation table from pre-stored data.
In a possible implementation manner, the response message or the report message further includes extended display identification data EDID of the display device, and the mapping relationship table further includes EDID of the display device.
In one possible implementation manner, the identification information of the display device includes:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
In a fourth aspect, an embodiment of the present application provides a data transmission method, which is applied to a second transmission chip, and may include:
the second transmission chip receives a second data packet, the second data packet is obtained by converting a first data packet, the first data packet comprises DP data, and the second data packet comprises destination equipment identification information and a destination sink number;
converting the second data packet into a third data packet under the condition that the destination device identification information matches the identification information of the first display device, the type of the third data packet corresponding to the interface type of the destination sink;
transmitting the third packet to a destination sink indicated by the destination sink number;
and sending the second data packet to a third transmission chip in a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
It is understood that the second transmitting chip may be located in the first display device and directly connected to the third transmitting chip in the second display device, and further, the second transmitting chip and the third transmitting chip may have the same function and/or structure.
In a possible implementation manner, the type of the third data packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
In one possible implementation manner, the identification information of the first display device includes:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
In a fifth aspect, an embodiment of the present application provides an apparatus for data transmission, which may include:
the processing unit is used for acquiring a mapping relation table containing identification information of the display devices and sink numbers, wherein the identification information of each display device corresponds to one or more sink numbers;
converting a first data packet to a second data packet, wherein the first data packet includes DP data, the second data packet includes destination device identification information and a destination sink number indicating a destination sink of the second data packet;
and the transceiving unit is used for transmitting the second data packet.
In a possible implementation manner, the transceiver unit is specifically configured to:
broadcasting a first message, and receiving at least one response message, wherein the response message comprises a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
the processing unit is specifically configured to:
and establishing the mapping relation table according to the received one or more groups of mapping information.
In a possible implementation manner, the processing unit is specifically configured to:
and acquiring the mapping relation table from pre-stored data.
In one possible implementation manner, the identification information of the display device includes:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
In a possible implementation manner, the response message or the report message further includes extended display identification data EDID of the display device, and the mapping relationship table further includes EDID of the display device.
In one possible implementation, the device is a vehicle-mounted terminal.
In a sixth aspect, an embodiment of the present application provides an apparatus for data transmission, which may include:
a transceiving unit, configured to receive a second data packet, where the second data packet is converted from a first data packet, the first data packet includes DP data, and the second data packet includes destination device identification information and a destination sink number;
a processing unit, configured to convert the second data packet into a third data packet under a condition that the destination device identification information matches the identification information of the first display device, where a type of the third data packet corresponds to an interface type of the destination sink;
the transceiving unit is further used for sending the third data packet to the destination sink indicated by the destination sink number; and sending the second data packet to a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
In a possible implementation manner, the type of the third data packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
In one possible implementation, the apparatus is a display device.
In one possible implementation manner, the identification information of the first display device includes:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
In a seventh aspect, an apparatus is provided. The apparatus provided by the present application has the function of implementing the behavior of the in-vehicle terminal in the above-mentioned method aspect, and includes means (means) corresponding to the steps or functions described for performing the above-mentioned method aspect. The steps or functions may be implemented by software, or by hardware (e.g., a circuit), or by a combination of hardware and software.
In one possible design, the apparatus includes one or more processors and a communication unit. The one or more processors are configured to support the device to execute the corresponding functions of the vehicle-mounted terminal in the method. For example, a mapping relation table of identification information and sink numbers of the display device is acquired; the first data packet is converted into a second data packet. The communication unit is used for supporting the device to communicate with other equipment and realizing receiving and/or sending functions. For example, the first message is broadcasted, the response message or the report message is received, and the second data packet is sent.
Optionally, the apparatus may also include one or more memories for coupling with the processor that hold the necessary program instructions and/or data for the apparatus. For example, a mapping table may be stored, and the one or more memories may be integrated with the processor or provided separately from the processor. The present application is not limited.
The communication unit may be a transceiver, or a transceiving circuit. Optionally, the transceiver may also be an input/output circuit or interface.
The device may also be a communication chip. The communication unit may be an input/output circuit or an interface of the communication chip.
In another possible design, the apparatus includes a processor, a memory, and a bus. The processor is configured to control the transceiver or the input/output circuit to transceive signals, the memory is configured to store a computer program, and the processor is configured to execute the computer program in the memory, so that the apparatus performs the method performed by the vehicle-mounted terminal in the first aspect or any one of the possible implementations of the first aspect.
In an eighth aspect, an apparatus is provided. The apparatus provided by the present application has the functionality to implement the behavior of the display device in the above-described method aspect, comprising means (means) for performing the steps or functionalities described in the above-described method aspect. The steps or functions may be implemented by software, or by hardware (e.g., a circuit), or by a combination of hardware and software.
In one possible design, the apparatus includes one or more processors and a communication unit. The one or more processors are configured to support the apparatus to perform the corresponding functions of the display device in the above method. For example, when the destination device identification information included in the received second packet matches the identification information of the display device, the second packet is converted into a third packet. The communication unit is used for supporting the device to communicate with other equipment and realizing receiving and/or sending functions. For example, receiving the second data packet, sending a response message or a report message, etc.
Optionally, the apparatus may also include one or more memories for coupling with the processor that hold the necessary program instructions and/or data for the apparatus. The one or more memories may be integral with the processor or separate from the processor. The present application is not limited.
The communication unit may be a transceiver, or a transceiving circuit. Optionally, the transceiver may also be an input/output circuit or interface.
The device may also be a communication chip. The communication unit may be an input/output circuit or an interface of the communication chip.
In another possible design, the apparatus includes a processor, a memory, and a bus. The processor is configured to control the transceiver or the input/output circuit to transceive signals, the memory is configured to store a computer program, and the processor is configured to execute the computer program in the memory, so that the apparatus performs the method performed by the display device in any of the possible implementations of the second aspect or the second aspect.
In a ninth aspect, there is provided a system comprising an apparatus as in the fifth aspect and any possible design thereof and/or an apparatus as in the sixth aspect and any possible design thereof; alternatively, the system comprises an apparatus as in the preceding seventh aspect and any possible design thereof, and/or an apparatus as in the preceding eighth aspect and any possible design thereof. For example, the system may include the above-described in-vehicle terminal and at least one display device.
In a tenth aspect, there is provided a transmission chip including:
a transceiving unit, configured to receive a first data packet, where the first data packet includes DP data;
the processing unit is used for acquiring a mapping relation table of identification information and sink numbers of the display devices, wherein the identification information of each display device corresponds to one or more sink numbers; converting the first data packet into a second data packet, the second data packet comprising destination device identification information and a destination sink number, wherein the destination sink number is used for indicating a destination sink of the second data packet;
the transceiving unit is further configured to transmit the second data packet.
In a possible implementation manner, the transceiver unit is specifically configured to:
broadcasting a first message, and receiving at least one response message, wherein the response message comprises a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
the processing unit is specifically configured to: and establishing the mapping relation table according to the received one or more groups of mapping information.
In a possible implementation manner, the processing unit is specifically configured to:
and acquiring the mapping relation table from pre-stored data.
In one possible implementation manner, the identification information of the display device includes:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
In a possible implementation manner, the response message or the report message further includes extended display identification data EDID of the display device, and the mapping relationship table further includes EDID of the display device.
In an eleventh aspect, there is provided a transmission chip including:
a transceiving unit, configured to receive a second data packet, where the second data packet is converted from a first data packet, the first data packet includes DP data, and the second data packet includes destination device identification information and a destination sink number;
a processing unit, configured to convert the second data packet into a third data packet under a condition that the destination device identification information matches the identification information of the first display device, where a type of the third data packet corresponds to an interface type of the destination sink;
the transceiving unit is further used for sending the third data packet to the destination sink indicated by the destination sink number; and sending the second data packet to a third transmission chip in a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
In a possible implementation manner, the type of the third data packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
In one possible implementation manner, the identification information of the first display device includes:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
In a twelfth aspect, there is provided a transmission chip, including: the system comprises a processor, a memory, an input interface and an output interface, wherein the processor, the memory, the input interface and the output interface are connected through a bus, the input interface is used for receiving data, the output interface is used for sending data, the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory and executing the method in any possible implementation manner of the third aspect or the third aspect.
In a thirteenth aspect, there is provided a transmission chip, including:
the device comprises a processor, a memory, an input interface and an output interface, wherein the processor, the memory, the input interface and the output interface are connected through a bus, the input interface is used for receiving data, and the output interface comprises a first output interface used for sending the data to a signal sink and a second output interface used for sending the data to another transmission chip; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory and executing the method as described in the fourth aspect or any one of the possible implementation manners of the fourth aspect.
In a fourteenth aspect, a computer-readable storage medium is provided for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect, or the computer program comprising instructions for performing the method of the second aspect or any of the possible implementations of the second aspect, or the computer program comprising instructions for performing the method of the third aspect or any of the possible implementations of the third aspect, or the computer program comprising instructions for performing the method of the fourth aspect or any of the possible implementations of the fourth aspect.
In a fifteenth aspect, a computer program product is provided, the computer program product comprising: computer program code for causing a computer to perform the method of any one of the above-mentioned first aspect or any one of the above-mentioned possible implementations of the first aspect, or for causing a computer to perform the method of any one of the above-mentioned second aspect or any one of the above-mentioned possible implementations of the second aspect, or for causing a computer to perform the method of any one of the above-mentioned third aspect or any one of the above-mentioned possible implementations of the fourth aspect, or for causing a computer to perform the method of any one of the above-mentioned possible implementations of the fourth aspect, when said computer program code is run on a computer.
In a sixteenth aspect, a vehicle is provided, where the vehicle includes the apparatus of any one of the possible implementations of the fifth to eighth aspects and the fifth to eighth aspects, or the system of the ninth aspect, or the chip of any one of the possible implementations of the tenth to thirteenth aspects and the tenth to thirteenth aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1 is a schematic architecture diagram of a vehicle-mounted communication system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another data transmission method according to an embodiment of the present application;
fig. 4 is a schematic architecture diagram of another vehicle-mounted communication system provided in the embodiment of the present application;
fig. 5 is a schematic diagram illustrating a data transmission apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating another apparatus for data transmission according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram illustrating a structure of another apparatus for data transmission according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating a structure of another apparatus for data transmission according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating a transmission chip according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram illustrating another transmission chip according to an embodiment of the present disclosure;
fig. 11 is a schematic diagram illustrating a composition of another transmission chip according to an embodiment of the present disclosure;
fig. 12 is a schematic composition diagram of another transmission chip according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the drawings in the embodiments of the present application.
The terms "including" and "having," and any variations thereof, in the description and claims of this application and the drawings described above, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic structural diagram of a vehicle-mounted communication system according to an embodiment of the present disclosure. Including the in-vehicle terminal 10, the first display device 20, and the second display device 30.
The vehicle-mounted terminal 10 may include a vehicle, a vehicle-mounted device or a vehicle-mounted terminal device, and may include the signal source 11 and the first transmission chip 12.
The Source 11, referred to as Stream Source in the DP protocol, may be used to provide data streams, such as audio data, video data, or control data.
The first transmission chip 12 is connected to the source 11 through a DP interface (shown by a thick connection line in fig. 1), and can receive DP data provided by the source 11, decapsulate a first data packet including the DP data, add destination device identification information and a destination sink number, and then repackage the first data packet into a second data packet supporting single-wire cable transmission. And then sent to the first display device 20 via a single cable (shown in fig. 1 as a thin connecting line). Optionally, the type and format of the data, such as audio data, video data, or control data, may also be indicated in the second data packet.
The first display device 20 may be an in-vehicle display, which includes a second transmission chip 21 and a first sink 22. The second transmission chip 21 is connected to the first transmission chip 12 through a single cable, and is configured to receive the second data packet sent by the first transmission chip 12, and determine whether the second data packet is data to be sent to the first display device 20 for display according to destination device identification information included in the second data packet. When the destination device identification information matches the identification information of the first display device 20, the second data packet is converted into a third data packet corresponding to the interface type of the first sink 22, and the third data packet is transmitted to the first sink 22. And when the identification information of the destination device is not the same as the identification information of the first display device 20, sending the second data packet to the directly connected second display device 30.
The first Sink 22, referred to as Stream Sink in the DP protocol, may be used to receive the data Stream. In the display device, the first sink 22 may receive the data stream and may present the data, such as playing audio or video. And when the data type is control data, executing a corresponding control command according to the control data.
The third display device 30 is similar in composition to the second display device 20 and includes a third transmission chip 31 having the same function as the second transmission chip 21 and a second sink 32 having the same function as the first sink 22. And will not be described in detail herein.
It should be noted that, for simplicity and convenience of description, only two display devices are shown in fig. 1, and the method for data transmission in this application may be applied to a scenario where one display device is used, and also applied to a scenario where more than two display devices are connected through a daisy chain, and the embodiment of this application is not limited in any way. In addition, in the vehicle-mounted terminal, the number of the information sources can be one or more, and the plurality of information sources share one DP interface; in the display device, the number of signal sinks may be one or more, and a plurality of signal sinks may also share one interface. When the first transmission chip 22 needs to transmit data packets of multiple data streams, the data packets can be distinguished by adding destination sink number (which may be the same as or corresponding to the stream identifier) to destination device identification information.
The method applied to the data transmission in the architecture is not only suitable for vehicle-mounted scenes, but also suitable for other scenes adopting daisy chain connection, such as scenes of connecting a plurality of screens in a conference room or connecting a plurality of sound devices. The method can also be applied to other scenes which are not daisy chain connection and need to improve the quantity of cables or transmission distance. The following description is given taking an in-vehicle scene as an example in conjunction with fig. 2 to 4.
Please refer to fig. 2, which is a flowchart illustrating a data transmission method according to an embodiment of the present disclosure; applied to the vehicle-mounted terminal, include:
s201, a mapping relation table containing identification information and sink numbers of the display equipment is obtained.
Wherein the identification information of each display device corresponds to one or more sink numbers.
In a possible implementation manner, the identification information of the display device may be a MAC address of a transmission chip in the display device; or may be the MAC address of the display device; or may also be a preset character or string of characters.
When the MAC address of the transmission chip is used as the identification information, the transmission chip does not need to acquire the information from the display equipment, and therefore the information can be directly sent to the vehicle-mounted terminal as the destination address of data packet sending. When the MAC address or other information of the display device is used as the identification information, the transmission chip can firstly acquire the MAC address or other information of the display device and send the MAC address or other information to the vehicle-mounted terminal, and simultaneously stores the information, so that when a data packet sent by the vehicle-mounted terminal is received, the stored information can be matched with the identification information of the target device in the data packet.
Taking the MAC address of the transmission chip in the display device as the identification information, in a daisy chain scenario or other scenarios, a plurality of display devices may be included, and each display device may have a mapping relationship between a set of MAC addresses of the transmission chip and a sink number. Therefore, the mapping relationship table may also include a plurality of sets of mapping relationships between MAC addresses and sink numbers. For example, the composition of the mapping relationship table may be as shown in table 1:
TABLE 1
MAC address of transmission chip in each display device Sink number having mapping relation with MAC address
MAC Address 1 Signal sink 1, signal sink 2, and signal sink 3
MAC Address 2 Sink 4 and sink 5
In the mapping table, two display devices are currently present, the MAC address of the transmission chip in the first display device is MAC address 1, the first display device includes three sinks, namely sink 1, sink 2 and sink 3, and all three sinks have a mapping relation with MAC address 1. The MAC address of the transmission chip in the second display device is MAC address 2, the second display device comprises two signal sinks 4 and 5, and the two signal sinks are both in mapping relation with the MAC address 2. When there is a third display device or more, the mapping relationship between the MAC address of the transmission chip in the third display device and the sink number may be added to the above-described mapping relationship table.
The vehicle-mounted terminal can acquire the mapping relation table in the following ways:
in step S201, the vehicle-mounted terminal may broadcast a first message, and receive at least one response message, where the response message includes a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
and establishing the mapping relation table according to the received one or more groups of mapping information.
The vehicle-mounted terminal can actively send a broadcast message to request to acquire the information, and can also actively report the information by the display equipment. The broadcast message may be an existing message, and may be, for example, a request message for obtaining EDID containing parameters about the display device and its capabilities, including vendor information, maximum image size, color settings, vendor presets, limits of frequency range, and a character string of the display device name and serial number, etc. At the moment, the information sink number can be sent as sub information in the EDID information, and the identification information of the display equipment can be sent simultaneously as information parallel to the EDID; therefore, the response message or the report message may further include EDID of the display device, and the mapping relationship table may further include EDID of the display device. At this time, a column for storing EDID of the display device may be added in table 1, and each set of mapping relationship includes MAC address-sink number-EDID. Of course, the broadcast message may also be a newly constructed message, which is not limited herein.
When the identification information and the sink number are acquired, for example, the number of the display devices is two, the in-vehicle terminal may broadcast a first message to the two display devices, and if the display device has acquired the identification information and the sink number of itself, a response message may be replied to transmit the identification information and the sink number to the in-vehicle terminal. If the display device does not acquire the identification information and the sink number of the display device, the display device can acquire the information within the overtime time and reply to the vehicle-mounted terminal through a response message. If a certain display device does not reply the response message within the timeout time, the vehicle-mounted terminal may retransmit the broadcast message within the preset time, or temporarily stop transmitting data to the display device, and optionally, may also prompt the user through a prompt message on the normally displayable display device, so that the user may perform maintenance in time.
In another way of obtaining the mapping relation table, the mapping relation table may be pre-stored on the vehicle-mounted terminal, and the vehicle-mounted terminal directly obtains the mapping relation table from the memory and uses the mapping relation table.
S202, converting a first data packet into a second data packet, wherein the first data packet comprises DP data, the second data packet comprises destination equipment identification information and a destination sink number, and the destination sink number is used for indicating a destination sink of the second data packet.
After the vehicle-mounted terminal acquires the mapping relation table, the first data packet including the DP data may be converted into a second data packet including the destination device identification information and the destination sink number. Therefore, transmission through a DP interface is not needed, and the limitation of a large number of cables and short transmission distance in a DP protocol is avoided. The destination device identification information indicates which display device the second packet belongs to, and further indicates the destination sink of the second packet by the destination sink number.
S203, the second data packet is sent.
As shown in fig. 1, the vehicle-mounted terminal is composed of an information source 11 and a first transmission chip 12, and when the method is executed, the main steps of the method are completed by the first transmission chip 12, and the method specifically may include receiving a first data packet of the information source 11, obtaining a mapping relation table, converting the first data packet into a second data packet, and sending the second data packet. The first transmission chip 12 can realize the role of a sink proxy by acquiring a mapping relation table between identification information of display devices and sink numbers, for the information source 11, the first transmission chip 12 belongs to a virtualized virtual display device which comprises one or more virtual sinks, the virtual sinks correspond to sinks in all actual display devices one by one, the information source 11 sends a first data packet including DP data to the first transmission chip 12 through a DP interface, and appoints time slots for each virtual sink to receive the data packet with the first transmission chip through an auxiliary channel in a DP protocol. When the first transmission chip 12 receives the data packet in the appointed time slot, it can determine which virtual sink the data packet is sent to according to the appointed time slot, so as to further determine the destination sink of the data packet, then complete the sink proxy through the mapping relation table, and add the destination device identification information and the destination sink number in the converted data packet, so as to complete the non-DP interface transmission of DP data.
In the embodiment of the application, the mapping relation table of the identification information and the sink number of the display device is obtained, so that the vehicle-mounted terminal and the first display device can be converted through the data packet, the destination device identification information and the destination sink number are added into the converted second data packet, the destination address for transmission of the second data packet can be determined according to the destination device identification information and the destination sink number, the DP data can be transmitted by using a non-DP interface, the number of cables is reduced, and the data transmission distance is increased.
Referring to fig. 3, another data transmission method provided in the embodiment of the present application is applied to a first display device 20, and includes:
s301, receiving a second data packet, wherein the second data packet is obtained by converting a first data packet, the first data packet comprises DP data, and the second data packet comprises destination device identification information and a destination sink number.
For the description of converting the first data packet into the second data packet, the destination device identification information, and the destination sink number, reference may be made to the previous description of S202, which is not described herein again.
S302, under the condition that the identification information of the destination device is matched with the identification information of the first display device, converting the second data packet into a third data packet, wherein the type of the third data packet corresponds to the interface type of the destination sink.
The Interface types of the destination sink include a DP Interface, an Embedded Display Port (eDP), a Display Serial Interface (DSI), an Open Low Voltage Differential Signaling (oLDI) Interface, and the like, and therefore the type of the third packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
S303, transmitting the third data packet to the destination sink indicated by the destination sink number.
Optionally, the second data packet further includes Stream Attribute information (Stream Attribute), and before the third data packet is transmitted to the destination sink according to the destination sink number, the method further includes:
and the first display acquires the data stream attribute information included in the second data packet and sends the data stream attribute information to the destination information sink. The data stream attribute information may be used to indicate information such as bitrate, resolution, etc. of the video data.
In another case parallel to S302-S303, the method further includes:
s304, under the condition that the identification information of the destination device is not matched with the identification information of the first display device, the second data packet is sent to a second display device.
As shown in fig. 1, the first display device 20 is composed of a second transmission chip 21 and a first sink 22, and the method includes receiving a second data packet by the second transmission chip 21, determining whether the second data packet belongs to the first display device 20 according to whether the identification information of the destination device matches the identification information of the first display device, converting the second data packet into a third data packet when the identification information matches, and transmitting the destination sink such as the first sink 22. And forwarding the second data packet to a third transmission chip 31 in the directly connected second display device 30 when the identification information does not match. The second transmission chip 21 in the first display device 20 can realize the function of the source agent by comparing with the destination device identification information and acquiring the destination sink number. The second transmission chip 21 and the first transmission chip 12, and the second transmission chip 21 and the third transmission chip 31 are not connected through a DP interface, and the DP data can be transmitted through the destination device identification information and the destination sink number.
In the embodiment of the present application, the attribution of the second packet may be determined by comparing whether the identification information of the first display device and the identification information of the destination device match, and when the first display device belongs to the second display device, the second packet may be converted into a third packet supported and received by the interface of the destination sink. DP data transmitted between the vehicle-mounted terminal and the first display device can be converted through the data packet, and the converted second data packet comprises destination device identification information and a destination sink number, so that a destination address transmitted by the second data packet can be determined according to the destination device identification information and the destination sink number, the DP data can be transmitted through a non-DP interface, the number of cables is reduced, and the data transmission distance is increased.
It should be noted that, when the interface type of the destination sink is a DP interface or an eDP interface, the system architecture thereof can be as shown in fig. 1, and when the interface type of the destination sink is a DSI interface or an oLDI interface, the third data packet is transmitted through the DSI interface or the oLDI interface. Specifically, referring to fig. 4, fig. 4 is a schematic structural diagram of another vehicle-mounted communication system provided in the embodiment of the present application. When the first transmission chip 12 actively broadcasts the first message to obtain the information such as the identification information and the sink number of the first display device 20, the first transmission chip 12 further includes an integrated Circuit bus (Inter-integrated Circuit, abbreviated as I)2C) And a main control module. The first transmitting chip 12 may pass through I2C, acquiring the information; when the second transmission chip 21 actively reports the information, the second transmission chip 21 further includes an I2C a master control module which can pass through I2C acquires information such as the sink number, and reports the information to the first transmission chip together with the identification information of the first display device 20.
Please refer to fig. 5, which is a schematic diagram illustrating a data transmission apparatus according to an embodiment of the present disclosure; the method comprises the following steps:
a processing unit 100, configured to acquire a mapping relationship table including identification information of display devices and sink numbers, where the identification information of each display device corresponds to one or more sink numbers;
converting a first data packet to a second data packet, wherein the first data packet includes DP data, the second data packet includes destination device identification information and a destination sink number indicating a destination sink of the second data packet;
a transceiver unit 200, configured to send the second data packet.
Optionally, the transceiver unit 200 is specifically configured to:
broadcasting a first message, and receiving at least one response message, wherein the response message comprises a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
the processing unit 100 is specifically configured to: and establishing the mapping relation table according to the received one or more groups of mapping information.
Optionally, the processing unit 100 is specifically configured to:
and acquiring the mapping relation table from pre-stored data.
Optionally, the MAC address of a transmission chip in the display device; or
The MAC address of the display device; or
A predetermined character or string of characters.
For the concepts, explanations, detailed descriptions and other steps related to the technical solutions provided in the embodiments of the present application related to the apparatus, please refer to the description of the foregoing method or the vehicle-mounted terminal in other embodiments, which is not described herein again.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating another data transmission apparatus according to an embodiment of the present disclosure; the method comprises the following steps:
a processor 110, a memory 120, and a transceiver 130. The processor 110, the memory 120 and the transceiver 130 are connected by a bus 140, the memory 120 is used for storing instructions, and the processor 110 is used for executing the instructions stored by the memory 120 to implement the steps executed by the vehicle-mounted terminal in the method corresponding to fig. 2.
The processor 110 is configured to execute the instructions stored in the memory 120 to control the transceiver 130 to receive and transmit signals, so as to implement the steps performed by the in-vehicle terminal in the above-mentioned method. The memory 120 may be integrated in the processor 110 or may be provided separately from the processor 110.
As an implementation, the function of the transceiver 130 may be realized by a transceiver circuit or a dedicated chip for transceiving. The processor 110 may be considered to be implemented by a dedicated processing chip, processing circuit, processor, or a general-purpose chip.
As another implementation manner, a manner of using a general-purpose computer to implement the terminal provided in the embodiment of the present application may be considered. Program code that will implement the functions of the processor 110 and the transceiver 130 is stored in the memory 120, and a general-purpose processor implements the functions of the processor 110 and the transceiver 130 by executing the code in the memory 120.
For the concepts, explanations, detailed descriptions and other steps related to the technical solutions provided in the embodiments of the present application related to the apparatus, please refer to the description of the foregoing method or the vehicle-mounted terminal in other embodiments, which is not described herein again.
As another form of the present embodiment, there is provided a computer-readable storage medium having stored thereon instructions that, when executed, perform the method on the vehicle-mounted terminal side in the above-described method embodiment.
As another form of the present embodiment, there is provided a computer program product containing instructions that, when executed, perform the method on the vehicle-mounted terminal side in the above-described method embodiment.
Please refer to fig. 7, which is a schematic diagram illustrating a data transmission apparatus according to an embodiment of the present disclosure; the method comprises the following steps:
a transceiving unit 300, configured to receive a second data packet, where the second data packet is converted from a first data packet, the first data packet includes DP data, and the second data packet includes destination device identification information and a destination sink number;
a processing unit 400, configured to convert the second data packet into a third data packet on a condition that the destination device identification information matches the identification information of the first display device, where a type of the third data packet corresponds to an interface type of the destination sink;
the transceiving unit 300 is further configured to transmit the third data packet to the destination sink indicated by the destination sink number; and sending the second data packet to a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
Optionally, the type of the third packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
Optionally, the identification information of the first display device includes:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
For the concepts, explanations, details and other steps related to the technical solutions provided in the embodiments of the present application related to the apparatus, please refer to the description of the first display device in the foregoing method or other embodiments, which is not described herein again.
Please refer to fig. 8, which is a schematic diagram illustrating another data transmission apparatus according to an embodiment of the present disclosure; as shown in fig. 8, the apparatus may include a processor 210, a memory 220, and a transceiver 230. The processor 210, the memory 220 and the transceiver 230 are connected by a bus 240, the memory 220 is used for storing instructions, and the processor 210 is used for executing the instructions stored by the memory 220 to realize the steps executed by the first display device in the method corresponding to fig. 3.
The processor 210 is configured to execute the instructions stored in the memory 220 to control the transceiver 230 to receive and transmit signals, thereby performing the steps performed by the first display device in the above-mentioned method. The memory 220 may be integrated in the processor 210 or may be provided separately from the processor 210.
As an implementation manner, the function of the transceiver 230 may be considered to be implemented by a transceiving circuit or a dedicated chip for transceiving. Processor 210 may be considered to be implemented by a dedicated processing chip, processing circuit, processor, or a general-purpose chip.
As another implementation manner, a manner of using a general-purpose computer to implement the terminal provided in the embodiment of the present application may be considered. Program code that implements the functions of the processor 210 and the transceiver 230 is stored in the memory 220, and a general-purpose processor implements the functions of the processor 210 and the transceiver 230 by executing the code in the memory 220.
For the concepts, explanations, details and other steps related to the technical solutions provided in the embodiments of the present application related to the apparatus, please refer to the description of the first display device in the foregoing method or other embodiments, which is not described herein again.
As another form of the present embodiment, there is provided a computer-readable storage medium having stored thereon instructions that, when executed, perform the method on the first display device side in the above-described method embodiment.
As another form of the present embodiment, there is provided a computer program product containing instructions that, when executed, perform the method on the first display device side in the above-described method embodiments.
Please refer to fig. 9, which is a schematic diagram illustrating a transmission chip according to an embodiment of the present disclosure; the method comprises the following steps:
a transceiving unit 500, configured to receive a first data packet, where the first data packet includes DP data;
a processing unit 600, configured to obtain a mapping relationship table of identification information of display devices and sink numbers, where the identification information of each display device corresponds to one or more sink numbers; converting the first data packet into a second data packet, the second data packet comprising destination device identification information and a destination sink number, wherein the destination sink number is used for indicating a destination sink of the second data packet;
the transceiving unit 500 is further configured to transmit the second data packet.
Optionally, the transceiver unit 500 is specifically configured to:
broadcasting a first message, and receiving at least one response message, wherein the response message comprises a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
the processing unit 600 is specifically configured to: and establishing the mapping relation table according to the received one or more groups of mapping information.
Optionally, the processing unit 600 is specifically configured to:
and acquiring the mapping relation table from pre-stored data.
Optionally, the MAC address of a transmission chip in the display device; or
The MAC address of the display device; or
A predetermined character or string of characters.
Optionally, one or more signal sinks are included in a single display device.
For the concepts, explanations, details and other steps related to the transmission chip and related to the technical solution provided in the embodiment of the present application, reference is made to the description of the first transmission chip in the foregoing method or other embodiments, which is not described herein again.
Please refer to fig. 10, which is a schematic diagram illustrating another transmission chip according to an embodiment of the present disclosure; the method comprises the following steps:
the processor 310, the memory 320, the input interface 330 and the output interface 340 are connected by a bus 350, wherein the input interface 330 is used for receiving data and can be a DP interface, the output interface 340 is used for transmitting data and can be a non-DP interface supporting single-wire cable transmission. The memory 320 is used for storing a set of program codes, and the processor 310 is used for calling the program codes stored in the memory 320 to implement the steps executed by the first transmission chip in the method corresponding to fig. 2.
The processor 310 is configured to execute the instructions stored in the memory 320 to control the input interface 330 to receive data and control the output interface 340 to send data, so as to complete the steps executed by the first transmission chip in the above method. The memory 320 may be integrated in the processor 310 or may be provided separately from the processor 310.
As an implementation manner, the functions of the input interface 330 or the output interface 340 may be considered to be implemented by a transceiving circuit or a dedicated chip for transceiving. The processor 310 may be considered to be implemented by a dedicated processing chip, processing circuit, processor, or a general-purpose chip.
Please refer to fig. 11, which is a schematic diagram illustrating a composition of another transmission chip according to an embodiment of the present disclosure; the method comprises the following steps:
a transceiving unit 700, configured to receive a second data packet, where the second data packet is converted from a first data packet, the first data packet includes DP data, and the second data packet includes destination device identification information and a destination sink number;
a processing unit 800, configured to convert the second data packet into a third data packet on a condition that the destination device identification information matches the identification information of the first display device, where a type of the third data packet corresponds to an interface type of the destination sink;
the transceiving unit 700 is further configured to transmit the third data packet to the destination sink indicated by the destination sink number; and sending the second data packet to a third transmission chip in a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
Optionally, the type of the third packet includes any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
Optionally, the identification information of the first display device includes:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
For the concepts, explanations, details and other steps related to the transmission chip and related to the technical solution provided in the embodiment of the present application, please refer to the description of the second transmission chip in the foregoing method or other embodiments, which is not described herein again.
Please refer to fig. 12, which is a schematic diagram illustrating a composition of another transmission chip according to an embodiment of the present disclosure; the method comprises the following steps:
the processor 410, the memory 420, the input interface 430 and the output interface 440 (including a first output interface 441 and a second output interface 442) are connected by a bus 450, wherein the input interface 430 is used for receiving data, which may be a non-DP interface supporting single-cable transmission, the output interface 440 is used for transmitting data, the output interface 440 includes a first output interface 441 used for transmitting data to a signal sink and a second output interface 442 used for transmitting data to another transmission chip; the first output interface 441 may be a DP interface/eDP interface/DSI interface/oLDI interface of the same type as the destination sink interface, and the second output interface 442 is a non-DP interface supporting single cable transmission. The memory 420 is used for storing a set of program codes, and the processor 410 is used for calling the program codes stored in the memory 420 to implement the steps executed by the second transmitting chip in the method corresponding to fig. 3.
The processor 410 is configured to execute the instructions stored in the memory 420 to control the input interface 430 to receive data and control the output interface 440 to send data, so as to complete the steps executed by the first transmission chip in the above method. The memory 420 may be integrated in the processor 410 or may be provided separately from the processor 410.
As an implementation manner, the functions of the input interface 430 or the first output interface 441 or the second output interface 442 may be considered to be implemented by a transceiving circuit or a dedicated chip for transceiving. Processor 410 may be considered to be implemented by a dedicated processing chip, processing circuit, processor, or a general-purpose chip.
Those skilled in the art will appreciate that only one memory and processor are shown in fig. 6, 8, 10 and 12 for ease of illustration. In an actual controller, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, and the like, which is not limited in this application.
The embodiment of the present application further provides a vehicle, where the vehicle may include a device for data transmission in any one of embodiments corresponding to fig. 5 to 8, or a transmission chip in any one of embodiments corresponding to fig. 9 to 12. It is understood that the vehicles in the embodiments of the present application may be "automobiles," "vehicles," and "entire vehicles," or other similar terms including general motor vehicles, including, for example, cars, SUVs, MPVs, buses, trucks, and other cargo or passenger vehicles, watercraft including a variety of boats, ships, and aircraft, etc., including hybrid vehicles, electric vehicles, fuel-powered vehicles, plug-in hybrid vehicles, fuel cell vehicles, and other alternative fuel vehicles. The hybrid vehicle refers to a vehicle having two or more power sources, and the electric vehicle includes a pure electric vehicle, an extended range electric vehicle, and the like, which is not specifically limited in this application.
It should be understood that, in the embodiment of the present Application, the processor may be a Central Processing Unit (CPU), and the processor may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like.
It will also be appreciated that the memory referred to in this embodiment of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct bus RAM (DR RAM).
It should be noted that when the processor is a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, the memory (memory module) is integrated in the processor.
It should be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The bus may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. But for clarity of illustration the various buses are labeled as buses in the figures.
It should also be understood that reference herein to first, second, third, fourth, and various numerical designations is made only for ease of description and should not be used to limit the scope of the present application.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor. To avoid repetition, it is not described in detail here.
According to the method provided by the embodiment of the present application, the embodiment of the present application further provides a system, which includes the aforementioned vehicle-mounted terminal and at least one display device.
In the embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various Illustrative Logical Blocks (ILBs) and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the above embodiments, the implementation may be wholly or partially realized 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, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (38)

1. A data transmission method is applied to a vehicle-mounted terminal and comprises the following steps:
acquiring a mapping relation table containing identification information of display equipment and sink numbers, wherein the identification information of each display equipment corresponds to one or more sink numbers;
converting a first data packet to a second data packet, wherein the first data packet includes DP data, the second data packet includes destination device identification information and a destination sink number indicating a destination sink of the second data packet;
and sending the second data packet.
2. The method according to claim 1, wherein the obtaining a mapping relationship table containing identification information of a display device and a sink number comprises:
the vehicle-mounted terminal broadcasts a first message and receives at least one response message, wherein the response message comprises a group of mapping information consisting of identification information and one or more information sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
and establishing the mapping relation table according to the received one or more groups of mapping information.
3. The method according to claim 1, wherein the obtaining a mapping relationship table containing identification information of a display device and a sink number comprises:
and the vehicle-mounted terminal acquires the mapping relation table from pre-stored data.
4. The method of any of claims 1-3, wherein the identification information of the display device comprises:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
5. A method for data transmission, the method being applied to a first display device, the method comprising:
receiving a second data packet, wherein the second data packet is obtained by converting a first data packet, the first data packet comprises DP data, and the second data packet comprises destination equipment identification information and a destination sink number;
converting the second data packet into a third data packet under the condition that the destination device identification information matches the identification information of the first display device, the type of the third data packet corresponding to the interface type of the destination sink;
transmitting the third packet to a destination sink indicated by the destination sink number;
and sending the second data packet to a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
6. The method of claim 5, wherein the type of the third packet comprises any one of:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
7. The method of claim 5 or 6, wherein the identification information of the first display device comprises:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
8. A method for data transmission is applied to a first transmission chip and comprises the following steps:
the first transmission chip receives a first data packet, wherein the first data packet comprises DP data;
acquiring a mapping relation table containing identification information of display equipment and sink numbers, wherein the identification information of each display equipment corresponds to one or more sink numbers;
converting the first data packet into a second data packet, the second data packet comprising destination device identification information and a destination sink number, wherein the destination sink number is used for indicating a destination sink of the second data packet;
and sending the second data packet.
9. The method according to claim 8, wherein the obtaining a mapping relationship table containing identification information of a display device and a sink number comprises:
the first transmission chip broadcasts a first message and receives at least one response message, wherein the response message comprises a group of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
and establishing the mapping relation table according to the received one or more groups of mapping information.
10. The method according to claim 8, wherein the obtaining a mapping relationship table containing identification information of a display device and a sink number comprises:
the sending device obtains the mapping relation table from pre-stored data.
11. The method of any of claims 8-10, wherein the identification information of the display device comprises:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
12. A method for data transmission is applied to a second transmission chip and comprises the following steps:
the second transmission chip receives a second data packet, the second data packet is obtained by converting a first data packet, the first data packet comprises DP data, and the second data packet comprises destination equipment identification information and a destination sink number;
converting the second data packet into a third data packet under the condition that the destination device identification information matches the identification information of the first display device, the type of the third data packet corresponding to the interface type of the destination sink;
transmitting the third packet to a destination sink indicated by the destination sink number;
and sending the second data packet to a third transmission chip in a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
13. The method of claim 12, wherein the type of the third packet comprises any one of:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
14. The method of claim 12 or 13, wherein the identification information of the first display device comprises:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
15. An apparatus for data transmission, comprising:
the processing unit is used for acquiring a mapping relation table containing identification information of the display devices and sink numbers, wherein the identification information of each display device corresponds to one or more sink numbers;
converting a first data packet to a second data packet, wherein the first data packet includes DP data, the second data packet includes destination device identification information and a destination sink number indicating a destination sink of the second data packet;
and the transceiving unit is used for transmitting the second data packet.
16. The apparatus according to claim 15, wherein the transceiver unit is specifically configured to:
broadcasting a first message, and receiving at least one response message, wherein the response message comprises a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
the processing unit is specifically configured to: and establishing the mapping relation table according to the received one or more groups of mapping information.
17. The apparatus according to claim 15, wherein the processing unit is specifically configured to:
and acquiring the mapping relation table from pre-stored data.
18. The apparatus of claim 16, wherein the identification information of the display device comprises:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
19. The apparatus according to any of claims 15-18, wherein the apparatus is a vehicle terminal.
20. An apparatus for data transmission, comprising:
a transceiving unit, configured to receive a second data packet, where the second data packet is converted from a first data packet, the first data packet includes DP data, and the second data packet includes destination device identification information and a destination sink number;
a processing unit, configured to convert the second data packet into a third data packet under a condition that the destination device identification information matches the identification information of the first display device, where a type of the third data packet corresponds to an interface type of the destination sink;
the transceiving unit is further used for sending the third data packet to the destination sink indicated by the destination sink number; and sending the second data packet to a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
21. The apparatus of claim 20, wherein the type of the third packet comprises any one of:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
22. The apparatus of claim 20, wherein the identification information of the first display device comprises:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
23. The apparatus according to any of claims 20-22, wherein the apparatus is a display device.
24. A transmission chip, comprising:
a transceiving unit, configured to receive a first data packet, where the first data packet includes DP data;
the processing unit is used for acquiring a mapping relation table of identification information and sink numbers of the display devices, wherein the identification information of each display device corresponds to one or more sink numbers; converting the first data packet into a second data packet, the second data packet comprising destination device identification information and a destination sink number, wherein the destination sink number is used for indicating a destination sink of the second data packet;
the transceiving unit is further configured to transmit the second data packet.
25. The transmission chip according to claim 24, wherein the transceiver unit is specifically configured to:
broadcasting a first message, and receiving at least one response message, wherein the response message comprises a set of mapping information consisting of identification information and one or more sink numbers; or, the vehicle-mounted terminal receives at least one report message, wherein the report message comprises a group of mapping information consisting of identification information and one or more information sink numbers;
the processing unit is specifically configured to: and establishing the mapping relation table according to the received one or more groups of mapping information.
26. The transmit chip of claim 24, wherein the processing unit is specifically configured to:
and acquiring the mapping relation table from pre-stored data.
27. The transmission chip of claim 25, wherein the identification information of the display device comprises:
the MAC address of a transmission chip in the display equipment; or
The MAC address of the display device; or
A predetermined character or string of characters.
28. A transmission chip, comprising:
a transceiving unit, configured to receive a second data packet, where the second data packet is converted from a first data packet, the first data packet includes DP data, and the second data packet includes destination device identification information and a destination sink number;
a processing unit, configured to convert the second data packet into a third data packet under a condition that the destination device identification information matches the identification information of the first display device, where a type of the third data packet corresponds to an interface type of the destination sink;
the transceiving unit is further used for sending the third data packet to the destination sink indicated by the destination sink number; and the number of the first and second groups,
and sending the second data packet to a third transmission chip in a second display device under the condition that the identification information of the target device is not matched with the identification information of the first display device.
29. The transmitting chip of claim 28, wherein the type of the third data packet comprises any one of the following:
a DP data packet supporting a DP interface;
supporting an eDP data packet of an embedded display interface eDP;
supporting a DSI data packet displaying a serial DSI interface;
and an oLDI data packet of an open type low-voltage differential signal oLDI interface is supported.
30. The transmitting chip according to claim 28 or 29, wherein the identification information of the first display device comprises:
transmitting the MAC address of a chip in the first display device; or
The MAC address of the first display device; or
A predetermined character or string of characters.
31. An apparatus for data transmission, comprising:
processor, memory, transceiver and bus, the processor, memory and transceiver being connected by the bus, wherein the memory is used for storing program code and the transceiver is used for transceiving signals, and the processor is used for calling the program code stored in the memory and executing the method according to any one of claims 1-4.
32. A computer-readable storage medium, comprising:
the computer-readable storage medium has stored therein instructions which, when run on a computer, implement the method of any one of claims 1-4.
33. An apparatus for data transmission, comprising:
processor, memory, transceiver and bus, the processor, memory and transceiver being connected by the bus, wherein the memory is used for storing program code and the transceiver is used for transceiving signals, and the processor is used for calling the program code stored in the memory and executing the method according to any one of claims 5-7.
34. A computer-readable storage medium, comprising:
the computer-readable storage medium has stored therein instructions which, when run on a computer, implement the method of any one of claims 5-7.
35. A transmission chip, comprising:
the device comprises a processor, a memory, an input interface and an output interface, wherein the processor, the memory, the input interface and the output interface are connected through a bus, the input interface is used for receiving data, the output interface is used for sending data, the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory and executing the method according to any one of claims 8-11.
36. A transmission chip, comprising:
the device comprises a processor, a memory, an input interface and an output interface, wherein the processor, the memory, the input interface and the output interface are connected through a bus, the input interface is used for receiving data, and the output interface comprises a first output interface used for sending the data to a signal sink and a second output interface used for sending the data to another transmission chip; the memory is configured to store program code and the processor is configured to call the program code stored in the memory to perform the method according to any one of claims 12-14.
37. A system for data transmission, comprising:
the apparatus of any one of claims 15-19, and the apparatus of any one of claims 20-23;
alternatively, a transmitting chip according to any one of claims 24 to 27, and a transmitting chip according to any one of claims 28 to 30.
38. A vehicle, characterized by comprising: the apparatus of any one of claims 15-23, or the transmission chip of any one of claims 24-30, or the system of claim 37.
CN202180001386.6A 2021-03-31 2021-03-31 Data transmission method and device Active CN113287288B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/084798 WO2022205256A1 (en) 2021-03-31 2021-03-31 Data transmission method and apparatus

Publications (2)

Publication Number Publication Date
CN113287288A true CN113287288A (en) 2021-08-20
CN113287288B CN113287288B (en) 2022-09-16

Family

ID=77281359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202180001386.6A Active CN113287288B (en) 2021-03-31 2021-03-31 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN113287288B (en)
WO (1) WO2022205256A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550590A (en) * 2022-09-28 2022-12-30 珠海海奇半导体有限公司 DP conversion equipment, display system and DP conversion display method
CN117452873A (en) * 2023-12-26 2024-01-26 宁波和利时信息安全研究院有限公司 Communication method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101953159A (en) * 2008-01-25 2011-01-19 通用仪表公司 A media presentation device for converting media signals based on stored output settings
CN102084334A (en) * 2008-05-06 2011-06-01 集成装置技术公司 System having capability for daisy-chained serial distribution of video display data
CN103202091A (en) * 2010-09-15 2013-07-10 英特尔公司 Method and system of mapping displayport over a wireless interface
US20140307165A1 (en) * 2013-04-15 2014-10-16 Kabushiki Kaisha Toshiba Information processing apparatus and output control method
CN108924456A (en) * 2018-08-03 2018-11-30 中船重工(武汉)凌久电子有限责任公司 One kind can remote control multiplex roles ultra high-definition video distance transmission system
CN110213506A (en) * 2019-06-06 2019-09-06 深圳市智微智能科技开发有限公司 A kind of embedded main board realizes the circuit and method of double LVDS display outputs

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054469A (en) * 2009-11-04 2011-05-11 联想(北京)有限公司 Display and display method thereof
CN104125434B (en) * 2014-07-31 2017-12-22 深圳锐取信息技术股份有限公司 A kind of system of long range high definition transmission
TWI712942B (en) * 2018-06-01 2020-12-11 同星科技股份有限公司 Apparatus and method for switching and converting video signals

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101953159A (en) * 2008-01-25 2011-01-19 通用仪表公司 A media presentation device for converting media signals based on stored output settings
CN102084334A (en) * 2008-05-06 2011-06-01 集成装置技术公司 System having capability for daisy-chained serial distribution of video display data
CN103202091A (en) * 2010-09-15 2013-07-10 英特尔公司 Method and system of mapping displayport over a wireless interface
US20140307165A1 (en) * 2013-04-15 2014-10-16 Kabushiki Kaisha Toshiba Information processing apparatus and output control method
CN108924456A (en) * 2018-08-03 2018-11-30 中船重工(武汉)凌久电子有限责任公司 One kind can remote control multiplex roles ultra high-definition video distance transmission system
CN110213506A (en) * 2019-06-06 2019-09-06 深圳市智微智能科技开发有限公司 A kind of embedded main board realizes the circuit and method of double LVDS display outputs

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550590A (en) * 2022-09-28 2022-12-30 珠海海奇半导体有限公司 DP conversion equipment, display system and DP conversion display method
CN117452873A (en) * 2023-12-26 2024-01-26 宁波和利时信息安全研究院有限公司 Communication method, device, equipment and storage medium
CN117452873B (en) * 2023-12-26 2024-03-15 宁波和利时信息安全研究院有限公司 Communication method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113287288B (en) 2022-09-16
WO2022205256A1 (en) 2022-10-06

Similar Documents

Publication Publication Date Title
CN113287288B (en) Data transmission method and device
CN113287329B (en) Data transmission method and device
KR101630729B1 (en) Method and System for Providing Optimized Ethernet Communication for vehicle
US20180103108A1 (en) Method of transmitting and receiving data in vehicle network and apparatus for the same
CN103780697A (en) Common platform system of vehicle-mounted electronic processing unit and data communication method of common platform system
JP6271094B1 (en) Train communication system and on-vehicle equipment
KR20200136751A (en) Apparatus for communicating diagnosis of a vehicle, system having the same and method thereof
KR20140124255A (en) Gateway and Method for delivering Message thereof
CN103401996A (en) Car networking real-time data transmission system and method
CN108600018B (en) Train topology discovery method and device, train equipment and storage medium
US10389553B2 (en) Communication bridge between bus networks
US10715417B2 (en) Method for configuring stream communication path in network
CN114697388B (en) Data transmission method and device
WO2024078634A1 (en) Service management method, system and apparatus, and electronic device and storage medium
CN110834579A (en) Automobile headlamp control system, method, device, equipment and storage medium
CN113196720B (en) Data processing method, transmission equipment and data processing system
KR101601773B1 (en) addressing method for ethernet message in vehicle network
CN213342694U (en) Multimedia data transmission system based on vehicle-mounted WI-FI
KR100946486B1 (en) Network gateway for a vehicle
WO2023279363A1 (en) Information transmission method and apparatus
KR20160024180A (en) Method and apparatus for providing vehicle communication network
US20160173418A1 (en) Method and apparatus for transmitting can frame
WO2023045762A1 (en) Method for accessing service and communication apparatus
US11951917B2 (en) Onboard communication system, switching device, and control method
CN115442172B (en) Test message sending method, device, medium, equipment and test system

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