Picture stealing behavior detection method and device, equipment and storage medium

By conducting multiple detections on video frame images of protected videos and movie-watching areas images of playback scenes, we judge and prevent video recording, and solve the problem that the prior art cannot effectively detect and prevent video recording, and realize the security of video resource content.

CN119629414APending Publication Date: 2025-03-14SHENZHEN SDMC TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411564875.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The prior art cannot effectively detect and prevent video recording through screen recording and external device shooting, making it difficult to ensure the security of video resource content.

Method used

By obtaining the video frame image of the video to be protected and the viewing area image of the playback scene, strobe detection, frame rate fluctuation detection, local brightness detection and light intensity information analysis are performed to determine whether there are screen recording and external device shooting behaviors, and corresponding counter-operations are performed when the recording is detected.

Benefits of technology

It realizes accurate detection and prevention of two types of stolen recording behaviors: screen recording and external device shooting, ensuring the content of video resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629414A_ABST
    Figure CN119629414A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information security, and discloses an illegal recording behavior detection method and device, equipment and a storage medium. The method comprises the following steps: acquiring a video frame image of a to-be-protected video and a film watching area image of a playing scene; performing stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result; performing local brightness detection on the film watching area image, and obtaining a second detection result according to a local brightness detection result and the light intensity information of the playing scene; according to the first detection result and the second detection result, judging whether a stealing behavior exists or not; if yes, corresponding countering operation is carried out. According to the embodiment of the invention, two recording stealing behaviors of screen recording and external equipment shooting can be detected, so that the content security of video resources is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security technology, and in particular to a method, device, equipment and storage medium for detecting pirated recordings. Background Art

[0002] With the rapid development of the Internet, the copyright of network resources, especially the copyright of video resources, has attracted more and more attention. However, the illegal recording of online videos is still rampant. Pirates can record videos by screen recording and external equipment, and spread them on the Internet.

[0003] In the related art, there is no effective means to counter the theft of videos through screen recording and external device shooting, and the content security of video resources cannot be ensured. Summary of the invention

[0004] The purpose of this application is to provide a method, device, equipment and storage medium for detecting unauthorized recording, which can detect two types of unauthorized recording: screen recording and external device shooting, so as to ensure the content security of video resources.

[0005] The present application provides a method for detecting pirated recordings, including:

[0006] Obtain a video frame image of the video to be protected and a viewing area image of the playback scene; the playback scene refers to a spatial scene in which the video to be protected is played, and the viewing area image is an image of an area in the playback scene where the video to be protected can be viewed;

[0007] Performing stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result; the first detection result indicates whether there is screen recording behavior;

[0008] Performing local brightness detection on the viewing area image, and obtaining a second detection result based on the local brightness detection result and the light intensity information of the playback scene; the second detection result indicates whether there is an external device shooting behavior;

[0009] Determining whether there is unauthorized recording behavior according to the first detection result and the second detection result;

[0010] If so, implement corresponding countermeasures; the countermeasures are used to prevent the illegal recording.

[0011] In some embodiments, the performing stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result includes:

[0012] Acquire the image brightness of the video frame image;

[0013] Using a fast Fourier transform method, a frequency distribution analysis is performed on the image brightness of the video frame image, and a frequency domain signal of a target frequency band is calculated;

[0014] Obtaining a stroboscopic detection result according to the frequency domain signal of the target frequency band;

[0015] Obtaining a frame rate fluctuation detection result according to the frame rate of the video frame image;

[0016] The first detection result is obtained according to the stroboscopic detection result and the frame rate fluctuation detection result.

[0017] In some embodiments, the calculation formula of the frequency domain signal of the target frequency band is:

[0018]

[0019] Wherein, F(f) is the frequency domain signal of the target frequency band f, L(t) is the brightness information of the video frame image at the tth sampling time, i is an imaginary unit, e is a natural constant, t∈[1,N], and N is the maximum sampling time;

[0020] The calculation formula of the frame rate of the video frame image is:

[0021] FPS = N f / (t n -t m ),

[0022] Among them, FPS is the tth m From time to t n The frame rate of the video frame image within a moment, N f For the tth m From time to t n The number of video frame images in a moment.

[0023] In some embodiments, obtaining the first detection result according to the stroboscopic detection result and the frame rate fluctuation detection result includes:

[0024] When the stroboscopic detection result indicates that the video frame image stroboscopic is abnormal and / or the frame rate fluctuation detection result indicates that the frame rate fluctuation of the video frame image is abnormal, a first detection result of the presence of screen recording behavior is output; when the stroboscopic detection result indicates that the video frame image stroboscopic is not abnormal and the frame rate fluctuation detection result indicates that the frame rate fluctuation of the video frame image is not abnormal, a first detection result of the absence of screen recording behavior is output.

[0025] In some embodiments, the performing of local brightness detection on the viewing area image and obtaining a second detection result according to the local brightness detection result and the light intensity information of the playback scene includes:

[0026] Acquiring light intensity information of the playback scene;

[0027] Performing differential analysis on the light intensity information of the playback scene to obtain a light intensity fluctuation amplitude value;

[0028] Calculate the pixel brightness of each pixel of the viewing area image;

[0029] Determining the area of ​​a highlight region in the viewing area image according to the pixel brightness of the pixel points; the pixel brightness of the pixel points in the highlight region all exceeds a preset brightness threshold;

[0030] The second detection result is obtained according to the light intensity fluctuation amplitude value and the area of ​​the highlight area.

[0031] In some embodiments, obtaining the second detection result according to the light intensity fluctuation amplitude value and the area of ​​the highlight area includes:

[0032] When the light intensity fluctuation amplitude value exceeds the preset light intensity fluctuation amplitude threshold and the area of ​​the highlight area exceeds the preset area threshold, a second detection result indicating that there is an external device shooting behavior is output; otherwise, a second detection result indicating that there is no external device shooting behavior is output.

[0033] In some embodiments, the countermeasure operation is one or more of reducing the brightness of the video to be protected, pausing the playing of the video to be protected, and blocking the video frame image of the video to be protected.

[0034] The present application also provides a device for detecting pirated recordings, including:

[0035] The first module is used to obtain a video frame image of the video to be protected and a viewing area image of the playback scene; the playback scene refers to a spatial scene in which the video to be protected is played, and the viewing area image is an image of an area in the playback scene where the video to be protected can be viewed;

[0036] The second module is used to perform stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result; the first detection result indicates whether there is screen recording behavior;

[0037] The third module is used to perform local brightness detection on the viewing area image, and obtain a second detection result according to the local brightness detection result and the light intensity information of the playback scene; the second detection result indicates whether there is an external device shooting behavior;

[0038] A fourth module is used to determine whether there is a pirated recording behavior according to the first detection result and the second detection result;

[0039] The fifth module is used to implement corresponding countermeasures when there is unauthorized recording; the countermeasures are used to prevent the unauthorized recording.

[0040] An embodiment of the present application further provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method for detecting pirated recording when executing the computer program.

[0041] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for detecting pirated recording is implemented.

[0042] The beneficial effects of the present application are as follows: by performing stroboscopic detection and frame rate fluctuation detection on the video frame image of the protected video, a first detection result characterizing whether there is screen recording behavior is obtained, and by performing local brightness detection on the viewing area image, and according to the local brightness detection result and the light intensity information of the playback scene, a second detection result characterizing whether there is external device shooting behavior is obtained. When it is determined that there is unauthorized recording behavior according to the first detection result and the second detection result, a countermeasure operation to prevent the unauthorized recording behavior is implemented. Since the stroboscopic detection and frame rate fluctuation detection are performed on the video frame image of the protected video, it is possible to accurately determine whether there is screen recording behavior, and by performing local brightness detection on the viewing area image and obtaining the light intensity information of the playback scene, it is possible to accurately determine whether there is external device shooting behavior. Both unauthorized recording behaviors of screen recording and external device shooting can be detected and prevented, thereby ensuring the content security of video resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a flow chart of the method for detecting pirated recording provided in an embodiment of the present application.

[0044] Figure 2 It is a flowchart of the specific method of step S102 provided in an embodiment of the present application.

[0045] Figure 3 It is a flowchart of the specific method of step S103 provided in an embodiment of the present application.

[0046] Figure 4 It is a structural diagram of the recording fraud detection device provided in an embodiment of the present application.

[0047] Figure 5 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown can be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second" and the like in the specification, claims and drawings are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0050] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0051] Figure 1 is a flow chart of the method for detecting pirated recording provided by an embodiment of the present application. Figure 1 , in some embodiments of the present application, may include but is not limited to steps S101 to S105.

[0052] Step S101, obtaining a video frame image of a video to be protected and an image of a viewing area of ​​a playback scene.

[0053] The playback scene refers to the spatial scene where the video to be protected is played, and the viewing area image is an image of the area in the playback scene where the video to be protected can be viewed. For example, the playback scene can be a conference room during a live meeting, a space where the conference terminal is located during a video conference or voice conference, and a press conference site, and the viewing area image can be an image of the area within the viewing angle of the display screen that plays the video to be protected.

[0054] By interacting with the terminal that plays the video to be protected, the video data of the video to be protected is obtained, and then the video frame image is parsed from the obtained video data. The image acquisition device is used to capture the image of the area in the playback scene where the video to be protected can be viewed, and by interacting with the image acquisition device, the viewing area image of the playback scene is obtained.

[0055] Optionally, an image acquisition device integrated on a terminal that plays the video to be protected (e.g., a camera on a laptop computer) may be used to acquire images of an area of ​​the playback scene where the video to be protected can be viewed, thereby obtaining an image of the viewing area of ​​the playback scene. The number of viewing area images may be one or more. Image acquisition of the area of ​​the playback scene where the video to be protected can be performed at a scheduled time or upon receiving an acquisition instruction.

[0056] Step S102: Perform stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result.

[0057] Among them, the first detection result indicates whether there is screen recording behavior.

[0058] It is understandable that screen recording behavior creates a performance burden on the terminal playing the protected video, causing abnormal flickering and frame rate fluctuations in the video frame image. By performing flicker detection and frame rate fluctuation detection on the video frame image, it can be determined whether screen recording behavior occurs.

[0059] Specifically, by interacting with the terminal that plays the video to be protected, the image brightness and frame rate of the video frame image are obtained, and flicker detection is performed based on the image brightness of the video frame image to obtain a flicker detection result. Frame rate fluctuation detection is performed based on the frame rate of the video frame image to obtain a frame rate fluctuation detection result, and then the type of the first detection result is determined based on the flicker detection result and the frame rate fluctuation detection result.

[0060] Figure 2 is a flowchart of a specific method of step S102 provided in an embodiment of the present application. Figure 2 , in some embodiments of the present application, may include but is not limited to steps S201 to S205.

[0061] Step S201, obtaining the image brightness of the video frame image.

[0062] Specifically, by interacting with the terminal that plays the video to be protected, the average image brightness of the video frame image is calculated, and the calculation result is used as the image brightness of the video frame image. After acquiring multiple video frame images within a period of time, an image brightness sequence can be generated. The image brightness sequence contains the image brightness of multiple video frame images, which are sorted in the order of acquisition time.

[0063] Step S202: Using a fast Fourier transform method, frequency distribution analysis is performed on the image brightness of the video frame image, and a frequency domain signal of a target frequency band is calculated.

[0064] Specifically, the Fast Fourier Transform (FFT) method is used to convert the image brightness of multiple video frame images in the image brightness sequence from the time domain to the frequency domain. By analyzing the frequency distribution of the signal, the frequency domain signal of the target frequency band can be detected.

[0065] In a specific embodiment, the calculation formula of the frequency domain signal of the target frequency band is:

[0066]

[0067] Among them, F(f) is the frequency domain signal of the target frequency band f, L(t) is the brightness information of the video frame image at the tth sampling time, i is an imaginary unit, e is a natural constant, t∈[1,N], and N is the maximum sampling time.

[0068] Step S203, obtaining a stroboscopic detection result according to the frequency domain signal of the target frequency band.

[0069] Specifically, the amplitude of the frequency domain signal of the target frequency band is compared with the preset amplitude threshold to determine whether the frequency domain signal of the target frequency band has abnormal flicker. If the amplitude of the frequency domain signal of the target frequency band exceeds the preset amplitude threshold, it indicates that abnormal flicker exists, and a flicker detection result indicating that screen recording behavior exists is obtained. If the amplitude of the frequency domain signal of the target frequency band does not exceed the preset amplitude threshold, it indicates that abnormal flicker does not exist, and a flicker detection result indicating that screen recording behavior does not exist is obtained.

[0070] Step S204: obtaining a frame rate fluctuation detection result according to the frame rate of the video frame image.

[0071] Specifically, by calculating the frame rates of video frame images within multiple time segments, the difference in frame rates of video frame images between adjacent time segments is calculated to obtain the frame rate difference of the video frame images, and the frame rate difference of the video frame images is compared with a preset frame rate fluctuation threshold. If the frame rate difference of the video frame images exceeds the preset frame rate fluctuation threshold, then it indicates that there is a frame rate fluctuation anomaly, and a frame rate fluctuation detection result indicating that screen recording behavior exists is obtained. If the frame rate difference of the video frame images does not exceed the preset frame rate fluctuation threshold, then it indicates that there is no frame rate fluctuation anomaly, and a frame rate fluctuation detection result indicating that there is no screen recording behavior is obtained.

[0072] In a specific embodiment, the frame rate of the video frame image is calculated as follows:

[0073] FPS = N f / (t n -t m ),

[0074] Among them, FPS is the tth m From time to t n The frame rate of the video frame image within a moment, Nf For the tth m From time to t n The number of video frame images in a moment.

[0075] Step S205, obtaining a first detection result according to the stroboscopic detection result and the frame rate fluctuation detection result.

[0076] Specifically, when the stroboscopic detection result indicates that the video frame image stroboscopic abnormality and / or the frame rate fluctuation detection result indicates that the frame rate fluctuation of the video frame image is abnormal, a first detection result of the presence of screen recording behavior is output; when the stroboscopic detection result indicates that the video frame image stroboscopic normality and the frame rate fluctuation detection result indicates that the frame rate fluctuation of the video frame image is normal, a first detection result of the absence of screen recording behavior is output.

[0077] Step S103, performing local brightness detection on the viewing area image, and obtaining a second detection result based on the local brightness detection result and the light intensity information of the playback scene.

[0078] The second detection result indicates whether there is shooting behavior of an external device.

[0079] It is understandable that the shooting behavior of external devices causes changes in the light intensity of the playback scene and abnormal light intensity fluctuations in the viewing area. By performing local brightness detection on the viewing area image and obtaining the light intensity information of the playback scene, it is possible to determine whether there is shooting behavior of external devices.

[0080] Specifically, by interacting with the image acquisition component and the ambient light sensor, the light intensity information of the playback scene and the viewing area image are obtained. Based on the light intensity information of the playback scene, the light intensity fluctuation amplitude value can be obtained. Based on the pixel brightness of the viewing area image, the local brightness detection result can be obtained, and then the type of the second detection result is determined based on the light intensity fluctuation amplitude value and the local brightness detection result.

[0081] Figure 3 is a flowchart of a specific method of step S103 provided in an embodiment of the present application. Figure 3 , in some embodiments of the present application, may include but is not limited to steps S301 to S305.

[0082] Step S301, obtaining light intensity information of the playback scene.

[0083] Specifically, by interacting with the ambient light sensor, the ambient light sensor detects the ambient light of the playback scene according to the light intensity information of the playback scene, and monitors the ambient light changes of the playback scene in real time.

[0084] Step S302: performing differential analysis on the light intensity information of the playback scene to obtain a light intensity fluctuation amplitude value.

[0085] In a specific embodiment, the calculation formula of the light intensity fluctuation amplitude value is:

[0086] ΔA(t)=A(t+1)-A(t),

[0087] Among them, ΔA(t) is the light intensity fluctuation amplitude value, A(t) is the light intensity information at time t, and A(t+1) is the light intensity information at time t+1.

[0088] Step S303, calculating the pixel brightness of each pixel of the viewing area image.

[0089] Specifically, the viewing area image is converted into a grayscale image, and then the pixel brightness of each pixel in the grayscale image is calculated based on the pixel values ​​in the red, green, and blue channels.

[0090] Step S304, determining the area of ​​the highlight region in the viewing area image according to the pixel brightness of the pixel.

[0091] The pixel brightness of the pixels in the highlight area exceeds a preset brightness threshold.

[0092] Specifically, the pixel brightness of the pixel is compared with the preset brightness threshold. If the pixel brightness exceeds the preset brightness threshold, it indicates that the pixel may belong to the highlight area. After traversing all the pixels, the highlight area in the viewing area image is determined according to the degree of convergence of the pixels, and the area of ​​the highlight area in the viewing area image is calculated.

[0093] Step S305, obtaining a second detection result according to the light intensity fluctuation amplitude value and the area of ​​the highlight region.

[0094] In a specific embodiment, when the light intensity fluctuation amplitude value exceeds a preset light intensity fluctuation amplitude threshold and the area of ​​the highlight area exceeds a preset area threshold, a second detection result indicating the presence of external device shooting is output; otherwise, a second detection result indicating the absence of external device shooting is output.

[0095] Specifically, the light intensity fluctuation amplitude value is compared with the preset light intensity fluctuation amplitude threshold. If the light intensity fluctuation amplitude value exceeds the preset light intensity fluctuation amplitude threshold, it indicates that there is a light intensity fluctuation abnormality in the playback scene. The area of ​​the highlight area is compared with the preset area area threshold. If the area of ​​the highlight area exceeds the preset area area threshold, it indicates that there is a local brightness abnormality in the viewing area image. If there is a light intensity fluctuation abnormality in the playback scene and there is a local brightness abnormality in the viewing area image, a second detection result indicating the presence of external device shooting behavior is output; otherwise, a second detection result indicating that there is no external device shooting behavior is output.

[0096] Step S104: judging whether there is a pirated recording behavior according to the first detection result and the second detection result.

[0097] If it exists, execute step S105; if it does not exist, return to step S101.

[0098] Step S105, implementing corresponding countermeasure operations.

[0099] Among them, countermeasure operations are used to prevent illegal recording.

[0100] In a specific embodiment, the countermeasure operation is one or more of reducing the brightness of the video to be protected, pausing the playing of the video to be protected, and blocking the video frame image of the video to be protected.

[0101] For example, the brightness of the video to be protected can be reduced by interacting with the terminal that plays the video to be protected, so as to lower the overall brightness of the video to be protected, so that the video content obtained by the pirated recording cannot be presented clearly. The video to be protected can be paused by interacting with the terminal that plays the video to be protected, so as to forcibly pause the video to be protected and then prompt the user to stop the pirated recording. The video frame image of the video to be protected can be blocked by interacting with the terminal that plays the video to be protected, so as to generate a large-area dynamic watermark to interfere with the viewing effect of the video content obtained by the pirated recording.

[0102] See also Figure 4 The embodiment of the present application also provides a device for detecting a pirated recording, which can implement the above-mentioned method for detecting a pirated recording. The device includes:

[0103] The first module 401 is used to obtain a video frame image of the video to be protected and a viewing area image of a playback scene; the playback scene refers to a spatial scene in which the video to be protected is played, and the viewing area image is an image of an area in the playback scene where the video to be protected can be viewed;

[0104] The second module 402 is used to perform stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result; the first detection result indicates whether there is screen recording behavior;

[0105] The third module 403 is used to perform local brightness detection on the viewing area image, and obtain a second detection result according to the local brightness detection result and the light intensity information of the playback scene; the second detection result indicates whether there is an external device shooting behavior;

[0106] The fourth module 404 is used to determine whether there is a pirated recording behavior according to the first detection result and the second detection result;

[0107] The fifth module 405 is used to implement corresponding countermeasures when there is a pirated recording behavior; the countermeasures are used to prevent the pirated recording behavior.

[0108] The specific implementation of the theft-recording behavior detection device is substantially the same as the specific implementation of the theft-recording behavior detection method described above, and will not be described in detail herein.

[0109] Figure 5 is a block diagram of an electronic device according to an exemplary embodiment. Figure 5 The electronic device 500 according to this embodiment of the present disclosure is described. Figure 5 The electronic device 500 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0110] like Figure 5 As shown, the electronic device 500 is in the form of a general computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one storage unit 520, a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510), a display unit 540, etc.

[0111] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned pirated recording detection method part of this specification.

[0112] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and / or a cache storage unit 5202 , and may further include a read-only storage unit (ROM) 5203 .

[0113] The storage unit 520 may also include a program / utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0114] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0115] The electronic device 500 may also communicate with one or more external devices 500' (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 550. Furthermore, the electronic device 500 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 560. The network adapter 560 may communicate with other modules of the electronic device 500 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0116] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned method for detecting pirated recording is implemented.

[0117] The method, device, equipment and storage medium for detecting theft of recording provided by the embodiments of the present application perform stroboscopic detection and frame rate fluctuation detection on the video frame image of the protected video to obtain a first detection result indicating whether there is screen recording behavior, and perform local brightness detection on the viewing area image, and obtain a second detection result indicating whether there is external device shooting behavior based on the local brightness detection result and the light intensity information of the playback scene. When it is determined that there is thief recording behavior based on the first detection result and the second detection result, a countermeasure operation to prevent the thief recording behavior is implemented. Since the stroboscopic detection and frame rate fluctuation detection are performed on the video frame image of the protected video, it is possible to accurately determine whether there is screen recording behavior, and the local brightness detection is performed on the viewing area image and the light intensity information of the playback scene is obtained to accurately determine whether there is external device shooting behavior. Both thief recording behaviors, namely screen recording and external device shooting, can be detected and prevented, thereby ensuring the content security of video resources.

[0118] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the implementation of the present disclosure.

[0119] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0120] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0121] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0122] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.

[0123] The exemplary embodiments of the present disclosure are specifically shown and described above. It should be understood that the present disclosure is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present disclosure is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.

Claims

1. A method for detecting pirated recording, characterized in that: include: Obtaining a video frame image of the video to be protected and an image of the viewing area of ​​the playback scene; The playback scene refers to a spatial scene in which the video to be protected is played, and the viewing area image is an image of an area in the playback scene where the video to be protected can be viewed; Performing stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result; the first detection result indicates whether there is screen recording behavior; Performing local brightness detection on the viewing area image, and obtaining a second detection result according to the local brightness detection result and the light intensity information of the playback scene; The second detection result indicates whether there is shooting behavior of an external device; Determining whether there is unauthorized recording behavior according to the first detection result and the second detection result; If so, implement corresponding countermeasures; the countermeasures are used to prevent the illegal recording.

2. The method for detecting pirated recording according to claim 1, characterized in that: The performing stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result includes: Acquire the image brightness of the video frame image; Using a fast Fourier transform method, a frequency distribution analysis is performed on the image brightness of the video frame image, and a frequency domain signal of a target frequency band is calculated; Obtaining a stroboscopic detection result according to the frequency domain signal of the target frequency band; Obtaining a frame rate fluctuation detection result according to the frame rate of the video frame image; The first detection result is obtained according to the stroboscopic detection result and the frame rate fluctuation detection result.

3. The method for detecting pirated recording according to claim 2, characterized in that: The calculation formula of the frequency domain signal of the target frequency band is: Wherein, F(f) is the frequency domain signal of the target frequency band f, L(t) is the brightness information of the video frame image at the tth sampling time, i is an imaginary unit, e is a natural constant, t∈[1,N], and N is the maximum sampling time; The calculation formula of the frame rate of the video frame image is: FPS=N f / (t n -t m ), Among them, FPS is the tth m From time to t n The frame rate of the video frame image within a moment, N f For the tth m From time to t n The number of video frame images in a moment.

4. The method for detecting pirated recording according to claim 2, characterized in that: The obtaining the first detection result according to the stroboscopic detection result and the frame rate fluctuation detection result includes: When the stroboscopic detection result indicates that the video frame image stroboscopic is abnormal and / or the frame rate fluctuation detection result indicates that the frame rate fluctuation of the video frame image is abnormal, a first detection result of the presence of screen recording behavior is output; when the stroboscopic detection result indicates that the video frame image stroboscopic is not abnormal and the frame rate fluctuation detection result indicates that the frame rate fluctuation of the video frame image is not abnormal, a first detection result of the absence of screen recording behavior is output.

5. The method for detecting pirated recording according to claim 1, characterized in that: The performing of local brightness detection on the viewing area image and obtaining a second detection result according to the local brightness detection result and the light intensity information of the playback scene includes: Acquiring light intensity information of the playback scene; Performing differential analysis on the light intensity information of the playback scene to obtain a light intensity fluctuation amplitude value; Calculate the pixel brightness of each pixel of the viewing area image; Determining the area of ​​a highlight region in the viewing area image according to the pixel brightness of the pixel points; the pixel brightness of the pixel points in the highlight region all exceeds a preset brightness threshold; The second detection result is obtained according to the light intensity fluctuation amplitude value and the area of ​​the highlight area.

6. The method for detecting pirated recording according to claim 5, characterized in that: The obtaining of the second detection result according to the light intensity fluctuation amplitude value and the area of ​​the highlight region includes: When the light intensity fluctuation amplitude value exceeds the preset light intensity fluctuation amplitude threshold and the area of ​​the highlight area exceeds the preset area threshold, a second detection result indicating that there is an external device shooting behavior is output; otherwise, a second detection result indicating that there is no external device shooting behavior is output.

7. The method for detecting pirated recordings according to any one of claims 1 to 6, characterized in that: The countermeasure operation is one or more of reducing the brightness of the video to be protected, pausing the playing of the video to be protected, and blocking the video frame image of the video to be protected.

8. A device for detecting pirated recordings, characterized in that: include: The first module is used to obtain the video frame image of the video to be protected and the viewing area image of the playback scene; The playback scene refers to a spatial scene in which the video to be protected is played, and the viewing area image is an image of an area in the playback scene where the video to be protected can be viewed; The second module is used to perform stroboscopic detection and frame rate fluctuation detection on the video frame image to obtain a first detection result; the first detection result indicates whether there is screen recording behavior; The third module is used to perform local brightness detection on the viewing area image, and obtain a second detection result according to the local brightness detection result and the light intensity information of the playback scene; The second detection result indicates whether there is shooting behavior of an external device; A fourth module is used to determine whether there is a pirated recording behavior according to the first detection result and the second detection result; The fifth module is used to implement corresponding countermeasures when there is unauthorized recording; the countermeasures are used to prevent the unauthorized recording.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the pirated recording detection method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the pirated recording detection method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Screen anti-leakage alarm method and system based on multi-view dynamic monitoring, and terminal

    CN120974553A