Coaxial video signal system automatic identification method, device and server

By polling the coaxial video signal according to its standard and detecting the frame header type, the system automatically identifies the TVI, AHD, and CVI standards, solving the problems of slow recognition speed and high false judgment rate in existing technologies, and achieving fast and accurate video signal decoding.

CN121887944BActive Publication Date: 2026-07-07ZHEJIANG XINMAI SILICON CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG XINMAI SILICON CO LTD
Filing Date
2026-03-20
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In existing technologies, video signal format recognition relies on manual settings, which results in slow recognition speed and high error rate, especially in scenarios with poor signal quality or mixed formats.

Method used

By polling the coaxial video signal according to various decoding parameters, and combining color subcarrier frequency matching and frame header type detection, the signal standard is automatically identified, including three standards: TVI, AHD, and CVI.

Benefits of technology

It achieves fast and accurate recognition of coaxial video signals, ensures correct configuration of decoding parameters during the decoding process, and improves recognition efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121887944B_ABST
    Figure CN121887944B_ABST
Patent Text Reader

Abstract

The application provides a coaxial video signal system automatic identification method, device and server, and relates to the technical field of signal identification, and comprises the following steps: performing system polling processing on the input coaxial video signal through various decoding parameters, and performing polling judgment processing on the color subcarrier frequency matching result and the polling number to determine the signal system, or entering the system judgment process; when the system judgment process is executed, performing frame header type detection processing on the coaxial video signal, if the frame header type belongs to the characteristic frame header of the first system, and the first system corresponding special line exists in the coaxial video signal, then the coaxial video signal is determined as the first system, otherwise, whether the second system corresponding special line exists in the coaxial video signal is detected; if the detection result is that the second system corresponding special line exists, then the coaxial video signal is determined as the second system, if the detection result is that the second system corresponding special line does not exist, then the coaxial video signal is determined as the third system. The application can significantly improve the identification efficiency of the coaxial video signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of signal recognition, and in particular to a method, apparatus and server for automatic recognition of coaxial video signal formats. Background Technology

[0002] Currently, related technologies suggest that existing solutions for video signal format identification mainly rely on manual settings. Due to the lack of automatic identification capabilities, the identification speed is slow. Furthermore, the manual identification process lacks systematic decision logic and counter control mechanisms. Therefore, manual identification has a high misjudgment rate when dealing with scenarios with poor signal quality or mixed signal formats. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a method, apparatus and server for automatic identification of coaxial video signal format, which can significantly improve the identification efficiency of coaxial video signals.

[0004] In a first aspect, embodiments of the present invention provide an automatic coaxial video signal standard identification method, the method comprising: performing standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter, and performing polling judgment processing on the color subcarrier frequency matching result and the number of polling to determine the signal standard, or entering a standard decision process; when executing the standard decision process, performing frame header type detection processing on the coaxial video signal; if the frame header type belongs to the characteristic frame header of the first standard, and there is a special line corresponding to the first standard in the coaxial video signal, then the coaxial video signal is determined to be of the first standard; otherwise, detecting whether there is a special line corresponding to the second standard in the coaxial video signal, wherein the first standard is tvi and the second standard is aahd; if the detection result is that it exists, then the coaxial video signal is determined to be of the second standard; if the detection result is that it does not exist, then the coaxial video signal is determined to be of the third standard, wherein the third standard is cvi.

[0005] In one embodiment, the step of performing standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter includes: after initializing the polling counter, performing color subcarrier frequency matching detection on the coaxial video signal according to the decoding parameters corresponding to the initial standard type to obtain the color subcarrier frequency matching result corresponding to the decoding parameters.

[0006] In one embodiment, the step of performing color subcarrier frequency matching detection on the coaxial video signal according to the decoding parameters corresponding to the initial system type to obtain the color subcarrier frequency matching result corresponding to the decoding parameters includes: generating a local color subcarrier reference signal according to the decoding parameters corresponding to the initial system type, and using the local color subcarrier reference signal to demodulate and filter the chroma signal in the coaxial video signal to obtain a demodulated signal component; extracting the color synchronization level value from the color synchronization signal interval of the demodulated signal component, and dynamically adjusting the matching judgment counter according to the comparison result of the color synchronization level value and the preset threshold parameter, so as to determine the color subcarrier frequency matching result according to the value of the matching judgment counter.

[0007] In one implementation, the step of polling the color subcarrier frequency matching result and the number of polling iterations to determine the signal standard or enter the standard decision process includes: if a match is successful within a preset time threshold, the current standard type is determined as the signal standard; if a match is unsuccessful within the preset time threshold, the value of the polling counter is updated, and the decoding parameters corresponding to the next standard type are switched to perform color subcarrier frequency matching detection and polling decision processing until the value of the polling counter exceeds the preset number of polling iterations threshold, and the standard decision process is entered.

[0008] In one embodiment, the step of performing frame header type detection processing on a coaxial video signal includes: detecting the line synchronization width of the coaxial video signal, and determining the frame synchronization identifier value of the coaxial video signal according to the variation pattern of the line synchronization width of consecutive lines, wherein the frame synchronization identifier value is the frame synchronization start position of the coaxial video signal; and judging whether the frame header type of the coaxial video signal belongs to the characteristic frame header of the first standard according to the line synchronization width of the line preceding the frame synchronization identifier value.

[0009] In one implementation, if the frame header type belongs to the feature frame header of the first standard, and there is a special line corresponding to the first standard in the coaxial video signal, the step of determining that the coaxial video signal is of the first standard includes: when the frame header type is the feature frame header of the first standard, in the coaxial video signal, within the special line interval corresponding to the feature frame header of the first standard, obtaining a set of signal values ​​of continuous sampling points, and calculating a first average value of the set of signal values; if the first average value is not less than a preset special signal detection threshold, then it is determined that there is a special line corresponding to the first standard in the coaxial video signal.

[0010] In one embodiment, the step of detecting whether a special line corresponding to a second standard exists in a coaxial video signal includes: sampling and averaging the position of the special line corresponding to the second standard in the coaxial video signal to obtain a second average value; if the second average value is not less than a preset special signal detection threshold, then it is determined that a special line corresponding to the second standard exists in the coaxial video signal.

[0011] Secondly, embodiments of the present invention also provide an automatic coaxial video signal standard identification device, the device comprising: a standard polling module, which performs standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter, and performs polling judgment processing on the color subcarrier frequency matching result and the number of polling to determine the signal standard, or enter the standard decision process; a first standard decision module, which, when executing the standard decision process, performs frame header type detection processing on the coaxial video signal, if the frame header type belongs to the characteristic frame header of the first standard, and there is a special line corresponding to the first standard in the coaxial video signal, then the coaxial video signal is determined to be of the first standard, otherwise, it detects whether there is a special line corresponding to the second standard in the coaxial video signal, wherein the first standard is tvi and the second standard is aahd; a second standard decision module, which, if the detection result is that it exists, determines that the coaxial video signal is of the second standard, and if the detection result is that it does not exist, determines that the coaxial video signal is of the third standard, wherein the third standard is cvi.

[0012] Thirdly, embodiments of the present invention also provide a server, including a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement any of the methods provided in the first aspect.

[0013] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions, which, when invoked and executed by a processor, cause the processor to implement any of the methods provided in the first aspect.

[0014] The embodiments of the present invention bring the following beneficial effects:

[0015] This invention provides an automatic coaxial video signal standard identification method, apparatus, and server. The method first performs standard polling processing on the input coaxial video signal using various decoding parameters to obtain the color subcarrier frequency matching results corresponding to each decoding parameter. Then, it performs polling judgment processing on the color subcarrier frequency matching results and the number of polling iterations to determine the signal standard or enter a standard decision process. Subsequently, when executing the standard decision process, it performs frame header type detection processing on the coaxial video signal. If the frame header type belongs to the characteristic frame header of the first standard, and the coaxial video signal contains a special line corresponding to the first standard, then the coaxial video signal is determined to be of the first standard. Otherwise, it detects whether the coaxial video signal contains a special line corresponding to the second standard. If the detection result is yes, the coaxial video signal is determined to be of the second standard; if the detection result is no, the coaxial video signal is determined to be of the third standard. This invention can automatically identify the standard of the coaxial video signal, enabling rapid and accurate matching and provision of corresponding decoding feature parameters during the decoding process, ensuring that the input analog coaxial video signal is quickly and correctly decoded into a video image.

[0016] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0017] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0018] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0019] Figure 1 This is a schematic diagram of the structure of an automatic coaxial video signal format recognition system provided in an embodiment of the present invention;

[0020] Figure 2 A schematic diagram illustrating the implementation process steps of an automatic coaxial video signal format identification method provided in an embodiment of the present invention;

[0021] Figure 3 A flowchart illustrating an automatic format identification method provided in an embodiment of the present invention;

[0022] Figure 4A flowchart illustrating a standard polling method provided in an embodiment of the present invention;

[0023] Figure 5 This is a schematic diagram of the structure of an automatic coaxial video signal format identification device provided in an embodiment of the present invention;

[0024] Figure 6 This is a schematic diagram of the structure of a server provided in an embodiment of the present invention. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] Currently, existing solutions for video signal format identification mainly rely on manual settings. This approach lacks automatic identification capabilities, resulting in slow identification speeds. Furthermore, manual identification lacks systematic decision logic and counter control mechanisms, leading to a high misjudgment rate when dealing with poor signal quality or mixed signal formats. Therefore, the coaxial video signal format automatic identification method provided by this invention can accurately and quickly identify the format of the input coaxial video signal, facilitating the correct decoding parameters for the decoder and ensuring normal image output.

[0027] To facilitate understanding of this embodiment, a detailed description of the coaxial video signal standard automatic identification method disclosed in this embodiment of the invention will be provided first. This method is applied to a coaxial video signal standard automatic identification system. To facilitate understanding of the coaxial video signal standard automatic identification system, this embodiment of the invention provides a structural schematic diagram of the coaxial video signal standard automatic identification system, as shown below. Figure 1 As shown, the video signal is first sent to the standard polling module for standard polling processing. If the signal standard is still not determined after a certain number of polling cycles, it is sent to the standard judgment module for frame header type and special line detection. The luminance signal contains line synchronization signal, frame synchronization signal and special line signal, which are used for subsequent frame header type detection and special line existence detection.

[0028] based on Figure 1 The diagram shown illustrates the structure of an automatic coaxial video signal format recognition system. This invention provides a detailed description of the automatic coaxial video signal format recognition method. (See also...) Figure 2The diagram illustrates the implementation process of an automatic coaxial video signal format identification method, which mainly includes the following steps S202 to S206:

[0029] Step S202: Perform standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter, and perform polling judgment processing on the color subcarrier frequency matching result and the number of polling to determine the signal standard, or enter the standard decision process.

[0030] In one implementation, the purpose of standard polling is to determine whether the frequency of the color subcarrier in the color synchronization level signal matches the local carrier by continuously adjusting the frequency of the local color subcarrier, thereby determining the signal standard. If the signal standard can be determined during the standard polling process, there is no need to perform the subsequent standard decision process.

[0031] In addition, multiple loops are used to prevent system instability. If a match is not found in one loop, the polling number threshold can be set to 3, so that the loop only happens once. If multiple polls fail to find a match, it may indicate that the color synchronization level signal is missing from the signal. The signal type needs to be determined by subsequent non-chroma features.

[0032] Step S204: When executing the standard determination process, the coaxial video signal is subjected to frame header type detection processing. If the frame header type belongs to the characteristic frame header of the first standard, and there is a special line corresponding to the first standard in the coaxial video signal, then the coaxial video signal is determined to be of the first standard. Otherwise, the coaxial video signal is checked to see if there is a special line corresponding to the second standard. The first standard is tvi, and the second standard is ahd.

[0033] In one implementation, since the frame header types of AHD and CVI are the same, the frame header of TVI is judged first when executing the standard determination process. In addition, since the frame header of TVI is of the same type at different resolutions, the frame header of AHD is similar to that of CVI at resolutions below 2M, and similar to that of TVI at resolutions above 2M. Only special lines are its inherent characteristics. Therefore, when detecting TVI, it will check whether it is a TVI frame header, but when detecting AHD, it will only check the special lines and will not check the AHD frame header.

[0034] Step S206: If the detection result is present, the coaxial video signal is determined to be of the second standard; if the detection result is absent, the coaxial video signal is determined to be of the third standard, wherein the third standard is CVI. In one embodiment, since CVI does not have obvious signal characteristics, AHD and TVI are detected first. If both are excluded, the signal standard is directly determined to be CVI.

[0035] The coaxial video signal standard automatic identification method provided in this embodiment of the invention can automatically identify whether the coaxial video signal standard is AHD, CVI, or TVI, so as to ensure that the DVR can quickly and accurately match and provide the corresponding decoding feature parameters during the decoding process, and ensure that the input analog coaxial video signal can be quickly and correctly decoded into a video image.

[0036] See Figure 3 The diagram shows a flowchart of an automatic format identification method. This invention also provides an implementation method for automatic format identification of coaxial video signals, as detailed in (A) to (C) below:

[0037] (A) After initializing the polling counter, the coaxial video signal is subjected to color subcarrier frequency matching detection according to the decoding parameters corresponding to the initial standard type. The color subcarrier frequency matching result corresponding to the decoding parameters is obtained. If the matching is successful within the preset time threshold, the current standard type is determined as the signal standard. If the matching is unsuccessful within the preset time threshold, the value of the polling counter is updated, and the next standard type corresponding to the decoding parameters is switched to perform color subcarrier frequency matching detection and polling judgment processing until the value of the polling counter exceeds the preset polling number threshold, and the standard decision process is entered.

[0038] Specifically, during standard polling, firstly, the AHD decoding parameters need to be configured to check if the color subcarrier frequencies match. If they do not match within a certain time, the process switches to the CVI decoding parameters to continue checking if the color subcarrier frequencies match. If they do not match within a certain time, the process switches to the TVI decoding parameters to continue checking if the color subcarrier frequencies match. If they do not match within a certain time, the process switches back to the AHD parameters and repeats the previous process. This process is called standard polling. This process is repeated, and the number of standard switching times is counted. When the number of standard switching times exceeds a set threshold, the standard decision process begins.

[0039] In one implementation, see Figure 4 The flowchart of a standard polling method is shown. According to the decoding parameters corresponding to the initial standard type, a local color subcarrier reference signal is generated. The local color subcarrier reference signal is used to demodulate and filter the chroma signal in the coaxial video signal to obtain the demodulated signal component. Then, the color synchronization level value is extracted from the color synchronization signal interval of the demodulated signal component. According to the comparison result of the color synchronization level value and the preset threshold parameter, the matching judgment counter is dynamically adjusted to determine the color subcarrier frequency matching result according to the value of the matching judgment counter. Specifically, see (1) to (8) below:

[0040] (1) At the initial startup of the decoder, the default signal standard is AHD mode, and the chroma decoding related parameters are configured to AHD standard parameters; a 2-bit counter is set, denoted as S_type, with an initial value of 0. S_type takes values ​​of 0-2, corresponding to AHD, CVI, or TVI signal types respectively; a 6-bit counter is set, denoted as sumloop, with an initial value of 0; a 12-bit counter is set, denoted as sumr, with an initial value of 0. S_type is used to represent the signal standard, and standard polling is to continuously change the value of S_type. sumloop is used to count the number of signal switching times, and sumr is used to count the number of lines of each standard, thereby counting the duration of each standard.

[0041] (2) Multiply the input chromaticity signal C by the local color subcarrier sin and cos respectively, and then filter out the high frequency components through the mean filter respectively. The output is used to calculate the color synchronization signal level value, denoted as U and V.

[0042] (3) Starting from the position of sample point csyn_st away from the falling edge of the line synchronization, take N consecutive samples and accumulate the U and V values. The accumulated values ​​are used as the U and V components of the current line color synchronization signal, and are denoted as val_U and val_V respectively. The position of csyn_st can be configured. Adjust its value so that the interval [csyn_st, csyn_st+N-1] corresponds to the color synchronization signal interval of the signal, so as to ensure that the obtained val_U and val_V are the correct color synchronization levels.

[0043]

[0044] Where i is the signal row counting coordinate, and its value is reset to zero on the falling edge of the row synchronization; U(i) and V(i) represent the signal values ​​corresponding to U and V when the row coordinate is i.

[0045] (4) Take the absolute values ​​of the above val_U and val_V signals first, and then add them together, denoted as sumC;

[0046]

[0047] (5) Use a counter, initially set to -16, denoted as cnt (i.e., the match judgment counter), and update it according to the parameter sumC as follows:

[0048]

[0049] Among them, cnt prev The value of cnt in the previous line is th, which is a threshold parameter and can be configured.

[0050] (6) Generate a chroma subcarrier frequency matching flag (i.e., the chroma subcarrier frequency matching result) based on the cnt value, denoted as match_flag. When its value is 1, it indicates that the chroma subcarrier in the input chroma modulation signal is close to the frequency of the local chroma subcarrier.

[0051]

[0052] (7) Increment the counter sumr by 1 in each row.

[0053] (8) If sumr is greater than the threshold parameter NUM_row, which is configurable and defaults to 64, then determine whether the chroma matching flag match_flag is 1. If it is 1, it means that the signal type is correct and S_type will always keep this value. If the chroma matching flag match_flag is 0, then S_type is incremented by 1. If the value of S_type is 3, then the value is set to 0.

[0054] After the S_type value changes, the chroma decoding related parameters are configured to the parameters of the corresponding signal type, and sumr is reset to 0, and then it returns (2). When S_type changes, sumloop is incremented by 1 to record the number of signal system polling times.

[0055]

[0056] Among them, sumloop prev This represents the sumloop value from the previous row, S_type prev This indicates the S_type value from the previous line.

[0057] (B) Detect the line synchronization width of the coaxial video signal, and determine the frame synchronization flag value of the coaxial video signal based on the variation pattern of the line synchronization width of consecutive lines. Then, determine whether the frame header type of the coaxial video signal belongs to the characteristic frame header of the first standard based on the line synchronization width of the line preceding the frame synchronization flag value. The frame synchronization flag value is the frame synchronization start position of the coaxial video signal. Specifically, when the signal standard polling count sumloop is greater than the set standard polling threshold th... loop If the polling is interrupted, the signal type is determined by the following method; otherwise, the signal type of the polling is output directly, as shown in (1) to (3) below:

[0058] (1) Detect the line synchronization width of each line of coaxial video signal, denoted as wd_syn.

[0059] (2) The frame synchronization identifier Fsyn is determined based on the line synchronization width through the following process;

[0060]

[0061] Where i is the row number of the current row, Fsyn(i) is the frame synchronization flag value of the current row, and 1 indicates that the current row is the frame synchronization header; wd_syn i wd_syn represents the line synchronization width of the current line. i-1 `std_pt_cnt` indicates the line synchronization width of the previous line; `std_pt_cnt` indicates the total number of standard line dots in this format; `std_rt_cnt` indicates the total number of standard frame lines in this format.

[0062] (3) At the rising edge of Fsyn, the line synchronization width of the previous line is determined through the following process to obtain the tvi frame header flag value tvi_flag;

[0063]

[0064] Where i is the row number and j is the point number; tvi_flag(j) represents the tvi frame header flag value of the current point; tvi_flag(j-1) represents the tvi frame header flag value of the previous point; Fsyn(j) represents the frame synchronization flag value of the current point; Fsyn(j-1) represents the frame synchronization flag value of the previous point.

[0065] In practical applications, the system first checks whether the input signal frame header is a TVI frame header type. If it is a TVI frame header, it checks whether a TVI special line exists. If the TVI special line exists, the input signal is in TVI format. If the input signal frame header is not a TVI frame header type, or if the input signal frame header is TVI type but the TVI special line does not exist, it checks whether an AHD special line exists. If the AHD special line exists, the input signal is in AHD format; otherwise, the input signal is in CVI format.

[0066] (C) When the frame header type is a first-mode feature frame header, in the coaxial video signal, within the special line interval corresponding to the first-mode feature frame header, a set of signal values ​​of continuous sampling points is obtained, and the first average value of the set of signal values ​​is calculated. If the first average value is not less than the preset special signal detection threshold, it is determined that there is a special line corresponding to the first mode in the coaxial video signal. Otherwise, sampling processing and average value calculation processing are performed at the special line position corresponding to the second mode in the coaxial video signal to obtain the second average value. If the second average value is not less than the preset special signal detection threshold, it is determined that there is a special line corresponding to the second mode in the coaxial video signal, and the coaxial video signal is the second mode. Otherwise, the coaxial video signal is the third mode.

[0067] In one implementation, if the frame header type of the input signal is detected to be tvi frame header type through the above process, then take the row with row number equal to tvi_row (configurable value), and calculate the average value of 32 points (special_st is a configurable value) within the interval [special_st, special_st+31] from the row with point number equal to tvi_row (configurable value), and denot it as ave_val0.

[0068] If ave_val0 is greater than or equal to the special signal detection threshold special_th, it indicates that a special row of tvi exists, and S_type equals 2, and the signal type is determined to be tvi; otherwise, the type determination continues through subsequent steps.

[0069] If tvi_flag is 0, or if the tvi special row does not exist, then take the row with row number equal to ahd_row (configurable value), and calculate the average of 32 points within the interval [special_st, special_st+31], denoted as ave_val1. If ave_val1 is greater than or equal to the special signal detection threshold special_th, it indicates that the AHD special row exists, and S_type is equal to 0, and the signal system is determined to be AHD. Otherwise, S_type is equal to 1, and the signal system is determined to be CVI.

[0070] In summary, this invention can automatically identify whether the coaxial video signal is of AHD, CVI, or TVI standard, ensuring that the DVR can quickly and accurately match and provide the corresponding decoding feature parameters during the decoding process, thus ensuring that the input analog coaxial video signal is quickly and correctly decoded into a video image.

[0071] Regarding the coaxial video signal standard automatic identification method provided in the foregoing embodiments, this invention provides a coaxial video signal standard automatic identification device, see [link to relevant documentation]. Figure 5 The diagram shows a structural schematic of a coaxial video signal format automatic identification device, which includes the following parts:

[0072] The standard polling module 502 performs standard polling processing on the input coaxial video signal through various decoding parameters, obtains the color subcarrier frequency matching result corresponding to each decoding parameter, and performs polling judgment processing on the color subcarrier frequency matching result and the number of polling to determine the signal standard or enter the standard decision process.

[0073] The first standard determination module 504 performs frame header type detection processing on the coaxial video signal when executing the standard determination process. If the frame header type belongs to the characteristic frame header of the first standard and there is a special line corresponding to the first standard in the coaxial video signal, then the coaxial video signal is determined to be of the first standard. Otherwise, it detects whether there is a special line corresponding to the second standard in the coaxial video signal. The first standard is tvi and the second standard is aahd.

[0074] The second standard determination module 506 determines the coaxial video signal as the second standard if the detection result is that it exists, and determines the coaxial video signal as the third standard if the detection result is that it does not exist, wherein the third standard is CVI.

[0075] The coaxial video signal format automatic recognition device provided in this application embodiment can significantly improve the recognition efficiency of coaxial video signals.

[0076] In one embodiment, when performing the step of performing standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter, the standard polling module 502 is further configured to: after initializing the polling counter, perform color subcarrier frequency matching detection on the coaxial video signal according to the decoding parameters corresponding to the initial standard type to obtain the color subcarrier frequency matching result corresponding to the decoding parameters.

[0077] In one embodiment, when performing the step of performing color subcarrier frequency matching detection on the coaxial video signal according to the decoding parameters corresponding to the initial standard type to obtain the color subcarrier frequency matching result corresponding to the decoding parameters, the standard polling module 502 is further configured to: generate a local color subcarrier reference signal according to the decoding parameters corresponding to the initial standard type, and use the local color subcarrier reference signal to demodulate and filter the chroma signal in the coaxial video signal to obtain the demodulated signal component; extract the color synchronization level value from the color synchronization signal interval of the demodulated signal component, and dynamically adjust the matching judgment counter according to the comparison result of the color synchronization level value and the preset threshold parameter, so as to determine the color subcarrier frequency matching result according to the value of the matching judgment counter.

[0078] In one embodiment, when performing polling judgment processing on the color subcarrier frequency matching result and the number of polling to determine the signal system or enter the system decision process, the aforementioned system polling module 502 is further configured to: if the matching is successful within a preset time threshold, determine the current system type as the signal system; if the matching is unsuccessful within the preset time threshold, update the value of the polling counter, switch to the decoding parameters corresponding to the next system type, and perform color subcarrier frequency matching detection and polling judgment processing until the value of the polling counter exceeds the preset number of polling thresholds, and enter the system decision process.

[0079] In one embodiment, when performing the frame header type detection processing of the coaxial video signal, the first standard determination module 504 is further configured to: detect the line synchronization width of the coaxial video signal, and determine the frame synchronization identifier value of the coaxial video signal according to the variation law of the line synchronization width of consecutive lines, wherein the frame synchronization identifier value is the frame synchronization start position of the coaxial video signal; and determine whether the frame header type of the coaxial video signal belongs to the characteristic frame header of the first standard according to the line synchronization width of the line above the frame synchronization identifier value.

[0080] In one embodiment, when determining that the coaxial video signal is of the first standard if the frame header type belongs to the feature frame header of the first standard and there is a special line corresponding to the first standard in the coaxial video signal, the first standard determination module 504 is further configured to: when the frame header type is the feature frame header of the first standard, obtain a set of signal values ​​of continuous sampling points in the special line interval corresponding to the feature frame header of the first standard in the coaxial video signal, and calculate a first average value of the set of signal values; if the first average value is not less than a preset special signal detection threshold, then determine that there is a special line corresponding to the first standard in the coaxial video signal.

[0081] In one embodiment, when performing the step of detecting whether there is a special line corresponding to the second standard in the coaxial video signal, the first standard determination module 504 is further configured to: perform sampling processing and mean calculation processing on the position of the special line corresponding to the second standard in the coaxial video signal to obtain a second average value; if the second average value is not less than a preset special signal detection threshold, then it is determined that there is a special line corresponding to the second standard in the coaxial video signal.

[0082] The device provided in this embodiment of the invention has the same implementation principle and technical effect as the aforementioned method embodiment. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiment.

[0083] This invention provides a server, specifically, the server includes a processor and a storage device; the storage device stores a computer program, which, when run by the processor, executes the method described in any of the above embodiments.

[0084] Figure 6 This is a schematic diagram of the structure of a server provided in an embodiment of the present invention. The server 100 includes: a processor 60, a memory 61, a bus 62, and a communication interface 63. The processor 60, the communication interface 63, and the memory 61 are connected through the bus 62. The processor 60 is used to execute executable modules, such as computer programs, stored in the memory 61.

[0085] The memory 61 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 63 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc.

[0086] Bus 62 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.

[0087] The memory 61 is used to store programs. After receiving an execution instruction, the processor 60 executes the program. The method executed by the device for defining the flow process disclosed in any of the foregoing embodiments of the present invention can be applied to the processor 60 or implemented by the processor 60.

[0088] Processor 60 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 60 or by instructions in software form. Processor 60 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 61. Processor 60 reads the information in memory 61 and, in conjunction with its hardware, completes the steps of the above method.

[0089] The computer program product of the readable storage medium provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the foregoing method embodiments. For specific implementation, please refer to the foregoing method embodiments, which will not be repeated here.

[0090] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0091] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for automatic identification of coaxial video signal format, characterized in that, The method includes: The input coaxial video signal is subjected to standard polling processing by various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter. The color subcarrier frequency matching result and the number of polling are then polled and judged to determine the signal standard or enter the standard decision process. When the standard determination process is executed, the coaxial video signal is subjected to frame header type detection processing. If the frame header type belongs to the characteristic frame header of the first standard, and there is a special line corresponding to the first standard in the coaxial video signal, then the coaxial video signal is determined to be of the first standard. Otherwise, the coaxial video signal is checked to see if there is a special line corresponding to the second standard. The first standard is tvi, and the second standard is aahd. If the detection result is that the signal exists, then the coaxial video signal is determined to be of the second standard; if the detection result is that the signal does not exist, then the coaxial video signal is determined to be of the third standard, wherein the third standard is CVI.

2. The method for automatic identification of coaxial video signal format according to claim 1, characterized in that, The step of performing standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching results corresponding to each decoding parameter includes: After initializing the polling counter, the coaxial video signal is subjected to color subcarrier frequency matching detection according to the decoding parameters corresponding to the initial format type, so as to obtain the color subcarrier frequency matching result corresponding to the decoding parameters.

3. The method for automatic identification of coaxial video signal format according to claim 2, characterized in that, The step of performing color subcarrier frequency matching detection on the coaxial video signal according to the decoding parameters corresponding to the initial standard type, and obtaining the color subcarrier frequency matching result corresponding to the decoding parameters, includes: Based on the decoding parameters corresponding to the initial format type, a local color subcarrier reference signal is generated, and the local color subcarrier reference signal is used to demodulate and filter the chroma signal in the coaxial video signal to obtain the demodulated signal component. The color synchronization level value is extracted from the color synchronization signal range of the demodulated signal component, and the matching judgment counter is dynamically adjusted according to the comparison result of the color synchronization level value and the preset threshold parameter, so as to determine the color subcarrier frequency matching result according to the value of the matching judgment counter.

4. The method for automatic identification of coaxial video signal format according to claim 1, characterized in that, The step of polling and judging the color subcarrier frequency matching result and the number of polling iterations to determine the signal standard or to enter the standard decision process includes: If a match is successful within a preset time threshold, the current system type is determined to be the signal system. If no match is found within the preset time threshold, the polling counter value is updated, and the system switches to the decoding parameters corresponding to the next system type. Color subcarrier frequency matching detection and polling judgment processing are performed until the value of the polling counter exceeds the preset polling number threshold, and then the system decision process is entered.

5. The method for automatic identification of coaxial video signal format according to claim 1, characterized in that, The step of performing frame header type detection processing on the coaxial video signal includes: The line synchronization width of the coaxial video signal is detected, and the frame synchronization flag value of the coaxial video signal is determined according to the variation law of the line synchronization width of consecutive lines, wherein the frame synchronization flag value is the frame synchronization start position of the coaxial video signal; Based on the line synchronization width of the line preceding the frame synchronization identifier value, it is determined whether the frame header type of the coaxial video signal belongs to the characteristic frame header of the first standard.

6. The method for automatic identification of coaxial video signal format according to claim 1, characterized in that, The step of determining that the coaxial video signal is of the first standard if the frame header type belongs to the characteristic frame header of the first standard and the coaxial video signal contains a special line corresponding to the first standard includes: When the frame header type is the feature frame header of the first standard, in the coaxial video signal, within the special line interval corresponding to the feature frame header of the first standard, a set of signal values ​​of continuous sampling points is obtained, and the first average value of the set of signal values ​​is calculated. If the first average value is not less than a preset special signal detection threshold, then it is determined that there is a special line corresponding to the first standard in the coaxial video signal.

7. The method for automatic identification of coaxial video signal format according to claim 1, characterized in that, The step of detecting whether there is a special line corresponding to the second standard in the coaxial video signal includes: Sampling and mean calculation are performed on the specific line positions in the coaxial video signal corresponding to the second standard to obtain a second average value. If the second average value is not less than the preset special signal detection threshold, then it is determined that there is a special line corresponding to the second standard in the coaxial video signal.

8. An automatic coaxial video signal format identification device, characterized in that, The device includes: The standard polling module performs standard polling processing on the input coaxial video signal through various decoding parameters to obtain the color subcarrier frequency matching result corresponding to each decoding parameter. It then performs polling judgment processing on the color subcarrier frequency matching result and the number of polling to determine the signal standard or enter the standard decision process. The first standard determination module, when executing the standard determination process, performs frame header type detection processing on the coaxial video signal. If the frame header type belongs to the characteristic frame header of the first standard, and there is a special line corresponding to the first standard in the coaxial video signal, then the coaxial video signal is determined to be of the first standard. Otherwise, it detects whether there is a special line corresponding to the second standard in the coaxial video signal. Wherein, the first standard is tvi and the second standard is aahd. The second standard determination module determines the coaxial video signal as a second standard if the detection result is that it exists, and determines the coaxial video signal as a third standard if the detection result is that it does not exist, wherein the third standard is CVI.

9. A server, characterized in that, The method includes a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when invoked and executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.