CN112651056B - Anti-screenshot display method, device and system - Google Patents

Anti-screenshot display method, device and system Download PDF

Info

Publication number
CN112651056B
CN112651056B CN201910961656.2A CN201910961656A CN112651056B CN 112651056 B CN112651056 B CN 112651056B CN 201910961656 A CN201910961656 A CN 201910961656A CN 112651056 B CN112651056 B CN 112651056B
Authority
CN
China
Prior art keywords
display
frames
sampling
frame
color
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
CN201910961656.2A
Other languages
Chinese (zh)
Other versions
CN112651056A (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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
Filing date
Publication date
Application filed by China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN201910961656.2A priority Critical patent/CN112651056B/en
Publication of CN112651056A publication Critical patent/CN112651056A/en
Application granted granted Critical
Publication of CN112651056B publication Critical patent/CN112651056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an anti-screenshot display method, device and system, wherein the method comprises the following steps: acquiring pre-display content, and sampling the pre-display content to obtain a plurality of sampling frames; each sampling frame comprises a plurality of sampling frame pixel points; determining the color proportion of pixel points of each sampling frame, and constructing a plurality of display frames for each sampling frame according to the color proportion; each display frame includes a partial color of the sample frame; the plurality of display frames are sent to the display to cause the display to display the content of the plurality of display frames. According to the color proportion of the pixel points of the sampling frames, a plurality of display frames are constructed for each sampling frame, so that the display displays the contents of the plurality of display frames, and each display frame only comprises part of the colors of the sampling frames, so that the screen cutting software and tools can not capture the complete display contents, and the protection of the output contents of the display screen is realized.

Description

Anti-screenshot display method, device and system
Technical Field
The present invention relates to the field of information security technologies, and in particular, to a method, an apparatus, and a system for preventing screen capturing.
Background
With the popularization of electronic devices such as personal computers, mobile phones, smart televisions, and the like, display screens are rapidly popularized and developed as visual general output devices. From early CRT (Cathode Ray Tube) display screens, to LCD (Liquid CRYSTAL DISPLAY) display screens, OLED (Organic Light-Emitting Diode) display screens, to the latest flexible AMOLED (Active Matrix/Organic LIGHT EMITTING Diode) display screens, the display screen technology is becoming mature and the display effect is becoming more and more powerful. Display screens supporting high resolution, high brightness, high contrast, high refresh rate, and wide visual range have been developed and brought into the lives of the masses.
Due to the popularity of display screens, how to protect content output through the display screen from easy screen capturing and copying becomes an increasingly interesting issue.
Disclosure of Invention
The invention provides an anti-screen capturing display method, device and system, which can enable screen capturing software and tools to be incapable of capturing complete display content and protect output content of a display screen.
In a first aspect, an embodiment of the present invention provides an anti-screenshot display method, including: acquiring pre-display content, and sampling the pre-display content to obtain a plurality of sampling frames; each sampling frame comprises a plurality of sampling frame pixel points; determining the color proportion of each sampling frame pixel point, and constructing a plurality of display frames for each sampling frame according to the color proportion; each display frame comprises a partial color of a corresponding sampling frame; and sending the plurality of display frames to a display so that the display displays the content of the plurality of display frames.
In a second aspect, an embodiment of the present invention further provides an anti-screenshot display apparatus, including: the sampling module is used for acquiring the pre-display content and sampling the pre-display content to obtain a plurality of sampling frames; each sampling frame comprises a plurality of sampling frame pixel points; the construction module is used for determining the color proportion of each sampling frame pixel point and constructing a plurality of display frames for each sampling frame according to the color proportion; each display frame comprises a partial color of a corresponding sampling frame; and the sending module is used for sending the display frames to a display so that the display can display the contents of the display frames.
In a third aspect, an embodiment of the present invention further provides an anti-screenshot display system, including the anti-screenshot display device.
In a fourth aspect, an embodiment of the present invention further provides a computer device, including a memory, and a processor, where the memory stores a computer program that can run on the processor, and when the processor executes the computer program, the processor implements the above screen capture preventing display method.
In a fifth aspect, embodiments of the present invention also provide a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the above-described anti-screenshot display method.
The embodiment of the invention has the following beneficial effects: the embodiment of the invention provides an anti-screen capture display scheme, which is characterized in that a plurality of sampling frames are obtained by sampling pre-display content, each sampling frame comprises a plurality of sampling frame pixels, then a plurality of display frames of each sampling frame are constructed by determining the color proportion of each sampling frame pixel, each display frame comprises part of colors of the sampling frame, and the plurality of display frames are sent to a display, so that the display can display the content of the plurality of display frames. According to the embodiment of the invention, a plurality of display frames are constructed for each sampling frame according to the color proportion of the pixel points of the sampling frame, so that the display displays the contents of the plurality of display frames, and each display frame only comprises part of the colors of the sampling frame, so that the screen cutting software and tools can not capture the complete display contents, and the protection of the output contents of the display screen is realized.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an anti-screenshot display method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of one possible method for constructing a display frame according to an embodiment of the present invention;
FIG. 3 is a diagram of another possible method for constructing a display frame according to an embodiment of the present invention;
FIG. 4 is a diagram of another possible method for constructing a display frame according to an embodiment of the present invention;
FIG. 5 is a diagram of another possible method for constructing a display frame according to an embodiment of the present invention;
FIG. 6 is a block diagram of an anti-screenshot display device according to an embodiment of the present invention;
Fig. 7 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Currently, in windows platforms, an anti-screenshot copy of display output content may be drawn through a Direct eXtension (DX) interface. DirectX is a multimedia programming interface created by microsoft corporation and is an application programming interface (Application Programming Interface, API). DirectX can enable games or multimedia programs using windows as platforms to obtain higher execution efficiency, enhance 3D graphics and sound effects, provide a common hardware driving standard for designers, enable game developers to avoid writing different driving programs for each brand of hardware, and reduce the complexity of installing and setting hardware for users.
The DirectX provides a special channel, display content is sent from the GPU to the display for display, and general screen capturing software captures the output flow of the GPU and cannot cover the data of the DX special channel, so that the purpose of preventing screen capturing copying is achieved.
DirectX is designed specifically for windows platforms and cannot provide a cross-platform solution. And, the dedicated channel of DX is provided with an on/off interface, and when the user manually closes the DX channel, the display content can be copied by a complete screen shot.
Based on the above, the method, the device and the system for preventing screen capture provided by the embodiment of the invention can not capture the complete display content by the screen capture software and the tool, and the integrity of the output content of the display screen is not affected, so that the output content of the display screen is protected.
For the sake of understanding the present embodiment, first, a detailed description will be given of an anti-screenshot display method disclosed in the present embodiment.
The embodiment of the invention provides an anti-screen-capture display method, which is shown in a flow chart of the anti-screen-capture display method in FIG. 1, and comprises the following steps:
Step S102, obtaining pre-display content, and sampling the pre-display content to obtain a plurality of sampling frames.
In the embodiment of the invention, the pre-display content refers to the content to be displayed on the display, the embodiment of the invention samples the content to be displayed, the sampling density is higher than the resolution of the display, the sampling precision is higher than the color depth of the display, and a plurality of sampling frames are obtained, each sampling frame comprises a plurality of sampling frame pixel points, and the plurality of sampling frames comprise all the pre-display content.
It should be noted that, since the pre-display content may exist in different formats, the pre-display content may be converted into a format convenient to process by sampling, so as to achieve unification of the formats of the pre-display content.
Step S104, determining the color proportion of the pixel point of each sampling frame, and constructing a plurality of display frames for each sampling frame according to the color proportion.
In the embodiment of the invention, the pixel points of the sampling frame are used for displaying the colors in the pre-display content (original image), the colors in the original image can be decomposed into a plurality of colors, and the pixel points of each sampling frame can be alternately displayed by using the plurality of colors obtained by decomposition due to the afterglow effect of human eyes. By alternating the display, the human eye can capture the same information as the pre-display content from the display screen. Therefore, each sampling frame pixel point can be replaced and displayed by a plurality of pixel points, and each sampling frame comprises a plurality of pixel points, and each pixel point is replaced and displayed by a plurality of pixel points, so that a plurality of display frames are obtained, and the number of pixel points of each display frame is the same as that of the sampling frame. The process of determining a plurality of alternative display frames of each sampling frame, that is, the process of constructing a plurality of display frames for each sampling frame based on the color decomposed from the original image, is to reconstruct each display frame including a partial color of the sampling frame because the plurality of display frames are reconstructed based on one sampling frame decomposition.
It should be noted that, each display frame includes a partial color of the corresponding sampling frame, and each display frame cannot be identical to the sampling frame.
Step S106, the display frames are sent to the display so that the display can display the content of the display frames.
In the embodiment of the invention, a plurality of display frames are constructed for each sampling frame, so that the pre-display content comprising the plurality of sampling frames can be displayed instead by the plurality of display frames, and the plurality of display frames are sent to the display so that the display can display the content of the plurality of display frames, thereby realizing the purpose of preventing screen capture while displaying the pre-display content.
It should be noted that, the original image content is respectively constructed to different display frames, and based on the display screen with high refresh rate, the display content of each constructed frame can be refreshed and displayed rapidly, and the complete picture is synthesized in the human brain through the afterglow effect of human eyes, meanwhile, each constructed frame does not contain all the information of the original image, so that the purpose of preventing screen capture is realized. According to the embodiment of the invention, the display frames are used for replacing the sampling frames to display on the display, the content of the display frames is obtained during screen capturing, the colors in the display frames are different from those in the sampling frames, and the screen capturing person cannot obtain the color information in the original image, so that the protection of the display content is realized.
The embodiment of the invention provides an anti-screen capture display scheme, which is characterized in that a plurality of sampling frames are obtained by sampling pre-display content, each sampling frame comprises a plurality of sampling frame pixels, then a plurality of display frames of each sampling frame are constructed by determining the color proportion of each sampling frame pixel, each display frame comprises part of colors of the sampling frame, and the plurality of display frames are sent to a display, so that the display can display the content of the plurality of display frames. According to the embodiment of the invention, a plurality of display frames are constructed for each sampling frame according to the color proportion of the pixel points of the sampling frame, so that the display displays the contents of the plurality of display frames, and each display frame only comprises part of the colors of the sampling frame, so that the screen cutting software and tools can not capture the complete display contents, and the protection of the output contents of the display screen is realized.
In view of the fact that to improve the efficiency of display frame construction, determining the color ratio of pixel points of each sampling frame and constructing a plurality of display frames for each sampling frame according to the color ratio may be performed as follows:
Performing color extraction on the pixel points of the sampling frames according to an additive color method to obtain the color proportion of the pixel points of each sampling frame; and constructing a plurality of display frames for each sampling frame according to the color proportion of the pixel points of the sampling frame.
In the embodiment of the invention, the additive color method refers to a method for mixing three primary colors of red (R), green (G) and blue (B) of color light according to different proportions. Color extraction is performed on the pixel points of the sampling frames according to an additive color method, so as to obtain RGB color proportions of the pixel points of each sampling frame, for example, the extraction result may be: original color: red 216, green 0, blue 0, or the extraction result may be: red 240, green 180, blue 70. Thereafter, each sampling frame is split into a plurality of display frames based on the RGB color scale.
In view of the fact that in order to make the display frames more fit the user's needs, constructing a plurality of display frames for each sampling frame according to the color ratio of the pixel points of the sampling frame may be performed as follows:
determining a number of first target frames; determining the color purity of the pixel point of each first target frame according to the color proportion of the pixel point of the sampling frame and the number of the first target frames; the plurality of first target frames for which the color purity is determined are taken together as a plurality of display frames for each sampling frame.
In the embodiment of the present invention, the number of the first target frames is the number of display frames that the user plans to split one frame of sampling frames, for example, for each frame of sampling frames, plans to construct 3 frames of display frames, and then the number of the first target frames is 3, and typically, the number of the first target frames is a positive integer greater than or equal to 2. Color purity, which is the percentage of primary colors that are occupied in color, represents the proportion of color components contained in the color.
Determining the color ratio of the pixel point of each first target frame according to the color ratio of the pixel point of the sampling frame and the number of the first target frames, for example, when the number of the first target frames is determined to be 3, the color ratio of the pixel point of the sampling frame is: red 240, green 180, blue 70, and then splitting based on the color ratio of the sampling frame to determine the color purity of the pixel point of each first target frame one by one, for example, the result may be: first target frame color purity: red 250, green 100, blue 0; second first target frame color purity: red 235, green 250, blue 50; third first target frame color purity: red 235, green 190, blue 160. The first target frame to the third first target frame are taken together as a plurality of display frames of sampling frames with the color ratios of red 240, green 180 and blue 70.
Referring to fig. 2, one possible method for constructing a display frame is shown, for example, the original image is a frame of full white picture, and the sampling process is performed to obtain: when the frame sequences are combined, if the number of the first target frames is 2, one frame of red can be kept unchanged, and blue and green are spliced into the same frame to form one frame of light blue. Thus, the first target frame is red, the second first target frame is bluish, and red and bluish are sent as display frames to the display. When the white color is output, red and light blue are alternately output, and then white is seen; however, in the process of screenshot, no matter what screenshot is, the screenshot picture is either red or bluish.
In order to ensure the color purity of the original image content, the color proportion of the pixel point of each first target frame can be determined according to the following formula according to the color proportion of the pixel point of the sampling frame and the number of the first target frames.
The method comprises the steps of (1) and (2) sequentially obtaining (1) X1+ X2+ … + xn= NxR, (2) Y2+ … + yn= NxG, (1) Z2+ … + Z3 = NxB, (2) X, X2, … and XN, wherein X1, Y2, … and YN are sequentially red color purity of pixels in first to nth first target frames, (1) Y2, … and YN are sequentially green color purity of pixels in first to nth first target frames, (1) Z2, … and ZN are sequentially blue color purity of pixels in first to nth first target frames, (N) N is the number of first target frames, (R) is the red color proportion of pixels in sampling frames, (G) is the green color proportion of pixels in sampling frames, (B) is the blue color proportion of pixels in sampling frames.
It should be noted that, in the embodiment of the present invention, when the frame sequences are combined, the color purity (saturation degree) may be utilized to split into multiple frames with different color saturation, but when the frames need to be ensured to be cyclically output, the color purity presented by the original image is achieved.
For example, the original image is a frame of orange-yellow image, and referring to another possible method for constructing a display frame shown in fig. 5, the original image is planned to be split into 3 frames, and the color of the original image is as follows: red 240, green 180, blue 70; of the split 3 frames, assume: first frame color: red X1, green Y1, blue Z1; second frame color: red X2, green Y2, blue Z2; third frame color: red X3, green Y3, blue Z3; the requirements are satisfied: 1. x1+x2+x3=3x240, for example x1=250, x2=235, x3=235; 2. y1+y2+y3=3x180, e.g. y1=100, y2=250, y3=190; 3. z1+z2+z3=3x70, for example z1=0, z2=50, z3=160.
Then, the color purity of the 3 display frames constructed from the sampling frames is respectively: first frame color: red 250, green 100, blue 0; second frame color: red 235, green 250, blue 50; third frame color: red 235, green 190, blue 160. When the display frames are output, 3 display frames are circularly output, the original orange color is seen, but when the screen capturing is performed, the original image is not obtained.
Referring to another possible method of constructing a display frame shown in fig. 4, in an embodiment of the present invention, examples of color ratios (color purity) and framing algorithms in the case of RGB single colors are as follows:
for example, the original image is a full red frame, the red color is pure red, and the color purity of blue and green is 0, so that 3 first target frames of red, black and black are obtained after sampling, when the frame sequences are combined, the frames with different color saturation can be split into multiple frames with different color saturation by utilizing the color purity (saturation degree), but the color purity of the original image is achieved when the frames are required to be circularly output.
For example, split into 3 frames, original color: red 216, green 0, blue 0; in the synthesized 3 frames, assume: first frame color: red X1, green 0, blue 0; second frame color: red X2, green 0, blue 0; third frame color: red X3, green 0, blue 0; only x1+x2+x3=3x216 needs to be satisfied, for example x1=255, x2=200, x3=193 (the equation is constant based on 0+0+0=3x0, so that the blue and green framing need not be considered). When the three-dimensional image is output, 3 frames (or multiple frames) are circularly output, the original red color is seen, but when the image is captured, only a light or deep red image can be captured.
The color purity (saturation) is achieved by adjusting the brightness of the RGB bulb at the pixel point when the actual display controls the pixel point to image.
In view of the fact that in order to make the display frames more fit the user's needs, constructing a plurality of display frames for each sampling frame according to the color ratio of the pixel points of the sampling frame may be performed as follows:
Determining the number of second target frames and a plurality of target area positions of each second target frame; determining the color purity of the pixel point of each target area according to the color proportion of the pixel point of the sampling frame, the number of the second target frames and the positions of a plurality of target areas of the second target frames; determining the color purity of the pixel point of each second target frame according to the color purity of the pixel point of each target area; the plurality of second target frames for which the color purity is determined are taken together as a plurality of display frames for each sampling frame.
In the embodiment of the present invention, the number of the second target frames is the number of display frames into which the user plans to split one frame of sampling frames, for example, for each frame of sampling frames, the number of the second target frames is 3, and typically, the number of the second target frames is a positive integer greater than or equal to 2, where the number of the second target frames is planned to construct 3 frames of display frames. The plurality of target region locations of the second target frame includes a range and location of each region that is intended to divide the second target frame into a plurality of regions.
Referring to fig. 3, another possible method for constructing a display frame is shown, for example, the original image is a frame of full white picture, and the sampling process is performed to obtain: when the frame sequence is combined, if the number of the second target frames is 4, each frame can be cut into 4 block areas according to the positions of the target areas, namely 4 target areas are obtained, the color purity of the pixel points of each second target frame is determined according to the color purity of the pixel points of each target area, 4 target areas can be spliced to obtain 4 different second target frames, further, 4 display frames are obtained, and when the display frames are output, 4 frames are circularly output, the display frames are still white, but when the display frames are captured, the white appearance of original images is not seen. Each frame can be cut into areas larger than 4 blocks, so that sequences larger than 4 frames can be spliced and output.
To ensure the integrity of the original content, the sending of the display frame to the display may be performed as follows:
Determining the output times of the display frames according to the expected display duration and the display refresh rate; and circularly transmitting the display frames to a display according to the output times of the display frames.
Assuming that the original image expected display time is t seconds, that is, the expected display time length of the sampling frame is t, for the display frame, the expected display time length is also t, if the sampling frame is a frame, if each sampling frame is constructed into N display frames, the display frames share a×N frames, for the sampling frame, the display refresh rate is F hertz, for the display frame, the display refresh rate is required to be N×F, for the display frame, the display frame sequence cycle output frequency is c, according to the formula: c= (t×n×f) calculating the number of display frame cyclic outputs, and cyclic outputting the display frame to the display according to this value.
Because the software screen capture only acquires one frame of display picture, each display frame of the original picture processed by the method is only composed of red (R) or green (G) or blue (B), and original picture content cannot be recognized, so that the screen capture prevention purpose is achieved.
When the human eyes observe scenes based on the persistence phenomenon (also called 'afterglow effect'), light signals are transmitted into brain nerves, a short period of time is needed, after the light effect is finished, visual images do not disappear immediately, only display frames consisting of red (R), green (G) or blue (B) enter the human brain, original image contents can be synthesized, and the purpose of not affecting the display effect is achieved.
It should be noted that, assuming that the resolution of the human eye is F hz, when the display refresh rate F satisfies the inequality: when F is more than or equal to 3F, the method does not influence the display effect.
In order to adapt to the resolution of the display screen, the pre-display content is sampled to obtain a plurality of sampling frames, which can be executed according to the following steps:
and up-sampling the pre-display content to obtain a plurality of sampling frames.
In the embodiment of the present invention, the enlarged image is sampled (or referred to as upsampling (upsampling) or image interpolation (interpolation)), and the main purpose of using this sampling method is: the original image is enlarged so that it can be displayed on a higher resolution display device. The up-sampling method comprises the following steps: and the interpolation method is to insert new elements between pixel points by adopting a proper interpolation algorithm on the basis of original image pixels. By the up-sampling process, the sampled frames can be made more suitable for the resolution of the display screen.
Considering that the pre-display content is sampled to obtain a plurality of sampling frames in order to improve the data processing efficiency, the method may be performed as follows:
And downsampling the pre-display content to obtain a plurality of sampling frames.
In embodiments of the present invention, the downsampled image (alternatively referred to as downsampling (subsampled) or downsampling (downsampled)), the main purpose of using this sampling method is two: 1. so that the image conforms to the size of the display area; 2. a thumbnail of the corresponding image is generated. The downsampling method comprises the following steps: and (3) downsampling an original image with the size of M multiplied by N, namely obtaining a resolution image with the size of (M/s) multiplied by (N/s), wherein s is the common divisor of M and N, if the original image is considered as an image in a matrix form, the image in the window of the original image s multiplied by s is changed into one pixel, and the value of the pixel point is the average value of all pixels in the window.
Under the condition of large data volume of the pre-display content, a downsampling method is used for obtaining a sampling frame, so that the data processing volume can be reduced, and the data processing efficiency can be improved.
The embodiment of the invention provides an anti-screen capture display scheme, which is implemented by constructing a display frame technology: the original image content is respectively constructed on different display frames, the display content of each constructed frame can be quickly refreshed and displayed based on a display screen with high refresh rate, a complete picture is synthesized in the human brain through the afterglow effect of human eyes, and meanwhile, each constructed frame does not contain all information of the original image, so that the aim of preventing screen capture is fulfilled.
The embodiment of the invention also provides a screen capture prevention display device, referring to the structural block diagram of the screen capture prevention display device shown in fig. 6, the device comprises:
The sampling module 61 is configured to obtain pre-display content, and sample the pre-display content to obtain a plurality of sampling frames; each sampling frame comprises a plurality of sampling frame pixel points; a construction module 62, configured to determine a color ratio of the pixel point of each sampling frame, and construct a plurality of display frames for each sampling frame according to the color ratio; each display frame includes a partial color of the corresponding sampling frame; and a transmitting module 63, configured to transmit the plurality of display frames to the display, so that the display displays the content of the plurality of display frames.
In one embodiment, the building block is specifically configured to: performing color extraction on the pixel points of the sampling frames according to an additive color method to obtain the color proportion of the pixel points of each sampling frame; and constructing a plurality of display frames for each sampling frame according to the color proportion of the pixel points of the sampling frame.
In one embodiment, the building block is specifically configured to: determining a number of first target frames; determining the color purity of the pixel point of each first target frame according to the color proportion of the pixel point of the sampling frame and the number of the first target frames; the plurality of first target frames for which the color purity is determined are taken together as a plurality of display frames for each sampling frame.
In one embodiment, the building block is specifically configured to: determining the color proportion of the pixel point of each first target frame according to the color proportion of the pixel point of the sampling frame and the number of the first target frames according to the following formula: the method comprises the steps of (1) and (2) sequentially obtaining (1) X1+ X2+ … + xn= NxR, (2) Y2+ … + yn= NxG, (1) Z2+ … + Z3 = NxB, (2) X, X2, … and XN, wherein X1, Y2, … and YN are sequentially red color purity of pixels in first to nth first target frames, (1) Y2, … and YN are sequentially green color purity of pixels in first to nth first target frames, (1) Z2, … and ZN are sequentially blue color purity of pixels in first to nth first target frames, (N) N is the number of first target frames, (R) is the red color proportion of pixels in sampling frames, (G) is the green color proportion of pixels in sampling frames, (B) is the blue color proportion of pixels in sampling frames.
In one embodiment, the building block is specifically configured to: determining the number of second target frames and a plurality of target area positions of each second target frame; determining the color purity of the pixel point of each target area according to the color proportion of the pixel point of the sampling frame, the number of the second target frames and the positions of a plurality of target areas of the second target frames; determining the color purity of the pixel point of each second target frame according to the color purity of the pixel point of each target area; the plurality of second target frames for which the color purity is determined are taken together as a plurality of display frames for each sampling frame.
In one embodiment, the sending module is specifically configured to: determining the output times of the display frames according to the expected display duration and the display refresh rate; and circularly transmitting the display frames to a display according to the output times of the display frames.
In one embodiment, the sampling module is specifically configured to: and up-sampling the pre-display content to obtain a plurality of sampling frames.
In one embodiment, the sampling module is specifically configured to: and downsampling the pre-display content to obtain a plurality of sampling frames.
The embodiment of the invention also provides an anti-screen-capture display system, which comprises any anti-screen-capture display device.
The embodiment of the present invention further provides a computer device, referring to the schematic block diagram of the structure of the computer device shown in fig. 7, where the computer device includes a memory 71, and a processor 72, and the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the processor implements the steps of any of the methods described above.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described computer device may refer to corresponding procedures in the foregoing method embodiments, which are not repeated here
Embodiments of the present invention also provide a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the steps of any of the methods described above.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, 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, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An anti-screenshot display method, comprising:
acquiring pre-display content, and sampling the pre-display content to obtain a plurality of sampling frames; each sampling frame comprises a plurality of sampling frame pixel points;
Determining the color proportion of each sampling frame pixel point, and constructing a plurality of display frames for each sampling frame according to the color proportion; each display frame comprises a partial color of a corresponding sampling frame;
Transmitting the plurality of display frames to a display to cause the display to display the content of the plurality of display frames;
The method for determining the color proportion of the pixel point of each sampling frame and constructing a plurality of display frames for each sampling frame according to the color proportion comprises the following steps:
performing color extraction on the pixel points of the sampling frames according to an additive color method to obtain the color proportion of each pixel point of the sampling frames;
Constructing a plurality of display frames for each sampling frame according to the color proportion of the pixel points of the sampling frame;
Constructing a plurality of display frames for each sampling frame according to the color proportion of the pixel points of the sampling frame, wherein the method comprises the following steps:
Determining a number of first target frames;
Determining the color purity of the pixel point of each first target frame according to the color proportion of the pixel point of the sampling frame and the number of the first target frames;
the plurality of first target frames for which the color purity is determined are taken together as a plurality of display frames for each of the sampling frames.
2. The method according to claim 1, characterized in that it comprises:
determining the color purity of the pixel point of each first target frame according to the color proportion of the pixel point of the sampling frame and the number of the first target frames according to the following formula:
X1+X2+…+ XN = NxR,
Y1+Y2+…+YN = NxG,
Z1+Z2+…+Z3 = NxB,
Wherein, X1, X2, …, XN are the red color purity of the pixels in the first target frame to the nth first target frame in sequence, Y1, Y2, …, YN are the green color purity of the pixels in the first target frame to the nth first target frame in sequence, Z1, Z2, …, ZN are the blue color purity of the pixels in the first target frame to the nth first target frame in sequence, N is the number of the first target frames, R is the red color proportion of the pixels of the sampling frame, G is the green color proportion of the pixels of the sampling frame, and B is the blue color proportion of the pixels of the sampling frame.
3. The method of claim 1, wherein constructing a plurality of display frames for each of the sample frames according to the color scale of the pixel points of the sample frames comprises:
Determining a number of second target frames and a plurality of target area positions for each of the second target frames;
Determining the color purity of the pixel point of each target area according to the color proportion of the pixel point of the sampling frame, the number of the second target frames and the positions of a plurality of target areas of the second target frames;
determining the color purity of the pixel point of each second target frame according to the color purity of the pixel point of each target area;
and using the plurality of second target frames with determined color purity as a plurality of display frames of each sampling frame.
4. A method according to any of claims 1-3, wherein transmitting the display frame to a display comprises:
Determining the output times of the display frames according to the expected display duration and the display refresh rate;
and circularly transmitting the display frames to a display according to the output times of the display frames.
5. A method according to any of claims 1-3, wherein sampling the pre-display content to obtain a plurality of sampled frames comprises:
And up-sampling the pre-display content to obtain a plurality of sampling frames.
6. A method according to any of claims 1-3, wherein sampling the pre-display content to obtain a plurality of sampled frames comprises:
And downsampling the pre-display content to obtain a plurality of sampling frames.
7. An anti-screenshot display device, comprising:
the sampling module is used for acquiring the pre-display content and sampling the pre-display content to obtain a plurality of sampling frames; each sampling frame comprises a plurality of sampling frame pixel points;
the construction module is used for determining the color proportion of each sampling frame pixel point and constructing a plurality of display frames for each sampling frame according to the color proportion; each display frame comprises a partial color of a corresponding sampling frame;
A transmitting module, configured to transmit the plurality of display frames to a display, so that the display displays contents of the plurality of display frames;
The construction module is specifically used for: performing color extraction on the pixel points of the sampling frames according to an additive color method to obtain the color proportion of the pixel points of each sampling frame; constructing a plurality of display frames for each sampling frame according to the color proportion of the pixel points of the sampling frame;
The construction module is specifically used for: determining a number of first target frames; determining the color purity of the pixel point of each first target frame according to the color proportion of the pixel point of the sampling frame and the number of the first target frames; the plurality of first target frames for which the color purity is determined are taken together as a plurality of display frames for each sampling frame.
8. An anti-screenshot display system comprising the anti-screenshot display device of claim 7.
9. A computer device comprising a memory, a processor, the memory having stored therein a computer program executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the method of any of the preceding claims 1 to 6.
10. A computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any one of the preceding claims 1 to 6.
CN201910961656.2A 2019-10-11 Anti-screenshot display method, device and system Active CN112651056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910961656.2A CN112651056B (en) 2019-10-11 Anti-screenshot display method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910961656.2A CN112651056B (en) 2019-10-11 Anti-screenshot display method, device and system

Publications (2)

Publication Number Publication Date
CN112651056A CN112651056A (en) 2021-04-13
CN112651056B true CN112651056B (en) 2024-05-31

Family

ID=

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561852A (en) * 2008-04-16 2009-10-21 联想(北京)有限公司 Display method and display device
JP2014021702A (en) * 2012-07-18 2014-02-03 Hitachi Ltd Color creation support method for web content
CN105447421A (en) * 2016-01-11 2016-03-30 邓磊 Method for realizing private protection of information displayed on screen
CN105491358A (en) * 2015-11-26 2016-04-13 努比亚技术有限公司 Image processing method, device and terminal
CN106658134A (en) * 2016-10-28 2017-05-10 青岛海信电器股份有限公司 Time synchronization method for ambient light television and ambient light television
CN106686374A (en) * 2016-12-08 2017-05-17 广州视源电子科技股份有限公司 Method, system and device for detecting color saturation of screens
CN107358228A (en) * 2017-07-10 2017-11-17 广州视源电子科技股份有限公司 A kind of method, apparatus of image procossing, equipment and storage medium
CN107516486A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 The display methods and device of image
CN108235119A (en) * 2018-03-15 2018-06-29 联想(北京)有限公司 Method for processing video frequency and device, electronic equipment and computer-readable medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561852A (en) * 2008-04-16 2009-10-21 联想(北京)有限公司 Display method and display device
JP2014021702A (en) * 2012-07-18 2014-02-03 Hitachi Ltd Color creation support method for web content
CN105491358A (en) * 2015-11-26 2016-04-13 努比亚技术有限公司 Image processing method, device and terminal
CN105447421A (en) * 2016-01-11 2016-03-30 邓磊 Method for realizing private protection of information displayed on screen
CN107516486A (en) * 2016-06-16 2017-12-26 中兴通讯股份有限公司 The display methods and device of image
CN106658134A (en) * 2016-10-28 2017-05-10 青岛海信电器股份有限公司 Time synchronization method for ambient light television and ambient light television
CN106686374A (en) * 2016-12-08 2017-05-17 广州视源电子科技股份有限公司 Method, system and device for detecting color saturation of screens
CN107358228A (en) * 2017-07-10 2017-11-17 广州视源电子科技股份有限公司 A kind of method, apparatus of image procossing, equipment and storage medium
CN108235119A (en) * 2018-03-15 2018-06-29 联想(北京)有限公司 Method for processing video frequency and device, electronic equipment and computer-readable medium

Similar Documents

Publication Publication Date Title
US10506223B2 (en) Method, apparatus, and device for realizing virtual stereoscopic scene
CN107682688B (en) Video real-time recording method and recording equipment based on augmented reality
US9538164B2 (en) Stereoscopic conversion with viewing orientation for shader based graphics content
KR20150091474A (en) Low latency image display on multi-display device
US20080074432A1 (en) Method for acquiring a computer screen image
US10923075B2 (en) Display method, display device, electronic device and computer readable storage medium
US20110304713A1 (en) Independently processing planes of display data
US20230039100A1 (en) Multi-layer reprojection techniques for augmented reality
US9363496B2 (en) Moving image generation device
US20040085310A1 (en) System and method of extracting 3-D data generated for 2-D display applications for use in 3-D volumetric displays
US9684990B2 (en) Method and terminal for displaying an animation
US11589027B2 (en) Methods, systems, and media for generating and rendering immersive video content
US10237563B2 (en) System and method for controlling video encoding using content information
CN110402462A (en) Low delay fracture in the case of no user perception
EP3236423A1 (en) Method and device for compositing an image
CN112651056B (en) Anti-screenshot display method, device and system
CN114428573B (en) Special effect image processing method and device, electronic equipment and storage medium
CN112651056A (en) Anti-screenshot display method, device and system
US11941408B2 (en) Encoding stereo splash screen in static image
CN113093903B (en) Image display method and display equipment
CN105808220A (en) Method and apparatus for displaying three-dimensional effect by application
CN110766599B (en) Method and system for preventing white screen from appearing when Qt Quick is used for drawing image
EP2611185A2 (en) Display apparatus and control method thereof
US20110157162A1 (en) Image processing device, image processing method, and program
CN109726603B (en) Image display method and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant