Switching device and distributed system
By designing a switching device that can mix and process different types of code streams, the problem that traditional distributed video transmission systems are difficult to meet the needs of high picture quality and low latency is solved, and a smoother video transmission experience and higher resolution are achieved.
Patent Information
- Application Number
- CN202421589215.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2034-07-05
AI Technical Summary
Traditional distributed video transmission systems are difficult to meet users' high demands for image quality, delay and control experience, especially in command centers and conference office scenarios.
Design a switching device to realize the input and output of the code stream through optical fiber input card and optical fiber output card, which can mix and process non-compressed or shallow compressed code streams and deep compressed code streams, reduce display delays and improve resolution.
It achieves reduced display delay, provides a smoother viewing experience, and reduces the cost of distributed systems, which can meet high resolution needs.
Smart Images

Figure CN222981633U_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of display screens, and particularly relates to a switching device and a distributed system. Background Art
[0002] In scenarios such as command centers, conference offices, etc., distributed systems are often used to meet the need for remote video transmission. Limited by the transmission capacity of traditional interfaces, traditional distributed systems mostly transmit highly compressed video bitstreams. However, such traditional distributed systems are difficult to meet the increasingly high demands of users in terms of image quality, latency, and control experience. Utility Model Content
[0003] Embodiments of this application provide a switching device and a distributed system that can balance display latency and resolution requirements.
[0004] To achieve the above object, a first aspect of this application provides a switching device, including: an optical fiber input card, connected to a first processing module and a second processing module respectively, the optical fiber input card includes an optical fiber input interface, and the optical fiber input card is configured to receive a mixed input bitstream through the optical fiber input interface and send the first type of bitstream and the second type of bitstream in the mixed input bitstream to the first processing module and the second processing module respectively; wherein, the first type of bitstream is an uncompressed or lightly compressed bitstream, and the second type of bitstream is a highly compressed bitstream; the first processing module, connected to multiple optical fiber output cards, is configured to send the first type of bitstream to a target optical fiber output card among the multiple optical fiber output cards; the second processing module, connected to the multiple optical fiber output cards, is configured to send the second type of bitstream to a target optical fiber output card among the multiple optical fiber output cards; an optical fiber output card, including an optical fiber output interface, is configured to output a target output bitstream through the optical fiber output interface, and the target output bitstream is the first output bitstream transmitted by the first processing module, the second output bitstream transmitted by the second processing module, or a mixed output bitstream obtained by mixing the first output bitstream and the second output bitstream.
[0005] In some embodiments of the first aspect, the optical fiber input card includes: a first field programmable gate array, respectively connected to the optical fiber input interface, a first physical layer chip, and a first connector, for splitting the mixed input bitstream into the first type of bitstream and the second type of bitstream, transmitting the first type of bitstream to the first connector, and transmitting the second type of bitstream to the first physical layer chip; the first physical layer chip, for processing the second type of bitstream and transmitting the second type of bitstream to the first connector; the first connector, respectively connected to the first processing module and the second processing module, for respectively sending the first type of bitstream and the second type of bitstream to the first processing module and the second processing module.
[0006] In some embodiments of the first aspect, the optical fiber input card includes: a first microprocessor, connected to a second connector, for splitting the mixed input bitstream into the first type of bitstream and the second type of bitstream, and transmitting the first type of bitstream and the second type of bitstream to the second connector; the second connector, respectively connected to the first processing module and the second processing module, for respectively sending the first type of bitstream and the second type of bitstream to the first processing module and the second processing module.
[0007] In some embodiments of the first aspect, the optical fiber output card further includes: a third connector, respectively connected to a second physical layer chip, a second field programmable gate array, the first processing module, and the second processing module, for receiving the first output bitstream output by the first processing module and the second output bitstream output by the second processing module, transmitting the first output bitstream to the second field programmable gate array, and outputting the second output bitstream to the second physical layer chip; the second physical layer chip, for processing the second output bitstream and transmitting the second output bitstream to the second field programmable gate array; the second field programmable gate array, connected to the optical fiber output interface, for outputting the target output bitstream.
[0008] In some embodiments of the first aspect, the optical fiber output card further includes: a fourth connector, respectively connected to a second microprocessor, the first processing module, and the second processing module, for receiving the first output bitstream output by the first processing module and the second output bitstream output by the second processing module, and outputting the first output bitstream and the second output bitstream to the second microprocessor; the second microprocessor, connected to the optical fiber output interface, for outputting the target output bitstream.
[0009] In some embodiments of the first aspect, the switching device further includes a video input card, which is connected to the first processing module. The video input card includes a video input interface. The video input card is configured to receive the first type of bitstream through the video input interface and send the first type of bitstream to the first processing module.
[0010] In some embodiments of the first aspect, the switching device further includes a video output card, which is connected to the first processing module. The video output card includes a video output interface. The video output card is configured to output the first output bitstream through the video output interface.
[0011] In some embodiments of the first aspect, the switching device further includes a main control module, which is connected to the first processing module and / or the second processing module.
[0012] In some embodiments of the first aspect, the switching device further includes a backplane. The first processing module and the second processing module are disposed on the backplane. A backplane connector is provided on the backplane and is connected to the first processing module and the second processing module. The fiber optic input card and the fiber optic output card are connected to the first processing module and the second processing module through the backplane connector.
[0013] A second aspect of the embodiments of the present application provides a distributed system, including the switching device according to any one of the first aspect, an encoding device connected to the fiber optic input card, and a decoding device connected to the fiber optic output card.
[0014] In the embodiments of the present application, the switching device realizes the input and output of the bitstream through the fiber optic input card and the fiber optic output card, which can reduce the display delay and provide a smoother viewing experience. At the same time, it can perform the mixed input of two types of bitstreams, namely uncompressed bitstream (or lightly compressed bitstream) and deeply compressed bitstream, through the fiber optic input interface, and the switching device uniformly distributes and processes them, which can effectively reduce the cost of the distributed system, and the uncompressed bitstream (or lightly compressed bitstream) can better meet the high-resolution requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0016] Figure 1 is a schematic structural diagram of the switching device provided by the embodiments of the present application Figure 1 ;
[0017] Figure 2 is a schematic structure diagram of an optical fiber input card provided by an embodiment of the present application Figure 1 ;
[0018] Figure 3 is a schematic structure diagram of an optical fiber input card provided by an embodiment of the present application Figure 2 ;
[0019] Figure 4 is a schematic structure diagram of an optical fiber output card provided by an embodiment of the present application Figure 1 ;
[0020] Figure 5 is a schematic structure diagram of an optical fiber output card provided by an embodiment of the present application Figure 2 ;
[0021] Figure 6 is a schematic structure diagram of a switching device provided by an embodiment of the present application Figure 2 ;
[0022] Figure 7 is a schematic structure diagram of a distributed system provided by an embodiment of the present application. Detailed implementation manners
[0023] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0024] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0025] It should be understood that the orientation or positional relationship indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present application.
[0026] In the description of the present application, "a plurality of" means two or more unless otherwise specifically defined.
[0027] In scenarios such as command centers, conferences, and offices, distributed systems are often used to meet the needs of remote video transmission. Limited by the transmission capabilities of traditional interfaces, traditional distributed systems mostly transmit deeply compressed video bitstreams. However, such traditional distributed systems are difficult to meet the increasingly high demands of users in terms of picture quality, latency, and control experience.
[0028] In view of this, the present application proposes a new switching device that can balance display latency and resolution requirements.
[0029] To illustrate the technical solution of the present application, the following will be described through specific embodiments.
[0030] Please refer to Figure 1 , Figure 1 which shows a schematic diagram of the switching device 10 provided by the present application.
[0031] Among them, the switching device 10 may include:
[0032] An optical fiber input card 101, which is respectively connected to a first processing module 102 and a second processing module 103. The optical fiber input card 101 may include an optical fiber input interface 1010. The optical fiber input card 101 can be used to receive a mixed input bitstream through the optical fiber input interface 1010, and send the first type of bitstream and the second type of bitstream in the mixed input bitstream to the first processing module 102 and the second processing module 103 respectively.
[0033] Among them, the number of optical fiber input cards 101 may be one or more. The first type of bitstream is an uncompressed or lightly compressed bitstream, and the second type of bitstream is a deeply compressed bitstream. Specifically, an uncompressed bitstream refers to a bitstream that has not been compressed and encoded, that is, the original video data. A lightly compressed bitstream refers to a bitstream obtained by using a light compression technology for compression and encoding, where the light compression technology may include but is not limited to SDVoE, VC-2, and JPEG2000. A deeply compressed bitstream refers to a bitstream obtained by using a deep compression technology for compression and encoding, and the deep compression technology may include but is not limited to the H.264 algorithm and the H2.65 algorithm.
[0034] The first processing module 102, which is connected to a plurality of optical fiber output cards 104, can be used to send the first type of bitstream to a target optical fiber output card among the plurality of optical fiber output cards 104.
[0035] The second processing module 103, which is connected to a plurality of optical fiber output cards 104, can be used to send the second type of bitstream to a target optical fiber output card among the plurality of optical fiber output cards 104.
[0036] Among them, the target optical fiber output card can be any one of the optical fiber output cards 104. Moreover, the target optical fiber output cards for receiving the first type of bitstream and the second type of bitstream can be the same or different, and this application does not impose any restrictions on this.
[0037] The optical fiber output card 104 may include an optical fiber output interface 1043 for outputting the target output bitstream through the optical fiber output interface 1043.
[0038] Among them, the target output bitstream is the first output bitstream transmitted by the first processing module 102, the second output bitstream transmitted by the second processing module 103, or a mixed output bitstream obtained by mixing the first output bitstream and the second output bitstream. Among them, the first output bitstream is the bitstream to be output based on the first type of bitstream. The first output bitstream can be the first type of bitstream itself, or can be obtained by processing the first type of bitstream, such as adding a data header to the first type of bitstream. Similarly, the second output bitstream is the bitstream to be output based on the second type of bitstream. The second output bitstream can be the second type of bitstream itself, or can be obtained by processing the second type of bitstream, such as adding a data header to the second type of bitstream.
[0039] It can be understood that both the optical fiber input interface 1010 and the optical fiber output interface 1043 can be connected to other devices through optical fibers or cables.
[0040] In the implementation manner of this application, the switching device 10 realizes the input and output of bitstreams through the optical fiber input card 101 and the optical fiber output card 104, which can reduce the display delay and provide a smoother viewing experience. At the same time, it can perform the mixed input of two types of bitstreams, namely uncompressed bitstreams (or lightly compressed bitstreams) and deeply compressed bitstreams, through the optical fiber input interface 1010, and the switching device 10 uniformly distributes and processes them, which can effectively reduce the cost of the distributed system, and the uncompressed bitstreams (or lightly compressed bitstreams) can better meet the high-resolution requirements.
[0041] In some implementation manners of this application, the optical fiber input card 101 can output the first type of bitstream and the second type of bitstream through different transmission paths.
[0042] Specifically, in some implementation manners of this application, as Figure 2 shown in the transmission path A, the optical fiber input card 101 may include:
[0043] The first Field Programmable Gate Array (FPGA) 1011 is respectively connected to the optical fiber input interface 1010, the first physical layer chip and the first connector, and can be used to split the mixed input bitstream into a first type of bitstream and a second type of bitstream, transmit the first type of bitstream to the first connector, and transmit the second type of bitstream to the first physical layer chip 1012.
[0044] The first Physical (phy) layer chip 1012 can be used to process the second type of bitstream and transmit the second type of bitstream to the first connector 1013.
[0045] The first connector 1013 is respectively connected to the first processing module 102 and the second processing module 103, and can be used to send the first type of bitstream and the second type of bitstream to the first processing module 102 and the second processing module 103 respectively.
[0046] In this way, the optical fiber input card 101 separates the video source accessed through the optical fiber input interface 1010 into a first type of bitstream and a second type of bitstream through the FPGA. The deeply compressed bitstream can be transmitted to the second processing module 103 through the phy chip, and the shallowly compressed bitstream and the uncompressed bitstream can be directly transmitted to the first processing module 102 through the FPGA. This method can meet the transmission of network video streams.
[0047] It should be noted that the connection method between the optical fiber input interface 1010, the first Field Programmable Gate Array 1011, the first physical layer chip 1012, and the first connector 1013 can be selected according to the actual situation. For example, the optical fiber input interface 1010 and the first Field Programmable Gate Array 1011 can be connected through a Serdes interface, the first Field Programmable Gate Array 1011 and the first physical layer chip 1012 can be connected through a Reduced Gigabit Media Independent Interface (RGMII), and the first physical layer chip 1012 and the first connector 1013 can be connected through a Medium Dependent Interface (MDI).
[0048] In some other embodiments of the present application, as Figure 3 shown in the transmission path B, the optical fiber input card 101 may include:
[0049] The first microprocessor 1014, connected to the second connector 1015, can be used to split the mixed input bitstream into a first type of bitstream and a second type of bitstream, and transmit the first type of bitstream and the second type of bitstream to the second connector 1015;
[0050] The second connector 1015, which is respectively connected to the first processing module 102 and the second processing module 103, can be used to send the first type of bitstream and the second type of bitstream to the first processing module 102 and the second processing module 103 respectively.
[0051] Among them, the first microprocessor 1014 can refer to an Advanced RISC Machine (ARM). Compared with transmission path A, transmission path B can omit the FPGA and phy chips, and has a more streamlined structure.
[0052] It can be understood that the above-mentioned transmission path A and transmission path B can exist simultaneously. At this time, the first connector 1013 and the second connector 1015 can be the same connector or different connectors. In this way, the multiplexing of the transmission path can be realized.
[0053] Similarly, the fiber optic output card 104 can also output the first output bitstream and the second output bitstream through different transmission paths.
[0054] Specifically, in some embodiments of the present application, such as Figure 4 the shown transmission path C, the fiber optic output card 104 may further include:
[0055] The third connector 1040, which is respectively connected to the second physical layer chip 1041, the second field programmable gate array 1042, the first processing module 102, and the second processing module 103, can be used to receive the first output bitstream output by the first processing module 102 and the second output bitstream output by the second processing module 103, transmit the first output bitstream to the second field programmable gate array 1042, and output the second output bitstream to the second physical layer chip 1041;
[0056] The second physical layer chip 1041 can be used to process the second output bitstream and transmit the second output bitstream to the second field programmable gate array 1042;
[0057] The second field programmable gate array 1042, which is connected to the fiber optic output interface 1043, can be used to output the target output bitstream.
[0058] In this way, the deeply compressed bitstream can be transmitted to the fiber optic output interface 1043 through the phy chip, and the shallowly compressed bitstream and the uncompressed bitstream can be directly transmitted to the fiber optic output interface 1043 through the FPGA. This method can meet the transmission of network video streams.
[0059] In some other embodiments of the present application, such as Figure 5 the shown transmission path D, the fiber optic output card 104 may further include:
[0060] The fourth connector 1044 is respectively connected to the second microprocessor 1045, the first processing module 102, and the second processing module 103, and can be used to receive the first output bitstream output by the first processing module 102 and the second output bitstream output by the second processing module 103, and output the first output bitstream and the second output bitstream to the second microprocessor 1045;
[0061] The second microprocessor 1045 is connected to the optical fiber output interface 1043 and can be used to output the target output bitstream.
[0062] Among them, the second microprocessor 1045 can be ARM. Compared with the transmission path C, the transmission path D can omit the FPGA and phy chips, and the structure is more concise.
[0063] It can be understood that the above-mentioned transmission path C and transmission path D can exist simultaneously. At this time, the third connector 1040 and the fourth connector 1044 can be the same connector or different connectors. In this way, the multiplexing of the transmission path can be realized.
[0064] Furthermore, as Figure 6 shown, the switching device 10 further includes a video input card 105. The video input card 105 is connected to the first processing module 102, and the video input card 105 can include a video input interface.
[0065] The video input card 105 can be used to receive the first type of bitstream through the video input interface and send the first type of bitstream to the first processing module 102.
[0066] That is to say, the video input card 105 can realize the function of transmitting the first type of bitstream. The switching device 10 of the present application is compatible with the video input card 105 and the optical fiber input card 101, and supports the use of both input cards at the same time.
[0067] Similarly, as Figure 6 shown, the switching device 10 can further include a video output card 106. The video output card 106 is connected to the first processing module 102, and the video output card 106 includes a video output interface.
[0068] The video output card 106 can be used to output the first output bitstream through the video output interface.
[0069] That is to say, the video output card 106 realizes the function of outputting the first output bitstream. The switching device 10 of the present application is compatible with the video output card 106 and the optical fiber output card 104, and supports the use of both output cards at the same time.
[0070] It should be noted that the video output interface and the video input interface may refer to video interfaces such as High Definition Multimedia Interface (HDMI) and Video Graphics Array (VGA).
[0071] In some embodiments of the present application, the first processing module 102 may send the first type of bitstream to the target distribution sub-module corresponding to the target port in the bitstream distribution module according to the target port information of the control module. The second processing module 103 may send the second type of bitstream to the target distribution sub-module according to the target port information.
[0072] Specifically, the first processing module 102 may include a processor for processing the first type of bitstream, and the second processing module 103 may include a processor for processing the second type of bitstream.
[0073] Among them, the processor for processing the first type of bitstream is a video switching chip, which may be a crosspoint or FPGA chip. When the video switching chip is a crosspoint chip, a Serdes interface is preferably used. When the video switching chip is an FPGA chip, any one of a Serdes interface, an LVDS interface, or a TTL interface can be used. The processor for processing the second type of bitstream is a network switching chip, which may refer to a chip in a network processor.
[0074] In some embodiments of the present application, the switching device may further include a backplane, and the first processing module and the second processing module 103 may be disposed on the backplane. A backplane connector may be disposed on the backplane, and the backplane connector is connected to the first processing module 102 and the second processing module 103; moreover, the optical fiber input card 101 and the optical fiber output card 104 are connected to the first processing module 102 and the second processing module 103 through the backplane connector.
[0075] Similarly, the video input card 105 and the video output card 106 may also be connected to the first processing module 102 through the backplane connector.
[0076] The optical fiber input card 101, the optical fiber output card 104, the video input card 105, and the video output card 106 may adopt a pluggable design on the backplane connector. In this way, the number of interfaces of the switching device 10 can be flexibly increased and mixed, and the expandability is strong.
[0077] In some embodiments of the present application, the switching device 10 may further include a main control module, which is connected to the first processing module 102 and / or the second processing module 103.
[0078] The main control module is used to output instructions to the first processing module 102 and / or the second processing module 103, such as upgrade instructions. There is no limit to the communication method between the main control card and the first processing module 102 and / or the second processing module 103. For example, it can be implemented through a Low-Voltage Differential Signaling (LVDS) interface, a Serial Peripheral Interface (SPI), a Universal Asynchronous Receiver / Transmitter (UART), a gigabit network port, or a hundred-megabit network port.
[0079] As Figure 7 shown, the present application also provides a distributed system, including a switching device 10, an encoding device 20 connected to the optical fiber input card 101, and a decoding device 30 connected to the optical fiber output card 104. The number of the encoding device 20 and the decoding device 30 can both be one or more.
[0080] Among them, the specific structure of the switching device 10 can refer to Figures 1 - 6 the description, and the present application will not elaborate on this.
[0081] The encoding device 20 can be used for encoding video data and can be connected to a media server, a personal computer (PC), or other devices that provide video data or video sources.
[0082] In an embodiment of the present application, the encoding device 20 can be used to obtain the video data to be transmitted, process the video data into a first type of bitstream and a second type of bitstream, mix the first type of bitstream and the second type of bitstream, and transmit the mixed input bitstream obtained by mixing to the optical fiber input card 101 of the switching device 10, or transmit the first type of bitstream to the video input card 105 of the switching device 10.
[0083] Specifically, the encoding device 20 can be connected to a video input source to obtain video data from the video input source, or can obtain video data stored in the built-in memory. The present application does not limit this.
[0084] The decoding device 30 can be used to connect to a display screen, and is used to decode the input video data and output the video data to the display screen for the display screen to display.
[0085] In an embodiment of the present application, the decoding device 30 can receive the target output bitstream transmitted by the switching device 10 through the optical fiber output card 104 or the first output bitstream transmitted by the video output card 106, and output the received bitstream. The output interface of the decoding device 30 can be connected to the display screen to send the video bitstream for display.
[0086] In some embodiments of the present application, if the target output bitstream is a mixed output bitstream, the decoding device 30 may parse the first output bitstream and the second output bitstream from the mixed output bitstream, and output the first output bitstream and the second output bitstream respectively.
[0087] In some embodiments of the present application, if the target output bitstream is the first output bitstream, the decoding device 30 may directly output the first output bitstream. When the decoding device 30 receives multiple target output bitstreams, the decoding device 30 may also perform layer superposition on the second output bitstreams among the multiple target output bitstreams, and output the bitstream after layer superposition. That is, perform superposition processing on multiple second output bitstreams.
[0088] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.
[0089] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0090] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0091] In the embodiments provided in the present application, it should be understood that the disclosed device / display control device and method can be implemented in other ways. For example, the device / display control device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection shown or discussed with each other can be through some interfaces. The indirect coupling or communication connection of the devices or units can be in electrical, mechanical or other forms.
[0092] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0093] In addition, each functional unit in the various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0094] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above method embodiments of the present application, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased. For example, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0095] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although 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 modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A switching device, characterized in that: include: an optical fiber input card, connected to the first processing module and the second processing module respectively, the optical fiber input card comprising an optical fiber input interface, the optical fiber input card is used to receive a mixed input code stream through the optical fiber input interface, and send a first type of code stream and a second type of code stream in the mixed input code stream to the first processing module and the second processing module respectively; wherein the first type of code stream is a non-compressed or shallowly compressed code stream, and the second type of code stream is a deeply compressed code stream; The first processing module is connected to a plurality of optical fiber output cards and is used to send the first type of code stream to a target optical fiber output card among the plurality of optical fiber output cards; The second processing module is connected to the plurality of optical fiber output cards and is used to send the second type of code stream to a target optical fiber output card among the plurality of optical fiber output cards; The optical fiber output card comprises an optical fiber output interface, and is used to output a target output code stream through the optical fiber output interface, wherein the target output code stream is a first output code stream transmitted by the first processing module, a second output code stream transmitted by the second processing module, or a mixed output code stream obtained by mixing the first output code stream and the second output code stream.
2. The switching device according to claim 1, characterized in that: The optical fiber input card comprises: a first field programmable logic gate array, connected to the optical fiber input interface, the first physical layer chip and the first connector, respectively, and used for splitting the mixed input code stream into the first type code stream and the second type code stream, transmitting the first type code stream to the first connector, and transmitting the second type code stream to the first physical layer chip; The first physical layer chip is used to process the second type of code stream and transmit the second type of code stream to the first connector; The first connector is connected to the first processing module and the second processing module respectively, and is used to send the first type code stream and the second type code stream to the first processing module and the second processing module respectively.
3. The switching device according to claim 1, characterized in that: The optical fiber input card comprises: A first microprocessor is connected to the second connector, and is used for splitting the mixed input code stream into the first type code stream and the second type code stream, and transmitting the first type code stream and the second type code stream to the second connector; The second connector is connected to the first processing module and the second processing module respectively, and is used to send the first type of code stream and the second type of code stream to the first processing module and the second processing module respectively.
4. The switching device according to claim 1, characterized in that: The optical fiber output card also includes: a third connector, connected to the second physical layer chip, the second field programmable logic gate array, the first processing module, and the second processing module, respectively, for receiving the first output code stream output by the first processing module and the second output code stream output by the second processing module, transmitting the first output code stream to the second field programmable logic gate array, and outputting the second output code stream to the second physical layer chip; The second physical layer chip is used to process the second output code stream and transmit the second output code stream to the second field programmable logic gate array; The second field programmable logic gate array is connected to the optical fiber output interface and is used for outputting the target output code stream.
5. The switching device according to claim 1, characterized in that: The optical fiber output card also includes: a fourth connector, connected to the second microprocessor, the first processing module, and the second processing module, respectively, for receiving the first output code stream output by the first processing module and the second output code stream output by the second processing module, and outputting the first output code stream and the second output code stream to the second microprocessor; The second microprocessor is connected to the optical fiber output interface and is used for outputting the target output code stream.
6. The switching device according to claim 1, characterized in that: The switching device further comprises a video input card, the video input card is connected to the first processing module, and the video input card comprises a video input interface; The video input card is used to receive the first type of code stream through the video input interface, and send the first type of code stream to the first processing module.
7. The switching device according to claim 1, characterized in that: The switching device further comprises a video output card, the video output card and the first processing module, the video output card comprising a video output interface; The video output card is used to output the first output code stream through the video output interface.
8. The switching device according to any one of claims 1 to 7, characterized in that: The switching device further includes a main control module connected to the first processing module and / or the second processing module.
9. The switching device according to any one of claims 1 to 7, characterized in that: The switching device further comprises a backplane, and the first processing module and the second processing module are arranged on the backplane; The backplane is provided with a backplane connector, and the backplane connector is connected to the first processing module and the second processing module; The optical fiber input card and the optical fiber output card are connected to the first processing module and the second processing module through the backplane connector.
10. A distributed system, characterized in that: The invention comprises a switching device as claimed in any one of claims 1 to 9, an encoding device connected to an optical fiber input card, and a decoding device connected to an optical fiber output card.