CN115878061A - Display signal transmission method and related device - Google Patents

Display signal transmission method and related device Download PDF

Info

Publication number
CN115878061A
CN115878061A CN202211569184.4A CN202211569184A CN115878061A CN 115878061 A CN115878061 A CN 115878061A CN 202211569184 A CN202211569184 A CN 202211569184A CN 115878061 A CN115878061 A CN 115878061A
Authority
CN
China
Prior art keywords
preset
image data
data
rule
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211569184.4A
Other languages
Chinese (zh)
Inventor
蒋思远
邱永恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dothinkey Technology Co ltd
Original Assignee
Shenzhen Dothinkey Technology 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 Shenzhen Dothinkey Technology Co ltd filed Critical Shenzhen Dothinkey Technology Co ltd
Priority to CN202211569184.4A priority Critical patent/CN115878061A/en
Publication of CN115878061A publication Critical patent/CN115878061A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The application discloses a display signal transmission method and a related device, comprising the following steps: the method comprises the steps that high-speed serial data from a preset Port is received and decoded, descrambling and packaging processing are carried out on the decoded data, the data are packaged through a mac protocol and transmitted to a host, display Port signals output by the host, a notebook or a camera Sensor can be received, image data can be transmitted to the host for relevant test application after being received and decoded, and the host end can flexibly process the transmitted Display Port image data according to requirements; it is also more flexible and efficient in terms of image processing applications and supported rates.

Description

Display signal transmission method and related device
Technical Field
The present disclosure relates to the field of display signals, and in particular, to a display signal transmission method and a related device.
Background
The existing scheme for receiving and applying the Display Port generally comprises the steps of receiving and processing an input Display Port signal through a decoding chip on a Display or other Display equipment after the Display Port signal is output by a Display card on a host (PC) or a notebook computer, or receiving and decoding the Display Port signal through some special chips of a high-end oscilloscope.
Therefore, how to realize the Display Port signal capable of receiving the output from the host, the notebook or the camera Sensor becomes a technical problem to be solved urgently.
Disclosure of Invention
In order to realize that a Display Port signal output by a host, a notebook or a camera Sensor can be received, the application provides a Display signal transmission method and a related device.
In a first aspect, the present application provides a display signal transmission method, which adopts the following technical scheme:
a display signal transmission method, comprising:
acquiring a high-speed serial signal from a target port and deserializing the high-speed serial signal to decode data with a preset encoding specification into original data;
descrambling the original data according to a preset descrambling algorithm;
packaging the descrambled current original data according to a preset rule to generate an image data packet;
acquiring an internal preset transmission rule, and packaging the image data packet according to the internal preset transmission rule to generate target data;
encapsulating the target data according to a mac protocol to generate a mac protocol encapsulation packet;
and sending the mac protocol encapsulation packet to a target image acquisition card to realize signal transmission of a target host.
Optionally, the step of obtaining a high-speed serial signal from a target port and deserializing the high-speed serial signal to decode data with a preset encoding specification into original data includes:
acquiring a high-speed serial signal from a target port, and acquiring data with 8B/10B codes in the high-speed serial signal;
and decoding the data with the 8B/10B coding into the uncoded original data according to the 8B/10B coding specification.
Optionally, before the step of acquiring the high-speed serial signal from the target port and acquiring the data with 8B/10B coding in the high-speed serial signal, the method further includes:
acquiring a transmission demand, and matching a receiving rate of the target port according to the transmission demand, wherein the receiving rate comprises: 1.62Gbps, 2.7Gbps, 4.4Gbps, 5.4Gbps, 6.0Gbps, 6.6Gbps, 8.1Gbps, 8.7Gbps, 9.0Gbps, 9.6Gbps, and 12Gbps.
Optionally, the step of descrambling the original data according to a preset descrambling algorithm includes:
judging whether the original data is scrambled;
if so, acquiring a descrambling algorithm corresponding to the target port, and descrambling the original data according to the descrambling algorithm;
and if not, performing the step of packaging the descrambled current original data according to a preset rule through a preset Bypass strategy to generate an image data packet.
Optionally, the step of packaging the descrambled current original data according to a preset rule to generate an image data packet includes:
acquiring a data transmission coding rule and a preset image data packet length corresponding to the target port;
and packing the original data according to the data transmission coding rule and the preset image data packet length to generate an image data packet.
Optionally, before the step of encapsulating the target data according to the mac protocol to generate a mac protocol encapsulation packet, the method further includes:
sending the image data packet to a target storage device for storage;
and when a calling instruction is received, sending a signal acquisition command to the target storage device to acquire the image data packet from the target storage device.
Optionally, the step of obtaining an internal preset transmission rule and encapsulating the image data packet according to the internal preset transmission rule to generate target data includes:
acquiring an internal preset transmission rule, wherein the internal preset transmission rule is a first-class rule and a second-class rule;
when the image data packet is detected to be cached, encapsulating the image data packet according to the class rule;
and when detecting that the image data packet does not need to be cached, encapsulating the image data packet according to the two types of rules.
In a second aspect, the present application provides a display signal transmission apparatus, comprising:
the signal acquisition module is used for acquiring a high-speed serial signal from a target port and deserializing the high-speed serial signal so as to decode data with a preset encoding specification into original data;
the data descrambling module is used for descrambling the original data according to a preset descrambling algorithm;
the data packaging module is used for packaging the descrambled current original data according to a preset rule to generate an image data packet;
the data encapsulation module is used for acquiring an internal preset transmission rule and encapsulating the image data packet according to the internal preset transmission rule to generate target data;
the Mac encapsulation module is used for encapsulating the target data according to a Mac protocol to generate a Mac protocol encapsulation packet;
and the host transmission module is used for sending the mac protocol encapsulation packet to a target image acquisition card so as to realize signal transmission of the target host.
In a third aspect, the present application provides a computer apparatus, the apparatus comprising: a memory, a processor that, when executing computer instructions stored by the memory, performs a method as recited in any of the preceding.
In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method as described above.
In summary, the present application includes the following advantageous technical effects:
the method and the device have the advantages that high-speed serial data from the preset Port are received and decoded, the decoded data are descrambled and packaged, the data are packaged through a mac protocol and transmitted to the host, the Display Port signal output by the host, a notebook or a camera Sensor can be received, the image data can be transmitted to the host for relevant test application after being received and decoded, and the host can flexibly process the transmitted Display Port image data according to requirements; it is also more flexible and efficient in terms of image processing applications and supported rates.
Drawings
FIG. 1 is a schematic diagram of a computer device architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a signal transmission method according to the present invention;
FIG. 3 is a prior art system diagram showing a first embodiment of a signal transmission method according to the present invention;
FIG. 4 is a system diagram illustrating a first embodiment of a signal transmission method according to the present invention;
FIG. 5 is a detailed flow chart of a first embodiment of a method for transmitting signals according to the present invention;
FIG. 6 is a flowchart illustrating a first embodiment of a signal transmission method according to the present invention;
fig. 7 is a block diagram showing the configuration of a first embodiment of the signal transmission apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a computer device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the computer device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 is not intended to be limiting of computer devices and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a display signal transmission program.
In the computer device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the computer apparatus of the present invention may be provided in a computer apparatus that calls the display signal transmission program stored in the memory 1005 through the processor 1001 and executes the display signal transmission method provided by the embodiment of the present invention.
Referring to fig. 2, fig. 2 is a schematic flow chart of a display signal transmission method according to a first embodiment of the present invention.
In this embodiment, the display signal transmission method includes the following steps:
step S10: and acquiring a high-speed serial signal from a target port and deserializing the high-speed serial signal to decode data with a preset encoding specification into original data.
It should be noted that serial communication is one of computer communication modes, and mainly plays a role in data transmission between a host and peripheral devices as well as between the host, and the serial communication has the characteristics of few transmission lines and low cost, and is mainly suitable for system communication work such as near-distance man-machine exchange, real-time monitoring and the like, and can also realize long-distance transmission by means of the existing telephone network, so that a serial communication interface is a common interface in a computer system.
It should be understood that the prior art scheme is described in fig. 3, and the Display Port receiving and applying scheme generally includes that after a Display card on a host or a notebook computer outputs a Display Port signal, a decoding chip on a Display or other Display devices receives and processes the input Display Port signal.
It should be noted that DisplayPort (DP) is a digital video interface standard developed by the alliance of PC and chip manufacturers and standardized by the Video Electronics Standards Association (VESA). The interface is free of authentication and authorization fund, is mainly used for connecting a video source and display equipment and also supports carrying audio, USB and other forms of data. This interface is designed to replace the conventional VGA, DVI and FPD-Link (LVDS) interfaces. The interface is backward compatible with legacy interfaces (e.g., HDMI and DVI) through active or passive adapters.
It can be understood that, the execution main body of this embodiment is defined as a test box FPGA Display Port RX, therefore, as shown in fig. 4, compared to the scheme in fig. 3, the scheme system may receive a Display Port signal output by a host, a notebook, or a camera Sensor through an FPGA of the test box, the test box may receive and decode the Display Port signal, the received image data is transmitted to a fiber gigabit network acquisition card at a host (PC) end through an optical fiber after passing through a QSFP optical module, and is finally applied to the host (PC) for processing, the scheme system may be compatible with receiving the Display Port signal output by a general host or a notebook, the Display Port signal output by the camera Sensor newly added in the field of image testing may also be received, the image data may be transmitted to the host (PC) for related testing application after being received and decoded, the host end may flexibly process the transmitted Display Port image data as needed, and Display the scheme may be more flexibly supported by the FPGA Display Port RX system in the highest Display receiving rate mode, and may support flexible processing of image data at the highest Display rate and the highest Gbps output rate of the image data, and support flexible processing system at the higher gbp/gbp-b-Port.
It is understood that a sensor (sensor) generally refers to a degummed temperature sensor, which is a detection device, and can sense information to be measured, and can convert the sensed information into an electrical signal or other information in a required form according to a certain rule, so as to meet the requirements of information transmission, processing, storage, display, recording, control, and the like. The method is the first link for realizing automatic detection and automatic control.
In a specific implementation, as shown in fig. 5, the whole process flow is: the Display Port signal output by a host, a notebook or a camera Sensor is sent to a test box FPGA, the test box FPGA receives and 8B/10B decodes high-speed serial data of the Display Port through SerDes, then descrambles and packs the received Lane data according to requirements, the decoded image data is buffered through a Buffer module after being packed, and then is transmitted to an optical fiber gigabit network acquisition card at a host (PC) end through an optical fiber gigabit network, and finally the optical fiber gigabit network card transmits the data to the host end through a PCIe bus interface for application processing.
It can be understood that, taking the execution subject test box FPGA in the present embodiment as an example, the processing flow of the entire method is the flow shown in fig. 6.
Further, in order to improve the processing effect on the serial signal, the step of acquiring the high-speed serial signal from the target port and deserializing the high-speed serial signal to decode the data with the preset encoding specification into the original data includes: acquiring a high-speed serial signal from a target port, and acquiring data with 8B/10B codes from the high-speed serial signal; the data with 8B/10B coding is decoded into uncoded original data according to the 8B/10B coding specification.
It should be noted that encoding is a process of converting information from one form or format to another form, and is also called code of computer programming language, which is called code for short. Characters, numbers or other objects are coded into numbers by a predetermined method, or information and data are converted into predetermined electric pulse signals. Codes are widely used in electronic computers, televisions, remote controls, communications, and the like. Encoding is the process by which information is converted from one form or format to another. Decoding is the inverse of encoding.
In specific implementation, an input Display Port high-speed serial signal is received and deserialized through a SerDes module of a test box FPGA, and meanwhile, input data with 8B/10B codes is decoded into uncoded original data according to an 8B/10B coding specification.
In a specific implementation, before the step of acquiring the high-speed serial signal from the target port and acquiring the data with 8B/10B coding in the high-speed serial signal, the method further includes: acquiring a transmission demand, and matching a receiving rate of a target port according to the transmission demand, wherein the receiving rate comprises: 1.62Gbps, 2.7Gbps, 4.4Gbps, 5.4Gbps, 6.0Gbps, 6.6Gbps, 8.1Gbps, 8.7Gbps, 9.0Gbps, 9.6Gbps, and 12Gbps.
Step S20: and descrambling the original data according to a preset descrambling algorithm.
Further, in order to increase the overall operating speed without interfering with the data, the descrambling the original data according to a preset descrambling algorithm includes: judging whether the original data are scrambled; if so, acquiring a descrambling algorithm corresponding to the target port, and descrambling the original data according to the descrambling algorithm; and if not, performing the step of packaging the descrambled current original data according to a preset rule through a preset Bypass strategy to generate an image data packet.
In specific implementation, the original Lane data of the Display Port decoded by 8B/10B descrambles the scrambled Lane data according to a descrambling algorithm defined in the Display Port specification, and if the original Lane data of the Display Port is not scrambled, descrambling treatment Bypass can be set to be removed, and the original data is directly output to a back-end application.
Step S30: and packaging the descrambled current original data according to a preset rule to generate an image data packet.
Further, in order to enable the data packet to run more smoothly in the execution main body of the embodiment, the step of grouping the descrambled current original data according to a preset rule to generate an image data packet includes: acquiring a data transmission coding rule corresponding to a target port and a preset image data packet length; and packing the original data according to the data transmission coding rule and the preset image data packet length to generate an image data packet.
It should be noted that the module is configured to package the received and descrambled Lane data according to a Lane data transmission encoding rule in the Display Port specification and a set image data packet length, and combine the corresponding Lane data into an image data packet, and the module may support data packages in the case of 1Lane, 2Lane, 3Lane, and 4 Lane.
Step S40: and acquiring an internal preset transmission rule, and packaging the image data packet according to the internal preset transmission rule to generate target data.
In specific implementation, in order to facilitate the internal cache transmission in the test box, the packaged image data needs to be packaged according to the internally defined data transmission rule, so that the Buffer module can perform cache transmission on the image data conveniently.
Step S50: and encapsulating the target data according to the mac protocol to generate a mac protocol encapsulation packet.
It can be understood that the image data cache control unit also includes read-write control over a DDR memory unit on the test box, writes the packaged data packet into the DDR for caching, and simultaneously reads out the data packet cached in the DDR and sends the data packet to the back-end MAC module, so as to transmit the data packet to the host end through the fiber gigabit network.
Further, in order to achieve the calling effect of the image through the storage device, before the step of encapsulating the target data according to the mac protocol to generate a mac protocol encapsulation packet, the method further includes: sending the image data packet to a target storage device for storage; and when receiving the calling instruction, sending a signal acquisition command to the target storage device to acquire the image data packet from the target storage device.
It should be noted that the image data cache control unit also includes read-write control over a DDR memory unit on the test box, writes the packaged data packet into the DDR for caching, and simultaneously reads out the data packet cached in the DDR and sends the data packet to the back-end MAC module, so as to transmit the data packet to the host end through the fiber gigabit network.
It can be understood that, the MAC packet received by the 10G Ethernet optical module is received and selected, and after being processed, the MAC packet is sent to the control command module for the MCU to execute, so as to implement communication control between the test box and the host, and meanwhile, the image data buffered by the Buffer is sent to the dedicated image acquisition card for reception through the 10G Ethernet optical module after being packaged according to the MAC protocol.
In a specific implementation, the step of obtaining an internal preset transmission rule and encapsulating the image data packet according to the internal preset transmission rule to generate target data includes: acquiring an internal preset transmission rule, wherein the internal preset transmission rule is a first-class rule and a second-class rule; when the image data packet is detected to be cached, encapsulating the image data packet according to a type of rule; and when detecting that the image data packet does not need to be cached, encapsulating the image data packet according to a second class rule.
It should be noted that the first rule and the second rule in this embodiment are only used to distinguish the two rules, and there is no sequential order. One type of rule is that in order to facilitate the internal cache transmission in the test box, packaged image data needs to be packaged according to an internally defined data transmission rule, so that a Buffer module can perform cache transmission on the image data conveniently; the second type of rule is a rule for encapsulating image data when the image data is directly processed in the next process without buffering.
Step S60: and sending the mac protocol encapsulation packet to a target image acquisition card to realize signal transmission of the target host.
It should be noted that, in this embodiment, special processing is performed on special low power consumption mode reception of the Display Port signal of the camera module, and the SerDes is controlled to switch between different stages of low power consumption and normal transmission, so that the SerDes can stably receive the Display Port signal in the low power consumption mode.
It can be understood that, the control unit is responsible for controlling the operation of the whole image test box FPGA, receiving the control command sent by the application end through the optical fiber transmission, and providing the relevant operating state in the test box for the host application end to read.
In specific implementation, the test box control command transceiver module forwards the control command analyzed by the MAC to the MCU, and feeds back the working state information of the test box collected by the MCU to the host application terminal, thereby implementing communication control between the test box and the host.
It should be noted that, the 10G Ethernet module controls to convert the data of the MAC packet into high-speed serial data and send the high-speed serial data through the optical module, and meanwhile deserializes the high-speed serial data received by the QSFP optical module to form a MAC packet, which is sent to the MAC module for analysis.
It can be understood that the test box is connected to the host end optical fiber gigabit network acquisition card through the QSFP optical module by optical fibers to realize data transmission and command communication control with the host end, and the highest data transmission between the test box and the host end through the QSFP optical module can reach 40Gbps bandwidth.
In specific implementation, the same effect can be achieved by other modes, for example, the FPGA can use different special chips or chips such as a single chip microcomputer and a DSP to respectively implement the functions of each sub-module; or QSFP optical fiber gigabit network transmission can be replaced by USB, gigabit network, thunder transmission, PCIe direct input and the like to achieve the same data transmission and communication control effects; in the interface aspect, the optical fiber port may be replaced by an interface provided in a host computer (PC) such as a USB port, a network port, a lightning port, or a PCIe jack.
In the embodiment, by receiving high-speed serial data from a preset Port, decoding the data, descrambling and packaging the decoded data, and encapsulating the data through a mac protocol and transmitting the encapsulated data to a host, display Port signals output by the host, a notebook or a camera Sensor can be received, image data can be transmitted to the host after being received and decoded for relevant test application, and the host can flexibly process the transmitted Display Port image data according to requirements; it is also more flexible and efficient in terms of image processing applications and supported rates.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a program for display signal transmission is stored, and when the program for display signal transmission is executed by a processor, the steps of the method for display signal transmission are implemented as described above.
Referring to fig. 7, fig. 7 is a block diagram illustrating a first embodiment of a signal transmission apparatus according to the present invention.
As shown in fig. 7, the display signal transmission apparatus according to the embodiment of the present invention includes:
a signal obtaining module 10, configured to obtain a high-speed serial signal from a target port and deserialize the high-speed serial signal to decode data with a preset encoding specification into original data;
a data descrambling module 20, configured to descramble the original data according to a preset descrambling algorithm;
the data packaging module 30 is configured to package the descrambled current original data according to a preset rule to generate an image data packet;
the data encapsulation module 40 is configured to obtain an internal preset transmission rule, and encapsulate the image data packet according to the internal preset transmission rule to generate target data;
a Mac encapsulation module 50, configured to encapsulate the target data according to a Mac protocol to generate a Mac protocol encapsulation packet;
and the host transmission module 60 is configured to send the mac protocol encapsulation packet to the target image acquisition card to implement signal transmission to the target host.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
In the embodiment, by receiving high-speed serial data from a preset Port, decoding the data, descrambling and packaging the decoded data, and encapsulating the data through a mac protocol and transmitting the encapsulated data to a host, display Port signals output by the host, a notebook or a camera Sensor can be received, image data can be transmitted to the host after being received and decoded for relevant test application, and the host can flexibly process the transmitted Display Port image data according to requirements; it is also more flexible and efficient in terms of image processing applications and supported rates.
In an embodiment, the signal obtaining module 10 is further configured to obtain a high-speed serial signal from a target port, and obtain data with 8B/10B coding in the high-speed serial signal; and decoding the data with the 8B/10B coding into the uncoded original data according to the 8B/10B coding specification.
In an embodiment, the signal obtaining module 10 is further configured to obtain a transmission requirement, and match a receiving rate of the target port according to the transmission requirement, where the receiving rate includes: 1.62Gbps, 2.7Gbps, 4.4Gbps, 5.4Gbps, 6.0Gbps, 6.6Gbps, 8.1Gbps, 8.7Gbps, 9.0Gbps, 9.6Gbps, and 12Gbps.
In an embodiment, the data descrambling module 20 is further configured to determine whether the original data is scrambled; if so, acquiring a descrambling algorithm corresponding to the target port, and descrambling the original data according to the descrambling algorithm; and if not, performing the step of packaging the descrambled current original data according to a preset rule through a preset Bypass strategy to generate an image data packet.
In an embodiment, the data packet packaging module 30 is further configured to obtain a data transmission encoding rule and a preset image packet length corresponding to the target port; and packing the original data according to the data transmission coding rule and the preset image data packet length to generate an image data packet.
In an embodiment, the Mac encapsulation module 50 is further configured to send the image data packet to a target storage device for storage; and when a calling instruction is received, sending a signal acquisition command to the target storage device to acquire the image data packet from the target storage device.
In an embodiment, the Mac encapsulation module 50 is further configured to obtain an internal preset transmission rule, where the internal preset transmission rule is a first-class rule and a second-class rule; when the image data packet is detected to be cached, encapsulating the image data packet according to the class rule; and when detecting that the image data packet does not need to be cached, encapsulating the image data packet according to the two types of rules.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the method for transmitting a display signal provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (10)

1. A display signal transmission method, comprising:
acquiring a high-speed serial signal from a target port and deserializing the high-speed serial signal to decode data with a preset encoding specification into original data;
descrambling the original data according to a preset descrambling algorithm;
packaging the descrambled current original data according to a preset rule to generate an image data packet;
acquiring an internal preset transmission rule, and packaging the image data packet according to the internal preset transmission rule to generate target data;
encapsulating the target data according to a mac protocol to generate a mac protocol encapsulation packet;
and sending the mac protocol encapsulation packet to a target image acquisition card to realize signal transmission of a target host.
2. The method according to claim 1, wherein the step of obtaining the high-speed serial signal from the target port and deserializing the high-speed serial signal to decode the data with the preset encoding specification into the original data comprises:
acquiring a high-speed serial signal from a target port, and acquiring data with 8B/10B codes in the high-speed serial signal;
and decoding the data with the 8B/10B coding into the uncoded original data according to the 8B/10B coding specification.
3. The method according to claim 2, wherein the step of obtaining the high-speed serial signal from the target port and obtaining the data with 8B/10B encoding in the high-speed serial signal is preceded by the step of:
acquiring a transmission demand, and matching a receiving rate of the target port according to the transmission demand, wherein the receiving rate comprises: 1.62Gbps, 2.7Gbps, 4.4Gbps, 5.4Gbps, 6.0Gbps, 6.6Gbps, 8.1Gbps, 8.7Gbps, 9.0Gbps, 9.6Gbps, and 12Gbps.
4. The method for transmitting display signals according to claim 1, wherein the step of descrambling the original data according to a preset descrambling algorithm comprises:
judging whether the original data is scrambled;
if so, acquiring a descrambling algorithm corresponding to the target port, and descrambling the original data according to the descrambling algorithm;
and if not, performing the step of packaging the descrambled current original data according to a preset rule through a preset Bypass strategy to generate an image data packet.
5. The display signal transmission method according to claim 1, wherein the step of packaging the descrambled current original data according to a preset rule to generate an image data packet comprises:
acquiring a data transmission coding rule corresponding to the target port and a preset image data packet length;
and packing the original data according to the data transmission coding rule and the preset image data packet length to generate an image data packet.
6. The method according to claim 1, wherein before the step of encapsulating the target data according to the mac protocol to generate the mac protocol encapsulation packet, the method further comprises:
sending the image data packet to a target storage device for storage;
and when a calling instruction is received, sending a signal acquisition command to the target storage device to acquire the image data packet from the target storage device.
7. The method according to claim 6, wherein the step of obtaining an internal preset transmission rule and encapsulating the image data packet according to the internal preset transmission rule to generate target data comprises:
acquiring an internal preset transmission rule, wherein the internal preset transmission rule is a first-class rule and a second-class rule;
when the image data packet is detected to be cached, packaging the image data packet according to the class rule;
and when detecting that the image data packet does not need to be cached, encapsulating the image data packet according to the two types of rules.
8. A display signal transmission apparatus, characterized by comprising:
the signal acquisition module is used for acquiring a high-speed serial signal from a target port and deserializing the high-speed serial signal so as to decode data with a preset encoding specification into original data;
the data descrambling module is used for descrambling the original data according to a preset descrambling algorithm;
the data packing module is used for packing the descrambled current original data according to a preset rule to generate an image data packet;
the data encapsulation module is used for acquiring an internal preset transmission rule and encapsulating the image data packet according to the internal preset transmission rule to generate target data;
the Mac encapsulation module is used for encapsulating the target data according to a Mac protocol to generate a Mac protocol encapsulation packet;
and the host transmission module is used for sending the mac protocol encapsulation packet to a target image acquisition card so as to realize signal transmission of the target host.
9. A computer device, the device comprising: a memory, a processor that, when executing computer instructions stored by the memory, performs the method of any of claims 1-7.
10. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1 to 7.
CN202211569184.4A 2022-12-08 2022-12-08 Display signal transmission method and related device Pending CN115878061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211569184.4A CN115878061A (en) 2022-12-08 2022-12-08 Display signal transmission method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211569184.4A CN115878061A (en) 2022-12-08 2022-12-08 Display signal transmission method and related device

Publications (1)

Publication Number Publication Date
CN115878061A true CN115878061A (en) 2023-03-31

Family

ID=85766504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211569184.4A Pending CN115878061A (en) 2022-12-08 2022-12-08 Display signal transmission method and related device

Country Status (1)

Country Link
CN (1) CN115878061A (en)

Similar Documents

Publication Publication Date Title
US20170148416A1 (en) Method and apparatus for electronic device communication
CN103841316A (en) Data processing apparatus and related data processing method
CN102402413A (en) Electronic system communicating with image sensor, controller and controlling method
WO2020233722A1 (en) Wireless screen projection transfer device and wireless screen projection system
US20140132835A1 (en) Electronic device with thunderbolt interface, connecting method thereof, and docking apparatus
US20210345009A1 (en) Method and device, equipment, and storage medium for data processing
CN113301313A (en) Image data processing and transmitting method and system
US9558718B2 (en) Streaming video data in the graphics domain
CN101729662B (en) Mobile terminal system, external device, mobile terminal and input/output method thereof
CN214125409U (en) Mainboard compatible circuit applied to display screen, mainboard compatible device and display
CN115878061A (en) Display signal transmission method and related device
CN112261469A (en) Method, system and equipment for sending and receiving control instruction in long-distance transmission scene
CN110460795B (en) Sharing device and sharing method for combined television MIPI camera
CN111641823A (en) MIPI interface-based image algorithm verification system
US6647100B1 (en) Universal Serial Bus datapump command interpreter
CN113282532B (en) Communication device, communication method of communication device and electronic equipment
CN108462679B (en) Data transmission method and device
CN113051212B (en) Graphics processor, data transmission method, data transmission device, electronic equipment and storage medium
US20230021901A1 (en) Lossless ar video capture and transmission method, apparatus and system
CN106844273B (en) Method and device for accessing DP auxiliary channel
CN212112568U (en) Hardware algorithm verification system based on MIPI (Mobile industry processor interface)
CN108271059B (en) Method for displaying television signal
CN113438474A (en) Camera module testing device and control method thereof
CN106851134B (en) Method, device and system for transmitting image data
CN206060954U (en) Video frequency collection card

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