WO2022116493A1 - 屏幕信息保护的方法、装置、计算机设备及可读存储介质 - Google Patents

屏幕信息保护的方法、装置、计算机设备及可读存储介质 Download PDF

Info

Publication number
WO2022116493A1
WO2022116493A1 PCT/CN2021/096977 CN2021096977W WO2022116493A1 WO 2022116493 A1 WO2022116493 A1 WO 2022116493A1 CN 2021096977 W CN2021096977 W CN 2021096977W WO 2022116493 A1 WO2022116493 A1 WO 2022116493A1
Authority
WO
WIPO (PCT)
Prior art keywords
watermark
information
hidden
screen
hidden information
Prior art date
Application number
PCT/CN2021/096977
Other languages
English (en)
French (fr)
Inventor
江琳
孟君
王君海
龙杰
王科
桂龙
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2022116493A1 publication Critical patent/WO2022116493A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/0028Adaptive watermarking, e.g. Human Visual System [HVS]-based watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0065Extraction of an embedded watermark; Reliable detection

Definitions

  • the present application relates to the technical field of information protection, and in particular, to a method, apparatus, computer equipment and readable storage medium for screen information protection.
  • the current mainstream screen information protection and traceability devices use a watermark with visible meaning in the background of the screen, and the watermark plaintext displays the identity information of the current operating user to trace the screen information.
  • This method has poor resistance to attack.
  • technical processing of screenshots or photographed pictures and removal of the plaintext watermark can prevent their identity information from being traced back. . Therefore, a set of information protection and traceability devices with stronger anti-attack and robustness is needed to strengthen the screen information protection of terminal computers.
  • the main purpose of the present application is to provide a screen information protection method, device, computer equipment and readable storage medium, aiming to solve the technical problems of poor anti-attack capability and low robustness of the current screen information protection scheme.
  • a screen information protection method including:
  • the watermark display strategy is to use at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark containing hidden information in the text of the clear watermark.
  • the blind watermark is an invisible watermark that is invisible to the naked eye;
  • a screen picture containing a watermark is generated according to the hidden information and the watermark display strategy.
  • the embodiment of the present application also provides a screen information protection device, including:
  • a strategy acquisition unit configured to acquire a watermark display strategy in real time, wherein the watermark display strategy is to use at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark
  • the text contains a watermark with hidden information, and the blind watermark is an invisible watermark that is invisible to the naked eye;
  • a hidden information determination unit configured to obtain the domain account of the machine in real time, and determine the hidden information according to the domain account
  • a watermark picture generating unit configured to generate a screen picture containing a watermark according to the hidden information and the watermark display strategy.
  • the present application also provides a computer device, including a memory and a processor, the memory stores a computer program, and the processor implements a screen information protection method when the computer program is executed, and the method includes:
  • Real-time acquisition of a watermark display strategy wherein the watermark display strategy is to display at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark containing hidden information.
  • Information watermarks, the blind watermarks are invisible watermarks that are invisible to the naked eye;
  • a screen picture containing a watermark is generated according to the hidden information and the watermark display strategy.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, a screen information protection method is implemented, and the method includes:
  • Real-time acquisition of a watermark display strategy wherein the watermark display strategy is to display at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark containing hidden information.
  • Information watermarks, the blind watermarks are invisible watermarks that are invisible to the naked eye;
  • a screen picture containing a watermark is generated according to the hidden information and the watermark display strategy.
  • the screen information protection method, device, computer equipment and readable storage device of the present application can obtain the preset watermark display strategy in real time, determine the hidden information according to the domain account of the local machine, and generate a screen picture containing the watermark.
  • the clear watermark of hidden information hides the watermark information, improves the attack resistance of screen information protection, and provides a guarantee for information security.
  • FIG. 1 is a schematic flowchart of a screen information protection method according to an embodiment of the application
  • FIG. 2 is a schematic diagram of 6 forms of the word "mark” and its corresponding coding information according to an embodiment of the application;
  • FIG. 3 is a schematic diagram of standard information of LOGO characters taking “industry standard” as an example according to an embodiment of the application;
  • FIG. 4 is a schematic diagram of a LOGO text incorporating hidden information, taking “industry standard” as an example, according to an embodiment of the application;
  • FIG. 5 is a structural block diagram of a screen information protection device according to an embodiment of the application.
  • FIG. 6 is a structural block diagram of a computer device according to an embodiment of the application.
  • an embodiment of the present application provides a screen information protection method, including the steps:
  • the watermark display strategy is to use at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is to contain hidden information in the clear watermark text.
  • Information watermarks, the blind watermarks are invisible watermarks that are invisible to the naked eye;
  • the screen information protection method can be applied to a system including the following five components.
  • Component 1 The background logic library is used to generate a watermark font library according to the watermark algorithm, so that a complete screen watermark can be generated later according to the dynamic incoming information.
  • Component 2 Post-management service (including relational database), which is used to support administrators to configure the watermark scheme on this service, set the watermark policy and make it effective.
  • Post-management service including relational database
  • Component 3 Firewall, which is used to set firewall policies on this component to protect the post-management service and prevent attacks from clients.
  • Component 4 Proxy service, used as the interface between the post-management service and the client program, only for information forwarding, without processing logic, and together with the firewall, it protects the post-management service.
  • Component 5 The client program is responsible for obtaining client information, hiding the information according to the instructions of the watermarking policy, generating a watermark, refreshing it at a fixed frequency and displaying it in the background of the client.
  • each component realizes the real-time display and control of the screen watermark of a large number (over 100,000) of client computers.
  • the client program obtains the watermark policy from the post-management service, and generates and refreshes the watermark form on the client computer in real time according to the user information logged in on the machine and the watermark display policy applicable to the machine.
  • the client program is a process that resides on the client computer for a long time.
  • the work of generating and refreshing the watermark is executed continuously and cyclically according to a certain frequency. Each time it is executed, it will be based on the current user information and the latest post-management service.
  • the issued watermark strategy generates the latest watermark form and displays it. The above work will not be terminated unless the client computer is shut down.
  • the client program interacts with the post-management service to obtain the latest watermark display strategy, including the watermark type, watermark density, watermark depth, watermark inclination angle, watermark size, and whether the client is in the whitelist that the client needs to display. and other information.
  • Obtain the domain account information of the machine through the client program for example: wangwu/domain, where wangwu is the user name for logging in to the machine, determine the hidden information that needs to be hidden according to the domain account information, and generate a watermark image according to the watermark display policy to display on the screen , to protect the screen information.
  • the watermark types in the watermark display strategy may include clear watermarks, clear watermarks containing hidden information, and blind watermarks.
  • clear watermarks containing hidden information and blind watermarks is used.
  • the clear watermark refers to the traditional screen watermark displayed in plain text, which mainly acts as a deterrent to information leakers.
  • the clear watermark directly compares wangwu according to the watermark density, watermark depth and watermark. Parameters such as size and watermark tilt angle are displayed directly on the screen.
  • Clear watermark with hidden information refers to hiding the encrypted binary coded information in the clear watermark, such as a corporate LOGO containing text. The information leaker cannot decipher and understand the implicit information, and only use it as an ordinary corporate LOGO. Looking at it, I didn't realize that this part of the information should be processed and removed.
  • blind watermarks refer to completely hidden, invisible screen watermarks that cannot be seen by the human eye. Information leakage personnel cannot detect the existence of such watermark information, and the attack resistance is very good. It also has good robustness when taking screenshots, but less robust when taking screen shots.
  • the step of generating a screen picture containing a watermark according to the hidden information and the watermark display strategy includes:
  • a clear watermark containing hidden information corresponding to the hidden coding from a preset clear watermark font library containing hidden information according to the hidden coding, and generate a screen picture containing the clear watermark containing hidden information, wherein the predetermined clear watermark contains hidden information.
  • the set clear watermark font library containing hidden information is based on the information hidden points in each text in the watermark, through the change of the stroke shape of the text, to hide the binary coding information of 0 or 1, and obtain the maximum set of different shapes of each text and the corresponding generated from the encoded information.
  • the binary coding information of 0 or 1 is hidden through the change of the stroke shape of the text.
  • the information can be hidden at the intersection of two strokes of the text:
  • Fig. 3 shows the standard morphological diagram of the LOGO text taking "industry standard” as an example
  • Fig. 4 shows the morphological diagram of the LOGO after embedding the string information of "wangwu" ( ⁇ ).
  • the step of generating a screen picture containing a watermark according to the hidden information and the watermark display strategy it also includes:
  • the step of generating a screen picture containing a watermark according to the hidden information and the watermark display strategy includes:
  • S312 Determine the display position of the hidden information on the current screen background image according to the watermark display strategy, and obtain a set of all pixels in the display position of the hidden information on the current screen background image;
  • S313 Perform a preset calculation on the RGB color values of all the pixel points in the pixel point set in the current screen background image to obtain a screen image containing a blind watermark.
  • a screen image with a watermark can be generated and copied to the top window to complete the rendering process of the blind watermark, wherein the preset calculation is to add or subtract 1 to the RGB color value.
  • the real-time image information of the specified window can be extracted through the screen recording function, and then the specified position can be intercepted, and then the image of the position can be re-rendered on the top window by using the top window, so as to achieve the realization of blind watermark rendering.
  • main function call logic is as follows:
  • custom blind watermark image information and the former image information are synthesized through the CGBtmapCintextCreate function, and finally a modified screen image with a watermark is output, and then copied to the top window.
  • the rendering process of the blind watermark is completed through the above three steps.
  • the whole three parts are calculated according to the frame rate, and the default is 32 frames per second.
  • the step of generating a screen picture containing a watermark according to the hidden information and the watermark display strategy further includes:
  • the rendering of the blind watermark can also be accomplished by creating a transparent bitmap in advance, displaying the watermark on the transparent bitmap and overlaying the original background image.
  • a transparent window is created, then the watermark is drawn in the memory bitmap, and the memory image is rendered into the specified transparent window by using the mechanism of layered windows, and then according to the settings of the watermark font, transparency, anti-color and other parameters, The function of drawing a blind watermark is realized, wherein the preset calculation is also to increase or decrease the RGB color value by 1.
  • the main function call logic is as follows:
  • UpdateLayeredWindow function uses the UpdateLayeredWindow function to associate the memory bitmap with the watermark window and display it on the window with the corresponding coordinates.
  • the steps include:
  • blind watermark As mentioned above, the main implementation method of blind watermark is to realize watermark hiding through pixel differentiation.
  • the watermark actually exists in the picture, and the hidden blind watermark can be reversely parsed through graphics processing technology.
  • Blind watermarks have obvious outlines of pictures or text, but the outlines are not easily perceptible.
  • gamma, brightness, and contrast correction are used to realize the display enhancement of the hidden watermark, and through the net operating environment, the color adjustment information used by the specified GDI+ object is used to adjust the picture, wherein the typical value of the gamma parameter is between 0.01 and 50.0; the brightness Between -0.1 and 1.0, the contrast ratio is between 0.9 and 1.1.
  • Inversion processing refers to inverting the RGB of each pixel by locking the pixel value to the system memory, and obtaining the brightness value using the formula Calculation.
  • the screen information protection method of the embodiment of the present application greatly increases the attack resistance of the screen watermark by setting a strategy of combining multiple watermarks. It is difficult for ordinary people to realize that the information that can be traced is contained in the watermark, so they will not adopt technical means. To attack and remove such watermarks, for some special scenarios that cannot use clear watermarks, blind watermarking strategies can be used for protection, instead of completely removing the watermark information as in the past, allowing terminal devices to “streak” without protection in these special scenarios ".
  • an embodiment of the present application further provides a screen information protection device, including:
  • the strategy obtaining unit 1 is used to obtain a watermark display strategy in real time, wherein the watermark display strategy is to use at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark containing hidden information.
  • the watermark text contains a watermark with hidden information, and the blind watermark is an invisible watermark that is invisible to the naked eye;
  • a hidden information determination unit 2 configured to acquire the domain account of the machine in real time, and determine the hidden information according to the domain account
  • the watermark picture generating unit 3 is configured to obtain the domain account of the local machine in real time, and generate a screen picture including the watermark according to the domain account and the watermark display policy.
  • the screen information protection device further includes a clear watermark generating unit containing hidden information, and the clear watermark generating unit containing hidden information includes:
  • an encoding module configured to encode the hidden information to obtain a hidden code
  • a clear watermark generation module containing hidden information is used to select a clear watermark containing hidden information corresponding to the hidden coding in a preset clear watermark font library containing hidden information according to the hidden coding, and generate a clear watermark containing hidden information.
  • the screen information protection device further comprises a clear watermark information containing hidden information tracing unit for tracing the information containing the clear watermark containing hidden information, and the clear watermark information containing hidden information can be traced back Units include:
  • a text acquisition module containing hidden information used to acquire screenshots or screen shots, and obtain text information containing hidden information
  • a coding information acquisition module for obtaining the coding information according to the information hidden point in each text in the text information
  • a traceback module configured to obtain the hidden information according to the encoded information.
  • the screen information protection device further includes a first blind watermark implementation unit for generating a blind watermark, and the first blind watermark implementation unit includes:
  • the acquisition module is used to acquire the current screen background image in real time
  • the watermark pixel point determination module is used to determine the display position of the hidden information on the current screen background image according to the watermark display strategy, and obtain the information of all the pixels of the hidden information display position on the current screen background image. gather;
  • the first blind watermark implementation module is configured to perform a preset calculation on the RGB color values of all the pixel points in the pixel point set in the current screen background image to obtain a screen picture containing the blind watermark.
  • the screen information protection device further includes a second blind watermark implementation unit for generating a blind watermark, and the second blind watermark implementation unit includes:
  • the acquisition module is used to acquire the current screen background image in real time
  • the watermark pixel point determination module is used to determine the display position of the hidden information on the current screen background image according to the watermark display strategy, and obtain all the pixels of the hidden information display position on the current screen background image. gather;
  • the second blind watermark implementation module is used to create a transparent bitmap, draw the hidden information on the transparent bitmap, and overlay the transparent bitmap on the current screen background image, so that the overlaid screen background image described in the
  • the RGB color values of all the pixels in the pixel set are pre-calculated, and the screen image after coverage is regarded as a screen image containing a blind watermark.
  • the screen information protection device further includes a blind watermark information tracing unit for tracing blind watermark information, and the blind watermark information tracing unit includes:
  • Screen image acquisition module used to acquire screenshots or screen shots
  • a first processing module configured to process the screenshot or the screen shot through the color matrix and the grayscale gamma setting to obtain the first picture
  • the second processing module is used to perform inverse color processing on the screenshot or the screen shot to obtain the second picture
  • a third processing module configured to perform gamma correction on the second picture to obtain a third picture
  • the fourth processing module is configured to compare the brightness values of the pixels corresponding to the first picture and the third picture, and draw the pixels with high brightness values to obtain a fourth picture displaying hidden information.
  • each component of the screen information protection device proposed in this application can implement the functions of any one of the above-mentioned screen information protection methods, and the specific structure will not be repeated.
  • an embodiment of the present application further provides a computer device
  • the computer device may be a server, and its internal structure may be as shown in FIG. 6 .
  • the computer device includes a processor, memory, a network interface, and a database connected by a system bus.
  • the processor of the computer design is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system, a computer program, and a database.
  • the memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the database of the computer device is used to store data such as watermark display policies.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program implements a screen information protection method when executed by the processor.
  • the above-mentioned processor executes the above-mentioned screen information protection method, including:
  • the watermark display strategy is to use at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark containing hidden information in the text of the clear watermark.
  • the blind watermark is an invisible watermark that is invisible to the naked eye;
  • a screen picture containing a watermark is generated according to the hidden information and the watermark display strategy.
  • An embodiment of the present application further provides a computer-readable storage medium.
  • the computer-readable storage medium may be non-volatile or volatile, and a computer program is stored thereon, and when the computer program is executed by a processor, a A screen information protection method, comprising the steps:
  • Real-time acquisition of a watermark display strategy wherein the watermark display strategy is to display at least one or both of a blind watermark and a clear watermark containing hidden information, and the clear watermark containing hidden information is a clear watermark containing hidden information.
  • Information watermarks, the blind watermarks are invisible watermarks that are invisible to the naked eye;
  • a screen picture containing a watermark is generated according to the hidden information and the watermark display strategy.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

本申请涉及信息保护技术领域,揭示了一种屏幕信息保护方法、装置、计算机设备及可读存储介质,其中方法包括:实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,盲水印为肉眼不可见的隐形水印;实时获取本机的域账号,根据所述域账号确定所述隐藏信息;根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。本申请通过实时获取预设的水印显示策略,根据本机的域账号确定隐藏信息,然后生成包含水印的屏幕图片,使用盲水印或含有隐藏信息的明水印将水印信息隐藏,使屏幕信息保护的抗攻击性提高,为信息安全提供了保障。

Description

屏幕信息保护的方法、装置、计算机设备及可读存储介质
本申请要求于2020年12月4日提交中国专利局、申请号为2020114150828,发明名称为“屏幕信息保护的方法、装置、计算机设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及到信息保护技术领域,特别是涉及到一种屏幕信息保护的方法、装置、计算机设备及可读存储介质。
背景技术
在信息时代,企业的业务开展、后援支持、行政办公等工作由线下转为线上,大量的企业信息和数据以电子化的方式存在,并在企业内部流转。同时,手机等移动设备的普及,无线互联网的应用,员工可以做到随时随地拍摄并传输信息到互联网。以上种种因素,造成企业的信息和数据保密难度加大,终端电脑的屏幕水印信息如何进行保护与溯源,成为企业信息安全领域关注的问题之一。
当前主流的屏幕信息保护与溯源装置,采用在屏幕背景中添加含义可见的水印,水印明文显示当前操作用户的身份信息,进行屏幕信息追溯。发明人发现,这种方式的抗攻击性较差,对于有一定技术能力的信息泄露者,对屏幕截图或摄影的图片进行技术处理,将明文水印进行去除后,即可防止其身份信息被追溯。因此,需要一套抗攻击性和鲁棒性更强的信息保护与追溯装置,加强对终端电脑的屏幕信息保护。
技术问题
本申请的主要目的为提供一种屏幕信息保护方法、装置、计算机设备及可读存储介质,旨在解决目前的屏幕信息保护方案抗攻击能力差,鲁棒性较低的技术问题。
技术解决方案
为了实现上述发明目的,本申请提出一种屏幕信息保护方法,包括:
实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
本申请实施例还提供一种屏幕信息保护装置,包括:
策略获取单元,用于实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
隐藏信息确定单元,用于实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
水印图片生成单元,用于根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
本申请还提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现屏幕信息保护方法,所述方法包括:
实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现屏幕信息保护方法,所述方法包括:
实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
有益效果
本申请的屏幕信息保护方法、装置、计算机设备及可读存储设备,通过实时获取预设的水印显示策略,根据本机的域账号确定隐藏信息,生成包含水印的屏幕图片,通过盲水印或含有隐藏信息的明水印将水印信息隐藏,使屏幕信息保护的抗攻击性提高,为信息安全提供了保障。
附图说明
图1为本申请一实施例的屏幕信息保护方法的流程示意图;
图2为本申请一实施例的“标”字的6种形态及其对应的编码信息示意图;
图3为本申请一实施例的以“行业标准”为例的LOGO文字的标准信息示意图;
图4为本申请一实施例的以“行业标准”为例的融入了隐藏信息的LOGO文字示意图;
图5为本申请一实施例的屏幕信息保护装置的结构框图;
图6为本申请一实施例的计算机设备结构框图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的最佳实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
参照图1,本申请实施例中提供一种屏幕信息保护方法,包括步骤:
S1、实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
S2、实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
S3、根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
如上所述,在本实施例的方案中,所述屏幕信息保护方法可以应用于包括以下5个组件的系统。
组件1:后台逻辑库,用于根据水印算法生成水印字库,以便后续根据动态传入的信息生成完整的屏幕水印。
组件2:后管服务(包含关系型数据库),用于支持管理员在此服务上配置水印方案,设置水印策略并下发生效。
组件3:防火墙,用于在此组件上设置防火墙策略,对后管服务进行保护,防止来自客户端的攻击。
组件4:代理服务,用于作为后管服务与客户端程序之间的接口,仅作信息转发,没有处理逻辑,与防火墙一起起到保护后管服务的效果。
组件5:客户端程序负责获取客户端信息,并将这些信息按照水印策略的指令,进行信息隐藏,生成水印,按照固定频率刷新并展示在客户端背景中。
各组件通过实时的交互,实现对大量(10万以上级别)客户端电脑的屏幕水印实时展示与管控。
客户端程序从后管服务获取水印策略,根据本机登录的用户信息、以及适用于该机器的水印显示策略,实时生成并刷新客户端电脑上的水印形态。客户端程序是长期驻留在客户端电脑上的一个进程,其生成水印并刷新的工作是按照一定频率,持续并且循环执行的, 每次执行时都会根据当时的用户信息、以及后管服务最新下发的水印策略,生成最新的水印形态并展示。除非客户端电脑关闭,否则上述工作不会终止。
客户端程序通过与后管服务的交互,获得最新的水印显示策略,其中包括了该客户端需要展示的水印类型、水印密度、水印深浅、水印倾斜角度、水印大小、客户端是否在白名单内等信息。
通过客户端程序获取本机的域账号信息,例如:wangwu/domain,其中wangwu就是登陆本机的用户名,根据域账号信息确定需要隐藏的隐藏信息,根据水印显示策略生成水印图片显示在屏幕上,实现屏幕信息的保护。
水印显示策略中的水印类型可以包括明水印、含有隐藏信息的明水印和盲水印,在本实施例中,至少使用含有隐藏信息的明水印和盲水印的一种。
如上所述,明水印是指传统的、信息明文显示的屏幕水印,主要对信息泄露者起到威慑作用,以上述的用户名wangwu为例,明水印直接将wangwu按照水印密度、水印深浅、水印大小和水印倾斜角度等参数直接显示在屏幕上。含有隐藏信息的明水印是指将加密后的二进制编码信息隐藏在明水印中例如含有文字的企业LOGO中,信息泄露者无法破译和理解其中隐含的信息,仅将其作为普通的企业LOGO来看待,意识不到要对这部分信息进行处理去除。同时,这类含有隐藏信息的明水印,通过屏幕截图、屏幕摄影后,仍然非常清晰,完全能够支持对信息溯源,增加了抗攻击性和鲁棒性。盲水印是指完全隐含的、人类肉眼无法看到的隐性屏幕水印。信息泄露人员无法对其察觉到这类水印信息的存在,抗攻击性非常好。在屏幕截图时也具备很好的鲁棒性,但在屏幕拍照的场景下鲁棒性稍差。
在一个实施例中,当所述水印显示策略为使用含有隐藏信息的明水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
S301、对所述隐藏信息进行编码得到隐藏编码;
S302、根据所述隐藏编码在预设的含有隐藏信息的明水印字库中选择与所述隐藏编码对应的含有隐藏信息的明水印,生成包含含有隐藏信息的明水印的屏幕图片,其中所述预设的含有隐藏信息的明水印字库是根据水印中每个文字中的信息隐藏点,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,得到每个文字不同形态的最大集合和对应的编码信息生成的。
如上所述,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,例如,文字的两个笔画交叉处可以隐含信息:
“王”字的上面一横与竖两个笔划没有分开,可以记为状态0,
“王”字的上面一横与竖两个笔划分开,可以记为状态1;
文字的两个线条的相对长度位置可以隐含信息:
“平”字的下面一横较长,可以记为状态0,
“平”字的下面一横较短,可以记为状态1;
文字的两个线条的相对角度可以隐含信息:
“太”字一撇一捺中间的角度较小,可以记为状态0,
“太”字一撇一捺中间的角度较大,可以记为状态1。
以上仅作为示例,任何通过文字笔画形态变化隐藏信息都是可以的,一般每个文字可以找到4到5个信息隐藏点,隐藏4到5个bit信息,参照图2,图2示出了“标”字的6种形态及其对应的编码信息。
然后,对需要隐藏的信息进行编码,尽量缩短编码占用的bit,以便增加LOGO中的信息量,再次以wangwu作为隐藏信息举例,对应的编码信息为(101010101101011010)再将变形的LOGO文字与编码进行对应,完成信息隐藏。
图3示出了以“行业标准”为例的LOGO文字的标准形态图,图4示出了嵌入“wangwu”(王五)这个字符串信息后,该LOGO的形态图。
在一个实施例中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图 片的步骤之后,还包括:
S401、获取屏幕截图或屏幕拍摄图,得到含有隐藏信息的文字信息;
S402、根据所述文字信息中每个文字中的信息隐藏点得到所述编码信息;
S403、根据所述编码信息得到所述隐藏信息。
如上所述,在拿到屏幕截图或屏幕拍摄图后,按照图片中LOGO文字与二进制编码的对应关系,将LOGO文字图片翻译为二进制编码,再将二进制编码转换为所述隐藏信息,即可完成信息的追溯。
在一个实施例中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
S311、实时获取当前屏幕背景图;
S312、根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
S313、将所述当前屏幕背景图中的所述像素点集合的中所有像素点的RGB颜色值做预设计算,得到包含盲水印的屏幕图片。
如上所述,可以通过生成一张带水印的屏幕图片,复制到置顶窗口上,完成盲水印的渲染过程,其中所述预设计算为将RGB颜色值进行加1或者减1。
具体地,可以通过录屏函数提取指定窗体的实时图像信息然后进行指定位置的截取,再利用置顶窗体重新把该位置的图像渲染到置顶窗体上从而达到盲水印绘制的实现。
作为示例,主要函数调用逻辑如下:
1,先调用CGWindowListCreate获取当前屏幕上正在显示所有窗口列表,拿到一个窗口对象列表数组每个对象内包含一个窗体信息;
2,再通过CGWindowListCreatelmageFromArray函数传入排除开水印窗口的其他所有窗口集合,得到一张该集合窗口的图片信息。
3,最后通过CGBtmapCintextCreate函数把自定义的盲水印图像信息和前者的图片信息进行合成,最终输出一张修改后的带水印的屏幕图片,再复制到置顶窗口上。
通过上述3个步骤完成了盲水印的渲染过程,整个3部分按帧率进行运算,默认32帧每秒。
因为水印位置的像素点与原本的像素点的颜色值相差为1,所以肉眼无法分辨,但可以通过图形处理技术将隐藏的盲水印反解析出来,达到信息追溯的效果。
在一个实施例中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,还包括:
S321、实时获取当前屏幕背景图;
S322、根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
S323、创建一个透明位图,在透明位图上绘制所述隐藏信息,将透明位图覆盖到所述当前屏幕背景图上,使得覆盖后的屏幕背景图中所述像素点集合的所有像素点的RGB颜色值做预设计算,覆盖后的屏幕图片作为包含盲水印的屏幕图片。
如上所述,还可以通过预先创建一个透明位图,在透明位图上显示水印,覆盖在原始背景图上来完成盲水印的渲染。
具体地,创建透明窗口,再将水印绘制在内存位图中,利用分层窗口的机制,将内存图像渲染到指定的透明窗口中,然后根据水印字体、透明度、抗调色等参数的设置,实现绘制盲水印功能,其中所述预设计算同样是使RGB颜色值加1或者减1。
主要函数调用逻辑如下:
1,先通过CreateWindowEx函数,创建透明水印窗口,并保持窗口为置顶模式。
2,再通过CreateCompatibleDC函数,创建内存位图,根据透明度、阵列密度等参数在内存位图上进行盲水印的绘制。再利用水印文字边线与填充部分颜色的差值,达到对抗调色 攻击能力。
3,然后通过UpdateLayeredWindow函数,将内存位图与水印窗口关联,展示在对应坐标的窗口上。
在一个实施例中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,包括:
S411、获取屏幕截图或屏幕拍摄图;
S412、通过颜色矩阵以及灰度伽马设置对屏幕截图或屏幕拍摄图进行处理,得到第一图片;
S413、对屏幕截图或屏幕拍摄图进行反色处理,得到第二图片;
S414、对所述第二图片进行伽马校正,得到第三图片;
S415、对比所述第一图片和所述第三图片对应像素点的亮度值,对亮度值高的像素点进行绘制,得到显示有隐藏信息的第四图片。
如上所述,盲水印主要实现方式是通过像素差异化来实现水印隐藏,水印是真实存在于图片中的,可以通过图形处理技术将隐藏的盲水印反解析出来。盲水印有明显的图片或者文字的轮廓,但是该轮廓是不易察觉的。
具体地,使用gamma、亮度、对比度校正实现隐藏水印的显示增强,通过net运行环境,使用指定的GDI+对象使用的颜色调整信息进行图片调节,其中gamma参数的典型值在0.01到50.0之间;亮度在-0.1到1.0之间,对比度在0.9到1.1之间。反色处理是指通过锁定像素值到系统内存,分别对每一个像素的RGB进行反色处理,亮度值获取采用公式
Figure PCTCN2021096977-appb-000001
进行计算。
本申请实施例的屏幕信息保护方法,通过设置多种水印结合的策略,大大增加了屏幕水印的抗攻击性,一般人很难意识到其中包含了可以追踪溯源的信息,也就不会采用技术手段攻击和去除这类水印,对于一些特殊场景不能使用明水印的,可以采用盲水印策略进行防护,而不是像以往那样,完全去掉水印信息,让终端设备在这些特殊场景下毫无防护的“裸奔”。
参照图5,本申请实施例中还提供一种屏幕信息保护装置,包括:
策略获取单元1,用于实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
隐藏信息确定单元2,用于实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
水印图片生成单元3,用于实时获取本机的域账号,根据所述域账号和所述水印显示策略生成包含水印的屏幕图片。
在一个实施例中,所述屏幕信息保护装置还包括含有隐藏信息的明水印生成单元,所述含有隐藏信息的明水印生成单元包括:
编码模块,用于对所述隐藏信息进行编码得到隐藏编码;
含有隐藏信息的明水印生成模块,用于根据所述隐藏编码在预设的含有隐藏信息的明水印字库中选择与所述隐藏编码对应的含有隐藏信息的明水印,生成包含含有隐藏信息的明水印的屏幕图片,其中所述预设的含有隐藏信息的明水印字库是根据水印中每个文字中的信息隐藏点,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,得到每个文字不同形态的最大集合和对应的编码信息生成的。
在一个实施例中,所述屏幕信息保护装置还包括用于将所述含有隐藏信息的明水印的信息进行追溯的含有隐藏信息的明水印信息追溯单元,所述含有隐藏信息的明水印信息追溯单元包括:
含有隐藏信息的文字获取模块,用于获取屏幕截图或屏幕拍摄图,得到含有隐藏信息的文字信息;
编码信息获取模块,用于根据所述文字信息中每个文字中的信息隐藏点得到所述编码信息;
追溯模块,用于根据所述编码信息得到所述隐藏信息。
在一个实施例中,所述屏幕信息保护装置还包括用于生成盲水印的第一盲水印实现单元,所述第一盲水印实现单元包括:
获取模块,用于实时获取当前屏幕背景图;
水印像素点确定模块,用于根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
第一盲水印实现模块,用于将所述当前屏幕背景图中的所述像素点集合的中所有像素点的RGB颜色值做预设计算,得到包含盲水印的屏幕图片。
在一个实施例中,所述屏幕信息保护装置还包括用于生成盲水印的第二盲水印实现单元,所述第二盲水印实现单元包括:
获取模块,用于实时获取当前屏幕背景图;
水印像素点确定模块,用于根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
第二盲水印实现模块,用于创建一个透明位图,在透明位图上绘制所述隐藏信息,将透明位图覆盖到所述当前屏幕背景图上,使得覆盖后的屏幕背景图中所述像素点集合的所有像素点的RGB颜色值做预设计算,覆盖后的屏幕图片作为包含盲水印的屏幕图片。
在一个实施例中,所述屏幕信息保护装置还包括用于追溯盲水印信息的盲水印信息追溯单元,所述盲水印信息追溯单元包括:
屏幕图片获取模块,用于获取屏幕截图或屏幕拍摄图;
第一处理模块,用于通过颜色矩阵以及灰度伽马设置对屏幕截图或屏幕拍摄图进行处理,得到第一图片;
第二处理模块,用于对屏幕截图或屏幕拍摄图进行反色处理,得到第二图片;
第三处理模块,用于对所述第二图片进行伽马校正,得到第三图片;
第四处理模块,用于对比所述第一图片和所述第三图片对应像素点的亮度值,对亮度值高的像素点进行绘制,得到显示有隐藏信息的第四图片。
如上所述,可以理解地,本申请中提出的所述屏幕信息保护装置的各组成部分可以实现如上所述屏幕信息保护方法任一项的功能,具体结构不再赘述。
参照图6,本申请实施例中还提供一种计算机设备,该计算机设备可以是服务器,其内部结构可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于储存水印显示策略等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种屏幕信息保护方法。
上述处理器执行上述的屏幕信息保护方法,包括:
实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
本申请一实施例还提供一种计算机可读存储介质,该计算机可读存储介质可以是非易失性,也可以是易失性,其上存储有计算机程序,计算机程序被处理器执行时实现一种屏 幕信息保护方法,包括步骤:
实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。
以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种屏幕信息保护方法,其中,包括:
    实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
    实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
    根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
  2. 根据权利要求1所述的屏幕信息保护方法,其中,当所述水印显示策略为使用含有隐藏信息的明水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
    对所述隐藏信息进行编码得到隐藏编码;
    根据所述隐藏编码在预设的含有隐藏信息的明水印字库中选择与所述隐藏编码对应的含有隐藏信息的明水印,生成包含含有隐藏信息的明水印的屏幕图片,其中所述预设的含有隐藏信息的明水印字库是根据水印中每个文字中的信息隐藏点,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,得到每个文字不同形态的最大集合和对应的编码信息生成的。
  3. 根据权利要求2所述的屏幕信息保护方法,其中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,还包括:
    获取屏幕截图或屏幕拍摄图,得到含有隐藏信息的文字信息;
    根据所述文字信息中每个文字中的信息隐藏点得到所述编码信息;
    根据所述编码信息得到所述隐藏信息。
  4. 根据权利要求1所述的屏幕信息保护方法,其中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
    实时获取当前屏幕背景图;
    根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
    将所述当前屏幕背景图中的所述像素点集合的中所有像素点的RGB颜色值做预设计算,得到包含盲水印的屏幕图片。
  5. 根据权利要求1所述的屏幕信息保护方法,其中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,还包括:
    实时获取当前屏幕背景图;
    根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
    创建一个透明位图,在透明位图上绘制所述隐藏信息,将透明位图覆盖到所述当前屏幕背景图上,使得覆盖后的屏幕背景图中所述像素点集合的所有像素点的RGB颜色值做预设计算,覆盖后的屏幕图片作为包含盲水印的屏幕图片。
  6. 根据权利要求4或5所述的屏幕信息保护方法,其中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,包括:
    获取屏幕截图或屏幕拍摄图;
    通过颜色矩阵以及灰度伽马设置对屏幕截图或屏幕拍摄图进行处理,得到第一图片;
    对屏幕截图或屏幕拍摄图进行反色处理,得到第二图片;
    对所述第二图片进行伽马校正,得到第三图片;
    对比所述第一图片和所述第三图片对应像素点的亮度值,对亮度值高的像素点进行绘制,得到显示有隐藏信息的第四图片。
  7. 一种屏幕信息保护装置,其中,包括:
    策略获取单元,用于实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,盲水印为肉眼不可见的隐形水印;
    隐藏信息确定单元,用于实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
    水印图片生成单元,用于根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
  8. 根据权利要求7所述的屏幕信息保护装置,其中,所述屏幕信息保护装置还包括含有隐藏信息的明水印生成单元,所述含有隐藏信息的明水印生成单元包括:
    编码模块,用于对所述隐藏信息进行编码得到隐藏编码;
    含有隐藏信息的明水印生成模块,用于根据所述隐藏编码在预设的含有隐藏信息的明水印字库中选择与所述隐藏编码对应的含有隐藏信息的明水印,生成包含含有隐藏信息的明水印的屏幕图片,其中所述预设的含有隐藏信息的明水印字库是根据水印中每个文字中的信息隐藏点,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,得到每个文字不同形态的最大集合和对应的编码信息生成的。
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现屏幕信息保护方法,所述方法包括:
    实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
    实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
    根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
  10. 根据权利要求9所述的计算机设备,其中,当所述水印显示策略为使用含有隐藏信息的明水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
    对所述隐藏信息进行编码得到隐藏编码;
    根据所述隐藏编码在预设的含有隐藏信息的明水印字库中选择与所述隐藏编码对应的含有隐藏信息的明水印,生成包含含有隐藏信息的明水印的屏幕图片,其中所述预设的含有隐藏信息的明水印字库是根据水印中每个文字中的信息隐藏点,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,得到每个文字不同形态的最大集合和对应的编码信息生成的。
  11. 根据权利要求10所述的计算机设备,其中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,还包括:
    获取屏幕截图或屏幕拍摄图,得到含有隐藏信息的文字信息;
    根据所述文字信息中每个文字中的信息隐藏点得到所述编码信息;
    根据所述编码信息得到所述隐藏信息。
  12. 根据权利要求9所述的计算机设备,其中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
    实时获取当前屏幕背景图;
    根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
    将所述当前屏幕背景图中的所述像素点集合的中所有像素点的RGB颜色值做预设计算,得到包含盲水印的屏幕图片。
  13. 根据权利要求9所述的计算机设备,其中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,还包括:
    实时获取当前屏幕背景图;
    根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
    创建一个透明位图,在透明位图上绘制所述隐藏信息,将透明位图覆盖到所述当前屏幕背景图上,使得覆盖后的屏幕背景图中所述像素点集合的所有像素点的RGB颜色值做预设计算,覆盖后的屏幕图片作为包含盲水印的屏幕图片。
  14. 根据权利要求12或13所述的计算机设备,其中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,包括:
    获取屏幕截图或屏幕拍摄图;
    通过颜色矩阵以及灰度伽马设置对屏幕截图或屏幕拍摄图进行处理,得到第一图片;
    对屏幕截图或屏幕拍摄图进行反色处理,得到第二图片;
    对所述第二图片进行伽马校正,得到第三图片;
    对比所述第一图片和所述第三图片对应像素点的亮度值,对亮度值高的像素点进行绘制,得到显示有隐藏信息的第四图片。
  15. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现屏幕信息保护方法,所述方法包括:
    实时获取水印显示策略,其中所述水印显示策略为至少使用盲水印和含有隐藏信息的明水印中的一种或者两种进行显示,所述含有隐藏信息的明水印为在明水印文字中含有隐藏信息的水印,所述盲水印为肉眼不可见的隐形水印;
    实时获取本机的域账号,根据所述域账号确定所述隐藏信息;
    根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片。
  16. 根据权利要求15所述的计算机可读存储介质,其中,当所述水印显示策略为使用含有隐藏信息的明水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
    对所述隐藏信息进行编码得到隐藏编码;
    根据所述隐藏编码在预设的含有隐藏信息的明水印字库中选择与所述隐藏编码对应的含有隐藏信息的明水印,生成包含含有隐藏信息的明水印的屏幕图片,其中所述预设的含有隐藏信息的明水印字库是根据水印中每个文字中的信息隐藏点,通过文字笔画形态的变化,隐藏0或1的二进制编码信息,得到每个文字不同形态的最大集合和对应的编码信息生成的。
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,还包括:
    获取屏幕截图或屏幕拍摄图,得到含有隐藏信息的文字信息;
    根据所述文字信息中每个文字中的信息隐藏点得到所述编码信息;
    根据所述编码信息得到所述隐藏信息。
  18. 根据权利要求15所述的计算机可读存储介质,其中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,包括:
    实时获取当前屏幕背景图;
    根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
    将所述当前屏幕背景图中的所述像素点集合的中所有像素点的RGB颜色值做预设计算,得到包含盲水印的屏幕图片。
  19. 根据权利要求15所述的计算机可读存储介质,其中,当所述水印显示策略为使用盲水印进行显示时,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤,还包括:
    实时获取当前屏幕背景图;
    根据所述水印显示策略确定所述隐藏信息在所述当前屏幕背景图上的显示位置,得到所述当前屏幕背景图上所述隐藏信息显示位置的所有像素点的集合;
    创建一个透明位图,在透明位图上绘制所述隐藏信息,将透明位图覆盖到所述当前屏幕背景图上,使得覆盖后的屏幕背景图中所述像素点集合的所有像素点的RGB颜色值做预设计算,覆盖后的屏幕图片作为包含盲水印的屏幕图片。
  20. 根据权利要求18或19所述的计算机可读存储介质,其中,所述根据所述隐藏信息和所述水印显示策略生成包含水印的屏幕图片的步骤之后,包括:
    获取屏幕截图或屏幕拍摄图;
    通过颜色矩阵以及灰度伽马设置对屏幕截图或屏幕拍摄图进行处理,得到第一图片;
    对屏幕截图或屏幕拍摄图进行反色处理,得到第二图片;
    对所述第二图片进行伽马校正,得到第三图片;
    对比所述第一图片和所述第三图片对应像素点的亮度值,对亮度值高的像素点进行绘制,得到显示有隐藏信息的第四图片。
PCT/CN2021/096977 2020-12-04 2021-05-28 屏幕信息保护的方法、装置、计算机设备及可读存储介质 WO2022116493A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011415082.8 2020-12-04
CN202011415082.8A CN112529757B (zh) 2020-12-04 2020-12-04 屏幕信息保护的方法、装置、计算机设备及可读存储介质

Publications (1)

Publication Number Publication Date
WO2022116493A1 true WO2022116493A1 (zh) 2022-06-09

Family

ID=74997135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096977 WO2022116493A1 (zh) 2020-12-04 2021-05-28 屏幕信息保护的方法、装置、计算机设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN112529757B (zh)
WO (1) WO2022116493A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114998086A (zh) * 2022-07-28 2022-09-02 合肥高维数据技术有限公司 屏幕隐形水印嵌入程序测试样本制作方法以及测试方法
CN116228507A (zh) * 2023-03-14 2023-06-06 上海阅文信息技术有限公司 一种数字文本水印溯源方法及系统
CN116630131A (zh) * 2023-07-25 2023-08-22 北京和人广智科技有限公司 屏幕隐形水印的编码、解码系统及方法

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112529757B (zh) * 2020-12-04 2024-01-19 平安科技(深圳)有限公司 屏幕信息保护的方法、装置、计算机设备及可读存储介质
CN113298726A (zh) * 2021-05-14 2021-08-24 漳州万利达科技有限公司 一种图像显示调整方法、装置、显示设备和存储介质
CN113672961B (zh) * 2021-08-26 2024-04-26 北京中安星云软件技术有限公司 一种信息泄露追踪方法及装置
CN113987428A (zh) * 2021-10-29 2022-01-28 中国银行股份有限公司 一种远程vpn数字水印应用方法和装置
CN118096486A (zh) * 2024-04-25 2024-05-28 浪潮软件科技有限公司 双图层混合水印嵌入方法、设备及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740943A (zh) * 2004-08-27 2006-03-01 北京北大方正电子有限公司 一种文档加密方法
CN110097488A (zh) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 隐形数字水印的生成和提取方法及装置
CN110335189A (zh) * 2019-05-31 2019-10-15 平安科技(深圳)有限公司 加注防伪信息的方法、装置、计算机设备及存储介质
CN110414194A (zh) * 2019-07-02 2019-11-05 南京理工大学 一种文本水印的嵌入及提取方法
CN110489944A (zh) * 2019-07-17 2019-11-22 招联消费金融有限公司 信息管理系统的背景图片生成方法、装置和存储介质
CN112529757A (zh) * 2020-12-04 2021-03-19 平安科技(深圳)有限公司 屏幕信息保护的方法、装置、计算机设备及可读存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101311286B1 (ko) * 2011-10-11 2013-09-25 주식회사 파수닷컴 워터마크를 화면상에 표시하는 장치 및 방법
CN111988672A (zh) * 2020-08-13 2020-11-24 北京达佳互联信息技术有限公司 视频处理方法、装置、电子设备和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740943A (zh) * 2004-08-27 2006-03-01 北京北大方正电子有限公司 一种文档加密方法
CN110097488A (zh) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 隐形数字水印的生成和提取方法及装置
CN110335189A (zh) * 2019-05-31 2019-10-15 平安科技(深圳)有限公司 加注防伪信息的方法、装置、计算机设备及存储介质
CN110414194A (zh) * 2019-07-02 2019-11-05 南京理工大学 一种文本水印的嵌入及提取方法
CN110489944A (zh) * 2019-07-17 2019-11-22 招联消费金融有限公司 信息管理系统的背景图片生成方法、装置和存储介质
CN112529757A (zh) * 2020-12-04 2021-03-19 平安科技(深圳)有限公司 屏幕信息保护的方法、装置、计算机设备及可读存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114998086A (zh) * 2022-07-28 2022-09-02 合肥高维数据技术有限公司 屏幕隐形水印嵌入程序测试样本制作方法以及测试方法
CN114998086B (zh) * 2022-07-28 2022-10-21 合肥高维数据技术有限公司 屏幕隐形水印嵌入程序测试样本制作方法以及测试方法
CN116228507A (zh) * 2023-03-14 2023-06-06 上海阅文信息技术有限公司 一种数字文本水印溯源方法及系统
CN116228507B (zh) * 2023-03-14 2023-10-27 上海阅文信息技术有限公司 一种数字文本水印溯源方法及系统
CN116630131A (zh) * 2023-07-25 2023-08-22 北京和人广智科技有限公司 屏幕隐形水印的编码、解码系统及方法

Also Published As

Publication number Publication date
CN112529757B (zh) 2024-01-19
CN112529757A (zh) 2021-03-19

Similar Documents

Publication Publication Date Title
WO2022116493A1 (zh) 屏幕信息保护的方法、装置、计算机设备及可读存储介质
Kang et al. A perception-aware decomposition and fusion framework for underwater image enhancement
CN109872284A (zh) 图像信息脱敏方法、装置、计算机设备及存储介质
US20150371014A1 (en) Obscurely rendering content using masking techniques
CN106157273B (zh) 生成合成图片的方法及装置
US11489984B2 (en) Frequency and spatial domain image processing method for image marking and mark detection, apparatus, and storage medium
CN111784588A (zh) 图像数据增强方法、装置、计算机设备和存储介质
DE102015202713A1 (de) Sicherheitsmerkmal mit kopierbaren und nicht-kopierbaren Elementen
CN107316269A (zh) 一种用于信息泄密跟踪的微色差水印处理方法及系统
CN109003218A (zh) 一种构造门限视觉密码矩阵的方法
Bi et al. High‐Capacity Image Steganography Algorithm Based on Image Style Transfer
English Comparison of high capacity steganography techniques
Weir et al. Image hatching for visual cryptography
CN108256360B (zh) 一种敏感信息的显示方法及终端
Su et al. A robust color image watermarking scheme in the fusion domain based on LU factorization
CN110060193B (zh) 一种屏幕数字水印嵌入方法及系统
CN115659295B (zh) 页面保护方法、装置、设备和存储介质
JP3881810B2 (ja) 透かしマークの可視度を調整可能な電子透かし
CN106650395A (zh) 一种基于摩尔条纹的保密信息显示方法
CN115270084A (zh) 一种基于截图信息保护的盲水印加密实现方法
CN110766597A (zh) 一种图片伪装方法、装置、电子设备和存储介质
CN115760532A (zh) 水印处理、提取方法、设备及存储介质
CN116094811A (zh) 保密信息防拍告警方法、系统、设备及可读存储介质
CN116028901A (zh) 一种嵌入水印的方法、装置、设备及存储介质
CN111723346B (zh) 基于“竹节虫”参考矩阵可认证的视觉机密共享方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21899536

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21899536

Country of ref document: EP

Kind code of ref document: A1