CN112995561B - Video matrix fast switching system, method and equipment - Google Patents

Video matrix fast switching system, method and equipment Download PDF

Info

Publication number
CN112995561B
CN112995561B CN202110504807.9A CN202110504807A CN112995561B CN 112995561 B CN112995561 B CN 112995561B CN 202110504807 A CN202110504807 A CN 202110504807A CN 112995561 B CN112995561 B CN 112995561B
Authority
CN
China
Prior art keywords
video
card
input
output
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110504807.9A
Other languages
Chinese (zh)
Other versions
CN112995561A (en
Inventor
吴臣
王贺
陈爽
李厚鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Digibird Technology Co ltd
Original Assignee
Beijing Digibird Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Digibird Technology Co ltd filed Critical Beijing Digibird Technology Co ltd
Priority to CN202110504807.9A priority Critical patent/CN112995561B/en
Publication of CN112995561A publication Critical patent/CN112995561A/en
Application granted granted Critical
Publication of CN112995561B publication Critical patent/CN112995561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0125Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards being a high definition standard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/015High-definition television systems

Abstract

The invention belongs to the technical field of video matrixes, and particularly relates to a system, a method and equipment for quickly switching a video matrix, aiming at solving the problem that video parameter transformation, disconnection and other abnormalities are generated when an input signal source is transformed in the existing video transmission process. The input card and the output card of the system adopt uniform video parameters to transmit videos between the input card and the output card according to the product series identification data. And the synchronous clock signal and the synchronous field signal sent by the video synchronous card are used for further ensuring the consistency of the clock frequency and the field frame rate of the video transmitted between the input card and the output card. The method and the device can not break the link between the input card and the output card due to the change of the external video source parameters received by the input card, and can also avoid the change of the switching relationship between the input card and the output card, for example, the link between the input card and the output card is broken or the link reestablishment time is greatly shortened due to the fact that the video source of the output card is switched from the input card 1 to the input card n.

Description

Video matrix fast switching system, method and equipment
Technical Field
The invention belongs to the technical field of video matrixes, and particularly relates to a system, a method and equipment for quickly switching video matrixes.
Background
In the process of video transmission of a conventional video matrix, an input format conversion module on an input card uniformly converts external videos (such as VGA, DP and the like) into the same video format (such as HDMI), and transmits the video formats to an output format conversion module on a corresponding output card via a switch card in a device. And after being processed by an output format conversion module on the output card, the video is output to the external display equipment. In the conventional video matrix video processing process, when an input signal source is converted (for example, the signal source is switched to another input card in the device, or the resolution of the input video is changed or the signal source is changed), video parameters transmitted between an input format conversion module on the input card and an output format conversion module on the output card are converted and disconnected abnormally, so that signal link between the two modules is disconnected, and the link needs to be reestablished. This results in an increased delay in switching and therefore a new video matrix fast switching system is needed to solve or at least mitigate the above problems.
Disclosure of Invention
In order to solve the above problems in the prior art, that is, to solve the problem that video parameter transformation, disconnection and other abnormalities occur when an input signal source is transformed in the existing video transmission process, a first aspect of the present invention provides a video matrix fast switching system, which includes an input card, a switch card and an output card that are in communication connection with each other, wherein the input card includes an input format conversion module, an input video processing module and an input control module.
The input format conversion module is configured to collect an external video signal sent by a signal source, convert the external video signal into a set data format, use the converted external video signal as first data and send the first data to the input video processing module.
The input control module is configured to detect whether the external video signal is stable, and if not, the input control module sends a first control signal to the input video processing module; otherwise, judging whether the video parameter of the first data is consistent with the first video parameter, if so, sending a second control signal to the input video processing module, otherwise, sending a third control signal to the input video processing module; the first video parameter is a video parameter of video data transmitted between the input card and the output card, namely the first video parameter includes a video parameter of a receiving port of the output card.
The input video processing module is configured to send a preset image to the switch card when receiving a first control signal sent by the input control module.
And the switching card is also configured to send the first data to the switching card when receiving a second control signal sent by the input control module.
And when receiving a third control signal sent by the input control module, the switching card is configured to process the video parameters of the first data into first video parameters and send the first video parameters to the switching card.
In some preferred embodiments, the method of "detecting whether the external video signal is stable" includes: and detecting whether the external video signal input by the signal source acquired by the input format conversion module is stable or not in an interruption or timing query mode.
In some preferred embodiments, the input card further includes an input card product series identification module, where the input card product series identification module stores a unified video parameter that is used by a series of products in which the board card is located for transmitting video data between each input card and each output card inside the device, the input control module is in communication connection with the input card product series identification module, and the input control module obtains a first video parameter based on the input card product series identification module and sends the first video parameter to the input video processing module; the first video parameters include resolution, color space, color depth, and frame rate.
In some preferred embodiments, the switch card comprises a video switch module, and the output card comprises an output format conversion module, an output video processing module, and an output control module; the output control module is configured to perform initialization configuration on the output format conversion module and the output video processing module, detect whether the switch card signal is stable, and send a fourth control signal to the output video processing module if the switch card signal is not stable; otherwise, judging whether the second video parameter is consistent with the first video parameter, if so, sending a fifth control signal to the output video processing module, and if not, sending a sixth control signal to the output video processing module; the second video parameter is a video parameter configured by a user or a pre-stored default video parameter.
The output video processing module is configured to send a preset image to the output format conversion module based on the second video parameter when receiving a fourth control signal sent by the output control module; the switching card is also configured to send video data sent by the switching card directly to the output format conversion module when receiving a fifth control signal sent by the output control module; the switching card is further configured to process video data sent by the switching card into second video parameters and send the second video parameters to the output format conversion module when receiving a sixth control signal sent by the output control module; the output format conversion module is configured to convert the video data sent by the output video processing module into a video format required by the display device for output.
It will be appreciated that the video parameter at the receiving port of the display device is a range of values. Therefore, the output card does not directly convert the data transmitted by the video switching module into the data parameters which can be received by the display equipment, but converts the data into the video parameters configured by the user or the pre-stored default video parameters.
In some preferred embodiments, the output card further comprises an output card product family identification module; the output control module is in communication connection with the output card product series identification module, and the output card product series identification module stores unified video parameters of a series of products in which the board cards are located, wherein the unified video parameters are used for transmitting video data from each input card to each output card in the equipment; the output control module acquires a first video parameter based on the output card product series identification module; the first video parameters include resolution, color space, color depth, and frame rate.
In some preferred embodiments, the system further comprises a video synchronization card comprising a video synchronization module; the video synchronization module is configured to send a synchronization clock signal and a synchronization field signal to the input video processing module and the output video processing module; the synchronous field signal is used for keeping the start and the end of each frame of the video output by each input card synchronous and is used as a basis for each output card to judge whether the video sent by the input card is in a field effective state or a field blanking state.
In some preferred embodiments, the video synchronization card further comprises a product family identification module; the product series identification module is used for storing the video parameters of the video synchronization card, and the video parameters of the video synchronization card are the same as the video parameters of the input card and the video parameters of the output card.
In a second aspect of the present invention, a method for fast switching a video matrix is provided, where the method is completed based on the video matrix fast switching system in the above technical solution, and specifically includes the following steps.
Step S100, an input control module of an input card monitors whether video data received by an input format conversion module and sent by a signal source is stable and effective in an interruption or timing query mode; if yes, executing step S200; if not, step S300 is executed.
Step S200, the input video processing module receives the external video signal data converted by the input format conversion module and judges whether the external video signal data is the same as a preset first video parameter or not, if the external video signal data is the same as the preset first video parameter, the converted external video signal data is directly sent to a video switching module of a switching card, and if the external video signal data is different from the preset first video parameter, the converted external video signal data is processed into the preset first video parameter and sent to a video switching module of the switching card; the first video parameter is a video parameter corresponding to video data between the input card and the output card, and the video parameter specifically includes resolution, color space, color depth and frame rate.
Step S300, the input control module controls the input video processing module to send a preset image to a video switching module; the preset image is generated by the input control module based on the video parameters of the output card receiving port stored in the input card product series identification module.
In a third aspect of the present invention, an apparatus is provided, which includes: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for execution by the processor to implement the video matrix fast switching method described above.
In a fourth aspect of the present invention, a computer-readable storage medium is provided, where the computer-readable storage medium stores computer instructions for being executed by the computer to implement the video matrix fast switching method described above.
According to the video matrix fast switching system, when the video matrix fast switching system is in practical application, the input card and the output card adopt unified video parameters to transmit videos between the input card and the output card according to product series identification data. And the synchronous clock signal and the synchronous field signal sent by the video synchronous card are used for further ensuring the consistency of the clock frequency and the field frame rate of the video transmitted between the input card and the output card. The method and the device can not break the link between the input card and the output card due to the change of the external video source parameters received by the input card, and can also avoid the change of the switching relationship between the input card and the output card, for example, the link between the input card and the output card is broken or the link reestablishment time is greatly shortened due to the fact that the video source of the output card is switched from the input card 1 to the input card n.
After the application is powered on, if the input card does not receive effective video data sent from the outside, the default video data generated from the inside is established and kept connected with the output card, so that the time for establishing a transmission link from an external video source to external display equipment can be shortened. If the output card does not receive the effective video data sent by the switching card, the internally generated default video data is established and kept connected with the external display equipment, so that the time for establishing a transmission link from an external video source to the external display equipment can be shortened.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings.
Fig. 1 is a block diagram of a video matrix fast switching system according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
A video matrix fast switching system according to a first embodiment of the present invention includes an input card, a switching card, and an output card communicatively connected to each other, where the input card includes an input format conversion module, an input video processing module, and an input control module.
The input format conversion module is configured to collect an external video signal sent by a signal source, convert the external video signal into a set data format, use the converted external video signal as first data and send the first data to the input video processing module.
The input control module is configured to detect whether the external video signal is stable, and if not, the input control module sends a first control signal to the input video processing module; otherwise, judging whether the video parameter of the first data is consistent with the first video parameter, if so, sending a second control signal to the input video processing module, otherwise, sending a third control signal to the input video processing module; the first video parameter is a video parameter of video data transmitted between the input card and the output card, namely the first video parameter includes a video parameter of a receiving port of the output card.
The input video processing module is configured to send a preset image to the switch card when receiving a first control signal sent by the input control module.
And the switching card is also configured to send the first data to the switching card when receiving a second control signal sent by the input control module.
And when receiving a third control signal sent by the input control module, the switching card is configured to process the video parameters of the first data into first video parameters and send the first video parameters to the switching card.
The video matrix fast switching system can avoid the problem that when the input signal source of the video matrix equipment is changed, the switching processing time is increased due to the fact that the input card and the output card need to reestablish signal links.
In order to more clearly explain the video matrix fast switching system of the present invention, the following will describe each step in the embodiments of the method of the present invention in detail with reference to the accompanying drawings.
In the following embodiments, the training process of the encoder and the decoder is detailed first, and then the video matrix fast switching system of the present application is detailed. It is to be understood that the control signal belongs to a communication manner known in the art, and the manner of generating the control signal is hidden in the following embodiments for the sake of brief description.
The input card comprises an input format conversion module, an input video processing module and an input control module, wherein the input format conversion module is configured to convert an external video into a data format which can be received by the input video processing module (for example, converting a DP output by an external video source into an HDMI or parallel signal). Description of aspects a data format that the input video processing module can receive is described as first data below.
And the input video processing module is configured to process the data sent by the input format conversion module and send the processed data to the video switching module of the switching card according to the configuration of the input control module. And when the input format conversion module does not receive stable and effective video data, sending a preset image generated in the input video processing module to the video switching module of the switching card according to the configuration of the input control module. The input video processing module receives a synchronization clock signal (SYNC _ CLK) and a synchronization field signal (SYNC _ VS) transmitted by the synchronization card. The clock of the output video of the input video processing module is generated by the synchronous clock signal after being processed by an internal phase-locked loop. The input video processing module outputs a field signal of the video in accordance with the synchronous field signal.
In some preferred embodiments, the input card of the present application further includes an input card product series identification module, which identifies specific product series information to which the input card belongs, each product series has unique identification data, the input control module can obtain video parameters of video data unification between the input card and the output card according to a table lookup of the identification data, and the video parameters mainly include resolution, color space, color depth, and frame rate (field frequency). The identification data also comprises information such as parameters, functions, models and the like of the input card.
And the input control module is configured to perform initialization configuration on the input format conversion module and the input video processing module based on the pre-stored initialization configuration parameters, and configure the input format conversion module and the input video processing module according to the product series information obtained from the input card product series identification module, the state of the externally input video signal and the externally input video signal video parameters.
Further, the output card of the present application includes an output format conversion module, an output video processing module, and an output control module, where the output format conversion module is configured to convert video data sent from the output video processing module into a video format required by an external display device for output.
And the output video processing module is configured to process the video data sent by the video switching module on the switching card and send the processed video data to the output format conversion module according to the configuration of the output control module. And when the output video processing module does not receive the stable and effective video data sent by the video switching module on the switching card, sending the preset image generated in the output video processing module to the output format conversion module according to the configuration of the output control module. The output video processing module receives the synchronous clock signal (SYNC _ CLK) and the synchronous field signal (SYNC _ VS) transmitted by the synchronous card. The output video processing module processes the video sent from the video switching module by generating an input video processing clock after the synchronous clock signal is processed by the internal phase-locked loop. And the output video processing module is used for processing the video sent to the output format conversion module by generating an output video processing clock after the synchronous clock signal is processed by the internal phase-locked loop. The output video processing module judges whether the video transmitted by the input card is in a field active state or a field blanking state according to the field sync signal.
In some preferred embodiments, the output card of the present application further includes an output card product series identification module configured to identify specific product series information to which the output card belongs, each product series has unique identification data, and the output control module may obtain video parameters of video data unification between the input card and the output card according to a table lookup of the identification data, where the video parameters include resolution, color space, color depth, and frame rate (field frequency).
And the output control module is configured to perform initialization configuration on the output format conversion module and the output video processing module, and configure the output video processing module and the output format conversion module according to the product series information obtained by the output card product series identification module and the state of the external display device.
In other preferred embodiments, the present application further comprises a video synchronization card comprising a product family identification module and a video synchronization module.
The product series identification module is configured to identify specific product series information to which the video synchronization card belongs, each product series has unique identification data, the video synchronization module can obtain video parameters with unified video data between the input card and the output card according to the identification data table lookup, and the video parameters comprise resolution, color space, color depth and frame rate (field frequency). It can be understood that the video parameters of the video synchronization card are stored in the product series identification module of the video synchronization card, and the video parameters of the video synchronization card are the same as those of the input card and those of the output card. The information stored in the input card product series identification module is the same as the information stored in the output card product series identification module, and is also the same as the information stored in the video synchronization card product series identification module.
And the video synchronization module is configured to generate a synchronization clock signal and a synchronization field signal for synchronizing the whole system according to the video parameters obtained from the product series identification module. The synchronous clock signal is used for enabling the video processing modules on the input card and the output card to uniformly use the same clock signal as a clock source of the internal phase-locked loop, and the video data transmitted between the input cards and the output cards in the system can be further ensured to be the same video parameter. The sync field signal is used to keep the start and end of each frame of video output by each input card in sync. The sync field signal is used as a basis for each output card to determine whether the video transmitted by the input card is in a live state or a blanking state. It will be appreciated that the input card, output card, and synchronization card, whose product family identification modules function identically, are all intended to allow the card to determine which family of products it is currently, and what capabilities it supports. For example, there are A, B, C three product lines. The A product is defined as a high-end product, and the supported maximum resolution is 4K @60 Hz. The B series is defined as a middle-end product, the supported maximum resolution is 4K @30Hz video, the C series is a low-end product, and the supported maximum resolution is 2K @60Hz video. The three series may include an input card, an output card and a synchronization card, and the product series identification module on each board card is to allow the board card to determine which series the board card belongs to, what the maximum video parameter supported by the series is, and the maximum video parameter is a uniform video parameter between the input card and the output card in the device.
Furthermore, the video matrix fast switching system of the present application includes a plurality of input cards and output cards, each having the same modules and functions as those of the above embodiments.
The application environment is diversified, and low-delay switching can be realized when the mutually switched input signal sources with large differences are switched. The method and the device stipulate how to keep the connection state between the input card and the output card in the device not to be disconnected after the device is electrified, ensure that video parameters transmitted between the input card and the output card are completely consistent, and realize low-delay switching.
A video matrix fast switching method according to a second embodiment of the present invention is completed based on the video matrix fast switching system described above, and specifically includes the following steps.
Step S100, an input control module of an input card monitors whether video data received by an input format conversion module and sent by a signal source is stable and effective in an interruption or timing query mode; if yes, executing step S200; if not, step S300 is executed.
Step S200, the input video processing module receives the external video signal data converted by the input format conversion module and judges whether the external video signal data is the same as a preset first video parameter or not, if the external video signal data is the same as the preset first video parameter, the converted external video signal data is directly sent to a video switching module of the switching card, and if the external video signal data is different from the preset first video parameter, the converted external video signal data is processed into the preset first video parameter and sent to the video switching module of the switching card; the first video parameter is a video parameter corresponding to video data between the input card and the output card, and the video parameter is specifically resolution, color space, color depth and frame rate.
Step S300, the input control module controls the input video processing module to send a preset image to the video switching module; the preset image is generated by the input control module based on video parameters corresponding to video data between the input card and the output card stored in the input card product series identification module. The preset image is sent to ensure that communication between the input card and the switching card is uninterrupted, and the preset image is an image pre-generated by the input card.
Preferably, the input video processing module can process the first data into the first video parameter according to the information of the input card product series identification module, then send the first video parameter to the video switching module, and send the preset image to the video switching module according to the video parameter when the external signal source has no signal. It is understood that the video parameter is determined by the product family identification module, for example, the resolution parameter of the internal transmission of the a family defined by the same set of equipment is 4K @30 Hz; the resolution parameter is 1080P @60Hz when defined as the B series.
When the input signal source is changed (for example, the signal source is switched to another input card in the equipment or the resolution of the input video is changed), since the input cards which establish the link with the output card all process the video to the maximum resolution, the video signals between the input card and the output card do not need to perform the related operation of establishing the signal link again, and the signal transmission can be performed immediately without re-establishing the link. In addition, when the input card does not receive an external video source, the default is to send the preset video data with the maximum resolution ratio to ensure the maintenance of the signal link state of the input card and the output card, thereby ensuring that the link does not need to be reestablished when the signal source does not arrive at the input card.
It is understood that steps S100-S300 of the present application only disclose a method for fast switching of a video matrix from an input card to an output card, and those skilled in the art can obtain a method for transmitting an output card to a display device in light of the technical solution of the present application.
The processing flow of the input card and the output card of the present application is described below with reference to specific embodiments.
Firstly, the processing flow of the input card related to the video switching function after the input card is powered on and started is as follows.
S1: the input control module carries out initialization configuration on the input format conversion module and the input video processing module.
S2: the input control module inquires the identification data of the input card product series identification module, and the video parameters of the video data between the input card and the output card are obtained by looking up the table.
And S3, the input control module obtains the video parameters of the video data unification between the input card and the output card according to the table lookup, and the input video processing module is configured to send the preset images generated in the input video processing module to the video switching module of the switching card according to the parameters.
S4: the input control module monitors whether the input format conversion module receives stable and effective video data sent by an external video source in an interruption or timing query mode.
S5: if the input control module monitors that the input format conversion module does not receive stable and effective video data sent by an external video source in step S4, the input video processing module is configured to look up a table to obtain uniform video parameters of the video data from the input card to the output card, and the input video processing module sends a preset image generated inside the input video processing module to the video switching module of the switching card.
S6: if the input control module monitors that the input format conversion module receives stable and effective video data sent by an external video source in step S4, comparing the video parameters of the video data sent by the external video source with the video parameters of the video data obtained by looking up the table to determine whether the video parameters of the video data unified between the input card and the output card are consistent. If the two groups of video parameters are the same, configuring an input video processing module to directly send the video data to a video switching module of the switching card without processing the video data; if the two groups of video parameters are different, the input video processing module is configured to process the video data sent by the input format conversion module into a table lookup to obtain video data of the video parameters unified by the video data between the input card and the output card, and then the video data is sent to the video switching module of the switching card.
And secondly, the processing flow related to the video switching function after the output card is powered on and started is as follows.
S1: the output control module carries out initialization configuration on the output format conversion module and the output video processing module.
S2: the output control module inquires the identification data of the product series identification module of the output card, and the video parameters of the video data between the input card and the output card are obtained by looking up the table.
And S3, the output control module configures the output video processing module to send the preset image generated in the output video processing module to the output format conversion module according to the video parameter configured by the user. And if the user does not configure the output video parameters, configuring the output video processing module by the default video parameters stored in the output control module.
S4: the output control module monitors whether the output video processing module receives stable and effective video data sent by the video switching module on the switching card in an interruption or timing query mode.
S5: if the output control module monitors that the output video processing module does not receive the stable and effective video data sent by the video switching module on the switching card in step S4, the output video processing module is configured to send a preset image generated inside the output video processing module to the output format conversion module according to the video parameters configured by the user. And if the user does not configure the output video parameters, configuring the output video processing module by the default video parameters stored in the output control module.
S6: if the output control module monitors that the output video processing module receives the stable and effective video data sent by the video switching module on the switching card in step S4, comparing the video parameters configured by the user with the video parameters obtained by table lookup to determine whether the video parameters unified from the input card to the output are consistent. And if the user does not configure the output video parameters, replacing the video parameters configured by the user with default video parameters stored in the output control module. If the two groups of video parameters are the same, configuring an output video processing module to directly send the video data to an output format conversion module without processing; if the two groups of video parameters are different, the configuration output video processing module processes the video data sent by the video switching module of the switching card into the video parameters configured by the user or the video data of the default video parameters and then sends the video data to the output format conversion module.
The invention also provides a video matrix fast switching method, which is completed based on the video matrix fast switching system and specifically comprises the following steps.
Step S100, an input control module of an input card monitors whether video data received by an input format conversion module and sent by a signal source is stable and effective in an interruption or timing query mode; if yes, executing step S200; if not, step S300 is executed.
Step S200, the input video processing module receives the external video signal data converted by the input format conversion module and judges whether the external video signal data is the same as a preset first video parameter or not, if the external video signal data is the same as the preset first video parameter, the converted external video signal data is directly sent to a video switching module of the switching card, and if the external video signal data is different from the preset first video parameter, the converted external video signal data is processed into the preset first video parameter and sent to the video switching module of the switching card; the first video parameter is a video parameter corresponding to video data between the input card and the output card, and the video parameter is specifically resolution, color space, color depth and frame rate.
Step S300, the input control module controls the input video processing module to send a preset image to the video switching module; the preset image is generated by the input control module based on video parameters corresponding to video data between the input card and the output card stored in the input card product series identification module.
Step S400, the output control module monitors whether the output video processing module receives stable and effective video data sent by the video switching module on the switching card in an interruption or timing query mode; if not, executing step S500; if yes, go to step S600.
Step S500, the output control module configures the output video processing module to send the preset image generated in the output video processing module to the output format conversion module according to the video parameter configured by the user, and if the user does not configure the output video parameter, the output video processing module is configured according to the default video parameter stored in the output control module.
And S600, the output control module compares the video parameters configured by the user with the output card product series identification module to look up a table to obtain whether the video parameters of the video data unification between the output card and the display equipment are consistent. And if the user does not configure the output video parameters, replacing the video parameters configured by the user with default video parameters stored in the output control module. If the two groups of video parameters are the same, configuring an output video processing module to directly send the video data to an output format conversion module without processing; if the two groups of video parameters are different, the configuration output video processing module processes the video data sent by the video switching module of the switching card into the video parameters configured by the user or the video data of the default video parameters and then sends the video data to the output format conversion module.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and related description of the system described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
It should be noted that, the video matrix fast switching system in the foregoing embodiment is provided by only taking the division of the above functional modules as an example, in practical application, the above function distribution may be completed by different functional modules according to needs, that is, the modules or steps in the embodiment of the present invention are further decomposed or combined, for example, the modules in the foregoing embodiment may be combined into one module, or may be further split into multiple sub-modules, so as to complete all or part of the above described functions. The names of the modules and steps involved in the embodiments of the present invention are only for distinguishing the modules or steps, and are not to be construed as unduly limiting the present invention.
In a third embodiment of the present invention, an apparatus is provided, including: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for execution by the processor to implement the video matrix fast switching method described above.
In a fourth embodiment of the present invention, a computer-readable storage medium is provided, where the computer-readable storage medium stores computer instructions for being executed by the computer to implement the video matrix fast switching method described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes and related descriptions of the storage device and the processing device described above may refer to the corresponding processes in the foregoing method examples, and are not described herein again.
Referring now to FIG. 2, there is illustrated a block diagram of a computer system suitable for use as a server in implementing embodiments of the method, system, and apparatus of the present application. The server shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the computer system includes a Central Processing Unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for system operation are also stored. The CPU601, ROM 602, and RAM603 are connected to each other via a bus 604. An Input/Output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output section 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having 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), a compact disc read-only memory (CD-ROM), Optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The embodiments of the present application described above have at least the following advantages: according to the video matrix fast switching system, the input card and the output card adopt unified video parameters to transmit videos between the input card and the output card according to the product series identification data. And the synchronous clock signal and the synchronous field signal sent by the video synchronous card are used for further ensuring the consistency of the clock frequency and the field frame rate of the video transmitted between the input card and the output card. The disconnection between the input card and the output card caused by the change of the external video source parameters received by the input card can be avoided, and the disconnection between the input card and the output card or the reestablishment of the link time can be greatly shortened caused by the change of the switching relation between the input card and the output card (for example, the video source of the output card is switched from the input card 1 to the input card n) of the input card. If the input card does not receive valid video data sent from the outside, the default video data generated inside is established and kept connected with the output card, so that the time for establishing a transmission link from an external video source to the external display equipment can be shortened. If the output card does not receive the effective video data sent by the switching card, the internally generated default video data is established and kept connected with the external display equipment, so that the time for establishing a transmission link from an external video source to the external display equipment can be shortened.
The terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing or implying a particular order or sequence.
The terms "comprises," "comprising," or any other similar term are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (6)

1. A video matrix fast switching method is characterized in that the method is completed based on a video matrix fast switching system, wherein the video matrix fast switching system comprises an input card, a switching card and an output card; the input card, the switching card and the output card are in communication connection, and the input card comprises an input format conversion module, an input video processing module, an input card product series identification module and an input control module; the input format conversion module is configured to collect an external video signal sent by a signal source, convert the external video signal into a set data format, use the converted external video signal as first data and send the first data to the input video processing module; the input control module is configured to detect whether the external video signal is stable, and if the external video signal is not stable, the input control module sends a first control signal to the input video processing module; otherwise, judging whether the video parameter of the first data is consistent with the first video parameter, if so, sending a second control signal to the input video processing module, otherwise, sending a third control signal to the input video processing module; the first video parameter is a video parameter of a receiving port of the output card; the input video processing module is configured to send a preset image to the switch card when receiving a first control signal sent by the input control module; the switching card is further configured to send the first data to the switching card when receiving a second control signal sent by the input control module; the switching card is further configured to process the video parameters of the first data into first video parameters and send the first video parameters to the switching card when receiving a third control signal sent by the input control module; the input card product series identification module stores unified video parameters of a series of products where the board cards are used for transmitting video data between each input card and each output card in equipment, the input control module is in communication connection with the input card product series identification module, and the input control module acquires first video parameters based on the input card product series identification module and sends the first video parameters to the input video processing module; the first video parameters comprise resolution, color space, color depth and frame rate; the switching card comprises a video switching module, and the output card comprises an output format conversion module, an output video processing module and an output control module; the output control module is configured to perform initialization configuration on the output format conversion module and the output video processing module, detect whether the switch card signal is stable, and send a fourth control signal to the output video processing module if the switch card signal is unstable; otherwise, judging whether the second video parameter is consistent with the first video parameter, if so, sending a fifth control signal to the output video processing module, and if not, sending a sixth control signal to the output video processing module; the second video parameter is a video parameter configured by a user or a pre-stored default video parameter; the output video processing module is configured to send a preset image to the output format conversion module based on the second video parameter when receiving a fourth control signal sent by the output control module; the switching card is also configured to send video data sent by the switching card directly to the output format conversion module when receiving a fifth control signal sent by the output control module; the switching card is further configured to process video data sent by the switching card into second video parameters and send the second video parameters to the output format conversion module when receiving a sixth control signal sent by the output control module; the output format conversion module is configured to convert the video data sent by the output video processing module into a video format required by the display device for output; the video matrix fast switching method specifically comprises the following steps: step S100, an input control module of an input card monitors whether video data received by an input format conversion module and sent by a signal source is stable and effective in an interruption or timing query mode; if yes, executing step S200; if not, executing step S300; step S200, the input video processing module receives the external video signal data converted by the input format conversion module and judges whether the external video signal data is the same as a preset first video parameter or not, if the external video signal data is the same as the preset first video parameter, the converted external video signal data is directly sent to a video switching module of a switching card, and if the external video signal data is different from the preset first video parameter, the converted external video signal data is processed into the preset first video parameter and sent to a video switching module of the switching card; the first video parameters are video parameters corresponding to video data between the input card and the output card, and the video parameters are resolution, color space, color depth and frame rate; step S300, the input control module controls the input video processing module to send a preset image to a video switching module; the preset image is generated by the input control module based on the video parameters of the output card receiving port stored in the input card product series identification module.
2. The video matrix fast switching method of claim 1, wherein the output card further comprises an output card product family identification module; the output control module is in communication connection with the output card product series identification module, and the output card product series identification module stores unified video parameters of a series of products in which the board cards are located, wherein the unified video parameters are used for transmitting video data from each input card to each output card in the equipment; the output control module acquires a first video parameter based on the output card product series identification module; the first video parameters include resolution, color space, color depth, and frame rate.
3. The video matrix fast switching method according to claim 2, wherein the video matrix fast switching system further comprises a video synchronization card, the video synchronization card comprising a video synchronization module; the video synchronization module is configured to send a synchronization clock signal and a synchronization field signal to the input video processing module and the output video processing module; the synchronous field signal is used for keeping the start and the end of each frame of the video output by each input card synchronous and is used as a basis for each output card to judge whether the video sent by the input card is in a field effective state or a field blanking state.
4. The video matrix fast switching method according to claim 3, wherein said video synchronization card further comprises a product family identification module; the product series identification module is used for storing the video parameters of the video synchronization card, and the video parameters of the video synchronization card are the same as the video parameters of the input card and the video parameters of the output card.
5. An electronic device, comprising: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for execution by the processor to implement the video matrix fast switching method of claim 1.
6. A computer-readable storage medium storing computer instructions for execution by the computer to implement the video matrix fast switching method of claim 1.
CN202110504807.9A 2021-05-10 2021-05-10 Video matrix fast switching system, method and equipment Active CN112995561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110504807.9A CN112995561B (en) 2021-05-10 2021-05-10 Video matrix fast switching system, method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110504807.9A CN112995561B (en) 2021-05-10 2021-05-10 Video matrix fast switching system, method and equipment

Publications (2)

Publication Number Publication Date
CN112995561A CN112995561A (en) 2021-06-18
CN112995561B true CN112995561B (en) 2021-10-15

Family

ID=76337414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110504807.9A Active CN112995561B (en) 2021-05-10 2021-05-10 Video matrix fast switching system, method and equipment

Country Status (1)

Country Link
CN (1) CN112995561B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095669A (en) * 2021-10-20 2022-02-25 瑞芯微电子股份有限公司 Multi-input multi-output video bridging chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316276A (en) * 2011-09-26 2012-01-11 成都索贝数码科技股份有限公司 Signal switching matrix system
CN106341575A (en) * 2015-12-16 2017-01-18 深圳艾科创新微电子有限公司 Video signal real-time output processing system
CN110312084A (en) * 2019-06-28 2019-10-08 南京图格医疗科技有限公司 A kind of multi-channel video processing device and the method based on processor realization watermark superposition
CN212086334U (en) * 2020-04-29 2020-12-04 西安诺瓦星云科技股份有限公司 Video processing apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100245665A1 (en) * 2009-03-31 2010-09-30 Acuity Systems Inc Hybrid digital matrix

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316276A (en) * 2011-09-26 2012-01-11 成都索贝数码科技股份有限公司 Signal switching matrix system
CN106341575A (en) * 2015-12-16 2017-01-18 深圳艾科创新微电子有限公司 Video signal real-time output processing system
CN110312084A (en) * 2019-06-28 2019-10-08 南京图格医疗科技有限公司 A kind of multi-channel video processing device and the method based on processor realization watermark superposition
CN212086334U (en) * 2020-04-29 2020-12-04 西安诺瓦星云科技股份有限公司 Video processing apparatus

Also Published As

Publication number Publication date
CN112995561A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
US11829405B2 (en) Image display device and image display system
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
US20150347077A1 (en) Display device, multi-display system and multi-display method
CN112995561B (en) Video matrix fast switching system, method and equipment
JP2017531339A (en) Method and apparatus for interconnecting smart terminals and in-vehicle terminals
CN110930932B (en) Display screen correction method and system
CA3143824A1 (en) Special effect synchronization method, device, and storage medium
US20140111526A1 (en) Terminal device and display apparatus
US10319337B2 (en) Information processing device and display control method for calculating data transfer rates
KR20130005544A (en) Apparatus and method for providing user interface
KR100654771B1 (en) Display apparatus and control method thereof
WO2019159308A1 (en) Video display device, video display method, and video signal processing device
US20230305792A1 (en) Screen projection method and apparatus, electronic device, and computer-readable medium
CN112988313B (en) Path determining method and device and electronic equipment
EP4297414A1 (en) Electronic device and operating method therefor
US20140375895A1 (en) Electronic device, television device, and gui information communication method
EP2849432A1 (en) Relay device
CN115225774A (en) Synchronization method and system for distributed video mosaic control
KR101187269B1 (en) Electronic apparatus for transmitting/receiving data using mhl interface and data transmitting/receiving method thereof
CN110719502A (en) Remote picture synchronization method, device, equipment and system
CN115100996B (en) Display configuration circuit, method, micro display panel and electronic device
CN113473242B (en) Video image transmission method, related system, device and storage medium
JP6979092B2 (en) Content output system and method
EP3941068A1 (en) Automatic correspondence of encoders and decoders to video ports
US20160006793A1 (en) Osd subject file obtaining and providing method and device, updating system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant