CN107896311B - Video compensation method and device - Google Patents

Video compensation method and device Download PDF

Info

Publication number
CN107896311B
CN107896311B CN201711215796.2A CN201711215796A CN107896311B CN 107896311 B CN107896311 B CN 107896311B CN 201711215796 A CN201711215796 A CN 201711215796A CN 107896311 B CN107896311 B CN 107896311B
Authority
CN
China
Prior art keywords
video signal
level information
attenuation level
attenuation
sending end
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
CN201711215796.2A
Other languages
Chinese (zh)
Other versions
CN107896311A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201711215796.2A priority Critical patent/CN107896311B/en
Publication of CN107896311A publication Critical patent/CN107896311A/en
Application granted granted Critical
Publication of CN107896311B publication Critical patent/CN107896311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/10Adaptations for transmission by electrical cable
    • H04N7/102Circuits therefor, e.g. noise reducers, equalisers, amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Television Systems (AREA)

Abstract

The invention discloses a video compensation method and video compensation equipment, which are used for solving the technical problems of video distortion and flicker of an image received by a receiving end during video compensation in the prior art. The video compensation method comprises the following steps: receiving a first video signal sent by a sending end; determining attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process; feeding back a control signal carrying the attenuation level information to the sending end, and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal.

Description

Video compensation method and device
Technical Field
The present invention relates to the field of video signal transmission technologies, and in particular, to a method and an apparatus for video compensation.
Background
Video signals are typically transmitted over transmission media such as coaxial cables, twisted pair cables, and the like. The low-pass characteristic of the transmission medium causes severe attenuation when the video signal is transmitted through a long transmission medium. High frequencies are used to present sharp image color information, and it can be seen that this attenuation can severely affect image quality.
For this purpose, an equalizer is provided at a receiving end of a Video signal, such as a Digital Video Recorder (DVR), and the Video signal is compensated by the equalizer to compensate for attenuation and loss of the Video signal during transmission. On the basis, the prior art also provides a coaxial video control technology, i.e. while transmitting video signals on a transmission medium, during the blanking period, the receiving end feeds back control signals (control commands) to the transmitting end according to the mode predetermined by both parties, without affecting the normal video signal quality. The control signal sent by the coaxial visual control technology is compensated by the equalizer, so that the overcompensation of the control signal is caused, the video synchronization is influenced, and the phenomena of video distortion and flicker can occur in an image received by a receiving end.
Therefore, when the video signal is transmitted on the transmission cable in the prior art, the images received by the receiving end have the phenomena of video distortion and flicker, and the user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides a video compensation method and video compensation equipment, which are used for solving the technical problems of video distortion and flicker of an image received by a receiving end during video compensation in the prior art.
In a first aspect, an embodiment of the present invention provides a method for video compensation, where the method includes:
receiving a first video signal sent by a sending end;
determining attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
feeding back a control signal carrying the attenuation level information to the sending end, and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal.
Optionally, determining attenuation level information of the first video signal according to the received first video signal includes:
dividing the received first video signal into at least two first video signal components;
for each first video signal component, determining an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component;
determining an attenuation level of the respective first video signal based on the actual attenuation value of said each first video signal component.
Optionally, the method further includes:
receiving a second video signal sent by the sending end; the second video signal is a video signal compensated by a sending end;
judging whether the actual attenuation value of the received second video signal is smaller than a preset first threshold value or not;
if yes, outputting the second video signal;
otherwise, determining the attenuation level information of the second video signal, feeding back a control signal carrying the determined attenuation level information to the sending end, and informing the sending end to continue to compensate for a third video signal sent later according to the determined attenuation level information.
Optionally, the method further includes:
and if the first video signal is interrupted or the second video signal is interrupted, resetting a transmission channel for receiving the first video signal or the second video signal.
Optionally, the method further includes:
judging whether the attenuation level information of the second video signal is consistent with the attenuation level information of the video signal received last time before outputting the second video signal,
if the two are consistent, outputting fault information; the failure information is used for indicating that the sending end fails.
In a second aspect, an embodiment of the present invention further provides a method for video compensation, where the method includes:
sending a first video signal to a receiving end;
receiving a control signal which is sent by the receiving end and carries attenuation level information; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process; the control signal is determined by the receiving end according to the first video signal;
and compensating the second video signal transmitted later according to the received attenuation level information.
Optionally, compensating the second video signal transmitted later according to the received attenuation level information includes:
determining an attenuation level corresponding to each second video signal component included in the second video signal according to the received attenuation level information;
and compensating the corresponding second video signal component according to the preset corresponding relation between the attenuation level and the compensation value corresponding to the attenuation level of each second video signal component.
Optionally, the method further includes:
receiving a control signal which is sent by the receiving end and carries the attenuation level information of the second video signal;
and continuously compensating a third video signal transmitted later according to the received attenuation level information of the second video signal.
In a third aspect, an embodiment of the present invention provides a digital video recorder, where the digital video recorder includes:
the receiving unit is used for receiving a first video signal sent by a sending end;
a determining unit configured to determine attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
the feedback unit is used for feeding back a control signal carrying the attenuation level information to the sending end and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal.
In a fourth aspect, an embodiment of the present invention further provides a digital video recorder, where the digital video recorder includes:
a memory for storing a program;
a processor for reading the program in the memory, and executing the following processes:
receiving a first video signal sent by a sending end;
determining attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
feeding back a control signal carrying the attenuation level information to the sending end, and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal.
In a fifth aspect, an embodiment of the present invention provides a camera, including:
a transmitting unit, configured to transmit a first video signal to a receiving end;
the receiving unit is used for receiving the control signal which is sent by the receiving end and carries the attenuation level information; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process; the control signal is determined by the receiving end according to the first video signal;
and the compensating unit is used for compensating the second video signal transmitted later according to the received attenuation level information.
In a sixth aspect, an embodiment of the present invention further provides a camera, where the camera includes:
a memory for storing a program;
a processor for reading the program in the memory, and executing the following processes:
sending a first video signal to a receiving end;
receiving a control signal which is sent by the receiving end and carries attenuation level information; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process; the control signal is determined by the receiving end according to the first video signal;
and compensating the second video signal transmitted later according to the received attenuation level information.
In a seventh aspect, an embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer instructions, which when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 5 and/or 6 to 8.
According to the video compensation method provided by the embodiment of the invention, the sending end compensates the video signal sent later according to the attenuation level information of the video signal fed back by the receiving end in a coaxial visual control mode. Because the attenuation level information fed back by the coaxial video mode is not influenced by an equalizer in the receiving end, the phenomena of video distortion and flicker of the image received by the receiving end can not be caused, and the user experience is better.
Drawings
Fig. 1 is a schematic block diagram of a video surveillance system provided in the prior art.
Fig. 2 is a signal waveform diagram of an analog video provided by the prior art;
fig. 3 is a waveform diagram of a control signal superimposed on a blanking line of a line provided by the prior art;
FIG. 4 is a waveform diagram of a compensated control signal superimposed on a blanking line provided by the prior art;
fig. 5 is a flowchart illustrating a video compensation method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a video compensation method according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a video surveillance system provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a digital video recorder according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a digital video recorder according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a camera according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a camera according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly and completely understood, the technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
The related background of embodiments of the present invention is described below.
Referring to fig. 1, an application scenario of the embodiment of the present invention is described, and fig. 1 is a schematic block diagram of a video monitoring system. Fig. 1 includes a transmitting end 101, such as a video camera, a receiving end 102, such as a DVR, and a display 103, where the transmitting end 101 and the receiving end 102 can transmit video signals through a transmission medium, such as an Unshielded Twisted pair (TTP)/coaxial cable. The transmitting end 101 transmits the collected or stored video signal to the receiving end 102 through the coaxial cable, the receiving end 102 transmits the received video signal to the display 103, and the display 103 plays the video.
In the video monitoring system, the sending end 101 sends a video signal to the receiving end 102, and the receiving end 102 may also feed back a control signal to the sending end 101, so that the sending end 101 adjusts image parameters, focus, and the like of the sending end 101 according to the received control signal. Generally, the feedback of the control signal from the receiving end 102 to the transmitting end 101 is realized by a coaxial visual control method. In the process of transmitting the video signal to the receiving end 102, when the video signal is transmitted through a long transmission medium due to the low-pass characteristic of the transmission medium, the frequency of the video signal increases, and a serious attenuation occurs. High frequencies are used to present sharp image color information, and it can be seen that this attenuation can severely affect image quality.
For this reason, in the related art, an equalizer is provided in the receiving end 102, and the attenuation of the video signal is compensated by the equalizer. Since the control signal fed back from the receiving end 102 to the transmitting end 101 is obtained after the equalizer compensation, the control signal superimposed on the video signal is overcompensated, thereby affecting the video synchronization. The receiving end 102 sends the received video signal to the display 103, and the image displayed on the display 103 may have video distortion and flicker, which affects the user experience.
For easy understanding, the following description will be made with reference to fig. 2 to 4, as to why the image presented on the display 103 has video distortion and flicker.
Referring to fig. 2, fig. 2 is a schematic diagram of signal waveforms of an analog video. The video image information is conveyed primarily by the video active lines of fig. 2. The coaxial vision control technique is implemented by superimposing a digital signal on the blanking line in fig. 2, as shown in fig. 3, and fig. 3 is a waveform diagram of a control signal superimposed on a blanking line of a certain line. In the prior art, the equalizer in fig. 1 compensates the received video signal, and the control signal fed back by the on-axis view control method is also compensated by the equalizer, so that the control signal is overcompensated, as shown in fig. 4, fig. 4 is a waveform diagram of the control signal compensated by the control signal superimposed on a blanking line of a certain line. Comparing fig. 3 and fig. 4, the control signal of fig. 4 will have a large overshoot, so that the image displayed on the display 103 will have a distorted and flickering video.
In view of this, the embodiment of the present invention provides a video compensation method, where a sending end 101 compensates a video to be sent, and a receiving end 102 may not be provided with an equalizer, so that a control signal fed back by the receiving end 102 to the sending end 101 in a coaxial visual control manner is not affected by the equalizer, and an overcompensation phenomenon naturally does not occur, so that a video distortion and a flicker phenomenon may not occur in an image received by the receiving end, and user experience is better.
The following describes a technical solution provided by an embodiment of the present invention with reference to the accompanying drawings, and in the following description, an application scenario shown in fig. 1 is taken as an example.
Referring to fig. 5, an embodiment of the present invention provides a method for video compensation, which can be applied to the receiving end 102, and the flow of the method is described as follows.
S501: receiving a first video signal sent by a sending end 101;
s502: determining attenuation level information of the first video signal according to the received first video signal; the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
s503: feeding back the control signal carrying the attenuation level information to the sending end 101, and informing the sending end 101 to compensate the second video signal sent later according to the attenuation level information; wherein the control signal is determined based on the first video signal.
The receiving end 102 is a receiving end of the video signal, and the transmitting end 101 is a transmitting end of the video signal, so that a method for compensating the video by the transmitting end 101 is provided below.
Referring to fig. 6, an embodiment of the present invention provides a method for video compensation, where the method may be applied to a sending end 101, and a flow of the method is described as follows:
s601: sending a first video signal to the receiving end 102;
s602: receiving a control signal carrying attenuation level information sent by a receiving end 102; the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process; the control signal is determined by the receiving end 102 according to the first video signal;
s603: the second video signal transmitted thereafter is compensated based on the received attenuation level information.
In this embodiment of the present invention, the sending end 101 sends the first video signal to the receiving end 102, and the first video signal is attenuated through a transmission medium, such as a coaxial cable, so that the first video signal received by the receiving end 102 is an attenuated signal, and therefore, the receiving end 102 may feed back a control signal to the sending end 101, so that the sending end 101 may compensate for the second video signal sent after the first video signal according to the control signal. Thus, the second video signal received by the receiving end is the video signal compensated by the transmitting end 101, and the video image picture received by the receiving end 102 is clearer.
In the prior art, the control signal is obtained by compensating the first video signal according to the equalizer inside the receiving end 102, and therefore, the control signal is also compensated by the equalizer, so that the control signal is overcompensated, the second video signal which appears after the first video signal is overlapped with the control signal is asynchronous, and the video which is decoded and output by the receiving end 102 has the phenomena of video distortion, flicker and the like. Referring to fig. 7, fig. 7 is a schematic block diagram of a video monitoring system according to an embodiment of the present invention. The receiving end 102 provided by the embodiment of the present invention does not compensate the first video signal sent by the sending end 101 through the equalizer, but compensates the first video signal through the attenuation compensation module built in the sending end 101, so that the control signal fed back to the sending end 101 does not undergo compensation of the equalizer, the control signal fed back by the receiving end 102 is superimposed on the compensated first video signal, that is, the second video signal, does not cause asynchronization of the second video signal, and the video picture received by the receiving end 102 does not naturally flicker.
Here, since the transmitting end 101 itself compensates for the video to be transmitted, the transmitting end 101 does not know the attenuation degree of the video to be transmitted through the transmission medium, and the video signal received by the receiving end 101 is attenuated and is inconsistent with the standard video signal. Accordingly, the receiving end 101 can obtain the degree of attenuation of the video signal transmitted by the transmitting end 101 from the received video signal. In the embodiment of the present invention, the attenuation degree of the video signal can be characterized by the attenuation level information. The attenuation level information may be used to indicate the degree of attenuation of the video signal during transmission.
In this embodiment of the present invention, the receiving end 102 receives the first video signal sent by the sending end 101, and may determine the attenuation level information of the first video signal according to the first video signal. Since the first video signal includes a high frequency signal and also includes a low frequency signal, the transmission medium attenuates signals of different frequencies to different degrees. Therefore, the degree of attenuation of the video signals of the respective frequency bands included in the first video signal also differs. Accordingly, the receiving end 102 may divide the first video signal into at least two first video signal components, for example, may divide the first video signal into a first high frequency signal component and a first low frequency signal component, and the like. The receiving end 102 may determine, for each first video signal component, an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component.
After the receiving end 102 determines the actual attenuation value of each first video signal, the attenuation level of the corresponding first video signal can be determined according to the actual attenuation value of each first video signal component. In a possible embodiment, since the attenuation degree of the high frequency signal is greater than that of the low frequency signal, the receiving end 102 may select a maximum actual attenuation value, that is, an actual attenuation value of the highest frequency signal component, from a plurality of actual attenuation values of a plurality of first video signal components, and determine the attenuation level information corresponding to the first video signal according to the selected actual attenuation value, that is, determine the attenuation level corresponding to the high frequency signal component as the attenuation level corresponding to the first video signal. In a possible embodiment, the receiving end 102 may also select actual attenuation values of at least two first video signal components from a plurality of actual attenuation values of a plurality of first video signal components. Wherein at least two of the video signal components are both high frequency signal components. And taking the attenuation level of the average value of the at least two selected actual attenuation values as the attenuation level information corresponding to the first video signal.
Since the first video signal is attenuated during transmission, the actual characteristic value of the first video signal received by the receiving end 101 is also the attenuated characteristic value. Therefore, for each first video signal component, the receiving end 102 may use the difference between the initial characteristic value of the first video signal and the actual characteristic value of the received first video signal as the actual attenuation value of the first video signal. The initial characteristic value of the first video signal component can be regarded as the initial characteristic value of the video signal predetermined by the transmitting end 101 and the receiving end 102. The characteristic value may be a characteristic value of a color carrier identified by a color carrier signal of the first video signal, and may also be other possible characteristic values, which is not limited in the embodiment of the present invention.
Wherein one first video signal component may correspond to at least one attenuation level. I.e. the actual attenuation values of a first video signal component, may be divided into at least one attenuation level, each attenuation level corresponding to a range of actual attenuation values. For example, the first video signal is divided into a first high frequency signal component and a first low frequency signal component. The actual attenuation value X for the first attenuation level of the first high frequency signal component may be 0< X <8dB, the actual attenuation value X for the second attenuation level may be 8< X <16dB, and so on. Likewise, the first low frequency signal component may also correspond to at least one attenuation level. And will not be described in detail herein. The number of attenuation levels for each first video signal component may be the same or different. The receiving end 103 may store the corresponding relationship between the attenuation level of the video signal and the actual attenuation value in advance, so that the corresponding attenuation level may be determined by determining the actual attenuation value.
The receiving end 103 determines the attenuation level information of the first video signal, and may feed back the control signal carrying the attenuation level information to the transmitting end 102, so that the transmitting end 101 compensates the video signal to be transmitted next, that is, the second video signal, according to the attenuation level information carried by the received control signal, so as to transmit the compensated second video signal to the receiving end 103, thereby implementing the compensation of the video signal. Wherein the control signal is determined according to the first video signal received by the receiving end 102, that is, the first video signal without compensation. Referring to fig. 7, the receiving end 102 performs attenuation level determination on the first video signal compensated by the attenuation compensation module at the sending end 101, and then feeds back a control signal carrying attenuation level information to the sending end 102 according to the result of the attenuation level determination.
The sending end 101 compensates the second video signal sent later according to the attenuation level information carried by the received control signal, and may determine the attenuation level corresponding to each second video signal component included in the second video signal according to the received attenuation level information, so as to compensate the corresponding second video signal component according to the preset corresponding relationship between the attenuation level and the compensation value and according to the compensation value corresponding to the attenuation level of each second video signal component.
The transmitting end 101 may divide the second video signal into at least two second video signal components, and the divided at least two second video signal components may correspond to the at least two first video signal components, that is, may be divided according to the same rule. The sending end 101 may store a corresponding relationship between the attenuation level and the compensation value in advance, where each attenuation level corresponds to a fixed compensation value, determine the attenuation level corresponding to each second video signal component, and may compensate each second video signal component according to the corresponding relationship between the attenuation level and the compensation value, thereby implementing compensation of the second video signal.
After the transmitting end 101 compensates the second video signal, the compensated second video signal may be transmitted to the receiving end 102. The receiving end 102 receives the compensated second video signal, and may determine whether an actual attenuation value of the received second video signal is smaller than a preset first threshold, where the preset first threshold may be a preset attenuation value, or may also be represented by an attenuation degree, and is used to indicate an attenuation value of a video signal standard. If the actual attenuation value of the compensated second video signal is smaller than or equal to the preset first threshold, the attenuation of the compensated second video signal may be considered to be less, and then the receiving end 102 may output the second video signal to the display 103. Because the attenuation of the compensated second video signal is small, the video picture formed by the second video signal displayed on the display 103 is relatively clear, so that the user requirement is met, and the user experience is good.
On the contrary, if the actual attenuation value of the compensated second video signal is greater than the preset first threshold, it may be considered that the attenuation of the compensated second video signal is still greater, and if the receiving end 102 outputs the second video signal to the display 103 at this time, the definition of the video frame displayed by the display 103 is smaller, that is, the video frame is not clear enough. Therefore, the receiving end 102 may continue to determine the attenuation level information of the second video signal, feed back the control signal carrying the determined attenuation level information to the transmitting end 101, and notify the transmitting end 101 to continue to compensate the third video signal transmitted later according to the determined attenuation level information. For this process, reference may be made to the process of compensating the second video signal by the receiving end 102 and the transmitting end 101, which is not described herein again.
In the embodiment of the present invention, the receiving end 102 determines the actual attenuation value of the received video signal each time, and determines that the attenuation of the received video signal reaches the standard, that is, the preset first threshold value, according to the actual attenuation value, and outputs the received video signal. Otherwise, determining a corresponding attenuation level according to the actual attenuation value of the received video signal, feeding back a control signal carrying attenuation level information to the sending end 101, and informing the sending end 101 to compensate the video signal sent later.
In the embodiment of the present invention, before outputting the second video signal, the receiving end 102 may determine whether the attenuation level information of the second video signal is consistent with the attenuation level information of the first video signal, and if so, may determine that the compensation of the sending end 101 on the second video signal fails, and at this time, the receiving end 102 may output failure information, where the failure information is used to indicate that the sending end 101 has a failure. For example, the receiving end 102 may output "failure occurs at the transmitting end" and also output "failure of attenuation compensation", and the display 103 may display the failure information so that the failure can be located.
In the embodiment of the present invention, if the receiving end 102 determines that the first video signal is interrupted or the second video signal is interrupted, that is, determines that the video is interrupted, for example, when the sending end 101 is replaced, the transmission channel for receiving the first video signal or the second video signal, that is, the video signal may be reset. Since the video is not interrupted, the control signal fed back from the receiving end 102 to the transmitting end 101 is obtained according to the received video signal. If the video is interrupted, it may be considered that the video signal transmitted by the transmitting end 101 may be replaced, and if the control signal determined before is fed back to the transmitting end 101, the transmitting end 101 is informed to compensate the video signal to be transmitted according to the receiving end control signal, which is obviously inaccurate. Therefore, in the embodiment of the present invention, once the receiving end 102 determines the video terminal, the receiving end 102 may reset the transmission channel for receiving the video signal, so that the control signal fed back to the sending end 101 by the receiving end 102 is obtained from the video signal received after being reset, and the obtained control is directed to the video signal to be sent to the receiving end 102 by the sending end 101, so that the sending end 101 may compensate the video signal to be sent later according to the accurate control signal.
According to the video compensation method provided by the embodiment of the invention, the sending end compensates the video signal sent later according to the attenuation level information of the video signal fed back by the receiving end in a coaxial visual control mode. Because the attenuation level information fed back by the coaxial video mode is not influenced by an equalizer in the receiving end, the asynchronism of video signals can not occur, the phenomena of video distortion and flicker can not occur in images received by the receiving end, and the user experience is better.
The following describes the apparatus provided by the embodiment of the present invention with reference to the drawings.
Referring to fig. 8, based on the same inventive concept, an embodiment of the present invention provides a digital video recorder, including: a receiving unit 801, a determining unit 802 and a feedback unit 803.
The receiving unit 801 may be configured to receive a first video signal transmitted by the transmitting end 101. The determining unit 802 may be configured to determine attenuation level information of the first video signal according to the received first video signal, where the attenuation level information is used to indicate the degree of attenuation of the video signal during transmission. The feedback unit 803 may be configured to feed back a control signal carrying attenuation level information to the transmitting end 101, and notify the transmitting end 101 to compensate for a second video signal transmitted later according to the attenuation level information, where the control signal is determined according to the first video signal.
Optionally, the determining unit 802 is specifically configured to:
dividing the received first video signal into at least two first video signal components;
for each first video signal component, determining an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component;
the attenuation level of the respective first video signal is determined from the actual attenuation value of each first video signal component.
Optionally, the receiving unit 801 is further configured to:
receiving a second video signal sent by the sending end 101, wherein the second video signal is a video signal compensated by the sending end 101;
the determining unit 802 is further configured to:
judging whether the actual attenuation value of the received second video signal is smaller than a preset first threshold value or not;
if yes, outputting the second video signal;
otherwise, determining the attenuation level information of the second video signal, feeding back a control signal carrying the determined attenuation level information to the sending end 101, and informing the sending end 101 to continue to compensate for a third video signal sent later according to the determined attenuation level information.
Optionally, the digital video recorder further includes a reset unit, configured to:
and if the first video signal is interrupted or the second video signal is interrupted, resetting a transmission channel for receiving the first video signal or the second video signal.
Optionally, the determining unit 802 is further configured to:
judging whether the attenuation level information of the second video signal is identical to the attenuation level information of the first video signal before outputting the second video signal,
and if the two signals are consistent, outputting fault information, wherein the fault information is used for indicating that the sending end 101 has a fault.
For the description of this part, reference may be made to the method part, and details will not be repeated.
Referring to fig. 9, based on the same inventive concept, an embodiment of the present invention further provides a digital video recorder, including: a memory 901 and a processor 902. The memory 901 may be connected to the processor 902 through a bus, or may be connected to the processor 902 through a dedicated connection line.
The memory 901 may be used to store programs, among other things. The processor 902 may be configured to read a program in the memory 901 and execute the following processes:
receiving a first video signal sent by a sending end 101;
determining attenuation level information of the first video signal according to the received first video signal, wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
feeding back a control signal carrying attenuation level information to the sending end 101, and informing the sending end 101 to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined based on the first video signal.
Optionally, the processor 902 is specifically configured to:
dividing the received first video signal into at least two first video signal components;
for each first video signal component, determining an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component;
the attenuation level of the respective first video signal is determined based on the actual attenuation value of each first video signal component, wherein one first video signal component corresponds to at least one attenuation level.
Optionally, the processor 902 is further configured to:
receiving a second video signal sent by the sending end 101, wherein the second video signal is a video signal compensated by the sending end 101;
judging whether the actual attenuation value of the received second video signal is smaller than a preset first threshold value or not;
if yes, outputting the second video signal;
otherwise, determining the attenuation level information of the second video signal, feeding back a control signal carrying the determined attenuation level information to the sending end 101, and informing the sending end 101 to continue to compensate for a third video signal sent later according to the determined attenuation level information.
Optionally, the processor 902 is further configured to:
and if the first video signal is interrupted or the second video signal is interrupted, resetting a transmission channel for receiving the first video signal or the second video signal.
Optionally, the processor 902 is further configured to:
judging whether the attenuation level information of the second video signal is identical to the attenuation level information of the first video signal before outputting the second video signal,
and if the two signals are consistent, outputting fault information, wherein the fault information is used for indicating that the sending end 101 has a fault.
Optionally, the entity devices corresponding to the receiving unit 801, the determining unit 802, and the feedback unit 803 in fig. 8 may be the processor 902 in fig. 9. Here, the memory 901 in fig. 9 is not necessarily small, and is illustrated by a dotted line.
Referring to fig. 10, based on the same inventive concept, an embodiment of the present invention provides a camera, including: transmitting section 1001, receiving section 1002, and compensating section 1003.
Wherein, the transmitting unit 1001 may be configured to transmit the first video signal to the receiving end 102. The receiving unit 1002 may be configured to receive a control signal carrying attenuation level information sent by the receiving end 102, where the attenuation level information is used to indicate an attenuation degree of the video signal during transmission, and the control signal is determined by the receiving end 102 according to the first video signal. The compensation unit 1003 may be configured to compensate for a second video signal transmitted later according to the received attenuation level information.
Optionally, the compensation unit 1003 is specifically configured to:
determining an attenuation level corresponding to each second video signal component included in the second video signal according to the received attenuation level information;
and compensating the corresponding second video signal component according to the preset corresponding relation between the attenuation level and the compensation value corresponding to the attenuation level of each second video signal component.
Alternatively to this, the first and second parts may,
the receiving unit 1002 is further configured to: receiving the control signal carrying the attenuation level information of the second video signal sent by the receiving end 102.
The compensation unit 1003 is further configured to: and continuing to compensate the third video signal transmitted later according to the attenuation level information of the received second video signal.
For the description of this part, reference may be made to the method part, and details will not be repeated.
Referring to fig. 11, based on the same inventive concept, an embodiment of the present invention further provides a camera, which includes a memory 1101 and a processor 1102. The memory 1101 may be connected to the processor 1102 by a bus or may be connected to the processor 1102 by a dedicated connection.
The memory 1101 may be used to store programs, among other things. The processor 1102 may be configured to read a program in the memory 1101 and execute the following processes:
sending a first video signal to the receiving end 102;
receiving a control signal carrying attenuation level information sent by the receiving end 102, wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process, and the control signal is determined by the receiving end 102 according to the first video signal;
the second video signal transmitted thereafter is compensated based on the received attenuation level information.
Optionally, the processor 1102 is specifically configured to:
determining an attenuation level corresponding to each second video signal component included in the second video signal according to the received attenuation level information;
and compensating the corresponding second video signal component according to the preset corresponding relation between the attenuation level and the compensation value corresponding to the attenuation level of each second video signal component.
Optionally, the processor 1102 is further configured to:
receiving the control signal carrying the attenuation level information of the second video signal sent by the receiving end 102.
And continuing to compensate the third video signal transmitted later according to the attenuation level information of the received second video signal.
Optionally, the entity devices corresponding to the receiving unit 1002, the determining unit, and the feedback unit in fig. 10 may be the processor 1102 in fig. 11. Here, the memory 1101 in fig. 11 is not necessarily small, and is illustrated by a dotted line.
Embodiments of the present invention also provide a computer storage medium, where the computer storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the method according to any one of fig. 5 and/or fig. 6.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash disk (usb flash disk), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A method of video compensation, comprising:
receiving a first video signal sent by a sending end;
determining attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the first video signal in the transmission process;
feeding back a control signal carrying the attenuation level information to the sending end, and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal;
the method further comprises the following steps: if the first video signal is determined to be interrupted or the second video signal is determined to be interrupted, resetting a transmission channel for receiving the first video signal or the second video signal;
the method further comprises the following steps:
before outputting the second video signal, judging whether the attenuation level information of the second video signal is consistent with the attenuation level information of the first video signal;
if the two are consistent, outputting fault information; the fault information is used for indicating that the sending end has a fault;
wherein determining attenuation level information of a received first video signal based on the first video signal comprises:
dividing the received first video signal into at least two first video signal components;
for each first video signal component, determining an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component;
determining an attenuation level of the corresponding first video signal according to the actual attenuation value of each first video signal component;
the method further comprises the following steps:
receiving a second video signal sent by the sending end; the second video signal is a video signal compensated by a sending end;
judging whether the actual attenuation value of the received second video signal is smaller than a preset first threshold value or not;
and if not, determining the attenuation level information of the second video signal, feeding back a control signal carrying the determined attenuation level information to the sending end, and informing the sending end to continue to compensate for a third video signal sent later according to the determined attenuation level information.
2. A digital video recorder, comprising:
the receiving unit is used for receiving a first video signal sent by a sending end;
a determining unit configured to determine attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
the feedback unit is used for feeding back a control signal carrying the attenuation level information to the sending end and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal;
a reset unit, configured to reset a transmission channel that receives the first video signal or the second video signal if it is determined that the first video signal or the second video signal is interrupted;
the determination unit is further configured to:
before outputting the second video signal, judging whether the attenuation level information of the second video signal is consistent with the attenuation level information of the first video signal;
if the two are consistent, outputting fault information; the fault information is used for indicating that the sending end has a fault;
the determining unit is specifically configured to:
dividing the received first video signal into at least two first video signal components;
for each first video signal component, determining an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component;
determining an attenuation level of the corresponding first video signal according to the actual attenuation value of each first video signal component;
the receiving unit is further configured to:
receiving a second video signal sent by the sending end; the second video signal is a video signal compensated by a sending end;
the determination unit is further configured to:
judging whether the actual attenuation value of the received second video signal is smaller than a preset first threshold value or not;
and if not, determining the attenuation level information of the second video signal, feeding back a control signal carrying the determined attenuation level information to the sending end, and informing the sending end to continue to compensate for a third video signal sent later according to the determined attenuation level information.
3. A digital video recorder, comprising:
a memory for storing a program;
a processor for reading the program in the memory, and executing the following processes:
receiving a first video signal sent by a sending end;
determining attenuation level information of a received first video signal according to the first video signal; wherein the attenuation level information is used for indicating the attenuation degree of the video signal in the transmission process;
feeding back a control signal carrying the attenuation level information to the sending end, and informing the sending end to compensate a second video signal sent later according to the attenuation level information; wherein the control signal is determined from the first video signal;
if the first video signal is determined to be interrupted or the second video signal is determined to be interrupted, resetting a transmission channel for receiving the first video signal or the second video signal;
before outputting the second video signal, judging whether the attenuation level information of the second video signal is consistent with the attenuation level information of the first video signal;
if the two are consistent, outputting fault information; the fault information is used for indicating that the sending end has a fault;
dividing the received first video signal into at least two first video signal components;
for each first video signal component, determining an actual attenuation value of each first video signal according to a preset initial characteristic value of each first video signal component and a received actual characteristic value of each first video signal component;
determining an attenuation level of the corresponding first video signal according to the actual attenuation value of each first video signal component;
receiving a second video signal sent by the sending end; the second video signal is a video signal compensated by a sending end;
judging whether the actual attenuation value of the received second video signal is smaller than a preset first threshold value or not;
and if not, determining the attenuation level information of the second video signal, feeding back a control signal carrying the determined attenuation level information to the sending end, and informing the sending end to continue to compensate for a third video signal sent later according to the determined attenuation level information.
4. A computer storage medium storing computer instructions which, when executed on a computer, cause the computer to perform the method of claim 1.
CN201711215796.2A 2017-11-28 2017-11-28 Video compensation method and device Active CN107896311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711215796.2A CN107896311B (en) 2017-11-28 2017-11-28 Video compensation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711215796.2A CN107896311B (en) 2017-11-28 2017-11-28 Video compensation method and device

Publications (2)

Publication Number Publication Date
CN107896311A CN107896311A (en) 2018-04-10
CN107896311B true CN107896311B (en) 2020-09-29

Family

ID=61806379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711215796.2A Active CN107896311B (en) 2017-11-28 2017-11-28 Video compensation method and device

Country Status (1)

Country Link
CN (1) CN107896311B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259706B (en) * 2018-04-12 2020-10-30 京东方科技集团股份有限公司 Video signal adjusting device and adjusting method
CN111918009B (en) * 2020-08-13 2023-08-04 青岛信芯微电子科技股份有限公司 FPGA (field programmable Gate array) and signal exception handling method applied to laser television

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702906B (en) * 2014-01-29 2018-06-22 杭州海康威视数字技术股份有限公司 High-definition monitoring video system and its control method
CN105472293B (en) * 2014-08-22 2019-09-17 浙江大华技术股份有限公司 A kind of method and device for realizing vision signal equilibrium
KR101681202B1 (en) * 2016-08-18 2016-11-30 주식회사 베스트디지탈 Control system for high definition camera based on coaxial cable
CN106506904B (en) * 2016-11-16 2019-09-17 浙江大华技术股份有限公司 A kind of method for transmitting signals and equipment

Also Published As

Publication number Publication date
CN107896311A (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN110418170B (en) Detection method and device, storage medium and electronic device
CN102724589B (en) The processing unit of video data, the processing method of video data and display device
EP2679143A1 (en) Color signal transfer apparatus, wireless image transfer system, and transmitting apparatus
CN107896311B (en) Video compensation method and device
EP2919460B1 (en) Video signal attenuation equalization circuit, processing apparatus, and control device and method
US9875522B2 (en) Display control apparatus
US20080129826A1 (en) Video testing using a test pattern and checksum calculation
CN108600834B (en) Video transmission system, receiving/sending/transmitting method and device
CN114257772B (en) Data transmission adjustment method and device, computer equipment and readable storage medium
US8090553B2 (en) Cable length detection apparatus and method for a keyboarding video mouse switch
US20180296065A1 (en) Endoscope device
CN111182300A (en) Method, device and equipment for determining coding parameters and storage medium
CN113612979A (en) Projection method, electronic equipment and computer equipment
CN112422888B (en) Video splicing method and device, electronic equipment and computer readable storage medium
EP3107284A1 (en) Method and device for transmitting image signal
EP3116211B1 (en) Method and device for receiving image signal
CN116996639B (en) Screen-projection frame rate acquisition method and device, computer equipment and storage medium
KR102022356B1 (en) Image correction apparatus and method for high definition camera based on coaxial cable, and system therefor
US9532019B2 (en) Color grading monitor, color grading system and color grading method thereof
CN107197190B (en) Method and device for generating video clock
CN116132329B (en) Equalizer parameter testing method and device
JP2012182712A (en) Imaging device
CN106227690B (en) File processing method and display device
US9826193B2 (en) Apparatus and method of converting image signal
US20210185151A1 (en) Compensating for interruptions in a wireless connection

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