CN108737767B - Method and equipment for encrypting analog video image - Google Patents

Method and equipment for encrypting analog video image Download PDF

Info

Publication number
CN108737767B
CN108737767B CN201810345341.0A CN201810345341A CN108737767B CN 108737767 B CN108737767 B CN 108737767B CN 201810345341 A CN201810345341 A CN 201810345341A CN 108737767 B CN108737767 B CN 108737767B
Authority
CN
China
Prior art keywords
analog video
video signal
sequence
signal
configuration parameters
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
CN201810345341.0A
Other languages
Chinese (zh)
Other versions
CN108737767A (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 Xinsheng Electronic 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 CN201810345341.0A priority Critical patent/CN108737767B/en
Publication of CN108737767A publication Critical patent/CN108737767A/en
Application granted granted Critical
Publication of CN108737767B publication Critical patent/CN108737767B/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/16Analogue secrecy systems; Analogue subscription systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/38Transmitter circuitry for the transmission of television signals according to analogue transmission standards
    • H04N5/40Modulation circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and equipment for encrypting an analog video image, which are used for solving the problems of inflexibility and high system cost of the method for encrypting the analog video image in the prior art. In the invention, a transmitting end of an analog video signal determines a corresponding PN sequence according to the mapping relation between signal configuration parameters and the PN sequence, the PN sequence is superposed on a blanking area of the analog video signal, then the analog video signal is modulated according to the signal configuration parameters and then transmitted, a corresponding receiving end determines the corresponding signal configuration parameters according to the analyzed PN sequence, and then the received analog video signal is demodulated and displayed. Compared with the prior art, the method and the device can flexibly modulate the analog video signal according to different signal configuration parameters of the analog video signal to realize the encryption of the analog video signal, and simultaneously, because extra hardware is not needed to be added to scramble the analog video signal, the system cost is saved.

Description

Method and equipment for encrypting analog video image
Technical Field
The invention relates to the field of analog videos, in particular to a method and equipment for encrypting an analog video image.
Background
In the field of security protection, due to the requirement of information security, the encryption requirement on an analog video monitoring system is more and more, and the requirement on the encryption level is higher and higher. Currently, relatively more research is done on the encryption related to the conventional analog standard Definition Video signal, i.e. the Composite Video baseband signal, and relatively less encryption transmission is done on the analog High Definition Video signal, e.g. HDCVI (High Definition Composite Video Interface). However, as analog high-definition video signals can transmit high-definition images with higher resolution, the requirement of encryption transmission is more and more urgent. Because the principle of the transmission mode of the analog high-definition video transmission is consistent with that of the analog standard-definition video transmission, the encryption mode can also adopt the same processing mode.
The existing methods for encrypted transmission of analog video are roughly divided into two types. One is to encrypt and decrypt the digital domain, encrypt and output the digital video signal line at the video transmitting end, and then decrypt the digital domain after performing analog-digital conversion at the receiving end;
the other method is that the scrambling processing is carried out on the analog video signal at the video transmitting end, so that a general analog video receiving end cannot identify or process the video analog signal, and only after the descrambling processing is carried out on the processed analog signal by a special analog video signal receiving end, the video decoding can be carried out to restore the image, thereby achieving the effect of encryption.
With the first method for encrypting analog video, since the analog video transmission system is lossy, it is impossible to use a flexible encryption key in the digital encryption technology implemented in the digital domain; for the second analog video encryption method, additional hardware resources are required to be added in the scrambling and descrambling process, and the cost is increased; meanwhile, in terms of hardware, a receiving end and a sending end must be matched, and flexibility is lacked.
In summary, the prior art has the problems of inflexible encryption method for analog video images and high system cost.
Disclosure of Invention
The invention provides a method and equipment for encrypting an analog video image, which are used for solving the problems of inflexibility and high system cost of an analog video image encryption method in the prior art.
In a first aspect, an embodiment of the present invention provides a method for encrypting an analog video image, where the method includes:
a transmitting end of the analog video signal determines a PN sequence corresponding to a currently used signal configuration parameter according to a mapping relation between the signal configuration parameter and a PN (Pseudo random) sequence; then, the determined PN sequence is superposed on a blanking area of the analog video signal; and finally, the transmitting terminal modulates the analog video signal superposed with the PN sequence by adopting the currently used signal configuration parameters and then transmits the modulated analog video signal.
In the method, the transmitting end of the analog video signal determines the corresponding PN sequence according to the mapping relation between the signal configuration parameters and the PN sequence, and the PN sequence is superposed on the blanking area of the analog video signal, and then the analog video signal is modulated according to the signal configuration parameters and then is transmitted. Compared with the prior art, the method and the device can flexibly modulate the analog video signal according to different signal configuration parameters of the analog video signal to realize the encryption of the analog video signal, and simultaneously, because extra hardware is not needed to be added to scramble the analog video signal, the system cost is saved.
In one possible implementation, the transmitting end superimposes the determined PN sequence on at least one of a field blanking region, a line blanking region, and a frame blanking region of the analog video signal.
In the method, the transmitting terminal superimposes the determined PN sequence on at least one of a field blanking area, a line blanking area and a frame blanking area of the analog video signal, so that the signal configuration parameter information of the analog video signal can be hidden in the PN sequence, and the PN sequence superimposed on the analog video signal can not be influenced when the analog video signal is modulated.
In one possible implementation, the configuration parameters of the analog video signal include some or all of the following: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
According to the method, the analog video signal modulation parameters have great influence on signal receiving and demodulation, the image abnormality of a receiving end can be caused due to parameter mismatching, and even the image can not be directly solved, so that the purpose of encrypting the analog video signal can be achieved by utilizing the modulation parameters.
In a possible implementation manner, the transmitting end updates the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
In specific implementation, the analog video signal transmitting terminal updates the mapping relation between the signal configuration parameters and the PN sequences according to the PN sequences sent by the background server, so as to ensure the transmission safety of the encrypted analog video signals.
In a second aspect, an embodiment of the present invention provides a method for simulating video image encryption, where the method includes:
the receiving end of the analog video signal analyzes the received analog video signal to obtain a PN sequence on a blanking area of the analog video signal; then determining a signal configuration parameter corresponding to the analyzed PN sequence according to the mapping relation between the signal configuration parameter and the PN sequence; and finally demodulating the received analog video signal according to the determined signal configuration parameters.
According to the method, a receiving end of the analog video signal analyzes the received analog video signal to obtain the PN sequence, then the corresponding signal configuration parameter is determined according to the mapping relation between the signal configuration parameter and the PN sequence, and then the analog video signal can be correctly demodulated by utilizing the signal configuration parameter, so that the encrypted transmission of the analog video signal is completed.
In one possible implementation. The configuration parameters of the analog video signal include some or all of the following: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
In the method, because the modulation parameters of the analog video signal have great influence on the receiving and demodulation of the signal, the mismatching of the parameters can cause the image abnormality of the receiving end, even the image can not be directly solved, and thus the purpose of encrypting the analog video signal can be achieved by utilizing the modulation parameters.
In a possible implementation manner, the receiving end updates the mapping relationship between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server;
the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
In specific implementation, the analog video signal receiving end updates the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server, so as to ensure the transmission safety of the encrypted analog video signal.
In a third aspect, an embodiment of the present invention further provides a transmitting end of an analog video signal, where the transmitting end of the analog video signal includes: at least one processing unit and at least one memory unit, the transmitting end of the analog video signal having the functions of implementing the embodiments of the first aspect described above.
In a fourth aspect, an embodiment of the present invention further provides a receiving end of an analog video signal, where the receiving end of the analog video signal includes: at least one processing unit and at least one memory unit, the receiving end of the analog video signal having the functionality to implement the embodiments of the first aspect described above.
In a fifth aspect, an embodiment of the present invention further provides a transmitting end of an analog video signal, where the transmitting end of the analog video signal includes: the device comprises a determining module, a superposition module and a modulation module, wherein the transmitting end of the analog video signal has the functions of realizing the embodiments of the first aspect.
In a sixth aspect, an embodiment of the present invention further provides a receiving end of an analog video signal, where the receiving end of the analog video signal includes: the receiving end of the analog video signal has the functions of realizing the embodiments of the first aspect.
In addition, for technical effects brought by any one implementation manner of the third aspect to the sixth aspect, reference may be made to technical effects brought by different implementation manners of the first aspect to the second aspect, and details are not described here.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a diagram of an exemplary analog video signal format;
FIG. 2 shows the format of the blanking lines and the active lines according to the present invention;
FIG. 3 is a flowchart illustrating a method for encrypting an analog video image according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an analog video signal with a PN sequence superimposed on the blanking lines of the frame/field blanking region according to an embodiment of the present invention;
FIG. 5 is a table representation of the mapping relationship between the signal configuration parameters and the PN sequences of the analog video signal according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a transmitting end of a first analog video signal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a receiving end of a first analog video signal according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating a structure of a transmitting end of a second analog video signal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a receiving end of a second analog video signal according to an embodiment of the present invention;
fig. 10 is a block diagram of a system for simulating video image encryption according to an embodiment of the present invention.
Detailed Description
The architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that with the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
In the field of security protection, due to the requirement of information security, the encryption requirement on an analog video monitoring system is more and more, and the requirement on the encryption level is higher and higher. Currently, relatively more research is done on the encryption related to the conventional analog standard Definition Video signal, i.e. the Composite Video baseband signal, and relatively less encryption transmission is done on the analog High Definition Video signal, e.g. HDCVI (High Definition Composite Video Interface). However, as analog high-definition video signals can transmit high-definition images with higher resolution, the requirement of encryption transmission is more and more urgent. Because the principle of the transmission mode of the analog high-definition video transmission is consistent with that of the analog standard-definition video transmission, the encryption mode can also adopt the same processing mode.
As shown in fig. 1, the composite video signal, whether it is a conventional analog standard definition video signal, i.e. a composite video baseband signal, or an analog high definition video signal, has VBI (Vertical Blanking Interval); in the vertical blanking area, the composite video signal does not transmit an Active line (Active line), the vertical blanking area has a vertical synchronizing signal, the signals of the front equalizing pulse, the rear equalizing pulse and the like are used as the marks of the vertical synchronizing by the receiving end, and the parameters of the signals and the pulses are important for the synchronization of the receiving end.
As shown in fig. 2, the composite video signal, whether it is an analog standard definition video signal or an analog high definition composite video signal, the valid line signal outside the VBI has a line blanking area, which is not used to transmit the valid video signal, and the line blanking area has a line synchronization signal, which is used by the receiving end as a mark of line synchronization, and its parameters are very important to the line synchronization of the receiving end; in the line blanking area, the color carrier signal is used as a pilot signal for chrominance demodulation by the receiving end, and the local oscillator signal of the receiving end needs to keep the same frequency and phase with the color carrier signal to ensure the correctness of the chrominance demodulation.
In addition, for the composite video signal, the dc level of the composite video signal, whether it is an analog standard definition video signal or an analog high definition composite video signal, directly affects the brightness of the demodulated image.
From the above, the composite video signal, whether an analog standard definition video signal or an analog high definition composite video signal, has a great influence on the receiving and demodulation of the signal by the signal modulation parameter, and the mismatching of the parameter can cause the image abnormality of the receiving end, even the image can not be directly solved.
In addition, the PN sequence is a common synchronization mode in a communication system, and has a basic characteristic similar to a random sequence, and is a periodic binary sequence which is seemingly random but is actually regular. If the transmitted data sequence is a sufficiently pseudo-random sequence, on the one hand the pseudo-random sequence is not recognizable to the non-target receiver, and on the other hand the target receiver can not recognize and easily synchronize the pseudo-random sequence. Related synchronization algorithms have been used in a variety of communication systems.
In the embodiment of the invention, a mapping relation is formed by utilizing the PN sequence and the configuration parameters of the analog video signal, in the specific implementation, the PN sequence is superposed on the analog video signal, the signal configuration parameters of the analog video signal are obtained by analyzing the PN sequence, and the analog video signal is demodulated by utilizing the obtained signal configuration parameters, so that the encryption of the analog video signal is realized.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Optionally, the configuration parameters of the analog video signal include, but are not limited to: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
The width of the field synchronization signal refers to the time width of a section of slotted field synchronization signal used for inter-field synchronization between a receiving end and a sending end in the analog video signal;
the width of the field sync signal refers to the ratio (duty ratio) of the high level to the low level of the notch field sync signal in the analog video signal;
the width of the front equalizing pulse refers to the section of the slotting pulse before the field synchronizing signal in the analog video signal, namely the time width of the front equalizing pulse;
the duty ratio of the pre-equalization pulse refers to the ratio (duty ratio) of the high level to the low level of the pre-equalization pulse in the analog video signal;
the width of the post-equalization pulse refers to the time width of a section of slotting pulse behind the field synchronization signal, namely the pre-equalization pulse, in the analog video signal;
the duty ratio of the post-equalization pulse refers to the ratio (duty ratio) of the high level to the low level of the post-equalization pulse in the analog video signal;
the color carrier frequency refers to the frequency parameter of the carrier of the chroma modulation signal in the analog video signal;
the width of the line synchronization head refers to the time width of a section of signal which is used for performing line synchronization between a receiving end and a sending end in the analog video signal;
the initial phase of the chrominance modulation refers to the initial phase parameter of the carrier wave of the chrominance modulation signal in the analog video signal;
the base level of the luminance signal refers to a level at which the luminance signal is black in the analog video signal.
The configuration parameters of the analog video signal refer to parameters or a combination of parameters affecting the characteristics of the analog video signal, and the implementation of different configuration parameters of the analog video signal on the analog video signal may cause the characteristics of the analog video signal to change. At the transmitting end and the receiving end of the analog video signal, the transmission of the video information can be completed only if the configuration parameters of the analog video signal are consistent, otherwise, the video information is lost or distorted. Therefore, the purpose of encrypting the analog video signal can be achieved by utilizing the modulation parameters.
As shown in fig. 3, an embodiment of the present invention provides a method for encrypting an analog video image, where the method includes:
and step 300, the transmitting end of the analog video signal determines the PN sequence corresponding to the currently used signal configuration parameter according to the mapping relation between the signal configuration parameter and the PN sequence.
In specific implementation, after determining the signal configuration parameters of the analog video signal, the transmitting end of the analog video signal finds the current signal configuration parameters of the analog video signal according to the mapping relationship between the signal configuration parameters and the PN sequence to determine the corresponding PN sequence, so as to superimpose the PN sequence onto the analog video signal in the following.
The mapping relationship between the signal configuration parameters of the analog video signal and the PN sequence can have various expressions.
For example: the mapping of the signal configuration parameters of the internal analog video signal to the PN sequence in the form of a list is shown in fig. 4.
Step 301, the transmitting end superimposes the determined PN sequence on a blanking region of the analog video signal.
In specific implementation, after determining that the signal configuration parameter of the current analog video signal corresponds to the PN sequence, the transmitting end of the analog video signal superimposes the obtained PN sequence on the blanking region of the analog video signal. Therefore, the signal configuration information of the analog video signal can be hidden in the blanking area of the analog video, so that after the analog video signal is received, the analog video signal receiving end can analyze the analog video signal superposed with the PN sequence, and the signal configuration parameters of the analog video signal can be obtained.
Optionally, when the determined PN sequence is superimposed on the blanking region of the analog video signal, the transmitting terminal superimposes the determined PN sequence on at least one of a field blanking region, a line blanking region, and a frame blanking region of the analog video signal.
In this way, the PN sequence corresponding to the signal configuration parameter of the analog video signal can be superimposed into one of the three regions of the analog video image.
One, line blanking region
In a specific implementation, the transmitting end of the analog video signal may superimpose a PN sequence corresponding to a signal configuration parameter of the analog video signal onto a line blanking region of the analog video image.
As shown in fig. 2, the effective line signal area contains line blanking, line synchronization header and color carrier signal in the line blanking area, so that the transmitting end of the analog video signal can superimpose the PN sequence corresponding to the signal configuration parameter of the analog video signal on the line blanking area of the analog video image, and superimpose the PN sequence before the line synchronization header in the line blanking area of the analog video image, or after the color carrier signal in the line blanking area of the analog video image, or between the line synchronization header in the line blanking area of the analog video image and the color carrier signal in the line blanking area.
Therefore, when the analog video signal is sent to the receiving end of the analog video signal, the receiving end of the analog video signal can analyze the signal configuration parameters of the analog video signal through the PN sequence overlapped by the line blanking region, so that the receiving end of the analog video signal can successfully demodulate the analog video signal and complete encrypted transmission.
Second, field blanking region
In one embodiment, as shown in fig. 5, if the analog video image is interlaced, each frame is divided into two fields, and each field contains all the odd or even scan lines of a frame. At the moment, the transmitting end of the analog video signal superposes the PN sequence corresponding to the signal configuration parameters of the analog video signal to the vertical blanking area of the analog video image.
Therefore, when the analog video signal is sent to the receiving end of the analog video signal, the receiving end of the analog video signal can analyze the signal configuration parameters of the analog video signal through the PN sequence overlapped by the vertical blanking region, so that the receiving end of the analog video signal can successfully demodulate the analog video signal and complete encrypted transmission.
The line blanking area of the analog video is positioned in the effective line signal area, so that the occupied space is small, and simultaneously, the line blanking area also comprises a line synchronization head and a color carrier signal, so that the available area is small, the occupied space of the field blanking area is large enough, and other useful signals of the space are also occupied, so that the available space is large, and the requirements can be better met.
Third, frame blanking area
In a specific implementation, as shown in fig. 5, if the analog video image is scanned line by line, when the display screen displays the image and scans the image, the scanning is performed line by line starting from the first line at the top left corner of the screen, and the whole image scanning is completed once. At this time, the transmitting end of the analog video signal superimposes the PN sequence corresponding to the signal configuration parameters of the analog video signal to the frame blanking area of the analog video image.
Therefore, when the analog video signal is sent to the receiving end of the analog video signal, the receiving end of the analog video signal can analyze the signal configuration parameters of the analog video signal through the PN sequence overlapped by the frame blanking region, so that the receiving end of the analog video signal can successfully demodulate the analog video signal and complete encrypted transmission.
Meanwhile, the position of the frame blanking area in the analog video signal is the same as that of the vertical blanking area, so that the occupied space of the frame blanking area is large enough, and other useful signals occupying the space are not available, so that the PN sequence is more superior to the PN sequence superimposed in the horizontal blanking area in the frame blanking.
And step 302, the transmitting terminal modulates the analog video signal superposed with the PN sequence by adopting the currently used signal configuration parameters and then transmits the modulated analog video signal.
In this step, the transmitting end modulates the analog video signal according to the signal configuration parameters and then transmits the modulated analog video signal to the receiving end of the analog video signal. The encryption of the analog video signal is completed in the process of modulating the analog video signal, and the analog video signal can be correctly decoded only by knowing the modulation parameters of the analog video signal.
After the analog video signal is sent out by the analog video signal transmitting end, the receiving end of the corresponding analog video signal receives the analog video signal.
Step 303, the receiving end of the analog video signal analyzes the received analog video signal to obtain a PN sequence on a blanking area of the analog video signal.
In specific implementation, a receiving end of an analog video signal receives the modulated analog video signal and analyzes the analog video signal at the same time to obtain a PN sequence on a blanking region of the analog video signal. Therefore, the receiving end of the analog video signal with the mapping relation between the signal configuration parameters and the PN sequence can determine the configuration parameters of the analog video signal according to the mapping relation to decode the analog video signal.
And 304, the receiving end analyzes the mapping relation between the signal configuration parameters and the PN sequence and determines the signal configuration parameters corresponding to the analyzed PN sequence.
In the specific implementation, after the receiving end of the analog video signal determines the PN sequence superimposed on the blanking region of the analog video signal in the specific implementation, the receiving end of the analog video signal determines the signal configuration parameters of the analog video signal according to the obtained PN sequence and the mapping relationship between the signal configuration parameters of the analog video signal and the PN sequence. Therefore, the analog video signal can be decoded according to the signal configuration parameters of the analog video signal, so that the encrypted transmission of the analog video signal is completed.
Step 305, the receiving end demodulates the received analog video signal according to the determined signal configuration parameters.
In implementation, after the receiving end of the analog video signal determines the signal configuration parameters of the analog video signal, the receiving end of the analog video signal demodulates the received analog video signal according to the determined signal configuration parameters. Thus, the decoding process at the receiving end of the analog video signal is completed, and the analog video signal is restored to normal.
In the implementation process of the above process, if the transmission environment of the analog video signal changes, the transmitting end of the analog video signal and the receiving end of the analog video signal update the mapping relationship between the signal configuration parameter and the PN sequence.
Optionally, the transmitting end updates the mapping relation table of the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server;
the receiving end updates the mapping relation table of the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server;
the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
In specific implementation, both the analog video signal transmitting end and the analog video signal receiving end update the mapping relation between the signal configuration parameters and the PN sequence, so as to ensure the transmission safety of the encrypted analog video signal.
Such as: the mapping relationship between the signal configuration parameters of the current analog video signal and the PN sequence is as follows:
signal configuration parameter mode A- - -PN sequence mode A;
signal configuration parameter mode B- -PN sequence mode B;
signal configuration parameter mode C- -PN sequence mode C;
signal configuration parameter mode D-PN sequence mode D.
Assuming that the level of the currently transmitted analog video signal is low, the mapping relationship between the signal configuration parameters and the PN sequence is set to be changed once every 5 minutes, and then the mapping relationship between the signal configuration parameters and the PN sequence is updated by both the analog video signal transmitting end and the analog video signal receiving end according to the PN sequence sent by the background server every 5 minutes.
A time signal configuration parameter mode A-PN sequence mode A is used by a current analog video signal transmitting end and an analog video signal receiving end; after every 5 minutes, the background server sends a signal configuration parameter mode C-PN sequence mode C to the transmitting end and the receiving end; the transmitting end and the receiving end update the encryption mode to a signal configuration parameter mode C-PN sequence mode C.
The mapping relation between the signal configuration parameters and the PN sequences is updated after the PN sequences randomly sent by the background server are received by the analog video signal transmitting end and the analog video signal receiving end.
A time signal configuration parameter mode A-PN sequence mode A is used by a current analog video signal transmitting end and an analog video signal receiving end; the background server randomly sends a signal configuration parameter mode B-a PN sequence mode B to the transmitting end and the receiving end; the transmitting end and the receiving end update the encryption mode to a signal configuration parameter mode B-a PN sequence mode B.
The background server sends the new PN sequence to the analog video signal transmitting terminal and the analog video signal receiving terminal respectively, or the sending of the new PN sequence to the analog video signal transmitting terminal and the analog video signal receiving terminal can be manually completed.
Based on the same inventive concept, the embodiment of the present invention further provides an apparatus for encrypting an analog video image, and since the apparatus is a transmitting end of an analog video signal and a receiving end of an analog video signal in the embodiment of the present invention, and a principle of solving a problem of the method is similar to that of the system, the method can be implemented by referring to the system, and repeated details are not repeated.
As shown in fig. 6, a transmitting end of an analog video signal, the transmitting end of the analog video signal comprising:
at least one processing unit 600 and at least one memory unit 601, wherein said memory unit stores program code which, when executed by said processing unit, causes said processing unit to perform the following:
determining a PN sequence corresponding to the currently used signal configuration parameter according to the mapping relation between the signal configuration parameter and the PN sequence; superimposing the determined PN sequence on a blanking area of the analog video signal; and modulating the analog video signal superposed with the PN sequence by adopting the currently used signal configuration parameters and then transmitting the modulated analog video signal.
Optionally, the processing unit 600 is specifically configured to:
superimposing the determined PN sequence on at least one of a field blanking region, a line blanking region and a frame blanking region of the analog video signal.
Optionally, the configuration parameters of the analog video signal include part or all of the following: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
Optionally, the processing unit 600 is further configured to:
updating the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
As shown in fig. 7, a receiving end of an analog video signal includes:
at least one processing unit 700 and at least one memory unit 701, wherein said memory unit stores program code which, when executed by said processing unit, causes said processing unit to perform the following:
analyzing the received analog video signal to obtain a PN sequence on a blanking area of the analog video signal; determining a signal configuration parameter corresponding to the analyzed PN sequence according to the mapping relation between the signal configuration parameter and the PN sequence; and demodulating the received analog video signal according to the determined signal configuration parameters.
Optionally, the configuration parameters of the analog video signal include part or all of the following: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
Optionally, the processing unit 700 is further configured to:
updating the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
As shown in fig. 8, a transmitting end of an analog video signal, the transmitting end of the analog video signal comprising:
a determining module 800, configured to determine, according to a mapping relationship between a signal configuration parameter and a PN sequence, a PN sequence corresponding to the currently used signal configuration parameter;
a superimposing module 801, configured to superimpose the determined PN sequence onto a blanking region of the analog video signal;
and a modulation module 802, configured to modulate the analog video signal superimposed with the PN sequence with the currently used signal configuration parameter, and then transmit the modulated analog video signal.
Optionally, the superposition module 801 is specifically configured to:
superimposing the determined PN sequence on at least one of a field blanking region, a line blanking region and a frame blanking region of the analog video signal.
Optionally, the configuration parameters of the analog video signal include part or all of the following: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
Optionally, the determining module 800 is further configured to:
updating the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
As shown in fig. 9, an embodiment of the present invention provides a receiving end of an analog video signal, where the receiving end of the analog video signal includes:
the analysis module 900 is configured to analyze a received analog video signal to obtain a PN sequence in a blanking area of the analog video signal;
a determining module 901, configured to determine a signal configuration parameter corresponding to the analyzed PN sequence according to a mapping relationship between the signal configuration parameter and the PN sequence;
a demodulation module 902, configured to demodulate the received analog video signal according to the determined signal configuration parameter.
Optionally, the configuration parameters of the analog video signal include part or all of the following: the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
Optionally, the determining module 901 is further configured to:
updating the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
As shown in fig. 10, a system for simulating video image encryption, the system comprising: a transmitting end 1000 of an analog video signal and a receiving end 1001 of an analog video signal.
The transmitting end 1000 of the analog video signal includes:
the determining module 1002 is responsible for changing the PN sequence mode of the transmitting end of the analog video signal at regular time or at random according to the level configuration of the encrypted transmission; according to the requirement degree of the analog video signal required to be transmitted; configuring the quality of the device according to the encryption transmission grade, and configuring a PN sequence mode and an analog video signal configuration parameter according to a parameter mode mapping table of the PN sequence mode and the video signal; generating a corresponding PN sequence according to the PN sequence mode output by the PN sequence mode and video signal parameter mode mapping device; generating an analog video signal according to the configuration parameters of the analog video signal output by the PN sequence mode and video signal parameter mode mapping device;
a superposition module 1003 for finishing the superposition of the PN sequence on the analog video signal;
and a modulation module 1004, configured to modulate the analog video signal superimposed with the PN sequence with the currently used signal configuration parameter, and then transmit the modulated analog video signal.
A receiving end 1001 of an analog video signal includes:
an analyzing module 1005, configured to perform PN sequence synchronization analysis on the received analog video signal to obtain a PN sequence mode;
a determining module 1006, configured to generate an analog video signal configuration parameter according to a PN sequence mode output by the PN sequence synchronization analyzing apparatus and a mapping table of the PN sequence mode and a video signal parameter mode;
and a demodulation module 1007, configured to recover a video image according to the analog video signal configuration parameters.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
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 (16)

1. A method for simulating encryption of video images, the method comprising:
a transmitting end of the analog video signal determines a PN sequence corresponding to the currently used signal configuration parameter according to the mapping relation between the signal configuration parameter and the pseudorandom PN sequence;
the transmitting end superimposes the determined PN sequence on a blanking area of the analog video signal;
and the transmitting terminal modulates the analog video signal superposed with the PN sequence by adopting the currently used signal configuration parameters and then transmits the modulated analog video signal.
2. The method as claimed in claim 1, wherein said transmitting end superimposes said determined PN sequence on a blanking area of said analog video signal, comprising:
and the transmitting terminal superimposes the determined PN sequence on at least one of a field blanking area, a line blanking area and a frame blanking area of the analog video signal.
3. The method of claim 1, wherein the configuration parameters of the analog video signal include some or all of the following:
the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
4. A method as claimed in any one of claims 1 to 3, characterized in that the method further comprises:
the transmitting terminal updates the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server;
the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
5. A method for simulating encryption of video images, the method comprising:
the receiving end of the analog video signal analyzes the received analog video signal to obtain a PN sequence on a blanking area of the analog video signal;
the receiving end analyzes the mapping relation between the signal configuration parameters and the PN sequence and determines the signal configuration parameters corresponding to the analyzed PN sequence;
and the receiving end demodulates the received analog video signal according to the determined signal configuration parameters.
6. The method of claim 5, wherein the configuration parameters of the analog video signal include some or all of the following:
the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
7. The method of any of claims 5-6, further comprising:
the receiving end updates the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server;
the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
8. A transmitting end of an analog video signal, the transmitting end of the analog video signal comprising:
at least one processing unit, and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
determining a PN sequence corresponding to the currently used signal configuration parameter according to the mapping relation between the signal configuration parameter and the PN sequence; superimposing the determined PN sequence on a blanking area of the analog video signal; and modulating the analog video signal superposed with the PN sequence by adopting the currently used signal configuration parameters and then transmitting the modulated analog video signal.
9. The transmitting end of the analog video signal according to claim 8, wherein the processing unit is specifically configured to:
superimposing the determined PN sequence on at least one of a field blanking region, a line blanking region and a frame blanking region of the analog video signal.
10. The transmitting end of the analog video signal according to claim 8, wherein the configuration parameters of the analog video signal include some or all of the following:
the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
11. The transmitting end of an analog video signal according to any of claims 8-10, wherein the processing unit is further configured to:
updating the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
12. A receiving end of an analog video signal, comprising:
at least one processing unit, and at least one memory unit, wherein the memory unit stores program code that, when executed by the processing unit, causes the processing unit to perform the following:
analyzing the received analog video signal to obtain a PN sequence on a blanking area of the analog video signal; determining a signal configuration parameter corresponding to the analyzed PN sequence according to the mapping relation between the signal configuration parameter and the PN sequence; and demodulating the received analog video signal according to the determined signal configuration parameters.
13. The receiving end of the analog video signal according to claim 12, wherein the configuration parameters of the analog video signal include some or all of the following:
the width of the field sync signal, the duty ratio of the field sync signal, the width of the front equalizing pulse, the duty ratio of the front equalizing pulse, the width of the rear equalizing pulse, the duty ratio of the rear equalizing pulse, the color carrier frequency, the width of the line sync head, the initial phase of the color modulation, and the base level of the luminance signal.
14. A receiving end for an analog video signal according to any one of claims 12 to 13, wherein the processing unit is further configured to:
updating the mapping relation between the signal configuration parameters and the PN sequence according to the PN sequence sent by the background server; the PN sequence is sent by the background server at regular time or at random according to the level of the analog video signal encryption transmission.
15. A transmitting end of an analog video signal, the transmitting end of the analog video signal comprising:
the determining module is used for determining a PN sequence corresponding to the currently used signal configuration parameter according to the mapping relation between the signal configuration parameter and the PN sequence;
the superposition module is used for superposing the determined PN sequence on a blanking area of the analog video signal;
and the modulation module is used for modulating the analog video signal superposed with the PN sequence by adopting the currently used signal configuration parameters and then transmitting the modulated analog video signal.
16. A receiving end of an analog video signal, comprising:
the analysis module is used for analyzing the received analog video signal to obtain a PN sequence on a blanking area of the analog video signal;
the determining module is used for determining the signal configuration parameters corresponding to the analyzed PN sequence according to the mapping relation between the signal configuration parameters and the PN sequence;
and the demodulation module is used for demodulating the received analog video signal according to the determined signal configuration parameters.
CN201810345341.0A 2018-04-17 2018-04-17 Method and equipment for encrypting analog video image Active CN108737767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810345341.0A CN108737767B (en) 2018-04-17 2018-04-17 Method and equipment for encrypting analog video image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810345341.0A CN108737767B (en) 2018-04-17 2018-04-17 Method and equipment for encrypting analog video image

Publications (2)

Publication Number Publication Date
CN108737767A CN108737767A (en) 2018-11-02
CN108737767B true CN108737767B (en) 2020-09-29

Family

ID=63939036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810345341.0A Active CN108737767B (en) 2018-04-17 2018-04-17 Method and equipment for encrypting analog video image

Country Status (1)

Country Link
CN (1) CN108737767B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1276689A (en) * 2000-05-24 2000-12-13 周学军 Method and device for regeneration encode of TV information
JP2007267279A (en) * 2006-03-29 2007-10-11 Kyocera Corp Imaging device and image generating method thereof
CN106209322A (en) * 2016-07-18 2016-12-07 浙江大华技术股份有限公司 The method and device of mixed transport data in a kind of video signal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014748A1 (en) * 2001-07-16 2003-01-16 Gal Ben-David Methods for data transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1276689A (en) * 2000-05-24 2000-12-13 周学军 Method and device for regeneration encode of TV information
JP2007267279A (en) * 2006-03-29 2007-10-11 Kyocera Corp Imaging device and image generating method thereof
CN106209322A (en) * 2016-07-18 2016-12-07 浙江大华技术股份有限公司 The method and device of mixed transport data in a kind of video signal

Also Published As

Publication number Publication date
CN108737767A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
EP0099691B1 (en) Method for encrypting a line-scanned television signal and encrypting and decrypting apparatus
EP0681402B1 (en) System and method for inserting data into a video signal
US5539823A (en) Subscription television picture scrambling and descrambling system providing compatibility with different such systems
US5488659A (en) Encryption/decryption process and apparatus for a multichannel television system
US4458268A (en) Sync displacement scrambling
FI85206C (en) Restoration of the frame lock in telecommunication systems
US5651065A (en) Insertion of supplemental burst into video signals to thwart piracy and/or carry data
JPH03284087A (en) Pay television receiver
CN108737767B (en) Method and equipment for encrypting analog video image
US4817144A (en) Secure TV scrambling system using framing code switching
US4901349A (en) Time dispersal encryption of TV signals
Kuhn Analysis of the nagravision video scrambling method
CN111756770B (en) High definition video safety isolation display gateway
US4533960A (en) System for encoding and decoding video signals
KR20000077240A (en) Video signal output apparatus and video signal input apparatus
JPH0683298A (en) Preventing system for illeagally viewing television
US2872507A (en) System for translating a d. c. component
KR20070077002A (en) Method for scramble and descramble using multiple image data and system for performing the same
KR101369923B1 (en) Long distance transmission system of hdmi or dvi signal
JPS60103789A (en) Scramble system of television signal
JPH0210636B2 (en)
NO116519B (en)
Okada et al. Visible Light Communication Systems Using a High-speed Display and Rolling-shutter Camera
JPH08182022A (en) Three dimensional video image transmitter
KR100284178B1 (en) Video signal scrambler and descrambler

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
TR01 Transfer of patent right

Effective date of registration: 20200925

Address after: Room 1201, building a, 1181 Bin'an Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Zhejiang Xinsheng Electronic Technology Co., Ltd

Address before: Hangzhou City, Zhejiang province Binjiang District 310053 shore road 1187

Patentee before: ZHEJIANG DAHUA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right