CN107222738A - A kind of video formats determine method and device - Google Patents

A kind of video formats determine method and device Download PDF

Info

Publication number
CN107222738A
CN107222738A CN201710478430.8A CN201710478430A CN107222738A CN 107222738 A CN107222738 A CN 107222738A CN 201710478430 A CN201710478430 A CN 201710478430A CN 107222738 A CN107222738 A CN 107222738A
Authority
CN
China
Prior art keywords
signal
synchronous head
head pulse
video formats
input
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.)
Pending
Application number
CN201710478430.8A
Other languages
Chinese (zh)
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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201710478430.8A priority Critical patent/CN107222738A/en
Publication of CN107222738A publication Critical patent/CN107222738A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

Method and device is determined the invention discloses a kind of video formats, methods described includes:According to reference signal and the input signal received, synchronous head pulse signal is determined;Recognize each synchronous head pulse;According to the width of each synchronous head pulse, the width of the synchronous head pulse signal is determined;According to the width and default video formats of the synchronous head pulse signal of determination and the corresponding relation of the width of synchronous head pulse signal, the first video formats of the input signal are determined.Due in embodiments of the present invention, according to reference signal and the input signal received, determine the width of synchronous head pulse signal, according to the width and default video formats of the synchronous head pulse signal of determination and the corresponding relation of synchronous head pulse signal width, it may be determined that the first video formats of input signal.This avoid because the problem of determining video formats mistake caused by decoding error so that determines that video formats are more accurate.

Description

A kind of video formats determine method and device
Technical field
Method and device is determined the present invention relates to electronic technology field, more particularly to a kind of video formats.
Background technology
, in electronic technology field, the design process of DVR (Digital Video Recorder, DVR) Ask a DVR can compatible all video formats vision signal input, the video formats are comprising video resolution and regarding Frequency frame per second information, for example, video formats include 720P25FPS, 720P30FPS, 720P50FPS, 1080P60FPS, 4M30FPS, 4K12FPS and 4K15FPS etc..DVR is during handling vision signal, for the video of different video standard Signal, Processing Algorithm has larger difference, when handling vision signal, it is necessary to using the video formats pair with vision signal The processing mode answered is handled vision signal.If video formats are not corresponding with processing mode, it can influence after processing The quality of vision signal.Therefore, accurately determine that video formats are most important.
In the prior art it is determined that during video formats, decoding, obtaining generally by the vision signal currently inputted To the key element for judging video formats, the determination of video formats is carried out according to these key elements.It can be seen that, prior art is it is determined that regard , it is necessary to be carried out on the basis of decoding is completed during frequency standard, but decoding is carried out to the vision signal currently inputted and is possible to out Mistake, once decoding error, it is determined that video formats will produce mistake.Therefore, the side of video formats is determined in the prior art Method, which exists, determines the problem of video formats accuracy rate is low.
The content of the invention
Method and device is determined the embodiments of the invention provide a kind of video formats, to solve to determine to regard in the prior art The problem of frequency standard is inaccurate.
Method is determined the embodiments of the invention provide a kind of video formats, this method includes:
According to reference signal and the input signal received, synchronous head pulse signal is determined;
Recognize each synchronous head pulse in the synchronous head pulse signal;
The width of each synchronous head pulse in the synchronous head pulse signal, determines the synchronous head pulse signal Width;
According to the width and default video formats of the synchronous head pulse signal of determination and synchronous head pulse signal The corresponding relation of width, determines the first video formats of the input signal.
Further, after each synchronous head pulse in the identification synchronous head pulse signal, methods described is also Including:
Judge whether the quantity of the synchronous head pulse in setting time length reaches the amount threshold of setting;
If it is, determining there is vision signal input, video signal processing path normal work is controlled;
If not, determining without vision signal input, control video signal processing path shut-off.
Further, after first video formats for determining the input signal, the determination has vision signal input, Control video signal processing path normal work includes:
Control the video signal processing path to use first video formats, corresponding position is carried out to the input signal Reason.
Further, before the control video signal processing path normal work, methods described also includes:
Decoding process is carried out to the input signal, determines that the video formats in the input signal after the decoding process will The testing result of element;
According to the testing result of the key element pre-saved and the corresponding relation of video formats, the of the input signal is determined Two video formats;
Judge whether first video formats and the second video formats are identical;
If identical, video signal processing path normal work is controlled.
Further, if first video formats and the second video formats are differed, methods described also includes:
Control video signal processing path shut-off.
Further, the video signal processing path includes:
Balanced device, analog-digital converter and digital signal processing path.
Further, it is described according to reference signal and the input signal received, determine that synchronous head pulse signal includes:
Low-pass filtering treatment is carried out to the input signal received, after reference signal and low-pass filtering treatment Input signal, determines synchronous head pulse signal.
Further, it is each in the identification synchronous head pulse signal after the determination synchronous head pulse signal Before synchronous head pulse, methods described also includes:
Remove the noise jamming pulse in the synchronous head pulse signal.
On the other hand, the embodiments of the invention provide a kind of video formats determining device, described device includes:
First determining module, for according to reference signal and the input signal received, determining synchronous head pulse signal;
Identification module, for recognizing each synchronous head pulse in the synchronous head pulse signal;
Second determining module, for the width of each synchronous head pulse in the synchronous head pulse signal, it is determined that The width of the synchronous head pulse signal;
3rd determining module, for the synchronous head pulse signal according to determination width and default video formats with The corresponding relation of the width of synchronous head pulse signal, determines the first video formats of the input signal.
Further, described device also includes:
First judge module, for judging whether the quantity of the synchronous head pulse in setting time length reaches the number of setting Threshold value is measured, if it is, the first control module of triggering, if not, the second control module of triggering;
First control module, for determining there is vision signal input, controls video signal processing path normal work;
Second control module, it is determined that without vision signal input, control video signal processing path shut-off.
Further, first control module, specifically for controlling the video signal processing path using described the One video formats, respective handling is carried out to the input signal.
Further, described device also includes:
Second judge module, for carrying out decoding process to the input signal, determines the input after the decoding process The testing result of video formats key element in signal;Closed according to the testing result of the key element pre-saved is corresponding with video formats System, determines the second video formats of the input signal;Judge whether first video formats and the second video formats are identical; If identical, the first control module is triggered.
Further, described device also includes:
3rd control module, if differed for first video formats and the second video formats, control video letter The shut-off of number processing path.
Further, first determining module, specifically for carrying out LPF to the input signal received Processing, according to the input signal after reference signal and low-pass filtering treatment, determines synchronous head pulse signal.
Further, described device also includes:
Module is removed, for removing the noise jamming pulse in the synchronous head pulse signal.
Further, first determining module includes low-pass filtering treatment circuit and synchronous head pulse signal determines electricity Road;The low-pass filtering treatment circuit includes first resistor, 3rd resistor, the second electric capacity, the 3rd electric capacity, the first diode, the Two diodes and the first amplifier;The synchronous head pulse signal determines that circuit includes hysteresis comparator, the 4th metal-oxide-semiconductor, the 5th Metal-oxide-semiconductor, the 6th metal-oxide-semiconductor and the 7th metal-oxide-semiconductor;Wherein,
One end of first resistor is connected with signal input part, other end positive pole respectively with the first diode, the two or two pole Negative pole, 3rd resistor and the 3rd capacitance connection of pipe;The negative pole of first diode is connected with first voltage input, and second The plus earth of diode;One end that the 3rd resistor is not connected with first resistor is inputted with the forward direction of the first amplifier respectively End and one end of the second electric capacity are connected, the other end ground connection of the second electric capacity;One end that 3rd electric capacity is not connected with first resistor point It is not connected with the reverse input end of the first amplifier and the first amplifier OP1 output end;The output end of first amplifier with late The positive input connection of stagnant comparator;
Hysteresis comparator COMP1 reverse input end is connected with the first datum input;The hysteresis comparator Positive output end connects the grid of the 6th metal-oxide-semiconductor, and the inverse output terminal of hysteresis comparator connects the grid of the 7th metal-oxide-semiconductor;It is described The drain electrode of 6th metal-oxide-semiconductor is connected with the drain electrode of the 4th metal-oxide-semiconductor, the grid of the 4th metal-oxide-semiconductor and the grid of the 5th metal-oxide-semiconductor respectively, the Four metal-oxide-semiconductors and the 5th metal-oxide-semiconductor constitute mirror image metal-oxide-semiconductor, the source electrode of the 4th metal-oxide-semiconductor and the source electrode of the 5th metal-oxide-semiconductor all with tertiary voltage Input is connected;The drain electrode of drain electrode the 5th metal-oxide-semiconductor of connection of 7th metal-oxide-semiconductor;The source electrode of 6th metal-oxide-semiconductor and the source of the 7th metal-oxide-semiconductor Pole is grounded;The drain electrode of the 5th metal-oxide-semiconductor PM5 and the 7th metal-oxide-semiconductor NM7 drain electrode output synchronous head pulse signal.
Method and device is determined the embodiments of the invention provide a kind of video formats, methods described includes:According to reference to letter Number and the input signal that receives, determine synchronous head pulse signal;Recognize each synchronous head in the synchronous head pulse signal Pulse;The width of each synchronous head pulse in the synchronous head pulse signal, determines the synchronous head pulse signal Width;According to the width and default video formats of the synchronous head pulse signal of determination and the width of synchronous head pulse signal Corresponding relation, determine the first video formats of the input signal.Due in embodiments of the present invention, according to reference signal and The input signal received, determines the width of synchronous head pulse signal, according to the width of the synchronous head pulse signal of determination and in advance If video formats and synchronous head pulse signal width corresponding relation, it may be determined that the first video formats of input signal.This Sample is avoided because the problem of determining video formats mistake caused by decoding error so that determine that video formats are more accurate.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of video formats determination process schematic diagram that the embodiment of the present invention 1 is provided;
Fig. 2 is the processing procedure schematic diagram to input signal that the embodiment of the present invention 2 is provided;
Fig. 3 is the low-pass filtering treatment effect diagram that the embodiment of the present invention 4 is provided;
Fig. 4 is that the sluggishness that the embodiment of the present invention 4 is provided compares treatment effect schematic diagram;
Fig. 5 is the video formats determination process schematic diagram that the embodiment of the present invention 4 is provided;
Fig. 6 is a kind of circuit diagram for determination synchronous head pulse signal that the embodiment of the present invention 4 is provided;
Fig. 7 is the circuit diagram for another determination synchronous head pulse signal that the embodiment of the present invention 4 is provided;
Fig. 8 is a kind of video formats determining device structural representation provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail, it is clear that described embodiment is only this The a part of embodiment of invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist The all other embodiment obtained under the premise of creative work is not made, the scope of protection of the invention is belonged to.
Embodiment 1:
Fig. 1 is a kind of video formats determination process schematic diagram provided in an embodiment of the present invention, and the process comprises the following steps:
S101:According to reference signal and the input signal received, synchronous head pulse signal is determined.
Video formats provided in an embodiment of the present invention determine that method is applied to electronic equipment, and the electronic equipment includes hard disk The equipment such as video recorder, PC formulas DVR and built-in hard disk video tape recorder.
Video formats in the embodiment of the present invention include video resolution and video frame rate information, wherein, every kind of video system There is corresponding relation in formula and the width of synchronous head pulse signal, in order to determine video formats, electronic equipment it needs to be determined that same The width of head pulse signal is walked, it is determined that before the width of synchronous head pulse signal, it is necessary first to determine synchronous head pulse signal.
Reference signal is pre-saved in the electronic equipment, electronic equipment can receive input signal, the input letter Number can be that the equipment such as camera are sent to electronic equipment, electronic equipment is believed according to the reference signal and the input received Number, it may be determined that synchronous head pulse signal.It is described to receive specifically, the reference signal is fixed magnitude of voltage The magnitude of voltage of input signal changes with the time, when the magnitude of voltage of input signal is more than the magnitude of voltage of reference signal, then defeated Go out high level, when the magnitude of voltage of input signal is not more than the magnitude of voltage of reference signal, then export low level, the height of the output The signal that level and low level are constituted is the synchronous head pulse signal of determination.
S102:Recognize each synchronous head pulse in the synchronous head pulse signal.
Electronic equipment after synchronous head pulse signal according to reference signal and the input signal received, is determined, according to The synchronous head pulse signal can recognize each synchronous head pulse in the synchronous head pulse signal.Specifically, by institute The signal that the synchronous head pulse signal of determination is constituted for high level and low level is stated, electronic equipment can detect synchronous head pulse In signal by the moment of low level to high level and by high level to low level moment, by by the wink of low level to high level Between as rising edge, will be by high level to low level moment as trailing edge, per adjacent rising edge and trailing edge is constituted Pulse signal is each synchronous head pulse in the synchronous head pulse signal that electronic equipment is recognized.
S103:The width of each synchronous head pulse in the synchronous head pulse signal, determines the synchronous head arteries and veins Rush the width of signal.
Electronic equipment, which can be recognized in each synchronous head pulse in synchronous head pulse signal, electronic equipment, can install meter When device, the time of rising edge and the time of trailing edge can be detected by timer, per adjacent rising edge and trailing edge Time difference is the width of each synchronous head pulse.
The width of each synchronous head pulse in the synchronous head pulse signal, it may be determined that the synchronous head pulse The width of signal.Wherein it is possible to regard any one width in the width of each synchronous head pulse as synchronous head pulse signal Width, still, the synchronous head pulse signal in electronic equipment there may be noise jamming, by any one synchronous head pulse Width may be inaccurate as the width of synchronous head pulse signal.In order that the width of the synchronous head pulse signal determined is more accurate Really, and then to determine that the video formats of input signal are more accurate, preferably, can to set a time long for electronic equipment Degree, determines the width of synchronous head pulses all in the setting time length, by the width of all synchronous head pulses of determination The average value of degree as the synchronous head pulse signal width.
For example, electronic equipment determines there are 5 synchronous head pulses in setting time length, it is determined that the width of each synchronous head pulse Degree is respectively 3.9us, 3.92us, 3.85us, 3.9us and 3.95us, it is determined that the width of synchronous head pulse signal be (3.9us+3.92us+3.85us+3.9us+3.95us)/5=3.904us.
S104:Believed according to the width and default video formats of the synchronous head pulse signal of determination and synchronous head pulse Number width corresponding relation, determine the first video formats of the input signal.
The corresponding relation of the width of every kind of video formats and synchronous head pulse signal is pre-saved in electronic equipment, true , will according to every kind of video formats and the corresponding relation of the width of synchronous head pulse signal after the width for determining synchronous head pulse signal Video formats corresponding with the width of the synchronous head pulse signal are defined as the first video formats of the input signal.
There is corresponding relation in the width of every kind of video formats and synchronous head pulse signal, ideally, a kind of video system The width of formula one fixed synchronous head pulse signal of correspondence, but be due to detection error and electricity that electronic equipment hardware is present The presence of interference signal in sub- equipment, the width for the synchronous head pulse signal that electronic equipment is determined typically is deposited in the range of very little In fluctuation, therefore, in embodiments of the present invention, electronic equipment has pre-saved every kind of video formats and synchronous head pulse signal There is corresponding relation in width range.It is determined that after the width of synchronous head pulse signal, determining the width of the synchronous head pulse signal Width range belonging to degree, according to every kind of video formats and the corresponding relation of the width range of synchronous head pulse signal, determines institute The corresponding video formats of width range are stated, the video formats are defined as to the first video formats of the input signal.
There is correspondence corresponding relation in the width range of video formats and synchronous head pulse signal, below to therein several right It should be related to and be illustrated.
For example, the corresponding relation of the width range of video formats and synchronous head pulse signal is as shown in the table:
Video formats The width range of synchronous head pulse signal
720P25FPS 3.8us-4.0us
720P30FPS 3.15us-3.35us
720P50FPS 1.85us-2.05us
1080P60FPS 0.98us-1.18us
4M30FPS 1.525us-1.725us
4K12FPS 2.51us-2.71us
4K15FPS 2.07us-2.27us
As shown above, the every kind of video formats and the width range of synchronous head pulse signal pre-saved in electronic equipment Corresponding relation be that video formats are 720P25FPS, the width range of corresponding synchronous head pulse signal is 3.8us-4.0us; Video formats are 720P30FPS, and the width range of corresponding synchronous head pulse signal is 3.15us-3.35us;Video formats are 720P50FPS, the width range of corresponding synchronous head pulse signal is 1.85us-2.05us;Video formats are 1080P60FPS, The width range of corresponding synchronous head pulse signal is 0.98us-1.18us;Video formats are 4M30FPS, corresponding synchronous head The width range of pulse signal is 1.525us-1.725us;Video formats are 4K12FPS, corresponding synchronous head pulse signal Width range is 2.51us-2.71us;Video formats are 4K15FPS, and the width range of corresponding synchronous head pulse signal is 2.07us-2.27us etc..If the width of each synchronous head pulse in the synchronous head pulse signal, it is determined that institute The width for stating synchronous head pulse signal is 3.904us, because the width range belonging to 3.904us is 3.8us-4.0us, therefore, It is the first video formats that the corresponding video formats 720P25FPS of 3.8us-4.0us are defined as input signal by width range.
Due in embodiments of the present invention, according to reference signal and the input signal received, it may be determined that synchronous head arteries and veins Signal is rushed, by recognizing each synchronous head pulse in the synchronous head pulse signal, is determined in the synchronous head pulse signal Each synchronous head pulse width, and then the width of the synchronous head pulse signal can be determined, according to the described same of determination Walk the width and default video formats and the corresponding relation of synchronous head pulse signal width of head pulse signal, it may be determined that described First video formats of input signal.This avoid because the problem of determining video formats mistake caused by decoding error, makes It must determine that video formats are more accurate.
Embodiment 2:
Electronic equipment includes multiple passages, and each passage can receive input signal.There is one in each passage Video signal processing path is included in chip, the chip, is connect for the passage according to where the video signal processing path The video formats of the vision signal received, respective handling is carried out to the vision signal.Generally, as long as on electronic equipment After electricity, the video signal processing path in electronic equipment in the chip of all passages can all work, so, if in electronic equipment Some passage there is no the input of vision signal, then can waste the power consumption of the passage chips.In order to avoid the wave of chip power-consumption Take, it is in embodiments of the present invention, each same in the identification synchronous head pulse signal on the basis of above-described embodiment Walk after head pulse, methods described also includes:
Judge whether the quantity of the synchronous head pulse in setting time length reaches the amount threshold of setting;
If it is, determining there is vision signal input, video signal processing path normal work is controlled;
If not, determining without vision signal input, control video signal processing path shut-off.
Because the video signal processing path in electronic equipment chip is processing vision signal, if defeated without vision signal Enter, then do not need video signal processing path work, therefore, it can by determining whether that vision signal is inputted, to control to regard Whether audio signalprocessing path works, so as to avoid the waste of chip power-consumption.
The input signal received for electronic equipment, if vision signal is inputted, then according to reference signal and described Vision signal, it is determined that synchronous head pulse signal in the quantity of synchronous head pulse be greater than the amount threshold of setting.If In the time span of setting, the quantity of the synchronous head pulse in the synchronous head pulse signal is not more than the amount threshold of setting, Then illustrate no vision signal input.Therefore, it can set according to whether the quantity of the synchronous head pulse in setting time length reaches Fixed amount threshold, to determine whether that vision signal is inputted.
Amount threshold is preset with electronic equipment, timer can be installed in the electronic device, it is true by timer Determine the quantity of the synchronous head pulse in setting time length.It is determined that synchronous head pulse in setting time length quantity it Afterwards, judge whether the quantity of the synchronous head pulse reaches the amount threshold of setting, if reached, illustrate have vision signal defeated Enter, and then control video signal processing path normal work, by video signal processing path to the first video system for identifying The vision signal of formula is handled;If not up to, illustrating no vision signal input, and then control video signal processing path Shut-off, is not handled the input signal.Specifically, before control video signal processing path normal work, electronics Equipment needs the width and default video formats and synchronous head pulse signal according to the synchronous head pulse signal of determination The corresponding relation of width, determines the first video formats of input signal, the video signal processing path is used described first Video formats are handled vision signal.
For each passage in electronic equipment, can be according to the quantity of the synchronous head pulse in setting time length The no amount threshold for reaching setting, judges whether the passage has vision signal input, if the passage has vision signal input, Control the video signal processing path normal work of the passage;If the passage is inputted without vision signal, the passage is controlled Video signal processing path disconnects.So, if the passage of some in electronic equipment is inputted without vision signal, by controlling this to lead to The video signal processing path in road disconnects, it is to avoid the waste of the passage chips power consumption.
Fig. 2 is the processing procedure schematic diagram to input signal in the chip of a certain passage of electronic equipment, as shown in Fig. 2 Electronic equipment can decide whether vision signal input according to input signal, while may determine that the video of the input signal Standard, judges no to have after vision signal input, control signal, the control video is sent to the video signal processing path Signal transacting path normal work or shut-off, it is when the video signal processing path normal work, then described using what is determined The video formats of input signal, respective handling is carried out to the input signal.
Wherein, whether vision signal input is had according to input-signal judging, and judges the video system of the input signal The process of formula is to carry out simultaneously, typically when having determined vision signal input, is also defined according to input signal The video formats of the input signal, therefore, after it is determined that there is vision signal input, send to the video signal processing path Control signal, controls the video signal processing path normal work, now has determined that the video system of the input signal Formula, the video signal processing path can use the video formats of the input signal determined, and the input signal is entered Row respective handling.
In addition, whether electronic equipment reaches the quantity of setting in the quantity for judging the synchronous head pulse in setting time length Threshold value, is judged for continuous each setting time length, if the synchronous head pulse in first time span Quantity reach the amount threshold of setting, and the quantity of the synchronous head pulse in second time span is not up to the quantity of setting Threshold value, now, it is possible to receive what the influence of interference signal was caused in second time span, can thus be mistakenly considered to ignore Frequency signal is inputted.Therefore, when it is determined that being inputted without vision signal, can be by judging in several continuous time spans It is not that the quantity of synchronous head pulse in each time span is not up to the amount threshold set, if it is, judging to ignore Frequency signal is inputted, control video signal processing path shut-off.This avoid be mistakenly considered caused by the presence due to interference signal The problem of being inputted without vision signal.
Due in embodiments of the present invention, when the quantity for judging the synchronous head pulse in setting time length reaches setting During amount threshold, it is determined that there is vision signal input, video signal processing path normal work is controlled;Otherwise, it determines without video letter Number input, control video signal processing path shut-off, therefore avoid the chip power-consumption caused during the input of no vision signal and waste The problem of.
In embodiments of the present invention, it is determined that when having vision signal input, controlling video signal processing path normal work, making Video signal processing path is handled vision signal, when video signal processing path is handled vision signal, is root According to the video formats of vision signal, respective handling is carried out.After i.e. described the first video formats for determining the input signal, institute Stating method also includes:
Control the video signal processing path to use first video formats, corresponding position is carried out to the input signal Reason.
Video signal processing path is when handling input signal, and the video formats of input signal are different, video letter The processing procedure of number processing path is also different, and the processing procedure of video signal processing path and the video formats of input signal are present Corresponding relation, if video signal processing path is believed input using video formats not corresponding with the video formats of input signal Number handled, then can influence the quality of input signal.Therefore, it is determined that after the first video formats of the input signal, depending on Audio signalprocessing path is needed to use first video formats, and respective handling is carried out to the input signal.
The video signal processing path includes:
Balanced device, analog-digital converter and digital signal processing path.
The process that the video signal processing path is handled input signal is that input signal is entered by balanced device Row thermal compensation signal attenuation processing, carries out modulus to the input signal after thermal compensation signal attenuation processing by analog-digital converter and turns Processing is changed, by digital signal processing path, Digital Signal Processing is carried out to the input signal after analog-to-digital conversion process.
Width and default video formats and synchronous head of the electronic equipment in the synchronous head pulse signal according to determination After the corresponding relation of the width of pulse signal, the first video formats for determining the input signal, it can be determined according to described The first video formats the balanced device, analog-digital converter and digital signal processing path are configured, with the equilibrium postponed Device, analog-digital converter and digital signal processing path can carry out respective handling to the input signal.
Wherein, the balanced device, analog-digital converter and digital signal processing path are configured according to video formats Process, and signal is compensated to the input signal by balanced device, analog-digital converter and digital signal processing path declined The process for subtracting processing, analog-to-digital conversion process and Digital Signal Processing belongs to prior art, in embodiments of the present invention, no longer to this Process is repeated.
Embodiment 3:
Width and default video formats and synchronous head of the electronic equipment in the synchronous head pulse signal according to determination The corresponding relation of the width of pulse signal, when determining the first video formats of the input signal, due to the presence of noise jamming, The first video formats for being possible to the determination are not the real video formats of input signal.And electronic equipment passes through to input Signal carries out decoding process, when determining the video formats of input signal according to the result of decoding process, it is also possible to because decoding Process malfunctions, and causes the video formats determined inaccurate.But it is determined that the video formats of input signal, according to synchronous head pulse The width of signal and the probability for occurring mistake simultaneously to input signal progress both modes of decoding process are especially small.Therefore, it is Make the video formats of the input signal of determination more accurate, on the basis of the various embodiments described above, in embodiments of the present invention, Before the control video signal processing path normal work, methods described also includes:
Decoding process is carried out to the input signal, determines that the video formats in the input signal after the decoding process will The testing result of element;
According to the testing result of the key element pre-saved and the corresponding relation of video formats, the of the input signal is determined Two video formats;
Judge whether first video formats and the second video formats are identical;
If identical, video signal processing path normal work is controlled.
In order that the video formats of the input signal determined are more accurate, in control video signal processing path normal work Before, decoding process can be carried out to the input signal received, passes through decoding process, it may be determined that the video in input signal The testing result of key element and the corresponding relation of video formats, root are pre-saved in the testing result of standard key element, electronic equipment According to the testing result of the video formats key element in the input signal of the determination, it may be determined that the testing result pair with the key element The video formats answered, the video formats are defined as the second video formats of the input signal.
Wherein, decoding process is carried out to the input signal, determines the video in the input signal after the decoding process The testing result of standard key element, according to the testing result of the key element pre-saved and the corresponding relation of video formats, it is determined that described The process of second video formats of input signal belongs to prior art, and no longer this process is gone to live in the household of one's in-laws on getting married in embodiments of the present invention State.
Electronic equipment can according to the width and default video formats of the synchronous head pulse signal of determination with it is synchronous The corresponding relation of the width of head pulse signal, determines the first video formats of the input signal;According to the key element pre-saved Testing result and video formats corresponding relation, determine the second video formats of the input signal.
Electronic equipment is it is determined that after the first video formats and the second video formats of the input signal, judge described Whether one video formats and the second video formats are identical, if identical, can illustrate the input letter that electronic equipment is determined Number the first video formats and the second video formats be the real video formats of the input signal, judge the first video system After formula is identical with the second video formats, electronic equipment control video signal processing path normal work makes at the vision signal Manage path and use first video formats, respective handling is carried out to the input signal.
If first video formats and the second video formats are differed, methods described also includes:
Control video signal processing path shut-off.
If electronic equipment judges that first video formats and the second video formats are differed, illustrate that described first regards Frequency standard or the second video formats are not the real video formats of the input signal, and can not be according to the first video system Formula and the second video formats determine the real video formats of the input signal, so, even if determining there is vision signal input, Video signal processing path can not determine which video formats to carry out respective handling to the input signal using.If depending on The video formats that audio signalprocessing path is used are not the video formats of input signal, then can influence the quality of input signal.Cause This, is when judging that first video formats and the second video formats are differed, control video signal processing path shut-off, it is to avoid Because video signal processing path is handled input signal using the video formats of mistake, the quality of input signal is influenceed, Meanwhile, before the real video formats of input signal are determined, it also avoid the core where the video signal processing path The power wastage of piece.
In order to further avoid the power wastage of the chip in electronic equipment, believe according to the synchronous head pulse of determination Number width and default video formats and synchronous head pulse signal width corresponding relation, determine the of the input signal After one video formats, only control carries out decoding process to the input signal, determines the second video formats of the input signal Path normal work, the shut-off of other paths only when determining the second video formats of the input signal, and judges the When one video formats are identical with the second video formats, video signal processing path normal work is just controlled.
In addition, electronic equipment is it is determined that when first video formats and the second video formats, can be for continuous every Individual setting time length is determined, and judges whether first video formats and the second video formats are identical, if it is determined that The first video formats and the second video formats determined in first time span are differed, then control video frequency signal processing to lead to Road is turned off, and each setting time length after being directed to judge first video formats and the second video formats whether phase Together, until when judging first video formats and identical the second video formats, electronic equipment controls video signal processing path Normal work, makes the video signal processing path use first video formats, and corresponding position is carried out to the input signal Reason.
Because in embodiments of the present invention, electronic equipment to the input signal by carrying out decoding process, it is determined that described The testing result of video formats key element in input signal after decoding process, according to the testing result of the key element pre-saved with The corresponding relation of video formats, it may be determined that the second video formats of the input signal, when judge state the first video formats and When second video formats are identical, illustrate the first video formats and the second video formats for the input signal that electronic equipment is determined For the real video formats of the input signal so that, determine that the video formats of the input signal are more accurate.
Embodiment 4:
The electronic equipment can receive input signal, and the input signal can be that the equipment such as camera are sent to the electricity Sub- equipment, the input signal is inevitably disturbed during cable transmission by high-frequency signal, so that shadow The width to the synchronous head pulse signal determined is rung, and then influences the accuracy of the video formats of the input signal determined, in order to The accuracy for the video formats for determining input signal is further improved, on the basis of the various embodiments described above, in present invention implementation It is described according to reference signal and the input signal received in example, determine that synchronous head pulse signal includes:
Low-pass filtering treatment is carried out to the input signal received, after reference signal and low-pass filtering treatment Input signal, determines synchronous head pulse signal.
The electronic equipment is received after input signal, can carry out LPF to the input signal received Processing, wherein can be realized by building hardware circuit to the input signal progress low-pass filtering treatment received.Pass through Low-pass filtering treatment, can filter out the high-frequency interferencing signal in the input signal, only retain the low frequency in the input signal Signal, then according to the input signal after the reference signal and low-pass filtering treatment pre-saved in electronic equipment, it is determined that synchronous Head pulse signal, recognizes each synchronous head pulse in the synchronous head pulse signal, according in the synchronous head pulse signal Each synchronous head pulse width, determine the width of the synchronous head pulse signal.So cause the synchronous head determined The width of pulse signal is more accurate, and then make it that the first video formats of the input signal of determination are more accurate.
Fig. 3 is low-pass filtering treatment effect diagram provided in an embodiment of the present invention, as described in Figure 3, and electronic equipment is received To input signal in there is the noise signals such as chrominance carrier, carrier chrominance signal and luminance signal, can be with by low-pass filtering treatment Filter out and there is the noise signals such as chrominance carrier, carrier chrominance signal and luminance signal in the input signal.
Wherein, prior art is belonged to the process that the input signal received carries out low-pass filtering treatment, in this hair No longer this process is repeated in bright embodiment.
It is difficult to filter out all high-frequency noises to carry out low-pass filtering treatment to the input signal, is made an uproar to further reduce Acoustical signal pair determines the influence of the video formats of input signal, and electronic equipment can be believed the input after low-pass filtering treatment Number carrying out sluggishness compares processing, the noise signal in the removal input signal.
Fig. 4 is that sluggishness provided in an embodiment of the present invention compares treatment effect schematic diagram, on the basis of Fig. 3, by low pass The input signal of filtering process still suffers from noise signal, compares processing by sluggishness, can filter out noise signal.
Wherein, it is all prior art the sluggish process for comparing processing to be carried out to the synchronous head pulse signal, in the present invention No longer this process is repeated in embodiment.
In addition, the direct current biasing that the direct current biasing point for working as the equipment for sending the input signal is required in the electronic equipment When in point range, electronic equipment can be using dc-couple input, it would however also be possible to employ AC coupled is inputted;And it is described defeated when sending Enter signal equipment direct current biasing point not in the direct current biasing point range of the electronic equipment requirement when, electronic equipment is necessary Inputted using AC coupled.
In order that electronic equipment can support dc-couple and AC coupled to input so that electronic equipment is receiving input letter Number when, can be according to selection coupling input the need for electronic equipment.A clamp circuit can be built in the electronic device, if Need dc-couple to input, then the input signal will not be influenceed by clamp circuit, directly the input signal is carried out Low-pass filtering treatment;If necessary to AC coupled input, then the input signal can be re-established a direct current by clamp circuit Bias point, then carries out low-pass filtering treatment to the input signal.
Fig. 5 is video formats determination process schematic diagram provided in an embodiment of the present invention, for the input signal received, warp Clamp circuit is crossed, low-pass filtering treatment is carried out, according to the input signal after low-pass filtering treatment, determines synchronous head pulse signal, The quantity of synchronous head pulse in synchronous head pulse signal in setting time length may determine whether that vision signal is defeated Enter, the video formats of the input signal are determined according to the width of the synchronous head pulse signal, if it is determined that have vision signal Input, then control balanced device, analog-digital converter and digital signal processing path normal work;If it is determined that defeated without vision signal Enter, then control balanced device, analog-digital converter and digital signal processing path shut-off.
In order to further improve the accuracy for the video formats for determining input signal, the determination synchronous head pulse signal Afterwards, before each synchronous head pulse in the identification synchronous head pulse signal, methods described also includes:
Remove the noise jamming pulse in the synchronous head pulse signal.
In embodiments of the present invention, electronic equipment carries out low-pass filtering treatment to input signal and sluggishness compares processing Afterwards, synchronous head pulse signal is determined, due to the presence of noise jamming, may be existed in the synchronous head pulse signal less Burr pulse, the burr pulse meeting pair determines that the width of synchronous head pulse signal is interfered, and therefore, it can by described Synchronous head pulse signal carries out output deburring processing, removes the burr pulse in synchronous head pulse signal.
If less burr pulse is not present in the synchronous head pulse signal, the synchronous head pulse signal exported For spaced continuous high level signal and continuous low level signal, and exist in the synchronous head pulse signal smaller Burr pulse when, occur that continuous high level signal can be by small number of low level in the synchronous head pulse signal of output Signal is separated, or continuous low level can be separated by small number of high level signal, the lesser amt be generally 1,2 The quantity such as individual.In embodiments of the present invention, by the way that the small number of low level signal is set into high level signal, by institute The mode that small number of high level signal is set to low level signal is stated, output deburring processing is realized.
Wherein, the process that output deburring processing is carried out to the synchronous head pulse signal is all prior art, in this hair No longer this process is repeated in bright embodiment.
Because in embodiments of the present invention, electronic equipment carries out low-pass filtering treatment to the input signal received, Sluggishness compares processing, according to the input signal after reference signal and processing, determines synchronous head pulse signal, then removes described same The noise jamming pulse in head pulse signal is walked, and then recognizes each synchronous head pulse in the synchronous head pulse signal, this Sample has filtered out the noise jamming in the input signal so that it is determined that the input signal video formats it is more accurate.
In the various embodiments described above of the present invention, determination synchronous head pulse signal can be realized by building hardware circuit, For example synchronous head pulse signal can be determined using hysteresis comparator.In order that the synchronous head pulse signal determined is more accurate, can Before synchronous head pulse signal is determined using hysteresis comparator, first low-pass filtering treatment is carried out to input signal, so as to filter Except the high-frequency interferencing signal in the input signal, and then make it that the synchronous head pulse signal determined is more accurate.Wherein to input Signal, which carries out low-pass filtering treatment, to be realized by building hardware circuit.In circuit diagram as shown in Figure 6, the circuit Circuit is determined including low-pass filtering treatment circuit and synchronous head pulse signal;The low-pass filtering treatment circuit includes first resistor R1,3rd resistor R3, the second electric capacity C1, the 3rd electric capacity C2, the first diode D1, the second diode D2 and the first amplifier OP1; The synchronous head pulse signal determines that circuit includes hysteresis comparator COMP1, the 4th metal-oxide-semiconductor PM4, the 5th metal-oxide-semiconductor PM5, the 6th Metal-oxide-semiconductor NM6 and the 7th metal-oxide-semiconductor NM7;Wherein,
In the low-pass filter circuit, first resistor R1 one end is connected with signal input part, and the other end is respectively with first Diode D1 positive pole, the second diode D2 negative pole, 3rd resistor R3 and the 3rd electric capacity C2 connections;The first diode D1 Negative pole be connected with first voltage input AVDD1, the second diode D2 plus earth;The 3rd resistor R3 is not with first One end of resistance R1 connections is connected with the first amplifier OP1 positive input and the second electric capacity C1 one end respectively, the second electricity Hold C1 other end ground connection;One end that 3rd electric capacity C2 is not connected with first resistor R1 is reverse with the first amplifier OP1 respectively Input and the first amplifier OP1 output end connection;First amplifier OP1 output end determines electricity with synchronous head pulse signal The electrode input end connection of hysteresis comparator COMP1 in road;
The synchronous head pulse signal determines in circuit that hysteresis comparator COMP1 reverse input end and first is with reference to electricity Flat input connection;Hysteresis comparator COMP1 positive output end connects the 6th metal-oxide-semiconductor NM6 grid, hysteresis comparator COMP1 inverse output terminal connects the 7th metal-oxide-semiconductor NM7 grid;The drain electrode of the 6th metal-oxide-semiconductor NM6 respectively with the 4th metal-oxide-semiconductor The grid connection of PM4 drain electrode, the 4th metal-oxide-semiconductor PM4 grid and the 5th metal-oxide-semiconductor PM5, the 4th metal-oxide-semiconductor PM4 and the 5th metal-oxide-semiconductor PM5 constitutes mirror image metal-oxide-semiconductor, the 4th metal-oxide-semiconductor PM4 source electrode and the 5th metal-oxide-semiconductor PM5 source electrode all with tertiary voltage input DVDD Connection;7th metal-oxide-semiconductor NM7 the 5th metal-oxide-semiconductor PM5 of drain electrode connection drain electrode;6th metal-oxide-semiconductor NM6 source electrode and the 7th metal-oxide-semiconductor NM7 source ground;The drain electrode of the 5th metal-oxide-semiconductor PM5 and the 7th metal-oxide-semiconductor NM7 drain electrode output synchronous head pulse signal.
Circuit diagram as shown in Figure 6 provided in an embodiment of the present invention, can support dc-couple to input, input signal is direct It is connected with first resistor R1.But dc-couple need send input signal equipment direct current biasing point and electronic equipment it is straight Flow bias point consistent, and AC coupled does not have the consistent requirement of direct current biasing point, therefore, general user's selection is all exchange coupling Input is closed, when user's selection AC coupled input, then needs to build clamp circuit in the electronic device, makes the input signal Clamp circuit is first passed through, then circuit is being determined by low-pass filtering treatment circuit and synchronous head pulse signal.
Circuit diagram as shown in Figure 7, it is true that figure includes clamp circuit, low-pass filtering treatment circuit and synchronous head pulse signal Determine circuit, the clamp circuit includes:First electric capacity C0, second resistance R2, the second amplifier OP2, connector IDC1, first Metal-oxide-semiconductor NM1, the second metal-oxide-semiconductor PM2 and the 3rd metal-oxide-semiconductor PM3;Wherein,
One end of the first electric capacity C0 is connected with signal input part, the other end respectively with first resistor R1 and second resistance R2 connections;One end that the second resistance R2 is not connected with the first electric capacity C0 positive input respectively with the second amplifier OP2, Connector IDC1 and the 3rd metal-oxide-semiconductor PM3 drain electrode connection, one end ground connection that connector IDC1 is not connected with second resistance R2;Institute The output end for stating the second amplifier OP2 is connected with the first metal-oxide-semiconductor NM1 grid;The drain electrode of the first metal-oxide-semiconductor NM1 respectively with Second metal-oxide-semiconductor PM2 drain electrode, the second metal-oxide-semiconductor PM2 grid and the 3rd metal-oxide-semiconductor PM3 grid connection, the second metal-oxide-semiconductor PM2 and 3rd metal-oxide-semiconductor PM3 constitutes mirror image metal-oxide-semiconductor, the second metal-oxide-semiconductor PM2 source electrode and the 3rd metal-oxide-semiconductor PM3 source electrode all with second voltage Input AVDD2 connections;The source ground of the first metal-oxide-semiconductor NM1;The reverse input end of the second amplifier OP2 and Two datum inputs are connected.
, it is necessary to stablize the direct current biasing point at the VIN1 after the first electric capacity C0 in circuit as shown in Figure 7, it could meet AC coupled is inputted.
As shown in fig. 7, the level at the VIN1 after the first electric capacity C0 is less than the second amplifier OP2 reverse input When holding the reference level Vref of input, the second amplifier OP2 output high level, the first metal-oxide-semiconductor NM1 conductings, the second amplifier OP2 The electric current of generation flows into the second metal-oxide-semiconductor PM2, and the 3rd metal-oxide-semiconductor PM3 the second metal-oxide-semiconductors of mirror image PM2 electric current is exported to the first electric capacity C0 The one end not being connected with signal input part, charges to the first electric capacity C0, draws high VIN1 direct current biasing point;When passing through first During the reference level Vref that the reverse input end that the level at VIN1 after electric capacity C0 is more than the second amplifier OP2 is inputted, second Amplifier OP2 exports low level, and the first metal-oxide-semiconductor NM1 shut-offs, no current flows into the second metal-oxide-semiconductor PM2, and now the first electric capacity C0 leads to Connector IDC1 outflow electric currents are crossed, VIN1 direct current biasing point is reduced.So that the purpose of stable VIN1 direct current biasing point is reached, Make it possible to meet AC coupled input.
By the clamp circuit in the circuit diagram of the video formats of input signal described in the determination shown in Fig. 7, it can meet AC coupled is inputted, and input signal is transferred to low-pass filtering treatment circuit by the first electric capacity C0.Low pass filtered as shown in Figure 7 Electro-static Driven Comb (Electro-Static discharge, ESD), electrostatic inevitably occurs in ripple process circuit, circuit Generation the first metal-oxide-semiconductor NM1 in circuit can be caused to damage, the first resistor R1 and second resistance R2 in Fig. 7 can absorb Partial electrostatic, so as to protect the first metal-oxide-semiconductor NM1 to be not damaged by.The first diode D1 and the second diode D2 in circuit be for The ESD characteristics at VIN2 between increase the first diode D1 and the second diode D2.By the low-pass filtering treatment in Fig. 7 Circuit, can filter out the high-frequency signal in input signal, wherein, the level by low-pass filtering treatment circuit output is believed with input The ratio for number being input to the level of low-pass filtering treatment circuit is 1/ (S2* R1*R3*C1*C2+S*C1* (R1+R3)+1), wherein, R is resistance value, and C is capacitance.
Synchronous head pulse signal, which is input to, by the input signal of low-pass filtering treatment circuit determines that the sluggishness in circuit compares Compared with device COMP1 positive input, hysteresis comparator COMP1 reverse input end inputs a reference level Vref.It is described slow Stagnant comparator COMP1 is operated in analog voltage domain, and determines that synchronous head pulse signal is needed in digital voltage domain, therefore is needed Analog voltage domain is converted into digital voltage domain, the 4th metal-oxide-semiconductor PM4, the 5th metal-oxide-semiconductor PM5 in the circuit shown in Fig. 7, Six metal-oxide-semiconductor NM6 and the 7th metal-oxide-semiconductor NM7 constitute the drive circuit that analog voltage domain is converted to digital voltage domain.
When the level that hysteresis comparator COMP1 positive input is inputted is more than reference level Vref, hysteresis comparator COMP1 positive output end output high level, hysteresis comparator COMP1 inverse output terminal output low level, due to the 6th MOS Pipe NM6 and the 7th metal-oxide-semiconductor NM7 be N-channel MOS pipe, therefore the 6th metal-oxide-semiconductor NM6 turn on, the 7th metal-oxide-semiconductor NM7 disconnect.Due to Six metal-oxide-semiconductor NM6 source ground, therefore the 6th metal-oxide-semiconductor NM6 drain electrode is that low level, i.e. the 5th metal-oxide-semiconductor PM5 grid are low Level, because the 5th metal-oxide-semiconductor PM5 is P-channel metal-oxide-semiconductor, when the 5th metal-oxide-semiconductor PM5 grid is low level, the 5th metal-oxide-semiconductor PM5 is led It is logical, therefore the 5th metal-oxide-semiconductor PM5 drain electrode is high level, now the synchronous head pulse signal determines that circuit output high level is believed Number.
When the level that hysteresis comparator COMP1 positive input is inputted is not more than reference level Vref, sluggishness compares Device COMP1 positive output end output low level, hysteresis comparator COMP1 inverse output terminal output high level, now, the 6th Metal-oxide-semiconductor NM6 disconnects, the 7th metal-oxide-semiconductor NM7 conductings.Due to the 7th metal-oxide-semiconductor NM7 source ground, therefore the 7th metal-oxide-semiconductor NM7 leakage Extremely low level, now the synchronous head pulse signal determine circuit output low level signal.
The synchronous head pulse signal determines that the high level signal and low level signal of circuit output are the synchronization of determination Head pulse signal.In addition, in embodiments of the present invention, in order to prevent the 6th metal-oxide-semiconductor NM6 and the 7th metal-oxide-semiconductor NM7 breakdown, institute Stating the 6th metal-oxide-semiconductor NM6 and the 7th metal-oxide-semiconductor NM7 can be from thick oxide device.
Circuit is determined by the synchronous head pulse signal, input signal can be changed into digital pulse signal, and then Electronic equipment can carry out output deburring processing to digital pulse signal, then detect the rising edge of digital pulse signal with Edge is dropped, the determination of pulse width is carried out, the video formats of input signal can be determined according to the width afterwards.Electronic equipment exists , can be according to software program control when proceeding as described above, can also be by building circuit realiration, the embodiment of the present invention is not to reality The circuit of existing said process is defined, as long as the electricity of output deburring processing, the determination of pulse width etc. reason can be realized Road is belonged in protection scope of the present invention.
Fig. 8 is a kind of video formats determining device structural representation provided in an embodiment of the present invention, and described device includes:
First determining module 81, for according to reference signal and the input signal received, determining synchronous head pulse signal;
Identification module 82, for recognizing each synchronous head pulse in the synchronous head pulse signal;
Second determining module 83, for the width of each synchronous head pulse in the synchronous head pulse signal, really The width of the fixed synchronous head pulse signal;
3rd determining module 84, width and default video formats for the synchronous head pulse signal according to determination With the corresponding relation of the width of synchronous head pulse signal, the first video formats of the input signal are determined.
Described device also includes:
First judge module 85, for judging whether the quantity of the synchronous head pulse in setting time length reaches setting Amount threshold, if it is, the first control module 86 of triggering, if not, the second control module 87 of triggering;
First control module 86, for determining there is vision signal input, controls video signal processing path normal work;
Second control module 87, it is determined that without vision signal input, control video signal processing path shut-off.
First control module 86, specifically for controlling the video signal processing path to use the first video system Formula, respective handling is carried out to the input signal.
Described device also includes:
Second judge module 88, for carrying out decoding process to the input signal, is determined defeated after the decoding process Enter the testing result of the video formats key element in signal;It is corresponding with video formats according to the testing result of the key element pre-saved Relation, determines the second video formats of the input signal;Judge first video formats and the second video formats whether phase Together;If identical, the first control module 86 is triggered.
Described device also includes:
3rd control module 89, if differed for first video formats and the second video formats, controls video Signal transacting path is turned off.
First determining module 81, specifically for carrying out low-pass filtering treatment, root to the input signal received According to the input signal after reference signal and low-pass filtering treatment, synchronous head pulse signal is determined.
Described device also includes:
Module 810 is removed, for removing the noise jamming pulse in the synchronous head pulse signal.
First determining module 81 includes low-pass filtering treatment circuit and synchronous head pulse signal determines circuit;It is described low Pass filter process circuit include first resistor, 3rd resistor, the second electric capacity, the 3rd electric capacity, the first diode, the second diode and First amplifier;The synchronous head pulse signal determines that circuit includes hysteresis comparator, the 4th metal-oxide-semiconductor, the 5th metal-oxide-semiconductor, the 6th Metal-oxide-semiconductor and the 7th metal-oxide-semiconductor;Wherein, one end of first resistor is connected with signal input part, the other end respectively with the first diode Positive pole, the negative pole of the second diode, 3rd resistor and the 3rd capacitance connection;The negative pole and first voltage of first diode are defeated Enter end connection, the plus earth of the second diode;Put respectively with first one end that the 3rd resistor is not connected with first resistor One end connection of the positive input and the second electric capacity of big device, the other end ground connection of the second electric capacity;3rd electric capacity is not electric with first One end of resistance connection is connected with the reverse input end of the first amplifier and the first amplifier OP1 output end respectively;First amplification The output end of device and the positive input of hysteresis comparator are connected;Hysteresis comparator COMP1 reverse input end and the first reference Level input is connected;The positive output end of the hysteresis comparator connects the grid of the 6th metal-oxide-semiconductor, hysteresis comparator it is reverse Output end connects the grid of the 7th metal-oxide-semiconductor;The drain electrode drained respectively with the 4th metal-oxide-semiconductor of 6th metal-oxide-semiconductor, the 4th metal-oxide-semiconductor Grid and the 5th metal-oxide-semiconductor grid connection, the 4th metal-oxide-semiconductor and the 5th metal-oxide-semiconductor constitute mirror image metal-oxide-semiconductor, the source electrode of the 4th metal-oxide-semiconductor All it is connected with the source electrode of the 5th metal-oxide-semiconductor with tertiary voltage input;The drain electrode of drain electrode the 5th metal-oxide-semiconductor of connection of 7th metal-oxide-semiconductor;The The source ground of the source electrode of six metal-oxide-semiconductors and the 7th metal-oxide-semiconductor;The drain electrode and the 7th metal-oxide-semiconductor NM7 drain electrode of the 5th metal-oxide-semiconductor PM5 Export synchronous head pulse signal.
Method and device is determined the embodiments of the invention provide a kind of video formats, methods described includes:According to reference to letter Number and the input signal that receives, determine synchronous head pulse signal;Recognize each synchronous head in the synchronous head pulse signal Pulse;The width of each synchronous head pulse in the synchronous head pulse signal, determines the synchronous head pulse signal Width;According to the width and default video formats of the synchronous head pulse signal of determination and the width of synchronous head pulse signal Corresponding relation, determine the first video formats of the input signal.Due in embodiments of the present invention, according to reference signal and The input signal received, it may be determined that synchronous head pulse signal, it is each same in the synchronous head pulse signal by recognizing Head pulse is walked, the width of each synchronous head pulse in the synchronous head pulse signal is determined, and then the synchronization can be determined The width of head pulse signal, according to the width and default video formats of the synchronous head pulse signal of determination and synchronous head arteries and veins Rush the corresponding relation of signal width, it may be determined that the first video formats of the input signal.This avoid because decoding The problem of video formats mistake being determined caused by wrong so that determine that video formats are more accurate.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (16)

1. a kind of video formats determine method, it is characterised in that methods described includes:
According to reference signal and the input signal received, synchronous head pulse signal is determined;
Recognize each synchronous head pulse in the synchronous head pulse signal;
The width of each synchronous head pulse in the synchronous head pulse signal, determines the width of the synchronous head pulse signal Degree;
According to the width and default video formats of the synchronous head pulse signal of determination and the width of synchronous head pulse signal Corresponding relation, determine the first video formats of the input signal.
2. the method as described in claim 1, it is characterised in that each synchronization in the identification synchronous head pulse signal After head pulse, methods described also includes:
Judge whether the quantity of the synchronous head pulse in setting time length reaches the amount threshold of setting;
If it is, determining there is vision signal input, video signal processing path normal work is controlled;
If not, determining without vision signal input, control video signal processing path shut-off.
3. method as claimed in claim 2, it is characterised in that after the first video formats of the determination input signal, The determination has vision signal input, and control video signal processing path normal work includes:
Control the video signal processing path to use first video formats, respective handling is carried out to the input signal.
4. method as claimed in claim 2, it is characterised in that before the control video signal processing path normal work, Methods described also includes:
Decoding process is carried out to the input signal, video formats key element in the input signal after the decoding process is determined Testing result;
According to the testing result of the key element pre-saved and the corresponding relation of video formats, determine that the second of the input signal regards Frequency standard;
Judge whether first video formats and the second video formats are identical;
If identical, video signal processing path normal work is controlled.
5. method as claimed in claim 4, it is characterised in that if first video formats and the second video formats not phase Together, methods described also includes:
Control video signal processing path shut-off.
6. the method as described in claim any one of 2-5, it is characterised in that the video signal processing path includes:
Balanced device, analog-digital converter and digital signal processing path.
7. the method as described in claim 1, it is characterised in that described according to reference signal and the input signal received, really Determining synchronous head pulse signal includes:
Low-pass filtering treatment is carried out to the input signal received, according to the input after reference signal and low-pass filtering treatment Signal, determines synchronous head pulse signal.
8. the method as described in claim 1 or 7, it is characterised in that after the determination synchronous head pulse signal, the identification institute State before each synchronous head pulse in synchronous head pulse signal, methods described also includes:
Remove the noise jamming pulse in the synchronous head pulse signal.
9. a kind of video formats determining device, it is characterised in that described device includes:
First determining module, for according to reference signal and the input signal received, determining synchronous head pulse signal;
Identification module, for recognizing each synchronous head pulse in the synchronous head pulse signal;
Second determining module, for the width of each synchronous head pulse in the synchronous head pulse signal, it is determined that described The width of synchronous head pulse signal;
3rd determining module, for the synchronous head pulse signal according to determination width and default video formats with it is synchronous The corresponding relation of the width of head pulse signal, determines the first video formats of the input signal.
10. device as claimed in claim 9, it is characterised in that described device also includes:
First judge module, for judging whether the quantity of the synchronous head pulse in setting time length reaches the quantity threshold of setting Value, if it is, the first control module of triggering, if not, the second control module of triggering;
First control module, for determining there is vision signal input, controls video signal processing path normal work;
Second control module, it is determined that without vision signal input, control video signal processing path shut-off.
11. device as claimed in claim 10, it is characterised in that first control module, specifically for being regarded described in control Audio signalprocessing path uses first video formats, and respective handling is carried out to the input signal.
12. device as claimed in claim 10, it is characterised in that described device also includes:
Second judge module, for carrying out decoding process to the input signal, determines the input signal after the decoding process In video formats key element testing result;According to the testing result of the key element pre-saved and the corresponding relation of video formats, Determine the second video formats of the input signal;Judge whether first video formats and the second video formats are identical;Such as It is really identical, trigger the first control module.
13. device as claimed in claim 12, it is characterised in that described device also includes:
3rd control module, if differed for first video formats and the second video formats, at control vision signal Manage path shut-off.
14. device as claimed in claim 9, it is characterised in that first determining module, specifically for being received to described Input signal carry out low-pass filtering treatment, according to the input signal after reference signal and low-pass filtering treatment, determine synchronous head Pulse signal.
15. the device as described in claim 9 or 14, it is characterised in that described device also includes:
Module is removed, for removing the noise jamming pulse in the synchronous head pulse signal.
16. device as claimed in claim 14, it is characterised in that first determining module includes low-pass filtering treatment circuit Circuit is determined with synchronous head pulse signal;The low-pass filtering treatment circuit include first resistor, 3rd resistor, the second electric capacity, 3rd electric capacity, the first diode, the second diode and the first amplifier;The synchronous head pulse signal determines that circuit includes sluggishness Comparator, the 4th metal-oxide-semiconductor, the 5th metal-oxide-semiconductor, the 6th metal-oxide-semiconductor and the 7th metal-oxide-semiconductor;Wherein,
One end of first resistor is connected with signal input part, other end positive pole respectively with the first diode, the second diode Negative pole, 3rd resistor and the 3rd capacitance connection;The negative pole of first diode is connected with first voltage input, the two or two pole The plus earth of pipe;One end that the 3rd resistor is not connected with first resistor respectively with the positive input of the first amplifier and One end connection of second electric capacity, the other end ground connection of the second electric capacity;One end that 3rd electric capacity is not connected with first resistor respectively with The reverse input end of first amplifier and the first amplifier OP1 output end connection;The output end of first amplifier compares with sluggish Positive input compared with device is connected;
Hysteresis comparator COMP1 reverse input end is connected with the first datum input;The forward direction of the hysteresis comparator Output end connects the grid of the 6th metal-oxide-semiconductor, and the inverse output terminal of hysteresis comparator connects the grid of the 7th metal-oxide-semiconductor;Described 6th The drain electrode of metal-oxide-semiconductor is connected with the drain electrode of the 4th metal-oxide-semiconductor, the grid of the 4th metal-oxide-semiconductor and the grid of the 5th metal-oxide-semiconductor respectively, the 4th MOS Pipe and the 5th metal-oxide-semiconductor constitute mirror image metal-oxide-semiconductor, the source electrode of the 4th metal-oxide-semiconductor and the source electrode of the 5th metal-oxide-semiconductor all with tertiary voltage input Connection;The drain electrode of drain electrode the 5th metal-oxide-semiconductor of connection of 7th metal-oxide-semiconductor;The source electrode of 6th metal-oxide-semiconductor and the source ground of the 7th metal-oxide-semiconductor; The drain electrode of the 5th metal-oxide-semiconductor PM5 and the 7th metal-oxide-semiconductor NM7 drain electrode output synchronous head pulse signal.
CN201710478430.8A 2017-06-22 2017-06-22 A kind of video formats determine method and device Pending CN107222738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710478430.8A CN107222738A (en) 2017-06-22 2017-06-22 A kind of video formats determine method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710478430.8A CN107222738A (en) 2017-06-22 2017-06-22 A kind of video formats determine method and device

Publications (1)

Publication Number Publication Date
CN107222738A true CN107222738A (en) 2017-09-29

Family

ID=59950056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710478430.8A Pending CN107222738A (en) 2017-06-22 2017-06-22 A kind of video formats determine method and device

Country Status (1)

Country Link
CN (1) CN107222738A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107896314A (en) * 2017-11-10 2018-04-10 浙江大华技术股份有限公司 A kind of video transmission method and equipment
CN108093193A (en) * 2017-12-28 2018-05-29 浙江大华技术股份有限公司 A kind of video formats switching method and device
CN108235000A (en) * 2018-01-26 2018-06-29 北京视通科技有限公司 Resolution detection method and device based on parallel digital video signal
CN113259542A (en) * 2021-05-13 2021-08-13 深圳Tcl数字技术有限公司 Audio and video signal input and output control device and method and electrical equipment
CN114157908A (en) * 2021-11-01 2022-03-08 富瀚微电子(成都)有限公司 System identification method, device, equipment and medium for composite video broadcast signal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2150690Y (en) * 1992-07-07 1993-12-22 李德 System automatic identifying device for colour television receiver
JP2002189465A (en) * 2000-12-20 2002-07-05 Fujitsu General Ltd Video display device
CN1459707A (en) * 2002-05-21 2003-12-03 联想(北京)有限公司 Multipath display dignal intelligent switching device
US20050052577A1 (en) * 2003-09-10 2005-03-10 Seth-Smith Nigel James Video signal format detector and generator system and method
CN101175178A (en) * 2006-10-27 2008-05-07 美国博通公司 Automatic format identification of analog video input signals
CN101237521A (en) * 2008-01-31 2008-08-06 华为技术有限公司 An extraction device and method for synchronous clock
CN102740086A (en) * 2012-06-26 2012-10-17 上海屹芯微电子有限公司 Automatic identification method and device of composite video broadcast signal system
CN102916693A (en) * 2012-11-02 2013-02-06 长沙景嘉微电子股份有限公司 All-digital phase-locked ring applicable to video signal processing
CN106250851A (en) * 2016-08-01 2016-12-21 徐鹤菲 A kind of identity identifying method, equipment and mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2150690Y (en) * 1992-07-07 1993-12-22 李德 System automatic identifying device for colour television receiver
JP2002189465A (en) * 2000-12-20 2002-07-05 Fujitsu General Ltd Video display device
CN1459707A (en) * 2002-05-21 2003-12-03 联想(北京)有限公司 Multipath display dignal intelligent switching device
US20050052577A1 (en) * 2003-09-10 2005-03-10 Seth-Smith Nigel James Video signal format detector and generator system and method
CN101175178A (en) * 2006-10-27 2008-05-07 美国博通公司 Automatic format identification of analog video input signals
CN101237521A (en) * 2008-01-31 2008-08-06 华为技术有限公司 An extraction device and method for synchronous clock
CN102740086A (en) * 2012-06-26 2012-10-17 上海屹芯微电子有限公司 Automatic identification method and device of composite video broadcast signal system
CN102916693A (en) * 2012-11-02 2013-02-06 长沙景嘉微电子股份有限公司 All-digital phase-locked ring applicable to video signal processing
CN106250851A (en) * 2016-08-01 2016-12-21 徐鹤菲 A kind of identity identifying method, equipment and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107896314A (en) * 2017-11-10 2018-04-10 浙江大华技术股份有限公司 A kind of video transmission method and equipment
CN107896314B (en) * 2017-11-10 2019-12-24 浙江大华技术股份有限公司 Video transmission method and device
CN108093193A (en) * 2017-12-28 2018-05-29 浙江大华技术股份有限公司 A kind of video formats switching method and device
CN108093193B (en) * 2017-12-28 2020-04-03 浙江大华技术股份有限公司 Video format switching method and device
CN108235000A (en) * 2018-01-26 2018-06-29 北京视通科技有限公司 Resolution detection method and device based on parallel digital video signal
CN113259542A (en) * 2021-05-13 2021-08-13 深圳Tcl数字技术有限公司 Audio and video signal input and output control device and method and electrical equipment
CN113259542B (en) * 2021-05-13 2022-09-02 深圳Tcl数字技术有限公司 Audio and video signal input and output control device and method and electrical equipment
CN114157908A (en) * 2021-11-01 2022-03-08 富瀚微电子(成都)有限公司 System identification method, device, equipment and medium for composite video broadcast signal

Similar Documents

Publication Publication Date Title
CN107222738A (en) A kind of video formats determine method and device
US10831321B2 (en) Parallel sensing touch control device and operating method thereof
US20100329391A1 (en) Information detecting apparatus and method
CN106569129B (en) Motor safety detection method and system and electric machine control system
CN110672913B (en) Complex waveform signal processing method suitable for alternating current and direct current leakage detection
CN106451391A (en) Overcurrent protection peripheral circuit and electrical appliance
CN109921826B (en) Pulse interference suppression method and device
CN112067912A (en) Method for detecting phase loss, electronic device and storage medium
CN104267273A (en) Quick detection circuit and method for mains fluctuation
CN107886883B (en) Circuit and method for detecting common electrode wiring short circuit
CN105172612A (en) Detection apparatus for battery charging outfit connection status and electric automobile
CN107942126B (en) Current detection circuit, method, readable storage medium and power electronic device
CN107863989A (en) Telephone line fault monitoring system and monitoring method
CN110177299B (en) Video playing speed adjusting platform
CN1187915C (en) Method for detecting impulse interference in digital signal transmission
CN116204811A (en) Self-adaptive load event detection method by combining signal normalization and two-stage judgment
CN106329901A (en) Overcurrent protective peripheral circuit and electric device
CN206056742U (en) A kind of test system for detecting water flow sensor parameter
CN107483847A (en) A kind of video distributor
CN203896318U (en) Differential input circuit
CN105067944A (en) Detection circuit and detection method for audio interfaces
JP7303359B1 (en) Switch detection circuit, method and switch detector
CN102841303B (en) Serial peripheral interface (SPI) anomaly detection method and SPI anomaly detection device
CN217034085U (en) Low-voltage differential signal detection device
CN112883763A (en) Signal detection method and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170929