Display content processing method and device and storage medium

By encrypting and alternately displaying the displayed content, encrypting and decrypting the content, combining monitoring screenshot instructions and modifying the video memory address, the information leakage problem caused by screenshots in the prior art is solved, and the effect of preventing information leakage is achieved when visible to the naked eye.

CN119808150APending Publication Date: 2025-04-11INVENTEC APPLIANCES (SHANGHAI) CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411863014.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The existing screenshot prevention method cannot effectively prevent users from viewing confidential information with the naked eye, and the screenshot software captures the displayed content, resulting in information leakage.

Method used

By dividing the displayed content into multiple display blocks and encrypting these blocks, the encrypted and decrypted content is alternately displayed, preventing the screenshot software from capturing effective content. In addition, monitoring system-level screenshot instructions and modifying the default memory location of the video memory to further prevent information leakage.

Benefits of technology

Without affecting the naked eye viewing, it is effective to prevent information leakage caused by taking photos or screenshots, and avoid screenshot software taking screenshots in the background or directly reading the displayed content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119808150A_ABST
    Figure CN119808150A_ABST
Patent Text Reader

Abstract

The invention provides a display content processing method, a display content processing device and a computer readable storage medium. The display content processing method comprises the following steps: dividing the display content into a plurality of display blocks with preset sizes so as to determine first display content of each display block; performing encryption processing on each display block to generate second display content of each display block after encryption processing; and alternately outputting the first display content and the second display content of each display block at intervals according to a preset frequency greater than a human eye recognition frequency, and modifying the memory address field of the video memory through driving. The method and the device can be used for preventing information leakage caused by photographing or screen capture under the condition that naked eye watching is not influenced. And information leakage caused by background screen capture of screen capture software or instructions or direct reading of display content through an original address can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a method for processing display content, a device for processing display content, and a computer-readable storage medium. Background Art

[0002] With the development and increasing use of computer technology, protecting the privacy and security of user information has become more important. However, existing solutions still have certain limitations and defects. For example, existing methods to prevent screenshots still cannot prevent the camera or screenshot software from directly capturing valid display content when the user is viewing confidential information with the naked eye. In addition, existing methods to prevent screenshots can only block the operation of screenshot software from the application level. When the user performs some sensitive operations, such as entering passwords or confidential information, the screenshot instructions at the computer system level may automatically capture and record the screenshot in the background, which will still cause information leakage problems. In addition, some screenshot software or instructions will directly read the content in the video memory address, which will also cause information leakage problems.

[0003] In order to overcome the above-mentioned defects of the prior art, an improved display content processing method is urgently needed in the art to prevent information leakage caused by taking photos or screenshots without affecting the naked eye. In addition, it can also be used to avoid information leakage caused by screenshot software or instructions taking screenshots in the background or directly reading the display content through the original address. Summary of the invention

[0004] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or decisive elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.

[0005] In order to overcome the above-mentioned defects in the prior art, the present invention provides a method for processing display content, a device for processing display content, and a computer-readable storage medium, which can prevent information leakage caused by taking photos or screenshots without affecting the naked eye by displaying encrypted content and decrypted content at alternating intervals. Secondly, the system-level screenshot instructions can be monitored to avoid information leakage caused by screenshot software or tools taking screenshots in the background. In addition, the default memory segment of the video memory can be modified to prevent information disclosure caused by screenshot software or instructions directly reading the display content through the original address.

[0006] Specifically, the method for processing the above-mentioned display content provided according to the first aspect of the present invention includes the following steps: dividing the display content into a plurality of display blocks of a preset size to determine the first display content of each of the display blocks; encrypting each of the display blocks to generate the second display content of each of the encrypted display blocks; and outputting the first display content and the second display content of each of the display blocks alternately and at intervals at a preset frequency greater than the recognition frequency of the human eye.

[0007] Furthermore, in some embodiments of the present invention, before dividing the display content into multiple display blocks of preset sizes, the processing method also includes the following steps: determining whether the display content needs to be encrypted; in response to the display content needing to be encrypted, executing subsequent steps of the processing method; and in response to the display content not needing to be encrypted, skipping subsequent steps of the processing method.

[0008] Further, in some embodiments of the present invention, the step of determining whether the displayed content needs to be encrypted includes: monitoring whether a first screenshot instruction generated by pressing a screenshot button, or a second screenshot instruction generated by calling a screenshot tool is received; in response to receiving the first screenshot instruction or the second screenshot instruction, determining the corresponding screenshot window; in response to the screenshot window being a full-screen window, determining the first process under the screenshot window, and determining whether screenshot is allowed; and in response to the judgment result that screenshot is not allowed, determining that the displayed content needs to be encrypted.

[0009] Furthermore, in some embodiments of the present invention, the step of determining whether the displayed content needs to be encrypted also includes: in response to the screenshot window being the current window, determining multiple second processes under the current window, and determining whether screenshot is allowed based on all the second processes; and in response to the judgment result that screenshot is not allowed, determining that the displayed content needs to be encrypted.

[0010] Furthermore, in some embodiments of the present invention, the step of determining whether screenshot is allowed includes: acquiring the display content of the full-screen window or the current window; identifying text information and / or image information in the display content to determine whether predefined sensitive information is included therein; and in response to the text information and / or the image information including the sensitive information, outputting a determination result that screenshot is not allowed.

[0011] Furthermore, in some embodiments of the present invention, the step of determining whether predefined sensitive information is included therein comprises: inputting the text information and / or the image information into a pre-built rule model to output a determination result as to whether it belongs to sensitive information or general information.

[0012] Furthermore, in some embodiments of the present invention, the processing method also includes the following steps: in response to the display content needing to be encrypted, determining whether the screenshot instruction includes a third instruction for automatically reading a memory address; and in response to the screenshot instruction including the third instruction, modifying the display content to a default memory address to prevent the screenshot instruction from directly reading the display content via the original address.

[0013] Furthermore, in some embodiments of the present invention, the step of encrypting each of the display blocks includes: obtaining the original display content of each of the display blocks; generating a first key and a second key for encryption and decryption, and determining whether the first key is valid; in response to the first key being valid, obtaining a synchronization signal indicating the encryption order of each of the display blocks, and encrypting each of the display blocks in turn according to the first key and the synchronization signal.

[0014] Furthermore, in some embodiments of the present invention, the step of determining the first display content of each of the display blocks includes: in response to receiving a decryption instruction, obtaining the second secret key; and in response to the second secret key matching the first secret key, decrypting each display block in turn according to the second secret key and the synchronization signal to determine the first display content of each of the display blocks.

[0015] Furthermore, in some embodiments of the present invention, before encrypting each of the display blocks in turn according to the first secret key and the synchronization signal, the processing method also includes the following steps: determining whether the original display content needs to be preprocessed; in response to the original display content needing to be preprocessed, performing color and / or space conversion on the original display content, and / or adjusting the resolution of the original display content.

[0016] In addition, the above-mentioned display content processing device provided according to the second aspect of the present invention includes a storage module and a processing module. The storage module stores computer instructions. The processing module is connected to the storage module and is used to execute the computer instructions stored in the storage module to implement the display content processing method provided by the first aspect of the present invention.

[0017] Further, in some embodiments of the present invention, the processing module includes a preprocessing unit, a key management unit, an encryption unit, a decryption unit and a display output unit. The preprocessing unit is used to divide the display content into a plurality of display blocks of a preset size. The key management unit is used to generate a first key and a second key for encryption and decryption processing, and to determine whether the second key matches the first key. The encryption unit is used to encrypt each of the display blocks according to the first key to generate the second display content after the encryption processing of each of the display blocks. The decryption unit is used to decrypt each of the display blocks according to the second key when the second key matches the first key to generate the first display content after the decryption processing of each of the display blocks. The display output unit is used to alternately output the first display content and the second display content of each of the display blocks at a preset frequency greater than the recognition frequency of the human eye.

[0018] In addition, the computer-readable storage medium provided in the third aspect of the present invention stores computer instructions, which, when executed by a processor, implement the method for processing display content provided in the first aspect of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or features may have the same or similar reference numerals.

[0020] Figure 1 A schematic flow chart of a method for processing display content provided according to some embodiments of the present invention is shown.

[0021] Figure 2 A schematic flow chart of a method for processing display content provided according to some embodiments of the present invention is shown.

[0022] Figure 3 A schematic diagram of the flow of encryption and decryption processing provided according to some embodiments of the present invention is shown.

[0023] Figure 4 A computer hardware framework diagram provided according to some embodiments of the present invention is shown. DETAILED DESCRIPTION

[0024] The following specific embodiments illustrate the implementation of the present invention, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Although the description of the present invention will be introduced in conjunction with the preferred embodiment, this does not mean that the features of this invention are limited to this implementation. On the contrary, the purpose of introducing the invention in conjunction with the implementation is to cover other options or modifications that may be extended based on the claims of the present invention. In order to provide a deep understanding of the present invention, the following description will include many specific details. The present invention can also be implemented without using these details. In addition, in order to avoid confusion or blurring the focus of the present invention, some specific details will be omitted in the description.

[0025] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0026] In addition, the terms "upper", "lower", "left", "right", "top", "bottom", "horizontal" and "vertical" used in the following description should be understood as the directions shown in the paragraph and the related drawings. Such relative terms are only used for the convenience of description and do not mean that the device described therein must be manufactured or operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0027] It is understood that although the terms "first", "second", "third", etc. may be used herein to describe various components, regions, layers and / or parts, these components, regions, layers and / or parts should not be limited by these terms, and these terms are only used to distinguish different components, regions, layers and / or parts. Therefore, the first component, region, layer and / or part discussed below may be referred to as a second component, region, layer and / or part without departing from some embodiments of the present invention.

[0028] As mentioned above, with the development and increasing use of computer technology, protecting the privacy and security of user information has become more important. However, existing solutions still have certain limitations and defects. For example, existing methods for preventing screenshots still cannot prevent the camera or screenshot software from directly capturing valid display content when the user is viewing confidential information with the naked eye. In addition, existing methods for preventing screenshots can only prevent the operation of screenshot software from the application level. When the user performs some sensitive operations, such as entering passwords or confidential information, the screenshot instructions at the computer system level may automatically capture and record the screenshot in the background, which will still cause information leakage problems. In addition, some screenshot software or instructions will directly read the content in the video memory address, which will also cause information leakage problems.

[0029] In order to overcome the above-mentioned defects in the prior art, the present invention provides a method for processing display content, a device for processing display content, and a computer-readable storage medium, which can prevent information leakage caused by taking photos or screenshots without affecting the naked eye by displaying encrypted content and decrypted content at alternating intervals. Secondly, the system-level screenshot instructions can be monitored to avoid information leakage caused by screenshot software or tools taking screenshots in the background. In addition, the default memory segment of the video memory can be modified to prevent information disclosure caused by screenshot software or instructions directly reading the display content through the original address.

[0030] In some non-limiting embodiments, the above-mentioned display content processing method provided by the first aspect of the present invention can be implemented based on the above-mentioned display content processing device provided by the second aspect of the present invention. Specifically, the above-mentioned display content processing device provided by the second aspect of the present invention includes a storage module and a processing module. Here, the storage module includes but is not limited to the above-mentioned computer-readable storage medium provided by the third aspect of the present invention, on which computer instructions are stored. The processing module is connected to the storage module and is configured to execute the computer instructions stored on the memory to implement the display content processing method provided by the first aspect of the present invention.

[0031] Furthermore, in some embodiments, the processing module includes a preprocessing unit, a key management unit, an encryption unit, a decryption unit, and a display output unit. Here, the preprocessing unit is used to divide the display content into a plurality of display blocks of preset sizes. The key management unit is used to generate a first key and a second key for encryption and decryption processing, and to determine whether the second key matches the first key. The encryption unit is used to encrypt each display block according to the first key to generate the second display content after the encryption processing of each display block. The decryption unit is used to decrypt each display block according to the second key when the second key matches the first key to generate the first display content after the decryption processing of each display block. The display output unit is used to alternately output the first display content and the second display content of each display block at a preset frequency greater than the recognition frequency of the human eye.

[0032] The following will describe the working principle of the above-mentioned display content processing device in conjunction with some embodiments of the display content processing method. Those skilled in the art will understand that these embodiments of the display content processing method are only some non-restrictive implementation methods provided by the present invention, which are intended to clearly demonstrate the main concept of the present invention and provide some specific solutions that are convenient for the public to implement, rather than to limit all functions or all working modes of the processing device. Similarly, the processing device is also only a non-restrictive implementation method provided by the present invention, and does not constitute a limitation on the execution subject or execution order of each step in these processing methods.

[0033] Please refer to Figure 1 . Figure 1 A schematic flow chart of a method for processing display content provided according to some embodiments of the present invention is shown.

[0034] like Figure 1 As shown, the processing module can first divide the display content into multiple display blocks of a preset size (for example, 6×6 pixels) via the pre-processing unit to determine the first display content of each display block. Here, the above-mentioned block processing process can be performed in the frame buffer of the graphics card to ensure that each display block can be processed separately.

[0035] In addition, in some embodiments of the present invention, before dividing the display content, the processing module may also preferably determine whether the display content needs to be encrypted.

[0036] Please refer to further Figure 2 . Figure 2 A schematic flow chart of a method for processing display content provided according to some embodiments of the present invention is shown.

[0037] Specifically, the processing module can utilize the application programming interface (API) provided by the operating system or the screenshot detection function of the hook function to monitor and identify whether a first screenshot instruction generated by pressing a screenshot button (e.g., Print Screen key) is received, or a second screenshot instruction generated by calling a screenshot tool is received. Here, the hook function can modify or extend the behavior of the operating system, application program, or other software components by intercepting function calls, message transmission, and event transmission between software modules.

[0038] Further, in response to receiving the first screenshot instruction or the second screenshot instruction, the processing module may further determine the corresponding screenshot window. In response to the screenshot window being a full-screen window, the processing module may determine multiple first processes under the full-screen window, that is, all programs or tasks currently running in the computer system. Afterwards, the processing module may determine whether screenshot is allowed based on all the first processes. In response to the judgment result that screenshot is not allowed, the processing module may determine that the displayed content needs to be encrypted.

[0039] Alternatively, in some embodiments, in response to the screenshot window being the current window, the processing module may determine multiple second processes under the current window, that is, the running programs or tasks involved in the current window. Afterwards, the processing module may determine whether to allow screenshots based on all the second processes. In response to the judgment result that screenshots are not allowed, the processing module may determine that the displayed content needs to be encrypted.

[0040] Furthermore, in the process of determining whether to allow screenshots, the processing module may obtain the display content of the full-screen window or the current window, and utilize optical character recognition technology (OCR) or image recognition technology to identify text information and / or image information in the display content to determine whether it includes predefined sensitive information.

[0041] Specifically, in some preferred embodiments, the processing module may also input text information and / or image information into a pre-built rule model to output a judgment result of whether it belongs to sensitive information or general information.

[0042] Afterwards, in response to the text information and / or image information including sensitive information, the processing module may output a judgment result that screenshots are not allowed. Conversely, in response to the text information and / or image information including only general information, the processing module may output a judgment result that screenshots are allowed, which may be directly displayed on the screen via the display output module.

[0043] Afterwards, in response to the display content needing to be encrypted, the processing module can encrypt each display block via the encryption unit to generate a second display content after each display block is encrypted. Here, the second display content can be a black display screen with no content.

[0044] Please refer to further Figure 3 . Figure 3 A schematic diagram of the flow of encryption and decryption processing provided according to some embodiments of the present invention is shown.

[0045] Specifically, if Figure 3 As shown, in the process of encrypting each display block, the processing module may first obtain the original display content of the full-screen window or the current window.

[0046] Afterwards, the processing module may generate a first key for encryption and decryption processing via the key management unit, and determine whether the first key is valid.

[0047] Thereafter, in response to the first key being valid, the processing module may obtain a synchronization signal indicating the encryption order of each display block, and encrypt each display block in turn using an encryption algorithm (eg Advanced Encryption Standard, AES) according to the first key and the synchronization signal via the encryption unit.

[0048] Here, the synchronization signal can mark the starting position of each block or each row during the encryption process of each display block, ensuring that the order of each encrypted block can be accurately identified and restored during decryption, thereby ensuring the data integrity of the displayed content and avoiding dislocation or distortion. In addition, the synchronization signal can also be used as a kind of encryption information. The decryption process needs to start from the corresponding pixel point to correctly restore the image content, which is used in combination with the first secret key, thereby improving the security of the encryption process.

[0049] Furthermore, in some preferred embodiments, before segmenting the original display content, the processing module may also determine whether the original display content of each display block needs to be preprocessed. In response to the original display content needing to be preprocessed, the processing module may perform color and / or space conversion on the original display content, and / or adjust the resolution of the original display content.

[0050] Please refer to Figure 4 . Figure 4 A computer hardware framework diagram provided according to some embodiments of the present invention is shown.

[0051] In addition, if Figure 4As shown, compared with the inability to prevent information leakage caused by the screenshot instruction automatically reading the memory address of the display content in the background, the above-mentioned display content processing method provided by the first aspect of the present invention can further determine whether the screenshot instruction includes a third instruction for automatically reading the memory address when the display content needs to be encrypted. In response to the screenshot instruction including the third instruction, the display content is modified to the default memory address to prevent the screenshot instruction from directly reading the display content via the original address.

[0052] In addition, Figure 3 In the illustrated embodiment, in response to receiving a decryption instruction, the processing module may also re-decrypt the encrypted second display content in real time to determine the first display content of each display block. Specifically, in response to receiving a decryption instruction, the processing module may obtain a second secret key. Thereafter, in response to the second secret key matching the first secret key, the processing module may perform decryption processing on each display block in turn through the decryption unit according to the second secret key and the synchronization signal to determine the first display content of each display block.

[0053] Thereafter, the processing module may output the first display content and the second display content of each display block alternately and at intervals via the display output unit at a preset frequency greater than the human eye recognition frequency, so as to make the display content of the photo or screenshot incomplete while ensuring that the user can see the complete display content with the naked eye, thereby preventing confidential information from being leaked through photos or screenshots while the user is viewing the information.

[0054] Specifically, in the process of outputting the first display content and the second display content at intervals, they can be adjacently spaced block by block, or distributed according to a preset pattern, as long as it is ensured that the area corresponding to each sensitive information includes display blocks for outputting the first display content and the second display content.

[0055] In summary, the above-mentioned display content processing method, display content processing device and computer-readable storage medium provided by the present invention can prevent information leakage caused by taking photos or screenshots without affecting naked eye viewing by displaying encrypted content and decrypted content at alternating intervals. Secondly, system-level screenshot instructions can be monitored to avoid information leakage caused by screenshot software or tools taking screenshots in the background. In addition, the default memory segment of the video memory can be modified to prevent information disclosure caused by screenshot software or instructions directly reading the display content through the original address.

[0056] Although the above methods are illustrated and described as a series of actions for simplicity of explanation, it should be understood and appreciated that these methods are not limited by the order of the actions, because according to one or more embodiments, some actions may occur in a different order and / or concurrently with other actions from those illustrated and described herein or not illustrated and described herein but understandable to those skilled in the art.

[0057] Those skilled in the art will appreciate that information, signals, and data may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips cited throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or magnetic particles, optical fields or optical particles, or any combination thereof.

[0058] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician may implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as resulting in a departure from the scope of the present invention.

[0059] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read and write information from / to the storage medium. In an alternative, a storage medium may be integrated into a processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and the storage medium may reside in a user terminal as discrete components.

[0060] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented as a computer program product in software, each function may be stored on or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include both computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one place to another. Storage media may be any available medium that can be accessed by a computer. As an example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer. Any connection is also properly referred to as a computer-readable medium. For example, if the software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, wherein disk often reproduces data magnetically, while disc reproduces data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0061] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing display content, characterized in that: The following steps are involved: Dividing the display content into a plurality of display blocks of preset sizes to determine a first display content of each of the display blocks; Performing encryption processing on each of the display blocks to generate encrypted second display content of each of the display blocks; as well as The first display content and the second display content of each display block are alternately output at intervals according to a preset frequency greater than a human eye recognition frequency.

2. The processing method according to claim 1, characterized in that: Before dividing the display content into a plurality of display blocks of a preset size, the processing method further comprises the following steps: Determining whether the displayed content needs to be encrypted; In response to the display content needing to be encrypted, executing subsequent steps of the processing method; and In response to the display content not needing to be encrypted, the subsequent steps of the processing method are skipped.

3. The processing method according to claim 2, characterized in that: The step of determining whether the displayed content needs to be encrypted comprises: Monitor whether a first screenshot instruction generated by pressing a screenshot button or a second screenshot instruction generated by calling a screenshot tool is received; In response to receiving the first screenshot instruction or the second screenshot instruction, determining a corresponding screenshot window; In response to the screenshot window being a full-screen window, determining a first process under the screenshot window, and determining whether screenshot is allowed; and In response to the determination result that screenshot is not allowed, it is determined that the displayed content needs to be encrypted.

4. The processing method according to claim 3, characterized in that: The step of determining whether the displayed content needs to be encrypted further includes: In response to the screenshot window being the current window, determining a second process under the current window, and determining whether screenshot is allowed; and In response to the determination result that screenshot is not allowed, it is determined that the displayed content needs to be encrypted.

5. The processing method according to claim 3 or 4, characterized in that: The step of determining whether to allow screenshots includes: Obtaining the display content of the full-screen window or the current window; identifying text information and / or image information in the displayed content to determine whether predefined sensitive information is included therein; and In response to the text information and / or the image information including the sensitive information, a judgment result that screenshot is not allowed is output.

6. The processing method according to claim 5, characterized in that: The step of determining whether predefined sensitive information is included comprises: The text information and / or the image information is input into a pre-built rule model to output a judgment result of whether it belongs to sensitive information or general information.

7. The processing method according to claim 6, characterized in that: The following steps are also included: In response to the display content needing to be encrypted, determining whether the screenshot instruction includes a third instruction for automatically reading a memory address; and In response to the screen capture instruction including the third instruction, the display content is modified to a default memory address to prevent the screen capture instruction from directly reading the display content via the original address.

8. The processing method according to claim 1, characterized in that: The step of encrypting each display block comprises: Acquiring the original display content of each display block; Generate a first key and a second key for encryption and decryption, and determine whether the first key is valid; In response to the first secret key being valid, a synchronization signal indicating an encryption order for each of the display blocks is acquired, and encryption processing is sequentially performed on each of the display blocks according to the first secret key and the synchronization signal.

9. The processing method according to claim 8, characterized in that: The step of determining the first display content of each display block comprises: In response to receiving the decryption instruction, obtaining the second secret key; and In response to the second key matching the first key, decryption processing is performed on each display block in turn according to the second key and the synchronization signal to determine the first display content of each display block.

10. The processing method according to claim 8, characterized in that: Before encrypting each of the display blocks in sequence according to the first secret key and the synchronization signal, the processing method further includes the following steps: Determining whether the original display content needs to be preprocessed; In response to the original display content needing to be preprocessed, the original display content is subjected to color and / or space conversion, and / or the resolution of the original display content is adjusted.

11. A display content processing device, characterized in that: include: a storage module having computer instructions stored thereon; as well as A processing module, connected to the storage module, is used to execute the computer instructions stored in the storage module to implement the display content processing method according to any one of claims 1 to 10.

12. The processing device according to claim 11, characterized in that The processing module includes: A preprocessing unit, used for dividing the display content into a plurality of display blocks of preset sizes; A key management unit, used to generate a first key and a second key for encryption and decryption, and determine whether the second key matches the first key; an encryption unit, configured to encrypt each of the display blocks according to the first secret key to generate second display content after encryption of each of the display blocks; a decryption unit, configured to, when the second key matches the first key, decrypt each of the display blocks according to the second key to generate first display content after decryption of each of the display blocks; and The display output unit is used to alternately output the first display content and the second display content of each display block at a preset frequency greater than the recognition frequency of human eyes.

13. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the display content processing method according to any one of claims 1 to 10 is implemented.

Citation Information

Cited By

  • Display content synchronization method and system based on cooperative work of multiple serial port screens

    CN120832112A