CN114520883A - Video source switching method and device and video processing equipment - Google Patents

Video source switching method and device and video processing equipment Download PDF

Info

Publication number
CN114520883A
CN114520883A CN202011306440.1A CN202011306440A CN114520883A CN 114520883 A CN114520883 A CN 114520883A CN 202011306440 A CN202011306440 A CN 202011306440A CN 114520883 A CN114520883 A CN 114520883A
Authority
CN
China
Prior art keywords
storage area
source
source selection
target
identification code
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.)
Granted
Application number
CN202011306440.1A
Other languages
Chinese (zh)
Other versions
CN114520883B (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202011306440.1A priority Critical patent/CN114520883B/en
Publication of CN114520883A publication Critical patent/CN114520883A/en
Application granted granted Critical
Publication of CN114520883B publication Critical patent/CN114520883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention discloses a video source switching method, a video source switching device and video processing equipment. The video source switching method comprises the following steps: acquiring a target identification code and a target configuration parameter corresponding to a target video source; storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code; reading a target identification code from a first source selection storage area and storing the target identification code into a second source selection storage area in a first vertical blanking period corresponding to a target video source; and when the first source selection storage area and the second source selection storage area are monitored to store the same target identification code, replacing the initial configuration parameters of the initial video source with the target configuration parameters, storing the initial configuration parameters into the layer processing storage area, and storing the target video source into the storage. The invention can realize seamless connection when switching the video source.

Description

Video source switching method and device and video processing equipment
Technical Field
The embodiment of the invention relates to the technical field of video processing, in particular to a video source switching method, a video source switching device and video processing equipment.
Background
At present, when video processing is carried out on video processing equipment, each layer needs to support switching of video sources, and if the video sources are directly switched without any processing, instantaneous screen leakage can be caused when the video sources are switched. Therefore, after the video source configuration parameters are issued, the bottom layer needs to perform relevant processing to ensure synchronous matching of the video source configuration parameters, and the problem of screen splash is solved. However, although the conventional video source switching method solves the problem of instantaneous screen splash during video source switching, a pause phenomenon occurs at the moment of switching the video source.
Therefore, the present invention is directed to a video source switching method capable of avoiding a pause phenomenon when switching video sources.
Disclosure of Invention
In order to overcome the defects and shortcomings in the prior art, the embodiment of the invention discloses a video source switching method, a video source switching device, video processing equipment and a computer readable storage medium, which can realize seamless connection of video source switching, avoid the problem of instantaneous screen splash when the video source switching is carried out in the prior art, and simultaneously avoid the problem of blockage when the video source switching is carried out in the prior art.
In a first aspect, an embodiment of the present invention discloses a video source switching method, including: acquiring a target identification code and a target configuration parameter corresponding to a target video source; storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code; reading the target identification code from the first source selection storage area to be stored in the second source selection storage area in a first field blanking period corresponding to the target video source; and when the first source selection storage area and the second source selection storage area are monitored to store the same target identification code, storing the target configuration parameters to replace the initial configuration parameters of the initial video source in the layer processing storage area, and storing the target video source in a memory.
The target identification code of the target video source is stored in the first source selection storage area, whether the same identification code is stored in the first source selection storage area and the second source selection storage area is continuously detected, the target identification code is read from the first source selection storage area and stored in the second source selection storage area in the first vertical blanking period corresponding to the target video source, the same target identification code is monitored to be stored in the first source selection storage area and the second source selection storage area, the initial configuration parameters of the initial video source replaced by the target configuration parameters are stored in the layer processing storage area, the target video source is stored in the storage, seamless connection of video source switching can be achieved, the problem that instantaneous screen splash occurs when video source switching is conducted in the prior art is avoided, and the problem that jamming occurs when video sources are switched in the prior art is also avoided.
In one embodiment of the present invention, the storing the target identification code to the first source selection storage area includes: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
The target identification code is stored in the first source selection storage area in the second field blanking period of the initial video source, so that the interference caused by the output and display of the initial video source can be avoided, namely, the phenomenon that the output of the initial video source flickers before the video source is switched is avoided.
In one embodiment of the present invention, the storing the target identification code to the first source selection storage area includes: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to the first source selection storage area in the second vertical blanking period of the initial video source.
The target identification code is firstly stored in the third source selection storage area in response to the parameter updating instruction, and then the target identification code is read from the third source selection storage area and stored in the first source selection storage area in the vertical blanking period of the initial video source, so that the data processing speed can be improved.
In one embodiment of the present invention, the target configuration parameters include: the video source switching method further comprises the following steps: reading the target video source output display from the memory based on the target resolution.
In an embodiment of the present invention, in a first vertical blanking period corresponding to the target video source, before the target identification code is read from the first source selection storage area and stored in the second source selection storage area, the second source selection storage area stores an initial identification code of the initial video source, and the initial configuration parameters include: an initial resolution; after the continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code, the method further comprises the following steps: and when the identification codes stored in the first source selection storage area and the second source selection storage area are monitored to be different, reading the initial video source output display from the storage based on the initial resolution.
In a second aspect, an embodiment of the present invention discloses a video source switching device, including: the acquisition module is used for acquiring an object identification code and an object configuration parameter corresponding to an object video source; the storage monitoring module is used for storing the target identification code into a first source selection storage area and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code; the reading storage module is used for reading the target identification code from the first source selection storage area to store the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source; and the replacement storage module is used for monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing the initial configuration parameters of the target configuration parameters replacing the initial video source in the layer processing storage area, and storing the target video source in a memory.
In one embodiment of the present invention, the storage monitoring module is configured to store the object identification code in the first source selection storage area, and includes: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
In an embodiment of the present invention, the storage monitoring module is specifically configured to: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to the first source selection storage area in the second vertical blanking period of the initial video source.
In a third aspect, a video processing apparatus disclosed in an embodiment of the present invention includes: a memory; a microprocessor; the programmable logic device is electrically connected with the microprocessor and the memory; the microprocessor is used for outputting a target identification code and target configuration parameters corresponding to a target video source to the programmable logic device, so that the programmable logic device and the memory are matched to execute any one of the video source switching methods.
In one embodiment of the present invention, the programmable logic device includes: a source selection module connected to the microprocessor and comprising: the first source selection storage area, the second source selection storage area and the third source selection storage area are used for storing the target identification code into the first source selection storage area, continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code or not so as to continuously output a monitoring signal, and reading the target identification code from the first source selection storage area to the second source selection storage area in the first vertical blanking period corresponding to the target video source; the layer processing module is connected with the source selection module, the microprocessor and the memory, and comprises: the layer processing storage area is configured to, when the monitoring signal indicates that the first source selection storage area and the second source selection storage area store the same target identification code, store the initial configuration parameter of the initial video source replaced by the target configuration parameter in the layer processing storage area, and store the target video source in the memory.
In a fourth aspect, a computer-readable storage medium is disclosed in an embodiment of the present invention, where a computer program is stored, and when the stored computer program is executed by a processor, the computer program can implement any one of the video source switching methods described above.
One or more of the above technical solutions may have the following advantages or beneficial effects: the target identification code of the target video source is stored in the first source selection storage area, whether the same identification code is stored in the first source selection storage area and the second source selection storage area is continuously detected, the target identification code is read from the first source selection storage area and stored in the second source selection storage area in the first vertical blanking period corresponding to the target video source, the same target identification code is monitored to be stored in the first source selection storage area and the second source selection storage area, the initial configuration parameters of the initial video source are replaced by the target configuration parameters and stored in the layer processing storage area, the target video source is stored in the storage, seamless connection of video source switching can be achieved, the problem that instantaneous screen splash occurs when video sources are switched in the prior art is avoided, and the problem that jamming occurs when video sources are switched in the prior art is also avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a video source switching method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a display system according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a video processing device according to an embodiment of the present invention.
Fig. 4 is a block diagram of a programmable logic device in the video processing apparatus shown in fig. 3.
Fig. 5 is a signal diagram of a video source switching method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a video source switching device according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
As shown in fig. 1, a video source switching method according to an embodiment of the present invention includes steps S11 to S17.
S11: acquiring a target identification code and a target configuration parameter corresponding to a target video source;
s13: storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code;
s15: reading the target identification code from the first source selection storage area to store in the second source selection storage area in a first vertical blanking period corresponding to the target video source;
s17: and when the first source selection storage area and the second source selection storage area are monitored to store the same target identification code, storing the target configuration parameters to replace the initial configuration parameters of the initial video source in the layer processing storage area, and storing the target video source in a memory.
In step S11, the target video source is, for example, a format video source such as an HDMI format video source, a DVI format video source, a DP format video source, or an SDI format video source. The mentioned target identification code is a unique identification of the target video source, and is composed of the number of the target video source, for example. The mentioned target configuration parameters include, for example: target resolution, color space, etc.
The first source selection storage area and the second source selection storage area mentioned in step S13 are, for example, different registers, but the embodiment is not limited to this, and the first source selection storage area and the second source selection storage area may also be other different storage areas.
The first vertical blanking period mentioned in step S15 is, for example, a high level duration in the vertical sync signal VS in the target video source.
The initial video source mentioned in step S17 is, for example, a video source with the same format as the target video source, and may of course be a video source with a format different from the target video source, where the initial video source is, for example, an HDMI format video source, a DVI format video source, a DP format video source, an SDI format video source, or the like, and it can be understood that the initial video source is a video source that is output and displayed before the switching of the video source is completed. The initial configuration parameters mentioned include, for example: initial resolution, color space, and the like. The mentioned layer processing storage area is, for example, a register, and the mentioned memory is, for example, a DDR memory.
The target identification code of the target video source is stored in the first source selection storage area, whether the same identification code is stored in the first source selection storage area and the second source selection storage area is continuously detected, the target identification code is read from the first source selection storage area and stored in the second source selection storage area in the first vertical blanking period corresponding to the target video source, the same target identification code is monitored to be stored in the first source selection storage area and the second source selection storage area, the initial configuration parameters of the initial video source replaced by the target configuration parameters are stored in the layer processing storage area, the target video source is stored in the storage, seamless connection of video source switching can be achieved, the problem that instantaneous screen splash occurs when video source switching is conducted in the prior art is avoided, and the problem that jamming occurs when video sources are switched in the prior art is also avoided.
Further, the storing of the object identification code to the first source selection storage area mentioned in the step S13 includes, for example: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
Because the initial video source is always output and displayed before the initial video source is switched to the target video source, the target identification code is stored to the first source selection storage area through the second vertical blanking period of the initial video source, so that the interference caused by the output and display of the initial video source can be avoided, namely, the phenomenon that the output of the initial video source flickers before the video source is switched is avoided.
Further, the storing of the object identification code to the first source selection storage area mentioned in the step S13 includes, for example: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to the first source selection storage area in the second vertical blanking period of the initial video source.
The parameter updating instruction mentioned above is, for example, high level valid, the data output by the microprocessor is output to the programmable logic device in series, and the data processing inside the programmable logic device is parallel processing, so that the target identification code is stored in the third source selection storage area in response to the parameter updating instruction, and then the target identification code is read from the third source selection storage area and stored in the first source selection storage area in the vertical blanking period of the initial video source, so that the data processing rate can be improved.
Further, after step S17, the video source switching method further includes, for example: reading the target video source output display from the memory based on the target resolution.
Further, before step S15, the method further includes, after the continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code, the step of: and when the identification codes stored in the first source selection storage area and the second source selection storage area are monitored to be different, reading the initial video source output display from the storage based on the initial resolution.
For better understanding of the present embodiment, a specific embodiment of the video source switching method disclosed in the present embodiment is illustrated below with reference to fig. 2 to 5.
Referring to fig. 2, the present embodiment discloses a display system 200 comprising a video processing device 100 and a target display screen 210. The video processing apparatus 100 is, for example, configured to execute the video source switching method disclosed in the foregoing, and the target display screen 210 is connected to the video processing apparatus 100 and configured to display a video source output by the video processing apparatus 100.
As shown in fig. 3, the video processing apparatus 100 includes, for example: the device comprises a memory 110, a programmable logic device 130 and a microprocessor 150, wherein the programmable logic device 130 is connected with the memory 110 and the microprocessor 150, and the microprocessor 150 is used for outputting an object identification code corresponding to an object video source and an object configuration parameter to the programmable logic device 130, so that the programmable logic device 130 and the memory 110 cooperate to execute the video source switching method disclosed in the foregoing. The microprocessor 150 is, for example, an MCU (micro controller Unit), which is also called a Single Chip Microcomputer (Single Chip Microcomputer) or a Single Chip Microcomputer, or other microprocessors with certain data processing and computing capabilities, such as an ARM processor. The Programmable logic device 130 is, for example, an FPGA (Field-Programmable Gate Array) or other similar logic device. The memory 110 is, for example, a volatile memory, such as a DDR memory. Further, the video processing apparatus 100 is also provided with devices such as a plurality of video source input interfaces to which the programmable logic device 130 is connected, for example.
The target display screen 210 is, for example, an LED display screen, and for the purpose of splicing a plurality of LED display boxes, each LED display box includes, for example, a receiving card and at least one LED lamp panel connected to the receiving card, where the receiving card includes, for example, a network interface, a programmable logic device electrically connected to the network interface, and a memory. The video processing apparatus 100 is connected to a receiving card of the target display screen 210, for example. The video processing device 100 is, for example, provided with a network port connected to a network port of a receiving card through a network cable, or the video processing device 100 is, for example, provided with a video source output interface connected to a video source input interface of a sending card, and the network port of the sending card is connected to the network port of the receiving card.
Further, as shown in fig. 4, the programmable logic device 130 includes a source selection module 131 and a layer processing module 132, where the source selection module 131 is connected to the microprocessor 150, and the layer processing module 132 is connected to the microprocessor 150, the memory 110 and the source selection module 131. The source selection module 131 includes, for example: a first source-selective memory area SelReg1, a second source-selective memory area SelReg2 and a third source-selective memory area SelReg 0. The layer processing module 132 includes, for example, a layer processing storage area. The source selection module 131 and the layer processing module 132 are existing module architectures of programmable logic devices in existing video processing equipment, and their constituent devices are not described herein again.
Specifically, the source selection module 131 is configured to store the target identification code into the first source selection storage area SelReg1, continuously monitor whether the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same identification code to continuously output a monitoring signal, and read the target identification code from the first source selection storage area SelReg1 to the second source selection storage area SelReg2 in the first vertical blanking period corresponding to the target video source. The layer processing module 132 is configured to, when the monitoring signal indicates that the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same target identification code, replace the initial configuration parameter of the initial video source with the target configuration parameter and store the initial configuration parameter in the layer processing storage area, and store the target video source in the memory 110.
For example, as shown in fig. 2 and 4, the source a is an original video source, the source B is a destination video source, and the source a is output to the destination display screen 210 for display before the video source switching is performed by the video processing apparatus 100. As shown in fig. 5, the initial identification code a corresponding to the source a at this time is stored in the first source selection storage area SelReg1, the second source selection storage area SelReg2, and the third source selection storage area SelReg 0.
When switching video sources, the microprocessor 150 obtains the target identification code B corresponding to the source B and the target configuration parameters, and sends the target identification code B and the target configuration parameters to the source selection module 131 and the layer processing module 132 for caching. Then, the microprocessor 150 issues a parameter Update instruction Update to the source selection module 131 of the programmable logic device 130, during a period when the parameter Update instruction Update is valid, that is, is at a high level, the source selection module 131 reads the target identification code B of the B source from the buffer into the third source selection storage region SelReg0 for storage, at this time, the video processing device 100 still outputs an initial video source, that is, an a source, to the target display screen 210 for display, that is, the layer processing storage region in the layer processing module 132 stores the initial configuration parameters of the a source, the source selection module 131 outputs the a source to the layer processing module 132, so that the layer processing module 132 stores the a source into the memory 110, and the layer processing module 132 reads the a source output display from the memory 110 based on the initial resolution in the initial configuration parameters, for example.
Next, the source selecting module 131 reads the target identification code B from the third source-selected storage area SelReg0 and stores the target identification code B in the first source-selected storage area SelReg1 during the period of the initial video source, i.e., the high level of the field sync signal AVs corresponding to the a source, at this time, the source selecting module 131 does not output the a source to the layer processing module 132, but outputs the B source to the layer processing module 132, however, the layer processing module 132 receives the B source and does not transfer it to the memory at this time, but ignores it, because we switch the B source with the second field blanking period corresponding to the a source, but the B source may not be in the corresponding first field blanking period but in the video valid area, and this time, if the B source is switched to the B source, the problem of flickering on the upper half or the lower half of the layer may occur.
Specifically, the source selection module 131 may continuously monitor whether the same identification code is stored in the first source selection storage area SelReg1 and the second source selection storage area SelReg2 to output the monitoring signal Change to the layer processing module 132, where the identification code stored in the first source selection storage area is the target identification code B, the initial identification code stored in the second source selection storage area SelReg2 is a, and if the two identification codes are different, the monitoring signal Change is at a high level, the layer processing module 132 detects that the monitoring signal Change is at a high level, and does not forward the B source to the memory 110 or perform the parameter replacement operation, and at this time, the memory 110 prestores, for example, 1-3 frames of a source, and the video processing device 100 still outputs the a source to the target display screen 210 for display.
When the first vertical blanking period corresponding to the target video source, i.e. the B source, arrives, i.e. during the high level period of the field sync signal BVs corresponding to the B source, the source selection module 131 will read the target identification code B from the first source selection storage area SelReg1 and store the target identification code B in the second source selection storage area SelReg2, and at this time, it is detected that the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same target identification code B, the Change of the monitor signal to the low level indicates that the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same identification code, the layer processing module 132 detects that the monitoring signal Change replaces the initial configuration parameters corresponding to the source a for the target configuration parameters in the low-level read cache, stores the initial configuration parameters in the layer processing storage area, stores the source B in the memory 110, to complete the switch from the a source to the B source, the layer processing module 132 may read the B source output from the memory 110 to the target display screen 210 for display based on the target configuration parameter, such as the target resolution.
Further, as shown in fig. 6, an embodiment of the present invention discloses a video source switching apparatus 400, comprising: an acquisition module 410, a storage monitoring module 430, a read storage module 450, and a replacement storage module 470.
The obtaining module 410 is configured to obtain an object identification code and an object configuration parameter corresponding to an object video source. The storage monitoring module 430 is configured to store the target identifier into the first source selection storage area, and continuously monitor whether the first source selection storage area and the second source selection storage area store the same identifier. The reading storage module 450 is configured to read the target identification code from the first source selection storage area to store the target identification code in the second source selection storage area in the first vertical blanking period corresponding to the target video source. The replacement storage module 470 is configured to monitor that the first source selection storage area and the second source selection storage area store the same target identification code, store the initial configuration parameter of the target configuration parameter replacing the initial video source in the layer processing storage area, and store the target video source in a memory.
Further, the storage monitoring module 430 is configured to store the object identification code in the first source selection storage area, and includes: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
Further, the storage monitoring module 430 is specifically configured to: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to the first source selection storage area in the second vertical blanking period of the initial video source.
Further, the mentioned target configuration parameters include: the video source switching apparatus 400 further includes, for example, at the target resolution: and the output display module is used for reading the target video source output display from the memory based on the target resolution.
Further, in a first vertical blanking period corresponding to the target video source, before the target identification code is read from the first source selection storage area and stored in the second source selection storage area, the second source selection storage area stores an initial identification code of the initial video source, and the initial configuration parameters include: the video source switching apparatus 400 further includes, for example, at the initial resolution: and the second output display module is used for monitoring that the identification codes stored in the first source selection storage area and the second source selection storage area are different, and reading the initial video source from the storage device to output and display the initial video source based on the initial resolution.
It should be noted that the video source switching method implemented by the video source switching apparatus 400 disclosed in this embodiment is as described in the foregoing embodiments, and therefore, the detailed description thereof is omitted here. Alternatively, each module, unit and other operations or functions described above in this embodiment are respectively for realizing the method in the foregoing embodiment.
Further, as shown in FIG. 7, one embodiment of the present invention discloses a computer-readable storage medium 500. The computer-readable storage medium 500 is, for example, a nonvolatile memory such as: magnetic media (e.g., hard disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices specially constructed for storing and executing computer-executable instructions (e.g., Read Only Memories (ROMs), Random Access Memories (RAMs), flash memories, etc.). The computer-readable storage medium 500 has stored thereon a computer program 510. The computer-readable storage medium 500 may execute the computer program 510 by one or more processors or processing devices to implement the video source switching method in the foregoing embodiments.
In summary, the above embodiments can be implemented by storing the target identification code of the target video source in the first source selection storage area, and continuously detects whether the first source selection storage area and the second source selection storage area store the same identification code, reading a target identification code from a first source selection storage area in a first vertical blanking period corresponding to a target video source and storing the target identification code into a second source selection storage area, monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing an initial configuration parameter of the initial video source replaced by a target configuration parameter into a layer processing storage area, and storing the target video source into a storage, seamless connection of video source switching can be realized, the problem that screen is dazzled in the twinkling of an eye when the video source switching is carried out in the prior art is avoided, and the problem that the jam is pause when switching the video source in the prior art is also avoided.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A video source switching method, comprising:
acquiring a target identification code and a target configuration parameter corresponding to a target video source;
storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code;
reading the target identification code from the first source selection storage area to store in the second source selection storage area in a first vertical blanking period corresponding to the target video source;
and when the first source selection storage area and the second source selection storage area are monitored to store the same target identification code, storing the target configuration parameters to replace the initial configuration parameters of the initial video source in the layer processing storage area, and storing the target video source in a memory.
2. The video source switching method according to claim 1, wherein said storing the object identification code in a first source selection storage area comprises:
and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
3. The video source switching method according to claim 2, wherein said storing the object identification code in a first source selection storage area comprises:
and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to the first source selection storage area in the second vertical blanking period of the initial video source.
4. The video source switching method according to claim 1, wherein the target configuration parameters comprise: a target resolution, after said storing said target video source in a memory, further comprising:
reading the target video source output display from the memory based on the target resolution.
5. The video source switching method according to claim 4, wherein in a first vertical blanking period corresponding to the target video source, the target identification code is read from the first source selection storage area and stored in the second source selection storage area, and before the target identification code is read from the first source selection storage area and stored in the second source selection storage area, the second source selection storage area stores an initial identification code of the initial video source, and the initial configuration parameters include: an initial resolution;
after the continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code, the method further comprises the following steps:
and when the first source selection storage area and the second source selection storage area are monitored to store different identification codes, reading the initial video source output display from the storage based on the initial resolution.
6. A video source switching apparatus, comprising:
the acquisition module is used for acquiring a target identification code and a target configuration parameter corresponding to a target video source;
the storage monitoring module is used for storing the target identification code into a first source selection storage area and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code;
the reading storage module is used for reading the target identification code from the first source selection storage area to store the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source;
and the replacement storage module is used for monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing the initial configuration parameters of the target configuration parameters replacing the initial video source in the layer processing storage area, and storing the target video source in a memory.
7. The video source switching device of claim 6, wherein the storage monitoring module is configured to store the target identification code in the first source selection storage area, and comprises: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
8. The video source switching device of claim 7, wherein the storage monitoring module is specifically configured to: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to the first source selection storage area in the second vertical blanking period of the initial video source.
9. A video processing apparatus, comprising:
a memory;
a microprocessor;
the programmable logic device is electrically connected with the microprocessor and the memory;
the microprocessor is used for outputting a target identification code corresponding to a target video source and target configuration parameters to the programmable logic device, so that the programmable logic device and the memory cooperate to execute the video source switching method according to any one of claims 1 to 5.
10. The video processing device of claim 9, wherein the programmable logic device comprises:
a source selection module connected to the microprocessor and comprising: the first source selection storage area, the second source selection storage area and the third source selection storage area are used for storing the target identification code into the first source selection storage area, continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code or not so as to continuously output a monitoring signal, and reading the target identification code from the first source selection storage area to the second source selection storage area in the first vertical blanking period corresponding to the target video source;
the layer processing module is connected with the source selection module, the microprocessor and the memory, and comprises: the layer processing storage area is configured to, when the monitoring signal indicates that the first source selection storage area and the second source selection storage area store the same target identification code, store the initial configuration parameter of the initial video source replaced by the target configuration parameter in the layer processing storage area, and store the target video source in the memory.
CN202011306440.1A 2020-11-19 2020-11-19 Video source switching method and device and video processing equipment Active CN114520883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011306440.1A CN114520883B (en) 2020-11-19 2020-11-19 Video source switching method and device and video processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011306440.1A CN114520883B (en) 2020-11-19 2020-11-19 Video source switching method and device and video processing equipment

Publications (2)

Publication Number Publication Date
CN114520883A true CN114520883A (en) 2022-05-20
CN114520883B CN114520883B (en) 2024-03-15

Family

ID=81594150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011306440.1A Active CN114520883B (en) 2020-11-19 2020-11-19 Video source switching method and device and video processing equipment

Country Status (1)

Country Link
CN (1) CN114520883B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998021891A2 (en) * 1996-11-14 1998-05-22 Philips Electronics N.V. A receiver and a method of controlling the viewing of television programmes
JP2001251643A (en) * 2000-03-07 2001-09-14 Digital Electronics Corp Video decode system, space converter, and display controller chip
US20040261127A1 (en) * 1991-11-25 2004-12-23 Actv, Inc. Digital interactive system for providing full interactivity with programming events
CN101854487A (en) * 2009-03-30 2010-10-06 深圳市朗科科技股份有限公司 Video signal switching system and method
US20120013807A1 (en) * 2010-07-15 2012-01-19 Gaurav Arora Method and apparatus for fast source switching and/or automatic source switching
CN103559874A (en) * 2008-10-13 2014-02-05 苹果公司 Seamless display migration
CN105657291A (en) * 2016-01-12 2016-06-08 西安诺瓦电子科技有限公司 Video controller
CN108810648A (en) * 2018-06-29 2018-11-13 青岛海信电器股份有限公司 A kind of method and terminal carrying out image procossing
US20190082120A1 (en) * 2016-03-24 2019-03-14 Hitachi Kokusai Electric Inc. Encoding device comprising video switching device, encoding method including video switching detection method
CN110891182A (en) * 2018-09-11 2020-03-17 华为技术有限公司 Method, device and system for realizing video stream switching
CN111866413A (en) * 2020-08-04 2020-10-30 中航华东光电有限公司 Method for realizing CVBS (composite video broadcast signal) decoding display based on FPGA (field programmable Gate array)

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040261127A1 (en) * 1991-11-25 2004-12-23 Actv, Inc. Digital interactive system for providing full interactivity with programming events
WO1998021891A2 (en) * 1996-11-14 1998-05-22 Philips Electronics N.V. A receiver and a method of controlling the viewing of television programmes
JP2001251643A (en) * 2000-03-07 2001-09-14 Digital Electronics Corp Video decode system, space converter, and display controller chip
CN103559874A (en) * 2008-10-13 2014-02-05 苹果公司 Seamless display migration
CN101854487A (en) * 2009-03-30 2010-10-06 深圳市朗科科技股份有限公司 Video signal switching system and method
US20120013807A1 (en) * 2010-07-15 2012-01-19 Gaurav Arora Method and apparatus for fast source switching and/or automatic source switching
CN105657291A (en) * 2016-01-12 2016-06-08 西安诺瓦电子科技有限公司 Video controller
US20190082120A1 (en) * 2016-03-24 2019-03-14 Hitachi Kokusai Electric Inc. Encoding device comprising video switching device, encoding method including video switching detection method
CN108810648A (en) * 2018-06-29 2018-11-13 青岛海信电器股份有限公司 A kind of method and terminal carrying out image procossing
CN110891182A (en) * 2018-09-11 2020-03-17 华为技术有限公司 Method, device and system for realizing video stream switching
CN111866413A (en) * 2020-08-04 2020-10-30 中航华东光电有限公司 Method for realizing CVBS (composite video broadcast signal) decoding display based on FPGA (field programmable Gate array)

Also Published As

Publication number Publication date
CN114520883B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
US20170148422A1 (en) Refresh control method and apparatus of display device
US10798334B2 (en) Image processing system, image display method, display device and storage medium
CN113132651B (en) Image processing method and device and display control system
CN103021378A (en) Method and device for multi-screen mosaic display
CN111615684B (en) Variable pixel rate display interface
US10817242B2 (en) Image display device, connection method of image display device, and multi-display system
US11842673B2 (en) Control method and system for display switching, electronic device and storage medium
CN106937071A (en) A kind of EDID adaptive approach and system
CN104980666A (en) Video switcher and switching method thereof
CN113205779A (en) Multi-screen synchronous control method, device and system suitable for electronic ink screen
CN105898521A (en) Bullet screen adding device and bullet screen adding method
CN111240621B (en) Method and device for controlling display frequency of display screen and electronic equipment
CN110365918A (en) A kind of information source switching method and equipment
CN108255448B (en) Controller of display device, processing method thereof, storage medium, and processor
CN114520883A (en) Video source switching method and device and video processing equipment
CN101834979A (en) Video signal windowing response method and device thereof and video display system
CN107566765A (en) A kind of on-screen menu display control method, storage medium and 8K TVs
CN112995559B (en) Video processing method, device and system, display controller and display control system
US20140104242A1 (en) System and method for concurrent display of a video signal on a plurality of display devices
CN104079855A (en) Digital video device and method for reading EDID of HDMI
CN113126938A (en) Image display control method and device, display box and display system
CN106027925B (en) display control method and device of OSD menu
US9997141B2 (en) Display system and method supporting variable input rate and resolution
CN105808470A (en) Electronic device and operation method thereof
KR101646927B1 (en) Multivision system for reconstructing contents using smart device and method thereof

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