Watermark-based anti-disclosure method and device, electronic equipment and storage medium

By monitoring the screenshot operation and judging the visual status of the target process window, and displaying the watermark only when the window is visible, the problem of adding watermarks in the prior art is solved, and the user experience and the effectiveness of anti-leakage is improved.

CN119475281APending Publication Date: 2025-02-18厦门天锐科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411475337.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing watermark method will still add a full screen watermark when the process window is not in the display state, affecting user experience and work efficiency.

Method used

By monitoring the screenshot operation, we can determine whether the window of the target process is in a visual state. Only display the watermark when the window is in a visual state, and delete or hide the watermark after the screenshot operation is completed.

Benefits of technology

It avoids unnecessary watermark addition, reduces the impact on user experience and work efficiency, and improves the pertinence and effectiveness of anti-leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119475281A_ABST
    Figure CN119475281A_ABST
Patent Text Reader

Abstract

The invention provides an anti-disclosure method and device based on watermarks, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: monitoring a screen capture operation; when it is monitored that a process carries out screen capture operation, whether a window of a target process is in a visible state or not is judged, and a judgment result is obtained, and the target process belongs to processes in a preset process library; and determining whether to display the target watermark according to the judgment result. Compared with the prior art, when the process triggers the screen capture operation, whether the window of the specified process is in the visible state or not is judged, if yes, the watermark is displayed to avoid information leakage, and if no window of the specified process is in the visible state, the watermark is not displayed, so that unnecessary watermark adding can be avoided, and the user experience is improved. Therefore, the work efficiency is prevented from being reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a watermark-based anti-leakage method, device, electronic device and storage medium. Background Art

[0002] A watermark is a mark or information added to the screen of an electronic device, usually displayed on the screen in a transparent or semi-transparent form. The main function of a watermark is to protect intellectual property rights, prevent counterfeiting, and enhance security.

[0003] Currently, there are many ways to prevent leakage by adding watermarks, such as adding a watermark to the entire screen, or adding a watermark to the entire process, and then finding the leaker through the watermark content to achieve the purpose of preventing leakage.

[0004] However, the current watermarking method will cause the screen to be filled with watermarks when it is not necessary. For example, when the process window with the watermark is not in the display state, the process window in the display state does not need to be watermarked. At this time, it is unnecessary to add a full-screen watermark. The full-screen watermark may affect the user experience, and the watermark may also block some data, thereby reducing the user's work efficiency. Summary of the invention

[0005] The purpose of the present application is to provide a watermark-based anti-leakage method, device, electronic device and storage medium, which can avoid unnecessary watermark addition and thus avoid reduced work efficiency.

[0006] In a first aspect, an embodiment of the present application provides a watermark-based anti-leakage method, comprising:

[0007] Monitor the screenshot operation;

[0008] When a process is monitored to perform a screenshot operation, it is determined whether the window of the target process is in a visible state, and a determination result is obtained that the target process belongs to a process in a preset process library;

[0009] Determine whether to display the target watermark according to the judgment result.

[0010] In a possible implementation, determining whether to display the target watermark according to the judgment result includes:

[0011] According to the judgment result that the window of the target process is in a visible state, the target watermark is displayed and the screenshot operation is monitored to see whether it is completed;

[0012] When the screenshot operation is monitored to be finished, the target watermark is deleted or hidden.

[0013] In a possible implementation, determining whether to display the target watermark according to the judgment result includes:

[0014] According to the judgment result, the window of the target process is not in a visible state, and the target watermark is not displayed.

[0015] In a possible implementation, the method further includes:

[0016] Receiving update data for the preset process library;

[0017] Updating the preset process library according to the update data;

[0018] The update data includes processes that need to be added or deleted.

[0019] In a second aspect, an embodiment of the present application provides a watermark-based anti-leakage device, comprising:

[0020] A monitoring module, used to monitor the screenshot operation;

[0021] A judgment module, for judging whether the window of a target process is in a visible state when a process is monitored to perform a screenshot operation, and obtaining a judgment result that the target process belongs to a process in a preset process library;

[0022] The watermark display module is used to determine whether to display the target watermark according to the judgment result.

[0023] In a possible implementation, the watermark display module is specifically used to:

[0024] According to the judgment result that the window of the target process is in a visible state, the target watermark is displayed and the screenshot operation is monitored to see whether it is completed;

[0025] When the screenshot operation is monitored to be finished, the target watermark is deleted or hidden.

[0026] In a possible implementation, the watermark display module is specifically used to:

[0027] According to the judgment result, the window of the target process is not in a visible state, and the target watermark is not displayed.

[0028] In a possible implementation manner, the device further includes:

[0029] An update module is used to receive update data for the preset process library; and update the preset process library according to the update data; wherein the update data includes processes that need to be added or deleted.

[0030] In a third aspect, the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect.

[0031] In a fourth aspect, the present application provides a computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method as described in the first aspect.

[0032] Compared with the prior art, the watermark-based anti-leakage method provided by the present application monitors the screenshot operation; when a process is monitored to perform a screenshot operation, it is determined whether the window of the target process is in a visible state, and a judgment result is obtained, and the target process belongs to a process in a preset process library; according to the judgment result, it is determined whether to display the target watermark. Compared with the prior art, when the process triggers the screenshot operation, the present application can determine whether the window of a specified process is in a visible state, and if so, a watermark is displayed to avoid information leakage, and if the window of no specified process is in a visible state, no watermark is displayed. It can be seen that the present application can avoid unnecessary watermark addition, thereby avoiding reduced work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0034] Figure 1 A flow chart of a watermark-based anti-leakage method provided in an embodiment of the present application is shown;

[0035] Figure 2 A flowchart of a specific watermark-based anti-leakage method provided in an embodiment of the present application is shown;

[0036] Figure 3 A schematic diagram of a watermark-based anti-leakage device provided in an embodiment of the present application is shown;

[0037] Figure 4 A schematic diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0038] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0039] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.

[0040] In addition, the terms "first" and "second" etc. are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0041] Please refer to Figure 1 , Figure 1 1 is a flow chart of a watermark-based anti-leakage method provided in an embodiment of the present application, comprising the following steps S101 to S103:

[0042] S101, monitoring the screenshot operation;

[0043] There are multiple terminals used by employees and a server for managing the terminals in the company's intranet. Employees will open various processes on the terminals, some of which need to be kept confidential and some do not. The watermark-based anti-leakage method provided in this application is applied to the terminal.

[0044] In this step, the terminal monitors the screenshot / screen recording actions of all processes, observes some processes with screenshot actions, and determines how the screenshots are taken.

[0045] S102, when it is monitored that a process is performing a screenshot operation, determining whether the window of the target process is in a visible state, and obtaining a determination result that the target process belongs to a process in a preset process library;

[0046] In the present application, a preset process library is pre-constructed. The processes in the preset process library are processes that need to be kept confidential. Each process in the library can correspond to a process identifier.

[0047] When an employee opens a process in the terminal, the terminal will determine whether the opened process is a process in the preset process library. If so, the opened process is the target process. When a process is taking a screenshot, it is necessary to determine whether the window of the target process is in a visible state.

[0048] The judgment result may be that the window of the target process is in a visible state, or may be that the window of the target process is not in a visible state.

[0049] S103: Determine whether to display the target watermark according to the judgment result.

[0050] Specifically, the above step S103 includes: according to the judgment result that the window of the target process is in a visible state, displaying the target watermark and monitoring whether the screenshot operation is completed; when monitoring that the screenshot operation is completed, deleting or hiding the target watermark.

[0051] When a process takes a screenshot, if the window of the target process is visible, the target watermark is displayed. The target watermark can be a watermark window drawn in advance according to the required watermark style. After the watermark window is drawn in advance, it is hidden first and displayed when a process takes a screenshot and the window of the target process is visible. The target watermark can also be created and displayed when a process takes a screenshot and the window of the target process is visible. After the screenshot operation is completed, the watermark window is deleted or hidden, thereby minimizing the impact of the watermark on work efficiency and improving the user experience.

[0052] Specifically, the above step S103 further includes: according to the judgment result that the window of the target process is not in a visible state, the target watermark is not displayed.

[0053] Specifically, although the target process is opened, if its window is in a hidden state, or if there is no other process for screenshot operation, it is not necessary to display the watermark on the terminal screen, while the prior art will display the watermark after the target process is opened, which will affect the user experience and work efficiency. In the present application, when other processes perform screenshot operations, although the target process is opened, the target watermark is not displayed when its window is in a hidden state, thereby reducing the impact of the watermark on the user experience and work efficiency.

[0054] For example, when the desired watermark style and the controlled process A.exe are set, if a process B.exe with a screenshot function is ready to take a screenshot, all visible windows on the desktop need to be checked to see if there is a window of the controlled process A.exe. If so, the watermark will be displayed when taking the screenshot; otherwise, the watermark will not be displayed.

[0055] The above method of the present application may also include the following steps:

[0056] Receiving update data for the preset process library;

[0057] Updating the preset process library according to the update data;

[0058] The update data includes processes that need to be added or deleted.

[0059] It can be seen that the present application can dynamically update the preset process library. New processes that need to be controlled are added to the preset process library, and processes that do not need to be controlled can be removed from the preset process library, so as to timely avoid the leakage of controlled processes in the form of screenshots, and can also promptly release processes that do not need to be controlled to improve user experience.

[0060] For ease of understanding, this application also provides Figure 2 A flowchart of a specific watermark-based anti-leakage method is shown.

[0061] like Figure 2 As shown, the terminal starts running and observes whether there is a process executing a screenshot action. If so, pay attention to whether the window of the target process is in a visible state. If it is in a visible state, create and display a watermark, and observe whether the screenshot action is completed. If the screenshot action is completed, delete the watermark. If the screenshot action is not completed, continue to display the watermark.

[0062] The watermark-based anti-leakage method provided in the embodiment of the present application has the following beneficial effects:

[0063] In this application, the screenshot operation is monitored; when a process is monitored to perform a screenshot operation, it is determined whether the window of the target process is in a visible state, and a judgment result is obtained, and the target process belongs to a process in a preset process library; according to the judgment result, it is determined whether to display the target watermark. Compared with the prior art, when the process triggers the screenshot operation, the present application can determine whether the window of a specified process is in a visible state, and if so, a watermark is displayed to avoid information leakage, and if the window of no specified process is in a visible state, no watermark is displayed. It can be seen that the present application can avoid unnecessary watermark addition, thereby avoiding reduced work efficiency.

[0064] In the above embodiment, a watermark-based anti-leakage method is provided. Correspondingly, the present application also provides a watermark-based anti-leakage device. The watermark-based anti-leakage device provided in the embodiment of the present application can implement the above watermark-based anti-leakage method. The watermark-based anti-leakage device can be implemented by software, hardware, or a combination of software and hardware. For example, the watermark-based anti-leakage device can include integrated or separate functional modules or units to perform the corresponding steps in the above methods. Please refer to Figure 3 As shown, the watermark-based anti-leakage device 10 of the present application includes:

[0065] A monitoring module 101 is used to monitor the screenshot operation;

[0066] The judgment module 102 is used to judge whether the window of the target process is in a visible state when a process is monitored to perform a screenshot operation, and obtain a judgment result that the target process belongs to a process in a preset process library;

[0067] The watermark display module 103 is used to determine whether to display the target watermark according to the judgment result.

[0068] In a possible implementation, the watermark display module 103 is specifically used to:

[0069] According to the judgment result that the window of the target process is in a visible state, the target watermark is displayed and the screenshot operation is monitored to see whether it is completed;

[0070] When the screenshot operation is monitored to be finished, the target watermark is deleted or hidden.

[0071] In a possible implementation, the watermark display module 103 is specifically used to:

[0072] According to the judgment result, the window of the target process is not in a visible state, and the target watermark is not displayed.

[0073] In a possible implementation manner, the device further includes:

[0074] An update module is used to receive update data for the preset process library; and update the preset process library according to the update data; wherein the update data includes processes that need to be added or deleted.

[0075] The watermark-based anti-leakage device provided in the embodiment of the present application and the watermark-based anti-leakage method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0076] An embodiment of the present application also provides an electronic device corresponding to the method provided in the aforementioned embodiment, and the electronic device may be an electronic device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the above-mentioned watermark-based anti-leakage method.

[0077] Please refer to Figure 4 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 4As shown, the electronic device 20 includes: a processor 200, a memory 201, a bus 202 and a communication interface 203, and the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and when the processor 200 runs the computer program, it executes the watermark-based anti-leakage method provided in any of the aforementioned embodiments of the present application.

[0078] The memory 201 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 203 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0079] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs, and the processor 200 executes the programs after receiving the execution instruction. The watermark-based anti-leakage method disclosed in any implementation of the embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.

[0080] The processor 200 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 200. The above processor 200 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.

[0081] The electronic device provided in the embodiment of the present application and the watermark-based anti-leakage method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented by them.

[0082] An embodiment of the present application also provides a computer-readable storage medium corresponding to the watermark-based anti-leakage method provided in the aforementioned embodiment, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it will execute the watermark-based anti-leakage method provided in any of the aforementioned embodiments.

[0083] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0084] The computer-readable storage medium provided in the above-mentioned embodiment of the present application and the watermark-based anti-leakage method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application.

Claims

1. A watermark-based anti-leakage method, characterized in that: include: Monitor the screenshot operation; When a process is monitored to perform a screenshot operation, it is determined whether the window of the target process is in a visible state, and a determination result is obtained that the target process belongs to a process in a preset process library; Determine whether to display the target watermark according to the judgment result.

2. The method according to claim 1, characterized in that The determining whether to display the target watermark according to the judgment result includes: According to the judgment result that the window of the target process is in a visible state, the target watermark is displayed and the screenshot operation is monitored to see whether it is completed; When the screenshot operation is monitored to be finished, the target watermark is deleted or hidden.

3. The method according to claim 1, characterized in that The determining whether to display the target watermark according to the judgment result includes: According to the judgment result, the window of the target process is not in a visible state, and the target watermark is not displayed.

4. The method according to claim 1, characterized in that: The method further comprises: Receiving update data for the preset process library; Updating the preset process library according to the update data; The update data includes processes that need to be added or deleted.

5. A watermark-based anti-leakage device, characterized in that: include: A monitoring module, used to monitor the screenshot operation; A judgment module, for judging whether the window of a target process is in a visible state when a process is monitored to perform a screenshot operation, and obtaining a judgment result that the target process belongs to a process in a preset process library; The watermark display module is used to determine whether to display the target watermark according to the judgment result.

6. The device according to claim 5, characterized in that The watermark display module is specifically used for: According to the judgment result that the window of the target process is in a visible state, the target watermark is displayed and the screenshot operation is monitored to see whether it is completed; When the screenshot operation is monitored to be finished, the target watermark is deleted or hidden.

7. The device according to claim 5, characterized in that The watermark display module is specifically used for: According to the judgment result, the window of the target process is not in a visible state, and the target watermark is not displayed.

8. The device according to claim 5, characterized in that The device also includes: An update module is used to receive update data for the preset process library; and update the preset process library according to the update data; wherein the update data includes processes that need to be added or deleted.

9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 4 when executing the computer program.

10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 4.