Video signal transmission method, device and equipment based on single transmission line

By determining the target video port in the video signal transmission system and generating a suitable transmission signal, the transmission conflict and efficiency problems of multiple video port signals passing through a single transmission line are solved, and efficient and stable video signal transmission and recovery are achieved.

CN120050478APending Publication Date: 2025-05-27SHENZHEN LIDING PHOTOELECTRIC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510267568.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In modern video transmission and processing systems, due to the number of pins connected to the backplane, a single input board is generally assigned only a single general input and output pin to transmit signals from multiple video ports, resulting in huge challenges in video signal transmission. If existing solutions choose one-way transmission or encoding transmission, there is a problem that the signal cannot be displayed normally or the transmission time is deviated.

Method used

The target video port is determined through the sending end, a transmission signal is generated, and the signal is sent to the receiving end based on a single transmission line. The receiver samples the transmission line according to the specified period and determines the signal transmission interval of each video port to achieve the recovery of the video signal.

Benefits of technology

Effectively utilize a single transmission line resource to avoid conflicts caused by the simultaneous transmission of multiple signals, improve transmission efficiency, accurately restore video signals, and enhance system stability and adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050478A_ABST
    Figure CN120050478A_ABST
Patent Text Reader

Abstract

The invention discloses a video signal transmission method, device and equipment based on a single transmission line. Comprising the following steps: determining a target video port of a to-be-transmitted video signal from each video port through a sending end when the arrival of the video signal is determined; a transmitting end generates a transmission signal according to a target video port, and transmits the transmission signal to a receiving end based on a transmission line; and sampling the transmission line according to a specified period through a receiving end, and determining a signal transmission interval of each video port according to each sampled transmission signal so as to perform video signal recovery on each video port. According to the invention, the target video port is determined through the sending end, and the appropriate video port can be selected from the video signals for transmission, thereby avoiding conflicts caused by simultaneous transmission of a plurality of signals, and effectively utilizing the resource of a single transmission line. The key information is integrated through the sending end and is adapted to a single transmission line after being coded, so that the transmission efficiency is improved. The transmission interval is determined through sampling of the receiving end, the video signal can be accurately recovered, and the stability and adaptability of the system are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data transmission, and in particular, to a method, device, and equipment for transmitting video signals based on a single transmission line. Background Art

[0002] In modern video transmission and processing systems, the U-series input board, as an important video signal access device, plays a key role. To achieve the synchronization function of the system and ensure that each video signal can be stably and correctly displayed on the display device, it is necessary to transmit the vertical synchronization signal of the video interface to the control board. However, limited by the number of pins connected to the backplane, generally only a single general-purpose input / output pin is allocated to an input board to transmit the signals of multiple video ports, which poses a huge challenge to the transmission of video signals.

[0003] Currently, there are two main solutions to this problem. The first method is to select one path from multiple video ports for transmission. The second method is to encode the signals of multiple video ports first and then transmit them. Through encoding, multiple signals can be integrated and transmitted in limited transmission resources.

[0004] However, the first solution of selecting one path for transmission will cause the signals of other video sources on a board to not be displayed on the screen, resulting in the inability to normally display the video signals corresponding to these video sources, greatly limiting the video access ability and functional integrity of the system and unable to meet the requirement of synchronous display of multiple video sources. In the second solution of encoding and transmitting, since the signals arriving simultaneously cannot be transmitted in time, the signal transmission time deviates from the signal arrival time. At this time, it is necessary to record the time offset and recover the signal at the receiving end according to the offset. The encoding method is relatively complex at both the sending and receiving ends and has high requirements for the performance of hardware devices. Summary of the Invention

[0005] The present invention provides a method, device, and equipment for transmitting video signals based on a single transmission line to transmit the video signals of multiple video ports through a single transmission line.

[0006] According to one aspect of the present invention, there is provided a method for transmitting video signals based on a single transmission line, the method including:

[0007] When it is determined by the sending end that a video signal arrives, determining a target video port of the video signal to be transmitted from each video port;

[0008] Generating a transmission signal by the sending end according to the target video port and sending the transmission signal to the receiving end based on the transmission line;

[0009] Sampling the transmission line by the receiving end at a specified period and determining the signal transmission interval of each video port according to the sampled transmission signals to recover the video signals of each video port.

[0010] Optionally, determining a target video port for the video signal to be transmitted from each video port includes: determining whether the number of video signals is one; if so, directly using the video port corresponding to the video signal as the target video port; otherwise, determining each first video port of the currently arriving video signal, determining the first priority corresponding to each first video port, and using the video port with the highest first priority as the target video port.

[0011] Optionally, after determining the target video port for the video signal to be transmitted from each video port, the method further includes: reducing the target priority corresponding to the target video port to the lowest.

[0012] Optionally, after using the video port with the highest first priority as the target video port, the method further includes: using each of the other first video ports except the target video port as a priority video port, determining the second priority and the second counter value corresponding to each priority video port; increasing the second priority by one level and incrementing the second counter value.

[0013] Optionally, generating a transmission signal by the sending end according to the target video port includes: obtaining the target video signal arriving at the target video port, and determining the target port identifier and the target counter value corresponding to the target video port; encoding the target video signal, the target port identifier, and the target counter value to generate a transmission signal.

[0014] Optionally, determining the signal transmission interval of each video port according to the sampled transmission signals includes: respectively using each video port as the video port to be counted, and determining the signal interval of the video port to be counted; determining the third counter value corresponding to the video port to be counted from each transmission signal according to the first port identifier of the video port to be counted; when the third counter value is not 0, determining the average interval between two adjacent video signals according to the third counter value and the signal interval, and using the average interval as the signal transmission interval of the video port to be counted.

[0015] Optionally, the method further includes: when the third counter value is 0, suspending the restoration of the video signal of the video port to be counted until the next transmission signal of the video port to be counted arrives.

[0016] According to another aspect of the present invention, there is provided a video signal transmission device based on a single transmission line, the device includes:

[0017] A target video port determination module, configured to, by the sending end, when determining that a video signal arrives, determine a target video port for the video signal to be transmitted from each video port;

[0018] A video signal transmission module, configured to generate a transmission signal by the sending end according to the target video port, and send the transmission signal to the receiving end based on the transmission line;

[0019] A video signal recovery module is configured to sample a transmission line by a receiving end at a specified period, and determine the signal transmission intervals of each video port according to the sampled transmission signals, so as to recover the video signals of each video port.

[0020] According to another aspect of the present invention, there is provided an electronic device, which includes:

[0021] At least one processor;

[0022] And a memory communicatively connected to the at least one processor;

[0023] Wherein, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute a method for transmitting video signals based on a single transmission line according to any embodiment of the present invention.

[0024] According to another aspect of the present invention, there is provided a computer-readable storage medium, which stores computer instructions for implementing a method for transmitting video signals based on a single transmission line according to any embodiment of the present invention when the computer instructions are executed by a processor.

[0025] The technical solution of the embodiment of the present invention can determine a target video port by a sending end, select a suitable one from video signals for transmission, avoid conflicts caused by simultaneous transmission of multiple signals, and effectively utilize the resources of a single transmission line. By integrating key information by the sending end and encoding it to adapt to a single transmission line, the transmission efficiency is improved. By sampling by the receiving end to determine the transmission interval, the video signals can be accurately recovered, enhancing the system stability and adaptability.

[0026] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings based on these drawings without creative efforts.

[0028] Figure 1 is a flowchart of a method for transmitting video signals based on a single transmission line according to Embodiment 1 of the present invention;

[0029] Figure 2 It is a flowchart of another video signal transmission method based on a single transmission line provided in Embodiment 2 of the present invention;

[0030] Figure 3 It is a schematic structural diagram of a video signal transmission device based on a single transmission line provided in Embodiment 3 of the present invention;

[0031] Figure 4 It is a schematic structural diagram of an electronic device for implementing the video signal transmission method based on a single transmission line in an embodiment of the present invention. Detailed implementation manners

[0032] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily need to be limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0034] Embodiment 1

[0035] Figure 1 A flowchart of a video signal transmission method based on a single transmission line is provided for Embodiment 1 of the present invention. This embodiment is applicable to the case of transmitting multiple video signals through a single transmission line. This method can be executed by a video signal transmission device based on a single transmission line. The video signal transmission device based on a single transmission line can be implemented in the form of hardware and / or software, and the video signal transmission device based on a single transmission line can be configured in a computer controller. As Figure 1 shown, the method includes:

[0036] S110. Through the sending end, when it is determined that a video signal arrives, determine the target video port of the video signal to be transmitted from each video port.

[0037] Among them, the sending end is the part responsible for processing and sending video signals. It can receive video signals from multiple video ports. After detecting the arrival of a video signal, it selects the target video port to be transmitted from each video port according to specific rules. The video signal refers to the Vertical Synchronization (VSYNC). A video port is a physical interface for video signal input and output, including High-Definition Multimedia Interface (HDMI), DisplayPort interface, and Serial Digital Interface (SDI). HDMI can transmit high-definition video and multi-channel audio signals simultaneously and is widely used in devices such as TVs, computer monitors, and projectors. The DisplayPort interface is used for connecting a computer graphics card to a monitor, supporting high resolution and high refresh rate, and is suitable for professional graphics display scenarios. The SDI port is applied in the field of radio and television for transmitting high-quality digital video signals.

[0038] Optionally, determining the target video port for the video signal to be transmitted from each video port includes: determining whether the number of video signals is one. If so, directly use the video port corresponding to the video signal as the target video port; otherwise, determine each first video port where the current arriving video signal is located, and determine the first priority corresponding to each first video port, and use the video port with the highest first priority as the target video port.

[0039] It should be noted that the sending end will preset a set of priority management mechanisms for each video port. In the initial state, the priorities of all video ports are the same. As the signal transmission process progresses, the priority of each video port will change dynamically according to its signal transmission situation. The sending end will also add a counter to each video port to count the number of times VSYNC is not transmitted, that is, the number of times the VSYNC signal of this video port is not transmitted.

[0040] Specifically, the sending end will determine whether the number of arriving video signals is one or more. When the number of video signals is one, it means that there is only one video port with signal input. At this time, the sending end can directly determine the video port corresponding to this video signal as the target video port. When the sending end detects that multiple video signals arrive simultaneously, the video ports where the current video signals arrive will be defined as the first video ports, and the first priority corresponding to each first video port will be determined. Finally, the sending end will determine the video port with the highest first priority as the target video port. Determining the target video port through the number of video signals and the priority can ensure that when multiple video port signals arrive simultaneously, the signals of each video port have the opportunity to be transmitted, and at the same time, it also ensures the fairness and efficiency of the transmission process.

[0041] Optionally, after determining the target video port for the video signal to be transmitted from each video port, the method further includes: lowering the target priority corresponding to the target video port to the lowest level.

[0042] Specifically, after determining the target video port and completing the signal transmission, the sender immediately lowers the priority of the target video port to the lowest level. In the current transmission system, each video port has the opportunity to transmit its own VSYNC signal to achieve the synchronization function of the system. If the priority of the transmitted target video port is not lowered, some video ports may continuously obtain the transmission opportunity due to their consistently higher priority, resulting in the VSYNC signals of other video ports not being transmitted for a long time and unable to meet the synchronization requirements of the system. Therefore, the priority adjustment mechanism can prevent one or several video ports from monopolizing the transmission resources. If a certain video port always occupies a high priority, once a failure or signal anomaly occurs in this video port, it may affect the synchronization function of the entire system. By dynamically adjusting the priority, even if a certain video port has a problem temporarily, other video ports can still transmit signals normally, ensuring the stability of the system.

[0043] Optionally, after using the video port with the highest first priority as the target video port, the method further includes: using the other first video ports except the target video port as priority video ports, and determining the second priority and the second counter value for each priority video port; increasing the second priority by one level and incrementing the second counter value.

[0044] Specifically, after selecting the video port with the highest first priority as the target video port and completing the signal transmission, the sender uses the remaining video ports with video signals arriving currently as priority video ports. For example, there are three video ports A, B, and C on the U-series input board. At a certain moment, their VSYNC signals arrive simultaneously. After comparison, the first priority of video port A is the highest and it is determined as the target video port. At this time, video ports B and C will be regarded as priority video ports, and their relevant parameters will be adjusted subsequently. The second priority refers to the priority corresponding to the priority video port in the current transmission round. The second counter value refers to the count of untransmitted VSYNC for the priority video port. For example, both video ports B and C have their current second priorities and second counter values, which are determined based on the previous transmission situation. If video port B has obtained the transmission opportunity multiple times in the previous transmission process, its second priority may be relatively low and the second counter value may be small. If video port C has never obtained the transmission opportunity, then its second priority is relatively high and the second counter value is large.

[0045] It can be known that, in order to ensure the fairness of the system and give each video port an equal opportunity to transmit the VSYNC signal, the system will adjust the second priority and the second counter value of these priority video ports. The specific operation is to raise the second priority by one level and increment the second counter value at the same time. That is, for those video ports that are not selected in this transmission, their priorities in the next transmission competition will be improved, and their untransmitted counts will also increase to reflect their unsuccessful transmission situations. For example, the sender can raise the second priority of both video ports B and C by one level and increment the second counter values of both video ports B and C by 1 to record this untransmitted situation. Through the dynamic adjustment mechanism, the system can efficiently and stably achieve the single-line transmission of VSYNC signals of multiple video ports in a complex video signal transmission environment.

[0046] S120. The sender generates a transmission signal according to the target video port and sends the transmission signal to the receiver based on the transmission line.

[0047] Among them, the transmission signal refers to the signal generated by the sender according to the target video port for transmission on a single transmission line. The single transmission line refers to the General-Purpose Input / Output (GPIO).

[0048] Specifically, the sender will encode the relevant information of the target video port. The relevant information can include the video signal itself, the video port number, the VSYNC untransmitted count, etc., generate a signal suitable for transmission on a single transmission line, and send it out. For example, in the scenario of the U series input board, the module on the input board that processes the video signal acts as the sender and is responsible for processing signals from multiple video interfaces such as HDMI, DP, or SDI.

[0049] Optionally, generating a transmission signal by the sender according to the target video port includes: obtaining the target video signal arriving at the target video port and determining the target port identifier and the target counter value corresponding to the target video port; encoding the target video signal, the target port identifier, and the target counter value to generate a transmission signal.

[0050] Among them, the target port identifier is the information used to uniquely identify the target video port. The target counter value reflects the number of times the VSYNC signal of the target video port has not been transmitted in the previous transmission process. If this value is relatively large, it means that the VSYNC signal of this video port has not had a transmission opportunity for a long time and has a strong transmission demand.

[0051] Specifically, the sending end encodes the target video signal, the target port identifier, and the target counter value to generate a signal suitable for transmission on a single transmission line. Since the transmission capacity of a single transmission line is limited, the sending end needs to integrate these different types of information and transmit it in an efficient manner. The encoding process is to combine and transform the target video signal, the target port identifier, and the target counter value according to certain rules to form a unified transmission signal.

[0052] S130. The receiving end samples the transmission line at a specified period and determines the signal transmission interval of each video port based on the sampled transmission signals to recover the video signals of each video port.

[0053] Among them, the receiving end is located at the end of the transmission link, responsible for receiving the signals on the transmission line and processing and recovering them. Sampling refers to the operation of the receiving end to take values of the signals on the transmission line at a preset specified period. By continuously sampling, the receiving end can obtain the state information of the transmission signals at different times, so as to collect the complete content of the transmission signals. The signal transmission interval refers to the time interval between two adjacent transmissions of the video signals of the same video port from the sending end.

[0054] Specifically, the receiving end can sample the transmission line at a specified period, obtain the information in the transmission signals, and determine the signal transmission interval of each video port by analyzing the information in the transmission signals. Furthermore, the video signals of each video port can be recovered so that they can be normally displayed on the display device. For example, on the control board, the module that receives and processes the signals from the transmission line is the receiving end, which is responsible for restoring the received signals into usable video signals.

[0055] The technical solution of the embodiment of the present invention can select appropriate video signals for transmission by determining the target video port at the sending end, avoiding conflicts caused by simultaneous transmission of multiple signals, and effectively utilizing the resources of a single transmission line. By integrating key information at the sending end and adapting to a single transmission line after encoding, the transmission efficiency is improved. By sampling at the receiving end to determine the transmission interval, the video signals can be accurately recovered, enhancing the stability and adaptability of the system.

[0056] Embodiment 2

[0057] Figure 2 FIG. is a flowchart of a video signal transmission method based on a single transmission line provided by Embodiment 2 of the present invention. In this embodiment, the specific process of determining the signal transmission interval of each video port according to the sampled transmission signals is added on the basis of Embodiment 1 above. Among them, the specific contents of steps S210-S220 are substantially the same as those of steps S110-S120 in Embodiment 1, so they will not be described in detail in this embodiment. As Figure 2 shown, the method includes:

[0058] S210. Through the sending end, when it is determined that the video signal arrives, determine the target video port for the video signal to be transmitted from each video port.

[0059] Optionally, determining the target video port for the video signal to be transmitted from each video port includes: judging whether the number of video signals is one. If so, directly use the video port corresponding to the video signal as the target video port; otherwise, determine each first video port of the currently arriving video signal, and determine the first priority corresponding to each first video port, and use the video port with the highest first priority as the target video port.

[0060] Optionally, after determining the target video port for the video signal to be transmitted from each video port, the method further includes: lowering the target priority corresponding to the target video port to the lowest.

[0061] Optionally, after using the video port with the highest first priority as the target video port, the method further includes: using each of the other first video ports except the target video port as a priority video port, and determining the second priority and the second counter value corresponding to each priority video port; raising the second priority by one level and incrementing the second counter value.

[0062] S220. Through the sending end, generate a transmission signal according to the target video port and send the transmission signal to the receiving end based on the transmission line.

[0063] Optionally, generating a transmission signal according to the target video port by the sending end includes: obtaining the target video signal arriving at the target video port, and determining the target port identifier and the target counter value corresponding to the target video port; encoding the target video signal, the target port identifier and the target counter value to generate a transmission signal.

[0064] S230. Through the receiving end, sample the transmission line at a specified period.

[0065] S240. Respectively use each video port as the video port to be counted, and determine the signal interval of the video port to be counted.

[0066] Specifically, after sampling the transmission line, the receiving end will receive a transmission signal containing information of multiple video ports. The receiving end will separately analyze each video port as the video port to be counted. The signal interval refers to the time difference between two adjacent VSYNC signals of the video port to be counted. The receiving end can obtain the signal interval of the video port by recording the timestamps of receiving the VSYNC signal of this video port each time and calculating the difference between adjacent timestamps. For example, for video port A, if the receiving end receives its VSYNC signal at time points t1 and t2 respectively, then the signal interval is t2 - t1; if the VSYNC signal of this video port is received at time point t3 later, then the next signal interval is t3 - t2. Through multiple recordings and calculations, the receiving end can obtain multiple signal interval data of this video port.

[0067] S250. Determine the third counter value corresponding to the video port to be counted from each transmission signal according to the first port identifier of the video port to be counted.

[0068] Specifically, the receiving end can screen out the transmission signals related to the video port to be counted from the sampled transmission signals according to the first port identifier of the video port to be counted, and extract the corresponding third counter value therefrom. For example, assume that the first port identifier of video port B is "02". The receiving end searches for all signals with the identifier "02" in the sampled transmission signals, and obtains the third counter value corresponding to each transmission of this video port therefrom. The third counter value reflects the number of times that the VSYNC signal of this video port has not been transmitted before this transmission.

[0069] S260. When the third counter value is not 0, determine the average interval between two adjacent video signals according to the third counter value and the signal interval, and use the average interval as the signal transmission interval of the video port to be counted.

[0070] Specifically, when the third counter value is not 0, it means that there are VSYNC signals of this video port that have not been transmitted before. At this time, the receiving end needs to combine the third counter value and the signal interval to determine the average interval between two adjacent video signals.

[0071] The specific calculation method is to add up all the signal intervals recorded during the period when the third counter value of this video port is not 0, and then divide by the third counter value plus 1. The result obtained is the average interval between two adjacent video signals. The receiving end can use the signal transmission interval as the basis for locally generating the VSYNC signal corresponding to the video port, and generate the VSYNC signal according to this interval, so as to accurately recover the video signal of this video port.

[0072] Optionally, the method further includes: when the third counter value is 0, pause the recovery of the video signal of the video port to be counted until the next transmission signal of the video port to be counted arrives.

[0073] Specifically, if the value of the third counter is 0, it indicates that the first VSYNC packet, i.e., the reset packet, is received. The function of the reset packet is to initialize the relevant parameters and states for video signal recovery. However, directly recovering the video signal based on it at this time is not accurate. Because during the transmission of the video signal, the starting part of the signal may be unstable, and there is insufficient information to accurately calculate key parameters such as the signal transmission interval at this time. Therefore, when the value of the third counter is 0, the receiving end will pause the video signal recovery operation of the video port to be counted and wait for the next transmission signal of this video port to arrive. When the next transmission signal arrives, the receiving end can obtain more information, such as a new VSYNC signal, an updated counter value, and the relevant video port identifier, etc., to ensure that the receiving end can more accurately calculate the signal transmission interval, can more precisely recover the video signal, and ensure the stable and correct display of the video picture.

[0074] The technical solution of the embodiment of the present invention can, by the sending end determining the target video port, select a suitable one for transmission in the video signals, avoid the conflicts caused by simultaneous transmission of multiple signals, and effectively utilize the resources of a single transmission line. By the sending end integrating key information and encoding to adapt to a single transmission line, the transmission efficiency is improved. By the receiving end sampling to determine the transmission interval, the video signal can be accurately recovered, enhancing the stability and adaptability of the system.

[0075] Embodiment III

[0076] Figure 3 It is a schematic structural diagram of a video signal transmission device based on a single transmission line provided by Embodiment III of the present invention. As Figure 3 shown, the device includes: a target video port determination module 310, configured to, by the sending end, when determining that a video signal arrives, determine the target video port of the video signal to be transmitted from each video port;

[0077] a video signal transmission module 320, configured to, by the sending end, generate a transmission signal according to the target video port and send the transmission signal to the receiving end based on the transmission line;

[0078] a video signal recovery module 330, configured to, by the receiving end, sample the transmission line at a specified period and determine the signal transmission interval of each video port according to the sampled transmission signals to recover the video signals of each video port.

[0079] Optionally, the target video port determination module 310 is specifically configured to: determine whether the number of video signals is one. If so, directly use the video port corresponding to the video signal as the target video port; otherwise, determine each first video port of the currently arriving video signal, determine the corresponding first priority of each first video port, and use the video port with the highest first priority as the target video port.

[0080] Optionally, the target video port determination module 310 further includes: a target video port priority adjustment unit, configured to, after determining the target video port for the video signal to be transmitted from each video port, lower the target priority corresponding to the target video port to the lowest level.

[0081] Optionally, the target video port determination module 310 further includes: a video port parameter adjustment unit, configured to, after using the video port with the highest first priority as the target video port, use the other first video ports except the target video port as priority video ports, and determine the second priority and the second counter value of each priority video port; increase the second priority by one level and increment the second counter value.

[0082] Optionally, the video signal transmission module 320 is specifically configured to: obtain the target video signal arriving at the target video port, and determine the target port identifier and the target counter value corresponding to the target video port; encode the target video signal, the target port identifier, and the target counter value to generate a transmission signal.

[0083] Optionally, the video signal recovery module 330 is specifically configured to: use each video port as the video port to be counted respectively, and determine the signal interval of the video port to be counted; determine the third counter value corresponding to the video port to be counted from each transmission signal according to the first port identifier of the video port to be counted; when the third counter value is not 0, determine the average interval between two adjacent video signals according to the third counter value and the signal interval, and use the average interval as the signal transmission interval of the video port to be counted.

[0084] Optionally, the video signal recovery module 330 further includes: a pause and resume unit, configured to, when the third counter value is 0, pause the video signal recovery of the video port to be counted until the next transmission signal of the video port to be counted arrives.

[0085] The technical solution of the embodiment of the present invention can select a suitable one from video signals for transmission by determining the target video port at the sending end, avoiding conflicts caused by simultaneous transmission of multiple signals and effectively utilizing the resources of a single transmission line. By integrating key information at the sending end and encoding to adapt to a single transmission line, the transmission efficiency is improved. By sampling at the receiving end to determine the transmission interval, the video signal can be accurately recovered, enhancing the system stability and adaptability.

[0086] A video signal transmission device based on a single transmission line provided by an embodiment of the present invention can execute a video signal transmission method based on a single transmission line provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

[0087] Embodiment 4

[0088] Figure 4The schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0089] As Figure 4 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0090] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0091] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a video signal transmission method based on a single transmission line.

[0092] In some embodiments, a method for transmitting video signals based on a single transmission line can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for transmitting video signals based on a single transmission line described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute a method for transmitting video signals based on a single transmission line by any other suitable means (e.g., by means of firmware).

[0093] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0095] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0096] To provide for interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide for interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).

[0097] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0098] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0099] It should be understood that various forms of processes shown above can be used, steps can be reordered, added or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0100] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A video signal transmission method based on a single transmission line, characterized in that: include: By the transmitting end, when it is determined that the video signal has arrived, a target video port of the video signal to be transmitted is determined from each video port; Generate a transmission signal according to the target video port through the transmitting end, and send the transmission signal to the receiving end based on the transmission line; The transmission line is sampled at a designated period by the receiving end, and the signal transmission interval of each video port is determined according to each sampled transmission signal, so as to restore the video signal of each video port.

2. The method according to claim 1, characterized in that The step of determining a target video port for transmitting a video signal from each video port includes: Determine whether the number of the video signal is one, and if so, directly use the video port corresponding to the video signal as the target video port; Otherwise, each first video port of the currently arriving video signal is determined, and the first priority corresponding to each first video port is determined, and the video port with the highest first priority is used as the target video port.

3. The method according to claim 2, characterized in that After determining the target video port for transmitting the video signal from each video port, the method further includes: The target priority corresponding to the target video port is reduced to the lowest.

4. The method according to claim 2, characterized in that: After taking the first video port with the highest priority as the target video port, the method further includes: Taking all first video ports other than the target video port as priority video ports, and determining a second priority and a second counter value of each priority video port; The second priority level is increased by one level, and the second counter value is incremented.

5. The method according to claim 1, characterized in that: The generating a transmission signal according to the target video port by the transmitting end includes: Obtaining a target video signal arriving at a target video port, and determining a target port identifier and a target counter value corresponding to the target video port; The target video signal, the target port identifier and the target counter value are encoded to generate the transmission signal.

6. The method according to claim 1, characterized in that The step of determining the signal transmission interval of each video port according to each sampled transmission signal comprises: Each video port is used as a video port to be counted, and a signal interval of the video port to be counted is determined; Determine a third counter value corresponding to the video port to be counted from each of the transmission signals according to the first port identifier of the video port to be counted; When the third counter value is not 0, the average interval between two adjacent video signals is determined according to the third counter value and the signal interval, and the average interval is used as the signal transmission interval of the video port to be counted.

7. The method according to claim 6, characterized in that The method further comprises: When the value of the third counter is 0, the recovery of the video signal of the video port to be counted is suspended until the next transmission signal of the video port to be counted arrives.

8. A video signal transmission device based on a single transmission line, characterized in that: include: A target video port determination module is used to determine the target video port of the video signal to be transmitted from each video port through the transmitting end when it is determined that the video signal has arrived; A video signal transmission module, used for generating a transmission signal according to the target video port through a transmitting end, and sending the transmission signal to a receiving end based on a transmission line; The video signal recovery module is used to sample the transmission line at a specified period through the receiving end, and determine the signal transmission interval of each video port according to each sampled transmission signal to recover the video signal of each video port.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method according to any one of claims 1 to 7 when executed.