CN110769176B - Video signal type identification method and device, electronic equipment and readable storage medium - Google Patents

Video signal type identification method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN110769176B
CN110769176B CN201810827454.4A CN201810827454A CN110769176B CN 110769176 B CN110769176 B CN 110769176B CN 201810827454 A CN201810827454 A CN 201810827454A CN 110769176 B CN110769176 B CN 110769176B
Authority
CN
China
Prior art keywords
video signal
blanking line
type
target
blanking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810827454.4A
Other languages
Chinese (zh)
Other versions
CN110769176A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201810827454.4A priority Critical patent/CN110769176B/en
Priority to EP19840351.1A priority patent/EP3813360A4/en
Priority to US17/262,636 priority patent/US11930158B2/en
Priority to PCT/CN2019/097274 priority patent/WO2020020149A1/en
Priority to PCT/CN2019/097293 priority patent/WO2020020157A1/en
Publication of CN110769176A publication Critical patent/CN110769176A/en
Application granted granted Critical
Publication of CN110769176B publication Critical patent/CN110769176B/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/76Television signal recording
    • H04N5/907Television signal recording using static stores, e.g. storage tubes or semiconductor memories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region

Abstract

The application provides a video signal type identification method, a video signal type identification device, an electronic device and a readable storage medium, wherein the method comprises the following steps: when a video signal is received, reading a quantized value of a blanking line amplitude value of the video signal by using a PTZ protocol; identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal. The method can improve the accuracy of video signal type identification.

Description

Video signal type identification method and device, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to video monitoring technologies, and in particular, to a method and an apparatus for identifying a video signal type, an electronic device and a readable storage medium.
Background
The traditional Video monitoring industry mainly comprises products such as Video acquisition equipment (such as an analog camera) and Video storage equipment (such as a Digital Video Recorder (DVR)), and external scenes are acquired by the Video acquisition equipment and then transmitted to the Video storage equipment for storage, Video analysis and other processing.
The video signal transmission between the video acquisition device and the video storage device comprises two technologies of modulation output and modulation input. Since there are various types of video capture devices and the types of video signals corresponding thereto are different, in order to ensure compatible access of video signals, a video storage device needs to be able to accurately identify the type of a received video signal.
Disclosure of Invention
In view of the above, the present application provides a video signal type identification method, apparatus, electronic device and readable storage medium.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of embodiments of the present application, there is provided a video signal type identification method, including:
when a video signal is received, reading a quantized value of a blanking line amplitude value of the video signal by using a PTZ protocol;
identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal.
Optionally, before the reading the quantized value of the blanking line amplitude of the video signal by using the PTZ protocol, the method further includes:
detecting whether a sine wave is present in the 4 th last blanking line of the video signal;
if yes, determining that the video signal is a target type video signal;
if not, determining to perform the step of reading the quantized values of the blanking line amplitude values of the video signal using a PTZ protocol.
Optionally, the reading the quantized values of the blanking line amplitude of the video signal using the PTZ protocol includes:
reading a quantized value of a first target blanking line amplitude value of the video signal using a PTZ protocol;
the identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal comprises:
identifying a type of the video signal based on a quantized value of a first target blanking line amplitude of the video signal.
Optionally, the first target blanking line is any blanking line of 23 th to 26 th blanking lines of the video signal.
Optionally, the reading the quantized values of the blanking line amplitude of the video signal using the PTZ protocol includes:
reading a quantized value of a second target blanking line amplitude value of the video signal using a PTZ protocol;
the identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal comprises:
identifying a type of the video signal based on a quantized value of a second target blanking line amplitude of the video signal.
Optionally, the second target blanking line is any one of blanking lines 6-7 of the video signal.
Optionally, the identifying the type of the video signal according to the quantized value of the second target blanking line amplitude value of the video signal includes:
if the quantized value of the second target blanking line amplitude is 0x00, identifying the type of the video signal according to the color carrier detection state and the locking state of the video signal
According to a second aspect of embodiments of the present application, there is provided a video signal type identification apparatus, including:
a receiving unit for receiving a video signal;
a reading unit for reading quantized values of blanking line amplitudes of the video signal using a PTZ protocol;
and the identification unit is used for identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal.
Optionally, the apparatus further comprises:
a detection unit for detecting whether a sine wave is present in a 4 th last blanking line of the video signal;
the identification unit is further used for determining that the video signal is a target type video signal if a sine wave exists in the 4 th blanking line of the video signal;
the reading unit is specifically configured to read a quantized value of a blanking line amplitude of the video signal using a PTZ protocol if no sine wave is present in a 4 th blanking line from the last of the video signal.
Optionally, the reading unit is specifically configured to read a quantized value of a first target blanking line amplitude of the video signal using a PTZ protocol;
the identification unit is specifically configured to identify a type of the video signal according to a quantized value of a first target blanking line amplitude of the video signal.
Optionally, the first target blanking line is any blanking line of 23 th to 26 th blanking lines of the video signal.
Optionally, the reading unit is specifically configured to read a quantized value of a second target blanking line amplitude of the video signal using a PTZ protocol;
the identification unit is specifically configured to identify a type of the video signal according to a quantized value of a second target blanking line amplitude of the video signal.
Optionally, the second target blanking line is any one of blanking lines 6-7 of the video signal.
Optionally, the identifying unit is further specifically configured to identify the type of the video signal according to a color carrier detection state and a lock state of the video signal if the quantization value of the second target blanking line amplitude is 0x 00.
According to a third aspect of the embodiments of the present application, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the video signal type identification method when executing the program stored in the memory.
According to a fourth aspect of embodiments of the present application, there is provided a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when being executed by a processor, the computer program implements the video signal type identification method.
According to the video signal type identification method, when the video signal is received, the quantization value of the amplitude of the blanking line of the video signal is read by using the PTZ protocol, the type of the video signal is identified according to the quantization value of the amplitude of the blanking line of the video signal, and the accuracy of video signal type identification is improved.
Drawings
Fig. 1 is a flow chart illustrating a video signal type identification method according to an exemplary embodiment of the present application;
fig. 2 is a flow chart illustrating a video signal type identification method according to yet another exemplary embodiment of the present application;
fig. 3 is a flow chart illustrating a video signal type identification method according to yet another exemplary embodiment of the present application;
fig. 4 is a flow chart illustrating a video signal type identification method according to yet another exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram of a video signal type identification apparatus according to an exemplary embodiment of the present application;
fig. 6 is a schematic structural diagram of a video signal type recognition apparatus according to still another exemplary embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In order to make the technical solutions provided in the embodiments of the present application better understood and make the above objects, features and advantages of the embodiments of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a video signal recognition method according to an embodiment of the present disclosure is shown, where the video signal recognition method can be applied to an AD chip in a video processing device having an AD (Analog-to-Digital) chip, such as an AD chip of a DVR (hereinafter, the video processing device is referred to as a DVR for example), and as shown in fig. 1, the method can include the following steps:
it should be noted that, in the embodiments of the present application, unless otherwise specified, all of the mentioned video signals are analog video signals, and the description thereof will not be repeated in the embodiments of the present application.
Step S100, when the video signal is received, a quantized value of a blanking line amplitude value of the video signal is read by using a PTZ protocol.
In the embodiment of the present application, in consideration of a relatively significant difference between the blanking line amplitudes of different video signals, when the DVR receives a video signal, the AD chip may read a quantized value of the blanking line amplitude of the video signal by using a PTZ (Pan/Tilt/Zoom) protocol, for example, the quantized value of the blanking line amplitude of the video signal is read according to a preset PTZ signal receiving parameter.
The preset PTZ signal receiving parameter may be set according to the blanking line characteristics of the video signal, which includes, but is not limited to, the serial number of the read blanking line, the start bit of the read blanking line, the number of bits (e.g., 24 bits) of the read blanking line, and the pulse width (e.g., 8 bits).
Step S110, identifying the type of the signal according to the quantized value of the blanking line amplitude of the video signal.
In the embodiment of the application, after the AD chip reads the quantized value of the amplitude of the blanking line of the video signal, the type of the video signal may be identified according to the quantized value of the amplitude of the blanking line of the video signal.
Further, in the embodiment of the present application, considering that a sine wave (generally, about one line in duration) exists in the 4 th last blanking line of a certain type of video signal (referred to herein as a target type video signal), and a sine wave does not exist in the 4 th last blanking line of other types of video signals, the AD chip may determine whether the video signal is the target type video signal according to whether a sine wave exists in the 4 th last blanking line of the video signal.
Accordingly, before reading the quantized values of the blanking line amplitude values of the video signal using the PTZ protocol, the method may further include:
detecting whether a sine wave is present in the 4 th last blanking line of the video signal;
if yes, determining that the video signal is a target type video signal;
otherwise, the step of reading the quantized values of the blanking line amplitudes of the video signal using the PTZ protocol described above is determined to be performed.
In this embodiment, when the DVR receives a video signal, the DVR may detect, through the AD chip, whether a sine wave exists in the 4 th last blanking line of the received video signal.
When the AD chip detects that a sine wave exists in the 4 th blanking line from the last of the video signals, that is, when it is determined that the received video signal is the target type video signal, the bit2 bit value of the 0x4 register may be set to 1; if it is detected that the sine wave does not exist in the 4 th last blanking line of the video signal, i.e., it is determined that the received video signal is not the target type video signal, the value of bit2 bit of the 0x4 register may be set to 0; further, the SOC (System-on-a-Chip) Chip (System integrated Chip) of the DVR can determine whether the received video signal is a target type video signal by reading the value of bit2 bits of the 0x4 register of the AD Chip.
When the AD chip of the DVR detects that a sine wave exists in the 4 th last blanking line of the received video signal, the AD chip may determine that the video signal is a target type video signal.
When the AD chip of the DVR detects that there is no sine wave in the 4 th last blanking line of the received video signal, the AD chip may further read a quantized value of the blanking line amplitude of the video signal using the PTZ protocol and identify the type of the video signal according to the quantized value of the blanking line amplitude of the video signal.
In one embodiment of the present application, the reading the quantized values of the blanking line amplitude values of the video signal using the PTZ protocol may include:
reading a quantized value of a first target blanking line amplitude value of the video signal using a PTZ protocol;
accordingly, the above identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal may include:
the type of the video signal is identified based on a quantized value of a first target blanking line amplitude of the video signal.
In this embodiment, considering that there is a significant difference in the quantization value of the amplitude of a specific partial blank line (any one of the specific partial blank lines is referred to herein as a first target blank line) of different video signals, the AD chip can identify the type of the video signal by reading the quantization value of the amplitude of the first target blank line.
In one example, the first target blanking line is any one of the 23 th to 26 th blanking lines of the video signal.
In this example, the AD chip can read any blanking line (namely a first target blanking line) in 23 th to 26 th blanking lines of the received video signal and identify the type of the video signal according to the quantized value of the amplitude of the first target blanking line.
In one implementation of this embodiment, the identifying the type of the video signal according to the quantized value of the first target blanking line amplitude value of the video signal may include:
identifying the video signal as a first type of video signal if the quantized value of the first target blanking line amplitude is 0x 00;
if the quantized value of the first target blanking line amplitude is greater than 0x00, the video signal is identified as a second type of video signal.
Wherein the first type video signal and the second type video signal are both of a type different from that of the target type video signal.
In this embodiment, considering that the quantized value of the first target blank line amplitude value of the first type video signal is generally 0x00 and the quantized value of the first target blank line amplitude value of the second type video signal is generally a value greater than 0x00, the video signal of which the quantized value of the first target blank line amplitude value is 0x00 is the first type video signal and the video signal of which the quantized value of the first target blank line amplitude value is greater than 0x00 is the second type video signal.
Accordingly, in this embodiment, when the quantized value of the first target blank line amplitude of the video signal read by the AD chip is 0x00, the AD chip can recognize the video signal as a first type video signal; when the quantized value of the first target blank line amplitude of the video signal read by the AD chip is greater than 0x00, the AD chip may recognize the video signal as a second type video signal.
In another embodiment of the present application, the reading the quantized values of the blanking line amplitude values of the video signal using the PTZ protocol according to the standard of the video signal may include:
reading a quantized value of a second target blanking line amplitude of the video signal;
accordingly, the above identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal may include:
the type of the video signal is identified based on a quantized value of a second target blanking line amplitude of the video signal.
In this embodiment, considering that the first type video signal and the second type video signal have a significant difference in the quantized value of the amplitude of other partial blank lines (any one of the other partial blank lines is referred to herein as a second target blank line) in addition to the significant difference in the quantized value of the first target blank line amplitude, the AD chip can identify the type of the video signal by reading the quantized value of the second target blank line amplitude.
Wherein the first target blanking line is different from the second target blanking line.
In one example, the second target blanking line is any one of the 6 th to 7 th blanking lines of the video signal.
In this example, considering that there is a significant difference in the quantization values of the 6 th to 7 th blank line amplitudes of the first type video signal and the second type video signal, when the AD chip determines that the received video signal is not the target type video signal, the AD chip may read any one of the 6 th to 7 th blank lines of the received video signal (referred to herein as a second target blank line) and identify the video signal as the first type video signal or the second type video signal according to the quantization value of the second target blank line amplitude.
In one implementation of this embodiment, the identifying the type of the video signal according to the quantized value of the second target blanking line amplitude value of the video signal may include:
if the quantized value of the second target blanking line amplitude is 0xff, identifying the video signal as a first type video signal;
if the quantized value of the second target blanking line amplitude is greater than 0x00 and less than 0xff, the video signal is identified as the second type video signal.
In this embodiment, considering that the quantized value of the second target blank line amplitude of the first type video signal is usually 0xff or 0x00, and the quantized value of the second target blank line amplitude of most of the second type video signals is usually a value between 0x00 ~ 0xff, i.e., a value greater than 0x00 and less than 0xff, the video signal of which the quantized value of the second target blank line amplitude is 0xff is the first type video signal, and the video signal of which the quantized value of the second target blank line amplitude is 0x00 ~ 0xff is the second type video signal.
Accordingly, in this embodiment, when the quantized value of the second target blank line amplitude of the video signal read by the AD chip is 0xff, the AD chip can recognize the video signal as the second type video signal; when the quantization value of the second target blanking line amplitude of the video signal read by the DVR is any value between 0x 00-0 xff, namely is more than 0x00 and less than 0xff, the AD chip can identify the video signal as the second type video signal.
Further, considering that there is a small portion of the second type video signal, the quantized value of the second target blank line amplitude may be 0x00, and therefore, when the quantized value of the second target blank line amplitude of the video signal read by the AD chip is 0x00, at this time, the video signal may be the second type video signal or other video signals, and the AD chip needs to further identify the type of the video signal according to other strategies.
Accordingly, in another implementation manner of this embodiment, the identifying the type of the video signal according to the quantized value of the second target blanking line amplitude value of the video signal may include:
if the quantized value of the second target blanking line amplitude is 0x00, the type of the video signal is identified according to the color carrier detection state and the lock state of the video signal.
In this embodiment, when the quantized value of the target blanking line amplitude of the video signal read by the AD chip is 0x00, the AD chip may further identify the type of the video signal according to the color carrier detection state and the lock state of the video signal.
In one example, the identifying the type of the video signal according to the color carrier detection state and the lock state of the video signal may include:
determining an EQ value of the video signal;
configuring a gain multiple according to the EQ value of the video signal;
configuring a register according to the first type video signal, and detecting the video signal;
and if the color carrier is detected and locked, determining that the video signal is the first type video signal.
Specifically, in this example, when the quantized value of the target blanking line amplitude of the video signal read by the AD chip is 0x00, the AD chip may first determine an EQ (Embedded Equalizer) value of the video signal, that is, determine the degree of attenuation of the video signal.
For example, the AD chip may calculate the EQ value of the video signal according to the color carrier attenuation degree of the video signal, and the specific implementation of the EQ value may refer to related descriptions in the existing related schemes, which is not described herein again in this embodiment of the present application.
After the AD chip determines the EQ value of the video signal, a gain multiple may be configured according to the EQ value, and the video signal may be attenuation compensated by adjusting the gain.
Considering that after the video signal is compensated for attenuation, the registers are configured according to the correct video signal type, so that the color carrier can be detected from the video signal, and the color carrier is locked, i.e. SLOCK locked, therefore, the registers are configured according to the first type video signal and the second type video signal in turn, and the color carrier detection is performed, so as to identify the type of the video signal.
Accordingly, the AD chip may first configure the register according to the type of the first type video signal and detect the video signal. And if the color carrier is detected and locked, determining that the video signal is the first type video signal.
Further, if the AD chip does not detect the color carrier, or detects the color carrier, but the color carrier is not locked, the AD chip may configure the register according to the type of the second type of video signal, and detect the video signal again; at this time, if the color carrier is detected and locked, the video signal is determined to be the second type video signal.
An implementation flowchart of the AD chip identifying the type of the video signal according to the color carrier detection state and the lock state of the video signal may be as shown in fig. 2.
It should be noted that, in this embodiment of the application, when the register is configured by the AD chip according to the first type of video signal or the second type of video signal, and neither the AD chip detects a color carrier nor a color carrier, but the AD chip may determine that an unknown signal is received or perform attenuation compensation and type identification on the video signal again when the color carrier is not locked, and a specific implementation thereof is not limited herein.
In addition, in the embodiment of the present application, the AD chip may configure the register according to the first type of video signal and then configure the register according to the second type of video signal, or may configure the register according to the second type of video signal and then configure the register according to the first type of video signal, which is not described herein in detail.
It should be appreciated that, in the embodiment of the present application, the above-mentioned implementation of identifying the type of the video signal according to the quantized value of the amplitude of a single blanking line (a first target blanking line or a second target blanking line) of the video signal is only a specific example of identifying the type of the video signal according to the quantized value of the amplitude of a blanking line of the video signal in the embodiment of the present application, and is not a limitation to the protection scope of the present application, that is, in the embodiment of the present application, the type of the video signal may also be identified according to the quantized values of the amplitudes of a plurality of blanking lines of the video signal, for example, the AD chip may respectively read the quantized values of 23 th to 26 th blanking line amplitudes of the video signal, and if the quantized values of 23 th to 26 th blanking line amplitudes of the video signal are all 0x00, the NVR may identify the video signal as a first type video signal; if the quantized values of the 23 th to 26 th blanking line amplitudes of the video signal are all values greater than 0x00, the AD chip may identify that the video signal is a second type video signal, and the specific implementation thereof is not described herein.
In order to make those skilled in the art better understand the technical solutions provided in the embodiments of the present application, the following describes the technical solutions provided in the embodiments of the present application with reference to specific examples.
Example one
In this embodiment, the first blanking interval 24 is used as an example for the first target blanking interval, and the implementation flow of the video signal identification scheme may be as shown in fig. 3, which may include the following steps:
step S300, when the video signal is received, whether the sine wave exists in the 4 th blanking line of the video signal is detected. If yes, determining that the video signal is a target type video signal; otherwise, go to step S310.
In this embodiment, the AD chip may determine whether the video signal is a target type video signal in such a manner that a sine wave is present in the 4 th last blanking line of the video signal.
When sine waves exist in the 4 th blanking line of the video signal, the video signal is determined to be a target type video signal; when there is no sine wave in the 4 th last blanking line of the video signal, it is determined that the video signal is not the target type video signal.
Step S310, using PTZ protocol to read the quantized value of the 24 th blanking line amplitude of the video signal. If the video signal is 0x00, determining the video signal as a first type video signal; otherwise, the video signal is determined to be a second type of video signal.
In this embodiment, when the AD chip determines that the video signal is not the target type video signal, the AD chip may read the quantized value of the 24 th blanking line amplitude of the video signal using the PTZ protocol.
If it is 0x00, the AD chip may determine that the video signal is a first type video signal.
If it is not 0x00, that is, the quantized value of the 24 th blanking line amplitude of the video signal is greater than 0x00, the AD chip may determine that the video signal is the second type video signal.
Example two
In this embodiment, the blanking behavior example of the second target blanking behavior of the 6 th blanking behavior is illustrated, and the implementation flow of the video signal identification scheme may be as shown in fig. 4, which may include the following steps:
step S400, when the video signal is received, whether a sine wave exists in the 4 th last blanking line of the video signal is detected. If yes, determining that the video signal is a target type video signal; otherwise, go to step S410.
In this embodiment, the AD chip may determine whether the video signal is a target type video signal in such a manner that a sine wave is present in the 4 th last blanking line of the video signal.
When sine waves exist in the 4 th blanking line of the video signal, the video signal is determined to be a target type video signal; when there is no sine wave in the 4 th last blanking line of the video signal, it is determined that the video signal is not the target type video signal.
Step S410, reading the quantized value of the 6 th blanking line amplitude of the video signal using the PTZ protocol. If the value is 0xff, determining that the video signal is a first type video signal; if the number is 0x00, identifying the type of the video signal according to the color carrier detection state and the locking state of the video signal; if not 0x00 or 0xff, the video signal is determined to be a second type video signal.
In this embodiment, when the AD chip determines that the format of the video signal is not 4M25/30 or 5M20, the AD chip may read the quantized value of the 6 th blanking line amplitude of the video signal according to the preset PTZ signal reception parameter.
If it is 0xff, the AD chip may determine that the video signal is the first type video signal.
If the number is 0x00, the AD chip may further identify the type of the video signal according to the color carrier detection state and the lock state of the video signal, and the specific implementation of the AD chip may refer to the flow illustrated in fig. 2.
If the quantized value of the 6 th blanking line amplitude of the video signal is not 0x00 or 0xff, i.e. the quantized value of the 6 th blanking line amplitude of the video signal is a value between 0x 00-0 xff, the AD chip may determine that the video signal is the second type video signal.
In the embodiment of the application, when the video signal is received, the quantized value of the amplitude of the blanking line of the video signal is read by using the PTZ protocol, the type of the video signal is identified according to the quantized value of the amplitude of the blanking line of the video signal, and the accuracy of identifying the type of the video signal is improved.
The methods provided herein are described above. The following describes the apparatus provided in the present application:
referring to fig. 5, a schematic structural diagram of a video signal type identification apparatus according to an embodiment of the present application is shown, where the video signal type identification apparatus may be applied to an AD chip in the foregoing method embodiment, and as shown in fig. 5, the video signal type identification apparatus may include:
a receiving unit 510 for receiving a video signal;
a reading unit 520 for reading quantized values of the blanking line amplitude of the video signal using a PTZ protocol;
an identifying unit 530 for identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal.
In an alternative embodiment, as shown in fig. 6, the apparatus further comprises:
a detection unit 540 for detecting whether a sine wave is present in the 4 th last blanking line of the video signal;
the identifying unit 530 is further configured to determine that the video signal is a target type video signal if a sine wave exists in the 4 th last blanking line of the video signal;
the reading unit 520 is specifically configured to read a quantized value of a blanking line amplitude of the video signal using a PTZ protocol if no sine wave exists in a 4 th blanking line of the video signal.
In an alternative embodiment, the reading unit 520 is specifically configured to read a quantized value of a first target blanking line amplitude value of the video signal using a PTZ protocol;
the identifying unit 530 is specifically configured to identify a type of the video signal according to a quantized value of a first target blanking line amplitude of the video signal.
In an alternative embodiment, the first target blanking line is any one of the 23 th to 26 th blanking lines of the video signal.
In an alternative embodiment, the reading unit 520 is specifically configured to read a quantized value of a second target blanking line amplitude value of the video signal using a PTZ protocol;
the identifying unit 530 is specifically configured to identify a type of the video signal according to a quantized value of a second target blanking line amplitude of the video signal.
In an alternative embodiment, the second target blanking line is any one of the 6 th to 7 th blanking lines of the video signal.
In an alternative embodiment, the identifying unit 530 is further specifically configured to identify the type of the video signal according to the color carrier detection state and the lock state of the video signal if the quantized value of the target blank line amplitude is 0x 00.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. The electronic device may include a processor 701, a communication interface 702, a memory 703, and a communication bus 704. The processor 701, the communication interface 702, and the memory 703 communicate with each other via a communication bus 704. Wherein, the memory 703 is stored with a computer program; the processor 701 may execute the video signal type identification method described above by executing a program stored on the memory 703.
The memory 703, as referred to herein, may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the memory 702 may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Embodiments of the present application also provide a machine-readable storage medium, such as the memory 703 in fig. 7, storing a computer program, which can be executed by the processor 701 in the electronic device shown in fig. 7 to implement the video signal type identification method described above.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method for identifying a type of video signal, comprising:
reading, when a video signal is received, quantized values of the blanking line amplitude of the video signal using a pan/tilt/zoom lens PTZ protocol; the blanking line of the video signal is any one of blanking lines 6-7 and 23-26 of the video signal;
identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal;
wherein, before reading the quantized value of the blanking line amplitude of the video signal using the PTZ protocol, the method further comprises:
detecting whether a sine wave is present in the 4 th last blanking line of the video signal;
if yes, determining that the video signal is a target type video signal;
if not, determining to perform the step of reading the quantized values of the blanking line amplitude values of the video signal using a PTZ protocol.
2. The method of claim 1, wherein said reading quantized values of blanking line amplitude values of said video signal using a PTZ protocol comprises:
reading a quantized value of a first target blanking line amplitude value of the video signal using a PTZ protocol; wherein the first target blanking line is any blanking line in 23 th to 26 th blanking lines of the video signal;
the identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal comprises:
identifying a type of the video signal based on a quantized value of a first target blanking line amplitude of the video signal.
3. The method of claim 1, wherein said reading quantized values of blanking line amplitude values of said video signal using a PTZ protocol comprises:
reading a quantized value of a second target blanking line amplitude value of the video signal using a PTZ protocol; wherein the second target blanking line is any one of the 6 th to 7 th blanking lines of the video signal;
the identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal comprises:
identifying a type of the video signal based on a quantized value of a second target blanking line amplitude of the video signal.
4. The method of claim 3, wherein identifying the type of the video signal according to the quantized value of the second target blanking line amplitude value of the video signal comprises:
and if the quantized value of the second target blanking line amplitude is 0x00, identifying the type of the video signal according to the color carrier detection state and the locking state of the video signal.
5. A video signal type identifying apparatus, comprising:
a receiving unit for receiving a video signal;
a reading unit for reading quantized values of the blanking line amplitude of the video signal using a pan/tilt/zoom lens PTZ protocol; the blanking line of the video signal is any one of blanking lines 6-7 and 23-26 of the video signal;
an identifying unit for identifying the type of the video signal according to the quantized value of the blanking line amplitude of the video signal; wherein the apparatus further comprises:
a detection unit for detecting whether a sine wave is present in a 4 th last blanking line of the video signal;
the identification unit is further used for determining that the video signal is a target type video signal if a sine wave exists in the 4 th blanking line of the video signal;
the reading unit is specifically configured to read a quantized value of a blanking line amplitude of the video signal using a PTZ protocol if no sine wave is present in a 4 th blanking line from the last of the video signal.
6. The apparatus of claim 5,
the reading unit is specifically configured to read a quantized value of a first target blanking line amplitude of the video signal using a PTZ protocol; wherein the first target blanking line is any blanking line in 23 th to 26 th blanking lines of the video signal;
the identification unit is specifically configured to identify a type of the video signal according to a quantized value of a first target blanking line amplitude of the video signal.
7. The apparatus of claim 5,
the reading unit is specifically configured to read a quantized value of a second target blanking line amplitude of the video signal using a PTZ protocol; wherein the second target blanking line is any one of the 6 th to 7 th blanking lines of the video signal;
the identification unit is specifically configured to identify a type of the video signal according to a quantized value of a second target blanking line amplitude of the video signal.
8. The apparatus of claim 7,
the identifying unit is further specifically configured to identify the type of the video signal according to a color carrier detection state and a lock state of the video signal if the quantization value of the second target blanking line amplitude is 0x 00.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 4 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-4.
CN201810827454.4A 2018-07-25 2018-07-25 Video signal type identification method and device, electronic equipment and readable storage medium Active CN110769176B (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN201810827454.4A CN110769176B (en) 2018-07-25 2018-07-25 Video signal type identification method and device, electronic equipment and readable storage medium
EP19840351.1A EP3813360A4 (en) 2018-07-25 2019-07-23 Method and device for video signal identification, electronic device, and readable storage medium
US17/262,636 US11930158B2 (en) 2018-07-25 2019-07-23 Video signal identification method and apparatus, electronic device and readable storage medium
PCT/CN2019/097274 WO2020020149A1 (en) 2018-07-25 2019-07-23 Method and device for video signal identification, electronic device, and readable storage medium
PCT/CN2019/097293 WO2020020157A1 (en) 2018-07-25 2019-07-23 Video signal recognition method and apparatus, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810827454.4A CN110769176B (en) 2018-07-25 2018-07-25 Video signal type identification method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110769176A CN110769176A (en) 2020-02-07
CN110769176B true CN110769176B (en) 2022-01-25

Family

ID=69327192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810827454.4A Active CN110769176B (en) 2018-07-25 2018-07-25 Video signal type identification method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110769176B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642259A (en) * 2004-01-17 2005-07-20 深圳创维-Rgb电子有限公司 Method for converting video-frequency signal format
CN102318340A (en) * 2011-06-17 2012-01-11 华为终端有限公司 Method and device for determining type of video signal to be output
CN102740086A (en) * 2012-06-26 2012-10-17 上海屹芯微电子有限公司 Automatic identification method and device of composite video broadcast signal system
CN105530444A (en) * 2014-09-30 2016-04-27 三亚中兴软件有限责任公司 Method and apparatus for detecting video signals with same systems and video conference system
CN107094239A (en) * 2017-04-24 2017-08-25 浙江大华技术股份有限公司 A kind of method and apparatus for determining video format information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8169542B2 (en) * 2006-10-27 2012-05-01 Broadcom Corporation Automatic format identification of analog video input signals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642259A (en) * 2004-01-17 2005-07-20 深圳创维-Rgb电子有限公司 Method for converting video-frequency signal format
CN102318340A (en) * 2011-06-17 2012-01-11 华为终端有限公司 Method and device for determining type of video signal to be output
CN102740086A (en) * 2012-06-26 2012-10-17 上海屹芯微电子有限公司 Automatic identification method and device of composite video broadcast signal system
CN105530444A (en) * 2014-09-30 2016-04-27 三亚中兴软件有限责任公司 Method and apparatus for detecting video signals with same systems and video conference system
CN107094239A (en) * 2017-04-24 2017-08-25 浙江大华技术股份有限公司 A kind of method and apparatus for determining video format information

Also Published As

Publication number Publication date
CN110769176A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
US6975744B2 (en) Detection of multiple watermarks and improved watermark calibration signals
US8170148B2 (en) Demodulation circuit, digital microwave system and demodulation method
US20070206885A1 (en) Imaging System And Image Processing Program
WO2008076354A3 (en) Signal-processing systems and methods for rfid-tag signals
US6574349B1 (en) Embedding and extracting supplemental data in an information signal
WO2004074868A3 (en) Signal enhancement module
EP1108547A3 (en) Ink-jet recording apparatus and recording method
KR20210058923A (en) Paper thickness detection method, device, storage medium and processor
US9129645B2 (en) Data demodulation device, data demodulation method, reproduction device for magnetically recorded data, and program
CN110769176B (en) Video signal type identification method and device, electronic equipment and readable storage medium
US11930158B2 (en) Video signal identification method and apparatus, electronic device and readable storage medium
CN108362227A (en) Wheel hub detection method, device, system and control device
CN110769181B (en) Video signal system identification method and device, electronic equipment and readable storage medium
CN110769180B (en) Video signal false lock identification method and device, electronic equipment and storage medium
US9571141B2 (en) Wireless communication device and method of operating the same
CN116129102A (en) Water meter identification method and related device based on improved image processing algorithm
US9210338B2 (en) Image processing device and image processing method, and program
US20040151094A1 (en) Apparatus to generate a bit clock and a method of generating the bit clock
US6587156B1 (en) Method for detecting mosaic fades in digitized video
EP1195762A3 (en) Information recording apparatus, information recording method, and information recording medium in which information recording program is computer-readably recorded
JP5319615B2 (en) Filter coefficient setting method for digital receiver and digital receiver
CN101053159B (en) System and method to receive data
CN107359959B (en) Method for detecting initial position of data frame and receiver
US20070082643A1 (en) Adaptable DC offset correction
JP3755025B2 (en) SEARCH TYPE SIGNAL DETECTION DEVICE, SIGNAL DETECTION METHOD, SIGNAL DETECTION PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM

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