FPGA-based optical fiber splicing control system and method
By combining the fiber optic transmission module, fiber optic switching matrix module, and fiber optic splicing control terminal module, the problem of high bandwidth requirements in centralized systems for ultra-high-definition video transmission is solved, achieving stable high-definition video transmission and large-scale multi-screen splicing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2026-03-20
AI Technical Summary
Existing FPGA-based centralized large-screen splicing systems face challenges such as high bandwidth requirements, increased transmission latency, and difficulties in system expansion during ultra-high-definition video transmission, making it difficult to support large-scale multi-screen splicing needs.
By employing an optical fiber transmission module, an optical fiber switching matrix module, and an optical fiber splicing and control terminal module, video data is transmitted via optical fiber, enabling video data preprocessing, switching control, information embedding, decompression and merging, reducing transmission bandwidth, and improving video transmission stability.
While ensuring ultra-high-definition video quality, it improves the transmission stability of high-definition video, solves the problem of system expansion difficulties, and meets the needs of large-scale multi-screen splicing.
Smart Images

Figure CN119697331B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of optical fiber transmission, in particular to an optical fiber control system and method based on FPGA. BACKGROUND
[0002] With the continuous progress of science and technology, the application of ultra-high definition video has been widely promoted in various industries, and ultra-high definition video has gradually become the mainstream of information display, especially in command centers, control rooms, exhibition halls and other places. In these application scenarios, the large screen splicing technology not only needs to support high-resolution image output, but also needs to be able to process complex video input and display requirements.
[0003] At present, most of the large screen splicing systems on the market are based on traditional FPGA centralized processor architecture. This kind of system inserts input cards and splicing processing cards into the chassis, uses the input cards to collect video signals, and transmits the video data to the splicing processing cards through backplane switching for splicing and processing, and finally outputs the processing result to the large screen display device. Although this structure performs well in some low-resolution video transmission, the backplane switching requires very high bandwidth for the system, especially at 4K resolution, the data volume grows explosively, at this time the switching chip is required to have very high transmission capacity, and the existing centralized system often encounters problems such as insufficient performance of the switching chip, increased transmission delay, and difficult system expansion when facing such huge bandwidth requirements. At the same time, due to too many switching channels occupying the resources of the switching chip, the scale of the system is also limited to a certain extent, and it is difficult to support large-scale multi-screen splicing requirements. The above problems need to be solved. SUMMARY
[0004] In order to improve the transmission stability of high-definition video while ensuring the quality of ultra-high definition video, the present application provides an optical fiber control system and method based on FPGA, which adopts the following technical solutions:
[0005] In the first aspect, the present application provides an optical fiber control system based on FPGA, comprising:
[0006] The optical fiber sending module is used for collecting the first video split data output by the front-end interface chip and pre-processing the first video split data.
[0007] The optical fiber switching matrix module is used for obtaining a plurality of first video split data, performing switching control and information embedding on the first video split data, and obtaining second video split data.
[0008] The optical fiber control terminal module is used for obtaining a plurality of second video split data, decompressing and merging the second video split data, and obtaining output video data.
[0009] Preferably, the optical fiber sending module comprises:
[0010] a video acquisition sub-module, configured to acquire first video split data output by the front-end interface chip;
[0011] a compression sub-module, configured to compress the first video split data;
[0012] a packet sub-module, configured to packet the first video split data for transmission.
[0013] Preferably, the optical fiber switching matrix module comprises:
[0014] a switching sub-module, configured to acquire the first video split data of the optical fiber sending module and switch the first video split data;
[0015] an FPGA optical fiber board card sub-module, configured to acquire embedded information and embed the embedded information into the first video split data to obtain second video split data;
[0016] a control board card, configured to receive control data of a control host and control the switching sub-module and the FPGA optical fiber board card sub-module according to the control data.
[0017] Preferably, the optical fiber control terminal module comprises:
[0018] an unpacking sub-module, configured to unpack the second video split data according to a protocol;
[0019] a decompression sub-module, configured to decompress and restore the unpacked second video split data;
[0020] a video processing sub-module, configured to adjust video parameters of the unpacked and decompressed second video split data;
[0021] a video superimposition sub-module, configured to merge a plurality of second video split data to obtain output video data.
[0022] Preferably, a plurality of optical fiber sending modules are provided, and the plurality of optical fiber sending modules correspond to a plurality of first video split data output by the front-end interface chip respectively.
[0023] Preferably, the optical fiber switching matrix module comprises a plurality of FPGA optical fiber board card sub-modules, and the switching sub-module divides a plurality of switched first video split data to the plurality of FPGA optical fiber board card sub-modules respectively;
[0024] The optical fiber control terminal module comprises a plurality of groups of unpacking sub-modules, decompression sub-modules and video processing sub-modules, and the second video split data processed by each group of unpacking sub-modules, decompression sub-modules and video processing sub-modules is input to the video superimposition sub-module.
[0025] Preferably, the optical fiber control terminal module is provided with at least two for receiving the second video split data output by the optical fiber switching matrix.
[0026] In a second aspect, the application provides an optical fiber control method based on FPGA, configured to a control board, comprising:
[0027] Obtaining the state information of the control system, and outputting the state information of the control system to the control host;
[0028] Obtaining the control data of the control host, the control data comprising splicing instructions, video superposition instructions, video zoom instructions, and video movement control instructions, sending switching control instructions to the switching sub-module according to the control data, and sending embedding information to the FPGA optical fiber board sub-module according to the control data.
[0029] In a third aspect, the application provides a device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the optical fiber control method based on FPGA as described above.
[0030] In a fourth aspect, the application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is configured to execute the optical fiber control method based on FPGA as described above when running.
[0031] In summary, compared with the prior art, the technical scheme provided by the application has at least the following beneficial effects:
[0032] The first video split data output by the front-end interface chip is collected by the optical fiber sending module, and the plurality of first video split data is respectively preprocessed and then transmitted to the optical fiber switching matrix module. After obtaining a plurality of first video split data, the optical fiber switching matrix module performs switching control on the first video split data and information embedding on the first video split data, to obtain second video split data satisfying the processing and control of the optical fiber control terminal module. The optical fiber control terminal module decompresses and combines the plurality of second video split data output by the optical fiber switching matrix module, to obtain output video data. By compressing and reducing the transmission bandwidth, the high bandwidth problem of backplane switching is solved, and the transmission stability of high-definition video is improved while ensuring the ultra-high-definition video quality. BRIEF DESCRIPTION OF DRAWINGS
[0033] Figure 1 FIG. 1 is a schematic diagram of an optical fiber control system based on FPGA according to an embodiment of the application.
[0034] Figure 2is a module schematic diagram of the optical fiber sending module described in the embodiment of the present application.
[0035] Figure 3 is a module schematic diagram of the optical fiber switching matrix module described in the embodiment of the present application.
[0036] Figure 4 is a module schematic diagram of the optical fiber control terminal module described in the embodiment of the present application. DETAILED DESCRIPTION
[0037] The following Figures 1-4 The present application is further described in detail, and the terms used in the embodiment of the present application are only for the purpose of describing specific embodiments, and are not intended to be limiting.
[0038] The current control system is usually based on the traditional FPGA centralized processor splicing control system, the input card and the splicing processing card are inserted into the case, the input card collects the video and exchanges the video to the splicing processing card through the backboard for splicing processing, and finally outputs to the large screen display. This way has a very large limit for the distance between the large screen and the device, and with the popularization of super high definition 4K60 resolution, the centralized chassis backboard exchange needs more and more bandwidth, which has very high requirements for the exchange chip, too many exchange channels of the exchange chip, affects the transmission stability of high-definition video, and even cannot guarantee the super high-definition video quality, resulting in the scale cannot go up. To this end, the present application provides a kind of optical fiber control system and method based on FPGA.
[0039] Referring to Figure 1 , a kind of optical fiber control system based on FPGA involved in the present application, specifically includes:
[0040] Optical fiber sending module, for collecting the first video split data output by front-end interface chip, pre-processing first video split data;
[0041] Optical fiber switching matrix module, for obtaining a plurality of first video split data, performing switching control and information embedding on first video split data, to obtain second video split data;
[0042] Optical fiber control terminal module, for obtaining a plurality of second video split data, decompressing and merging second video split data, to obtain output video data.
[0043] Specifically, the application is provided with a fiber transmission module, a fiber switching matrix module and a fiber control terminal module. The fiber transmission module collects first video split data output by a front-end interface chip. The first video split data is split according to the fiber transmission module. The fiber transmission module transmits the first video split data to the fiber switching matrix module after pre-processing. The fiber switching matrix module controls the switching of the first video split data and embeds information in the first video split data after obtaining the first video split data, thereby obtaining second video split data that meets the processing and control requirements of the fiber control terminal module. The fiber control terminal module decompresses and combines the second video split data output by the fiber switching matrix module, thereby obtaining output video data. The high-bandwidth problem of backplane switching is solved by compressing and reducing the transmission bandwidth. The transmission stability of high-definition video is improved while ensuring the quality of ultra-high-definition video. The control and application of large-screen splicing in command centers, control rooms and exhibition halls are met.
[0044] As one of the embodiments, the fiber transmission module comprises:
[0045] The video acquisition sub-module is configured to collect first video split data output by a front-end interface chip.
[0046] The compression sub-module is configured to compress the first video split data.
[0047] The packet sub-module is configured to packet the first video split data for transmission.
[0048] Reference Figure 2 Specifically, the fiber transmission module comprises a video acquisition sub-module, a compression sub-module and a packet sub-module. The signal input and output sequence is video acquisition sub-module, compression sub-module and packet sub-module in order. After the fiber transmission module collects the source video, the video is compressed by 3 times by the video compression algorithm DSC. The compressed data is packetized by serdes, and then output to the fiber module to convert into optical signal transmission.
[0049] The video acquisition sub-module is mainly configured to collect video data from the front-end interface chip, i.e. the first video split data.
[0050] In the case that the video acquisition submodule collects the first video split data, the first video split data is transmitted to the compression submodule. The compression submodule is a DSC compression module, which adopts display stream compression technology, realizes less resource occupation, and uses FPGA to reduce resource consumption to a certain extent. The compression submodule realizes 3 to 4 times visual lossless compression of the video, and the compressed video bandwidth is one third of the original, greatly reducing the video bandwidth. The compressed video bandwidth is low, reducing the transmission cost, and the display effect can achieve a certain degree of visual lossless effect, plus less than 10 lines of low delay, meeting the application requirements of the control.
[0051] After the compression submodule compresses the first video split data, the first video split data is transmitted to the packet submodule. The packet submodule is a serdes packet module, and the packet submodule calls the high-speed transceiver serdes ip core of the FPGA to adopt a self-defined protocol for packet transmission. The first video split data is finally transmitted to the fiber switch matrix module after pre-processing.
[0052] As one of the embodiments, the fiber transmission module is provided with a plurality of fiber transmission modules, and the plurality of fiber transmission modules correspond to a plurality of first video split data output by the front-end interface chip.
[0053] Specifically, the fiber transmission module of the embodiment of the application is provided with a plurality of fiber transmission modules, each of which acquires one first video split data, and the plurality of first video split data is split from one video data. The front-end interface chip splits data according to the number of fiber transmission modules, so that the system of the embodiment of the application can acquire first video split data corresponding to the number of fiber transmission modules. The plurality of fiber transmission modules of the embodiment of the application collect source video, and output the compressed video to the fiber switch matrix through serdes.
[0054] As one of the embodiments, the fiber switch matrix module comprises:
[0055] The switching submodule is used for acquiring the first video split data of the fiber transmission module and switching the first video split data;
[0056] The FPGA fiber board card submodule is used for acquiring embedded information, embedding the embedded information into the first video split data, and obtaining second video split data;
[0057] The control board card is used for receiving control data of a control host, and controlling the switching submodule and the FPGA fiber board card submodule according to the control data.
[0058] Reference Figure 3Specifically, the optical fiber switching matrix of the embodiment of the application realizes communication with a control host, switching of video, and embedding of control information. The optical fiber switching matrix module includes a switching submodule, an FPGA optical fiber board card submodule, and a control board card.
[0059] The switching submodule receives first video split data from the optical fiber sending module, switches the video, and selects the video transmitted by the optical fiber sending module to a designated optical fiber board card through switching. The FPGA optical fiber board card submodule transmits the video to a stitching control terminal connected thereto through an optical fiber for processing.
[0060] The FPGA optical fiber board card submodule, i.e., the FPGA optical fiber board card, realizes input of an optical fiber link, realizes conversion of an optical port to an electrical port to a switching chip, and embeds control information into the optical fiber link according to a requirement of the host.
[0061] The control board card manages the entire stitching control system, receives control management data of the control host, and controls data including stitching instructions, video superposition, video zoom, and video movement related control instructions, management data, and state information of the entire stitching control system. The control board card configures the switching chip to switch the video through an spi bus, communicates with the optical fiber board card through a can bus according to a requirement of the control host, transmits the control management data to the optical fiber board card, and embeds the control management data into an optical fiber data stream for transmission together with the video data. Through the combination of the control board card, the switching submodule, and the FPGA optical fiber board card submodule, the video data is transmitted to the optical fiber stitching control terminal module for merging processing, and finally, the entire video data is obtained, which can improve the transmission stability of the high-definition video while ensuring the quality of the ultra-high-definition video.
[0062] As one of the embodiments, the optical fiber switching matrix module includes a plurality of FPGA optical fiber board card submodules. The switching submodule divides the plurality of first video split data after switching to the plurality of FPGA optical fiber board card submodules.
[0063] Specifically, the optical fiber switching matrix module of the embodiment of the application includes a plurality of FPGA optical fiber board card submodules corresponding to the number of optical fiber sending modules. The switching chip, i.e., the switching submodule, transmits the video data one-to-one to the corresponding FPGA optical fiber board card submodule after switching the video data, so that the FPGA optical fiber board card submodule can further process the corresponding first video split data and embed control information.
[0064] As one of the embodiments, the optical fiber stitching control terminal module includes:
[0065] The unpacking submodule is configured to unpack the second video split data according to a protocol.
[0066] The decompression submodule is configured to perform video data decompression recovery on the unpacked second video split data.
[0067] The video processing submodule is configured to perform video parameter adjustment on the unpacked and decompressed second video split data.
[0068] The video superposition submodule is configured to combine a plurality of second video split data to obtain output video data.
[0069] Reference Figure 4 Specifically, the optical fiber control terminal module of the embodiment receives optical fiber signals from a plurality of optical fiber switching matrices, converts the optical fiber signals into electrical signals, and inputs the electrical signals into an FPGA chip through a serdes interface of the FPGA. A unpacking submodule in the FPGA performs unpacking on the data, and then the data is input to a DSC decompression module corresponding to a DSC compression module of an optical fiber sending module. After decompression, the data is input to a video processing submodule, i.e., a VPSS module, for video processing. The data processed by each VPSS module is input to a video superposition module for superposition and splicing. The superposed data is output to a subsequent interface chip and then to a large screen for display. The entire processing process of the embodiment is implemented in the FPGA chip, and does not depend on an input card and a splicing processing card. In this way, the transmission stability of high-definition video can be improved while ensuring the quality of ultra-high-definition video.
[0070] The unpacking submodule is a serdes unpacking module, which calls a high-speed transceiver serdes IP core of the FPGA, unpacks the data according to a self-defined protocol, and separates the compressed data stream.
[0071] The decompression submodule is a DSC decompression module, which uses display stream compression technology to perform real-time decompression on the video, restores the video into video data, and provides the video data to a subsequent module for processing.
[0072] The video processing submodule is a VPSS module, which mainly includes video processing modules such as cropping, scaling, buffering, and roaming, and then outputs the video to a subsequent superposition module for processing.
[0073] The video superposition submodule realizes superposition and splicing of a plurality of videos, and then outputs a new video data stream.
[0074] As one of the implementation manners, the optical fiber control terminal module includes a plurality of groups of unpacking submodules, decompression submodules, and video processing submodules. Each group of unpacking submodules, decompression submodules, and video processing submodules inputs second video split data obtained by processing to a video superposition submodule.
[0075] Specifically, the fiber splicing control terminal module in the embodiment of the application is provided with a plurality of groups of unpacking sub-modules, decompression sub-modules and video processing sub-modules, each group acquires one of the second video split data for processing, and after obtaining the final video split data, the video split data is transmitted to the video superposition module for superposition. After the splitting, transmission, processing and merging of the video data are completed, a high-quality video data is obtained, so that the transmission stability of the high-definition video can be improved under the condition of ensuring the ultra-high-definition video quality, and the control and application of large-screen splicing in command centers, control rooms, exhibition halls and the like are met.
[0076] The embodiment of the application provides a fiber splicing control method based on FPGA, which is configured on a control board card, and comprises the following steps:
[0077] Obtaining splicing system state information, and outputting the splicing system state information to a control host;
[0078] Obtaining control data of the control host, the control data comprising splicing instructions, video superposition instructions, video zooming instructions and video moving control instructions, sending a switching control instruction to the switching sub-module according to the control data, and sending embedded information to the FPGA fiber board card sub-module according to the control data.
[0079] Specifically, the control board card mainly manages and controls the entire splicing control system, receives control management data of the control host, and the control data comprises splicing instructions, video superposition instructions, video zooming instructions and video moving control instructions, and further comprises management data and state information of the entire splicing control system. The control board card performs video switching by configuring a switching chip through an spi bus, and communicates with the fiber board card through a can bus according to the requirements of the control host, transmits the control management data to the fiber board card and embeds the control management data into the fiber data stream, and outputs the control management data together with the video data, so that the system can stably transmit high-definition video data.
[0080] The embodiment of the application provides a device, comprising a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the fiber splicing control method based on FPGA as described above.
[0081] The embodiment of the application provides a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program is configured to execute the fiber splicing control method based on FPGA as described above when running.
[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and product can refer to the corresponding process in the foregoing method embodiment, and will not be described here.
[0083] In several embodiments provided in the present application, it should be understood that the disclosed methods, systems, apparatuses and program products can be implemented in other manners.
[0084] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit.
[0085] The above described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; even though the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still make modifications to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some of the technical features; and these modifications or replacements do not cause the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An FPGA-based fiber optic splicing and control system, characterized in that, include: The fiber optic transmission module is used to collect the first video split data output by the front-end interface chip and to preprocess the first video split data. Specifically, the optical fiber transmission module includes: a video acquisition submodule for acquiring first video split data output by the front-end interface chip; a compression submodule for compressing the first video split data; and a packetization submodule for packetizing and transmitting the first video split data. The fiber optic switching matrix module is used to acquire several first video split data sets, perform switching control and information embedding on the first video split data sets to obtain second video split data sets. The fiber optic switching matrix module includes: a switching submodule, used to acquire the first video split data sets from the fiber optic transmission module and switch the first video split data sets; an FPGA fiber optic board submodule, used to acquire embedding information and embed the embedding information into the first video split data sets to obtain second video split data sets; and a control board, used to receive control data from the control host and control the switching submodule and the FPGA fiber optic board submodule according to the control data. Specifically, the fiber optic switching matrix module includes several FPGA fiber optic board submodules, and the switching submodule divides the switched first video split data sets into several FPGA fiber optic board submodules respectively. The fiber optic splicing control terminal module is used to acquire several second video split data, decompress and merge the second video split data to obtain output video data; specifically, the fiber optic splicing control terminal module includes several sets of unpacking sub-modules, decompression sub-modules and video processing sub-modules, and each set of unpacking sub-modules, decompression sub-modules and video processing sub-modules inputs the processed second video split data to the video overlay sub-module.
2. The FPGA-based fiber optic splicing and control system according to claim 1, characterized in that, The fiber optic splicing and control terminal module includes: The unpacking module is used to unpack the split data of the second video according to the protocol; The decompression submodule is used to decompress and restore the video data of the unpacked second video split data; The video processing submodule is used to adjust the video parameters of the unpacked and decompressed second video split data; The video overlay submodule is used to merge several split data of the second video to obtain the output video data.
3. The FPGA-based fiber optic splicing and control system according to claim 1, characterized in that, The optical fiber transmission module is configured in several parts, and each of the optical fiber transmission modules corresponds to a number of first video split data points output by the front-end interface chip.
4. The FPGA-based fiber optic splicing and control system according to claim 1, characterized in that, The fiber optic splicing control terminal module is configured with at least two modules, which are used to simultaneously receive the second video split data output from multiple fiber optic switching matrices.
5. A fiber optic splicing control method based on FPGA, characterized in that, include: The fiber optic transmission module acquires the first video split data output by the front-end interface chip and preprocesses the first video split data. Specifically, the optical fiber transmission module includes a video acquisition submodule, a compression submodule, and a packet encapsulation submodule; wherein, the video acquisition submodule acquires the first video split data output by the front-end interface chip; the compression submodule compresses the first video split data; and the packet encapsulation submodule encapsulates and transmits the first video split data. The fiber optic switching matrix module acquires several first video split data sets, performs switching control and information embedding on the first video split data sets to obtain second video split data sets. The fiber optic switching matrix module includes a switching submodule, an FPGA fiber optic board submodule, and a control board. Specifically, the switching submodule acquires the first video split data sets from the fiber optic transmission module and switches the first video split data sets. The FPGA fiber optic board submodule acquires embedding information and embeds the embedding information into the first video split data sets to obtain second video split data sets. The control board receives control data from the control host and controls the switching submodule and the FPGA fiber optic board submodule according to the control data. Specifically, the fiber optic switching matrix module includes several FPGA fiber optic board submodules, and the switching submodule divides the switched first video split data sets into several FPGA fiber optic board submodules respectively. The fiber optic splicing control terminal module acquires several second video split data, decompresses and merges the second video split data to obtain output video data; specifically, the fiber optic splicing control terminal module includes several sets of unpacking sub-modules, decompression sub-modules and video processing sub-modules, and each set of unpacking sub-modules, decompression sub-modules and video processing sub-modules inputs the processed second video split data to the video overlay sub-module.
6. A device, characterized in that, It includes a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to execute the FPGA-based fiber optic splicing control method of claim 5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is executed by a processor to perform the FPGA-based fiber optic splicing control method of claim 5.
Citation Information
Patent Citations
Light emitting diode (LED) display screen splicing control system and LED display screen
CN102103826A
Switch-free distributed video stitching system
CN218103327U