WO2021217899A1 - Method, apparatus, and device for encrypting display information, and storage medium - Google Patents

Method, apparatus, and device for encrypting display information, and storage medium Download PDF

Info

Publication number
WO2021217899A1
WO2021217899A1 PCT/CN2020/102535 CN2020102535W WO2021217899A1 WO 2021217899 A1 WO2021217899 A1 WO 2021217899A1 CN 2020102535 W CN2020102535 W CN 2020102535W WO 2021217899 A1 WO2021217899 A1 WO 2021217899A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
image
target
information
current
Prior art date
Application number
PCT/CN2020/102535
Other languages
French (fr)
Chinese (zh)
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 WO2021217899A1 publication Critical patent/WO2021217899A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Definitions

  • This application relates to the field of information security technology, and in particular to an encryption method, device, device, and computer-readable storage medium for displaying information.
  • the main purpose of this application is to provide an encryption method, device, device, and computer-readable storage medium for displaying information, aiming to solve the technical problem of poor anti-leakage effects of existing devices on displaying information.
  • the encryption method for display information includes the following steps:
  • the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
  • the present application also provides an encryption device for displaying information, and the encryption device for displaying information includes:
  • the first image acquisition module is used to acquire the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, collect the current The first image of the display area of the target display area corresponding to the device;
  • An area device monitoring module configured to determine whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
  • the display information encryption module is configured to perform corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area.
  • the present application also provides an encryption device for displaying information.
  • the encryption device for displaying information includes a processor, a memory, and display information that is stored on the memory and can be executed by the processor.
  • the encryption program of the display information when the encryption program of the display information is executed by the processor, the following steps are implemented:
  • the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
  • the present application also provides a computer-readable storage medium that stores an encryption program for displaying information, where the encryption program for displaying information is executed by a processor. The following steps:
  • the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
  • the present application provides an encryption method for display information, by acquiring the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, according to the first preset frequency Collect the first image of the display area of the target display area corresponding to the current device; determine whether there is a camera in the target display area according to a preset camera device recognition model and the first image of the display area; display on the target When there is a camera device in the area, corresponding encryption processing is performed on the current device and/or the current display information.
  • the present application recognizes the display area image corresponding to the current device through the camera device recognition model, that is, the display area image is classified through the KNN algorithm and the preset image type for real-time detection Whether there is a camera device that causes display information leakage in the display area of the current device.
  • FIG. 1 is a schematic diagram of the hardware structure of an encryption device for displaying information involved in a solution of an embodiment of the application;
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for encrypting display information in this application
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for encrypting display information in this application
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for encrypting display information in this application.
  • FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the encryption device for displaying information in this application.
  • the encryption method for display information involved in the embodiments of the present application is mainly applied to an encryption device for displaying information.
  • the encryption device for displaying information may be a device with display and processing functions such as a PC, a portable computer, and a mobile terminal.
  • FIG. 1 is a schematic diagram of the hardware structure of the encryption device for displaying information involved in the solution of the embodiment of the application.
  • the encryption device for displaying information may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to realize the connection and communication between these components;
  • the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard);
  • the network interface 1004 may optionally include a standard wired interface, a wireless interface (Such as WI-FI interface);
  • the memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory.
  • the memory 1005 can optionally also be a storage device independent of the aforementioned processor 1001 .
  • FIG. 1 does not constitute a limitation on the encryption device for displaying information, and may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • the memory 1005 as a computer-readable storage medium in FIG. 1 may include an operating system, a network communication module, and an encrypted program for displaying information.
  • the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the encryption program of the display information stored in the memory 1005, and execute the encryption method of the display information provided by the embodiment of the present application .
  • the embodiment of the present application provides an encryption method for display information.
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for encrypting display information in this application.
  • the encryption method of the displayed information includes the following steps:
  • Step S10 When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches a preset sensitivity level, the target display corresponding to the current device is collected according to the first preset frequency The first image of the display area of the area;
  • Information security is an important topic in the modern Internet. Whether it is in a specific government agency or various computer systems in various enterprises, there will be some specific information in the system that is relatively confidential information, and should not be It is transmitted to the external Internet environment.
  • the general method will prevent the leakage of sensitive information through various forms such as isolation of internal and external networks, restriction of USB and other forms of data transmission to the outside.
  • this application uses the camera device recognition model to identify the display area image corresponding to the current device when the device displays the display information of the target sensitivity level. Detect whether there is a camera device that causes display information leakage in the display area of the current device.
  • the currently displayed information includes text information, picture information, or video information.
  • text information is taken as an example for description.
  • the preset sensitivity level can be preset to "non-sensitive level", “general sensitivity level”, and "high sensitivity level”.
  • the terminal can detect the sensitivity level of the current text content in real time or regularly.
  • multiple text content containing non-sensitive, general sensitive, and high sensitivity can be obtained, and multiple text content containing non-sensitive, generally sensitive, and highly sensitive can be used as the training set, and the training set can be input to the volume.
  • the product neural network is trained to build a sensitivity level recognition model, and the sensitivity level of the current text content is detected through the sensitivity level recognition model.
  • the first image of the display area of the target display area corresponding to the current device is collected through the front camera of the terminal at the first preset frequency.
  • the first preset frequency is set according to the user's own needs.
  • step S10 specifically includes:
  • the currently displayed information is text information
  • extract keywords in the currently displayed information and determine the target sensitivity level of the currently displayed information according to the keywords
  • the target sensitivity level reaches the preset sensitivity level
  • the first image of the display area of the target display area corresponding to the current device is acquired according to the first preset frequency.
  • the terminal when the terminal detects the current text information, it extracts the keywords of the current text information and determines whether the keywords are preset storage keywords. If the keywords are preset storage keywords, the current text information is determined according to the keywords. Sensitivity level. If it is detected that the sensitivity level of the current text information belongs to the non-sensitive level in the preset sensitivity level, no operation is performed on the current text, that is, the current text content does not need to be protected; if the sensitivity level of the current text information is detected as normal When the sensitivity level is sensitive, the face information of the current user is obtained through the front camera of the terminal to detect whether the face information of the current user matches the face information of the preset storage user.
  • the current user is not the preset storage user, then Add a watermark containing the preset stored user information and the current user's information to the current text on the screen. If the current user is a preset storage user, add the current text on the screen with a watermark containing the preset stored user information; if the current user is detected When the text content belongs to the high sensitivity level among the preset sensitivity levels, the front camera of the terminal detects whether there is a camera device in the display area of the current text content.
  • step S10 it further includes:
  • the terminal collects an image at a first preset frequency, preprocesses the image, and determines whether the preprocessed image has a camera device, and if there is a camera device, it determines whether the image has a human face.
  • the preprocessing process is: deblurring the image, that is, using the Laplacian algorithm to identify the blurred image, and if the image is blurred, the detection of the image is abandoned.
  • the image is also grayed out or binarized.
  • the gray-scale processing is: use the RGB model to represent each pixel of the image, and take the average value of R, G, and B of each pixel to replace the original R, G, and B values to obtain the current image's grayscale Value; binarization processing is: divide the pixels of the image into two parts, black and white, black as foreground information, white as background information, in order to process the original image except for the target text other objects, Background etc.
  • the terminal also performs image noise reduction on the pictures, that is, filtering by means of median filtering, mean filtering, adaptive Wiener filtering, etc., to deal with the image noise caused by the process of image acquisition, compression, and transmission.
  • Step S20 Determine whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
  • the preprocessed image is input into the preset camera equipment recognition model.
  • the terminal pre-collects a large number of image data that exist in the terminal camera, video camera, or other types of camera equipment, and trains the above-mentioned image data as a training set to obtain the first preset camera equipment recognition model. That is, the K-nearest Neighbors (KNN) is used to classify the first image of the display area, and it is determined whether the first image of the display area has a camera device type image or does not have a camera device type image. Thus, it is determined whether there is an imaging device in the target display area.
  • KNN K-nearest Neighbors
  • Step S30 when there is a camera device in the target display area, perform corresponding encryption processing on the current device and/or current display information.
  • the terminal when the terminal detects that there is a camera device in the target display area that is aimed at the current text content, it turns off the current device or cancels the display of the current text content on the screen; if the terminal detects that there is a camera device that is not aimed at the current text content If yes, a prompt message is sent to the user, that is, the prompt message is "Camera equipment detected, beware of leaking sensitive information".
  • a preset encryption strategy corresponding encryption processing is performed on the current device and/or current display information.
  • This embodiment provides an encryption method for display information, by acquiring the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, according to the first preset Frequency collection of the first image of the display area of the target display area corresponding to the current device; according to a preset camera device recognition model and the first image of the display area, it is determined whether there is a camera device in the target display area; When there is a camera device in the display area, corresponding encryption processing is performed on the current device and/or the current display information.
  • the present application recognizes the display area image corresponding to the current device through the camera device recognition model, that is, the display area image is classified through the KNN algorithm and the preset image type for real-time detection Whether there is a camera device that causes display information leakage in the display area of the current device.
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for encrypting display information in this application.
  • the step S20 specifically includes:
  • Step S21 inputting the first image of the display area into the imaging device identification model, so as to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the imaging device recognition model;
  • the preprocessed image is input to the first preset camera device recognition model (the terminal collects a large amount of image data of the terminal camera, video camera, or other types of camera devices in advance, and uses the above image data as a training set for training Obtain the first preset camera equipment recognition model), that is, use KNN (K-nearest Neighbors) algorithm.
  • KNN K-nearest Neighbors
  • the principal components analysis (PCA) is used for the picture to convert the image information into a vector table, and then the Euclidean distance is selected as the distance calculation method, and the vector corresponding to each type of image point is calculated.
  • the KNN algorithm is selected to select K points with the closest distance, and the distribution of K points in each type of image is determined.
  • the above-mentioned camera equipment design model can also be stored in a node of a blockchain.
  • step S21 specifically includes:
  • the first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
  • KNN K-nearest Neighbors
  • commonly used methods for measuring distance include: Euclidean distance, cosine value (cos), correlation, Manhattan distance, or others.
  • the K value of K is 1, once the nearest point is noise, then there will be a deviation, the K value
  • the decrease of means that the overall model becomes complicated and is prone to overfitting; if the value of K is too large, it is equivalent to predicting with training examples in a larger neighborhood, and the approximate error of learning will increase . At this time, instances far away from the input target point will also play a role in the prediction, making the prediction wrong.
  • the output result is "no camera equipment”, if it is “camera equipment”, you need to distinguish between “aligned to the screen” and “non-aligned to the screen”.
  • the first image of the display area is input to the imaging device identification model
  • the PCA dimensionality reduction algorithm is the first image of the display area based on the principal component analysis dimensionality reduction algorithm in the imaging device recognition model. Converted into image vector data; and then based on the Euclidean distance calculation formula and the image vector data, the first image of the display area and the camera device recognition model in the first image and the camera device recognition model are respectively calculated for the type image of the camera device and the type of the camera device that does not exist
  • the Euclidean distance between images based on the trained K value in the trained camera equipment recognition model, select the K points closest to the first image in the display area, and count the picture types belonging to the K points, which will be the most
  • the picture type determines the classification result of the first image in the display area.
  • Step S22 Determine whether there is an imaging device in the target display area according to the classification result of the first image in the display area.
  • the camera device exists or “the camera device does not exist"
  • FIG. 4 is a schematic flowchart of a third embodiment of a method for encrypting display information in this application.
  • the step S30 specifically includes:
  • Step S31 When there is a camera device in the target display area, determine whether there is a face image in the first image of the display area according to a preset face recognition model;
  • Step S32 If the face image exists in the first image of the display area, collect a second image of the display area of the target display area according to a second preset frequency, wherein the second preset frequency is greater than all the images.
  • Step S33 judging whether the facial emotion in the second image of the display area is the target facial emotion according to the preset emotion recognition model
  • Step S34 when the facial emotion in the second image of the display area is the target facial emotion, turn off the current display information of the current device to prevent leakage of display information.
  • a face recognition model that is, a face recognition model obtained by acquiring multiple face data for training
  • the terminal collects the second image of the display area at a second preset frequency, where the second preset frequency is greater than the first preset frequency. In this way, the terminal recognizes that there is a camera device in the image and there is a human face, which means that the current text content is at a high risk of leaking, and the image can be collected at a larger frequency, the recognition is more accurate, and the vigilance is increased.
  • emotion recognition is performed on the human face to obtain the recognition result, and corresponding security measures are taken according to the recognition result.
  • the emotion recognition model can be used to obtain the emotion recognition model by obtaining facial data containing multiple emotions. If the face in the image is a nervous emotion, it means that the current text content is very serious. Large risk of leakage, cancel the display of the current text content on the screen. In this way, more confidential measures can be taken to prevent information leakage.
  • step S30 specifically includes:
  • the imaging device When the imaging device is aimed at the currently displayed information, the currently displayed information of the current device is turned off to prevent the leakage of the displayed information.
  • the first preset camera device recognition model it is determined by the first preset camera device recognition model that the current text content is displayed in the display area of the camera device. Specifically, if there is a camera device, the second preset camera device recognition model is used to monitor whether the camera device is The text content is aligned. In the same way, the second preset camera device recognition model is obtained by pre-collecting a large amount of screen-aligned image data and non-aligned computer screen image data for training. Among them, the image is input to the second preset camera device recognition model, and emotion recognition is performed on the image at the same time, and an output result is obtained, that is, "the camera device is aligned with the current text content" or "the camera device is present but not aligned. The result of the current text content.
  • the embodiment of the present application also provides an encryption device for displaying information.
  • FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the encryption device for displaying information of this application.
  • the encryption device for displaying information includes:
  • the first image acquisition module 10 is configured to acquire the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches a preset sensitivity level, collect the The first image of the display area of the target display area corresponding to the current device;
  • the area equipment monitoring module 20 is configured to determine whether there is a camera device in the target display area according to a preset camera equipment recognition model and the first image of the display area;
  • the display information encryption module 30 is configured to perform corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area.
  • the regional equipment monitoring module 20 specifically includes:
  • An image classification unit configured to input the first image of the display area into the imaging device identification model to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the imaging device recognition model ;
  • the device judging unit is configured to judge whether there is an imaging device in the target display area according to the classification result of the first image in the display area.
  • image classification unit is also used for:
  • the first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
  • the encryption device for displaying information further includes an image preprocessing module, and the image preprocessing module is used for:
  • the display information encryption module 30 is also used for:
  • a second image of the display area of the target display area is collected according to a second preset frequency, where the second preset frequency is greater than the first Preset frequency
  • the current display information of the current device is turned off to prevent the leakage of the display information.
  • the display information encryption module 30 is also used for:
  • the imaging device When the imaging device is aimed at the currently displayed information, the currently displayed information of the current device is turned off to prevent the leakage of the displayed information.
  • first image acquisition module 10 is also used for:
  • the currently displayed information is text information
  • extract keywords in the currently displayed information and determine the target sensitivity level of the currently displayed information according to the keywords
  • the target sensitivity level reaches the preset sensitivity level
  • the first image of the display area of the target display area corresponding to the current device is acquired according to the first preset frequency.
  • each module in the encryption device for displaying information corresponds to each step in the embodiment of the encryption method for displaying information, and its functions and implementation processes are not repeated here.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the computer-readable storage medium of the present application stores an encryption program for display information, wherein when the encryption program for display information is executed by a processor, the steps of the encryption method for display information as described above are implemented.
  • the method implemented when the encryption program of the display information is executed can refer to the various embodiments of the encryption method of the display information of this application, which will not be repeated here.
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method, apparatus, and device for encrypting display information, and a storage medium. The method comprises: when display information of a current device is detected, acquiring a target sensitivity level of the current display information, and when the target sensitivity level reaches a preset sensitivity level, collecting, on the basis of a first preset frequency, a first display region image of a target display region corresponding to the current device (S10); determining, on the basis of a preset camera device identification model and of the first display region image, whether a camera device is present in the target display region (S20); and insofar as a camera device is present in the target display region, encrypting the current device and/or the current display information (S30). In addition, also related to the blockchain technology, the camera device identification model can be stored in a blockchain.

Description

显示信息的加密方法、装置、设备及存储介质Encryption method, device, equipment and storage medium for display information
本申请要求于2020年4月30日提交中国专利局、申请号为202010362798.X,发明名称为“显示信息的加密方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the Chinese Patent Office on April 30, 2020, the application number is 202010362798.X, and the invention title is "Encryption method, device, equipment and storage medium for displaying information", and its entire content Incorporated in this application by reference.
技术领域Technical field
本申请涉及信息安全技术领域,尤其涉及一种显示信息的加密方法、装置、设备及计算机可读存储介质。This application relates to the field of information security technology, and in particular to an encryption method, device, device, and computer-readable storage medium for displaying information.
背景技术Background technique
随着网络信息技术的快速发展,信息安全已经引起了个人、政府机构以及企业的重视。目前,为了防止内部敏感数据泄露,一般会采用通过内外网隔离、限制USB等各种防止往外传输数据的方式防止敏感信息的泄漏,由此防止特定计算机上的信息通过互联网、USB等物理接口传输到外面。但是,发明人意识到,通过手机摄像头或摄像机等设备将计算机屏幕内容拍摄后造成的信息泄漏,仍然很难避免。目前主要解决方案为:在计算机屏幕上加上水印,从而对屏幕内容进行标识以限制拍照等行为。但是,通过在屏幕上加水印的防止敏感信息泄漏的方式不能自由控制水印的添加与去除,因此会对屏幕内容的展示效果产生一定的影响,不仅降低了用户体验,而且显示信息防泄漏的效果较差。因此,如何解决现有设备显示信息防泄漏的效果较差,成为了目前亟待解决的技术问题。With the rapid development of network information technology, information security has attracted the attention of individuals, government agencies and enterprises. At present, in order to prevent the leakage of internal sensitive data, various methods such as isolating internal and external networks and restricting USB to prevent the transmission of data to prevent the leakage of sensitive information are generally used to prevent the leakage of sensitive information, thereby preventing the information on a specific computer from being transmitted through physical interfaces such as the Internet and USB. go outside. However, the inventor realized that it is still difficult to avoid information leakage caused by capturing the contents of a computer screen through a mobile phone camera or video camera. The main solution at present is to add a watermark to the computer screen to identify the screen content to restrict actions such as taking pictures. However, the method of preventing sensitive information leakage by adding watermarks on the screen cannot freely control the addition and removal of watermarks, so it will have a certain impact on the display effect of the screen content, which not only reduces the user experience, but also displays the effect of preventing information leakage. Poor. Therefore, how to solve the poor effect of preventing leakage of display information of the existing equipment has become a technical problem to be solved urgently at present.
技术解决方案Technical solutions
本申请的主要目的在于提供一种显示信息的加密方法、装置、设备及计算机可读存储介质,旨在解决现有设备显示信息防泄漏的效果较差的技术问题。The main purpose of this application is to provide an encryption method, device, device, and computer-readable storage medium for displaying information, aiming to solve the technical problem of poor anti-leakage effects of existing devices on displaying information.
为实现上述目的,本申请提供一种显示信息的加密方法,所述显示信息的加密方法包括以下步骤:In order to achieve the above objective, the present application provides an encryption method for display information. The encryption method for display information includes the following steps:
在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。When there is a camera device in the target display area, corresponding encryption processing is performed on the current device and/or the current display information.
此外,为实现上述目的,本申请还提供一种显示信息的加密装置,所述显示信息的加密装置包括:In addition, in order to achieve the above objective, the present application also provides an encryption device for displaying information, and the encryption device for displaying information includes:
第一图像获取模块,用于在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;The first image acquisition module is used to acquire the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, collect the current The first image of the display area of the target display area corresponding to the device;
区域设备监测模块,用于根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;An area device monitoring module, configured to determine whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
显示信息加密模块,用于在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。The display information encryption module is configured to perform corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area.
此外,为实现上述目的,本申请还提供一种显示信息的加密设备,所述显示信息的加密设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的显示信息的加密程序,其中所述显示信息的加密程序被所述处理器执行时,实现以下步骤:In addition, in order to achieve the above-mentioned object, the present application also provides an encryption device for displaying information. The encryption device for displaying information includes a processor, a memory, and display information that is stored on the memory and can be executed by the processor. The encryption program of the display information, when the encryption program of the display information is executed by the processor, the following steps are implemented:
在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。When there is a camera device in the target display area, corresponding encryption processing is performed on the current device and/or the current display information.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有显示信息的加密程序,其中所述显示信息的加密程序被处理器执行时,实现以下步骤:In addition, in order to achieve the above-mentioned object, the present application also provides a computer-readable storage medium that stores an encryption program for displaying information, where the encryption program for displaying information is executed by a processor. The following steps:
在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。When there is a camera device in the target display area, corresponding encryption processing is performed on the current device and/or the current display information.
本申请提供一种显示信息的加密方法,通过在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。通过上述方式,本申请在设备显示目标敏感级别的显示信息时,通过摄像设备识别模型识别当前设备对应的显示区域图像,即通过KNN算法以及预设图像类型对显示区域图像进行分类,以实时检测当前设备的显示区域内是否存在导致显示信息泄漏的摄像设备。由此,实时根据设备的显示区域是否存在摄像设备的情况,动态控制是否对当前设备中的显示信息进行加密,不仅可以有效规避通过摄像设备导致的信息泄漏,提高了设备显示信息的防泄漏效果,而且避免对设备所有显示信息添加水印,提升了用户体验,解决了现有设备显示信息防泄漏的效果较差的技术问题。The present application provides an encryption method for display information, by acquiring the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, according to the first preset frequency Collect the first image of the display area of the target display area corresponding to the current device; determine whether there is a camera in the target display area according to a preset camera device recognition model and the first image of the display area; display on the target When there is a camera device in the area, corresponding encryption processing is performed on the current device and/or the current display information. Through the above method, when the device displays the display information of the target sensitivity level, the present application recognizes the display area image corresponding to the current device through the camera device recognition model, that is, the display area image is classified through the KNN algorithm and the preset image type for real-time detection Whether there is a camera device that causes display information leakage in the display area of the current device. As a result, according to whether there is a camera device in the display area of the device, dynamically control whether to encrypt the display information in the current device in real time, not only can effectively avoid information leakage caused by the camera device, but also improve the anti-leakage effect of the device display information , And avoid adding a watermark to all the displayed information of the device, which improves the user experience and solves the technical problem of poor anti-leakage effect of the existing device display information.
附图说明Description of the drawings
图1为本申请实施例方案中涉及的显示信息的加密设备的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of an encryption device for displaying information involved in a solution of an embodiment of the application;
图2为本申请显示信息的加密方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for encrypting display information in this application;
图3为本申请显示信息的加密方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a method for encrypting display information in this application;
图4为本申请显示信息的加密方法第三实施例的流程示意图;4 is a schematic flowchart of a third embodiment of a method for encrypting display information in this application;
图5为本申请显示信息的加密装置第一实施例的功能模块示意图。FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the encryption device for displaying information in this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the present invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application.
本申请实施例涉及的显示信息的加密方法主要应用于显示信息的加密设备,该显示信息的加密设备可以是PC、便携计算机、移动终端等具有显示和处理功能的设备。The encryption method for display information involved in the embodiments of the present application is mainly applied to an encryption device for displaying information. The encryption device for displaying information may be a device with display and processing functions such as a PC, a portable computer, and a mobile terminal.
参照图1,图1为本申请实施例方案中涉及的显示信息的加密设备的硬件结构示意图。本申请实施例中,显示信息的加密设备可以包括处理器1001(例如CPU),通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信;用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard);网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口);存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器,存储器1005可选的还可以是独立于前述处理器1001的存储装置。Referring to FIG. 1, FIG. 1 is a schematic diagram of the hardware structure of the encryption device for displaying information involved in the solution of the embodiment of the application. In the embodiment of the present application, the encryption device for displaying information may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (Such as WI-FI interface); the memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can optionally also be a storage device independent of the aforementioned processor 1001 .
本领域技术人员可以理解,图1中示出的硬件结构并不构成对显示信息的加密设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the hardware structure shown in FIG. 1 does not constitute a limitation on the encryption device for displaying information, and may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
继续参照图1,图1中作为一种计算机可读存储介质的存储器1005可以包括操作系统、网络通信模块以及显示信息的加密程序。Continuing to refer to FIG. 1, the memory 1005 as a computer-readable storage medium in FIG. 1 may include an operating system, a network communication module, and an encrypted program for displaying information.
在图1中,网络通信模块主要用于连接服务器,与服务器进行数据通信;而处理器1001可以调用存储器1005中存储的显示信息的加密程序,并执行本申请实施例提供的显示信息的加密方法。In FIG. 1, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the encryption program of the display information stored in the memory 1005, and execute the encryption method of the display information provided by the embodiment of the present application .
本申请实施例提供了一种显示信息的加密方法。The embodiment of the present application provides an encryption method for display information.
参照图2,图2为本申请显示信息的加密方法第一实施例的流程示意图。Referring to FIG. 2, FIG. 2 is a schematic flowchart of a first embodiment of a method for encrypting display information in this application.
本实施例中,所述显示信息的加密方法包括以下步骤:In this embodiment, the encryption method of the displayed information includes the following steps:
步骤S10, 在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;Step S10: When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches a preset sensitivity level, the target display corresponding to the current device is collected according to the first preset frequency The first image of the display area of the area;
信息安全是现代互联网中一个重要的话题,无论是在特定的政府机构、或是各个企业内部的各种计算机系统,都会有一些特定的系统内的信息属于机密程度比较高的信息,而不应该被传输到外部互联网环境。而为了达到保密的目的,一般的方式都会通过内外网隔离、限制USB之类往外传输数据等各种形式杜绝敏感信息的泄漏。现在基本可以做到防止特定计算机上的信息通过互联网、USB等物理接口传输到外面。但是,通过手机摄像头、摄像机等设备将屏幕内容拍摄后造成的信息泄漏,仍然很难避免,目前两种解决方案,一种是限制拍照;另一种是在屏幕上加上水印,对屏幕内容进行标识,但是,这种方法需要一直对屏幕内容加上水印,不仅会影响用户体验,而且信息防泄漏的效果较差。本申请考虑到无论是什么设备,进行拍照、录像等,都会有一个对准被拍摄内容、对焦、拍摄过程,这是需要一定的时间的,在此时间内,通过人工智能的方式识别到屏幕前是否存在摄像设备拍摄屏幕的显示信息,以此为依据判断当前屏幕内容是否存在被拍摄的风险,然后再根据敏感内容的敏感等级,进行警告提示、添加水印、取消展示内容等操作,则可以有效规避通过手机摄像头、摄像机等拍照、录像等途径造成的信息泄漏。为了解决上述问题,本申请在设备显示目标敏感级别的显示信息时,通过摄像设备识别模型识别当前设备对应的显示区域图像,即通过KNN算法以及预设图像类型对显示区域图像进行分类,以实时检测当前设备的显示区域内是否存在导致显示信息泄漏的摄像设备。由此,实时根据设备的显示区域是否存在摄像设备的情况,动态控制是否对当前设备中的显示信息进行加密。具体地,当前显示信息包括文本信息、图片信息或者视频信息等。本实施例中,以文本信息为例进行说明。预设敏感级别可预先设置为“非敏感级别”、“一般敏感级别”、“高敏感级别”,终端可以实时或定时检测当前文本内容的敏感级别。具体实施例中,可通过获取多个包含有非敏感、一般敏感以及高敏感的文本内容,将多个包含有非敏感、一般敏感以及高敏感的文本内容作为训练集,将训练集输入至卷积神经网络进行训练,以构建敏感等级识别模型,并通过敏感等级识别模型检测当前文本内容的敏感级别。在检测到当前显示信息达到预设敏感级别时,通过终端的前置摄像头以第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像。第一预设频率是根据用户自己的需求设置的。Information security is an important topic in the modern Internet. Whether it is in a specific government agency or various computer systems in various enterprises, there will be some specific information in the system that is relatively confidential information, and should not be It is transmitted to the external Internet environment. In order to achieve the purpose of confidentiality, the general method will prevent the leakage of sensitive information through various forms such as isolation of internal and external networks, restriction of USB and other forms of data transmission to the outside. Now it is basically possible to prevent the information on a specific computer from being transmitted to the outside through physical interfaces such as the Internet and USB. However, it is still difficult to avoid the information leakage caused by shooting the screen content through mobile phone cameras, video cameras and other devices. At present, there are two solutions, one is to limit the shooting; the other is to add a watermark on the screen, However, this method needs to always add a watermark to the screen content, which not only affects the user experience, but also has a poor information leakage prevention effect. This application takes into account that no matter what equipment is used for taking photos, videos, etc., there will be a process of aligning, focusing, and shooting the content to be shot. This takes a certain amount of time. During this time, the screen is recognized by artificial intelligence. Whether there is the display information of the screen shot by the camera equipment before, use this as a basis to determine whether the current screen content is at risk of being shot, and then perform operations such as warning, adding watermark, and canceling the display content according to the sensitivity level of the sensitive content. Effectively avoid the information leakage caused by taking pictures and videos through mobile phone cameras, video cameras, etc. In order to solve the above problems, this application uses the camera device recognition model to identify the display area image corresponding to the current device when the device displays the display information of the target sensitivity level. Detect whether there is a camera device that causes display information leakage in the display area of the current device. Thus, in real time, according to whether there is a camera device in the display area of the device, it is dynamically controlled whether to encrypt the display information in the current device. Specifically, the currently displayed information includes text information, picture information, or video information. In this embodiment, text information is taken as an example for description. The preset sensitivity level can be preset to "non-sensitive level", "general sensitivity level", and "high sensitivity level". The terminal can detect the sensitivity level of the current text content in real time or regularly. In a specific embodiment, multiple text content containing non-sensitive, general sensitive, and high sensitivity can be obtained, and multiple text content containing non-sensitive, generally sensitive, and highly sensitive can be used as the training set, and the training set can be input to the volume. The product neural network is trained to build a sensitivity level recognition model, and the sensitivity level of the current text content is detected through the sensitivity level recognition model. When it is detected that the current display information reaches the preset sensitivity level, the first image of the display area of the target display area corresponding to the current device is collected through the front camera of the terminal at the first preset frequency. The first preset frequency is set according to the user's own needs.
进一步地,所述步骤S10具体包括:Further, the step S10 specifically includes:
在监测到当前设备显示信息时,判断所述当前显示信息是否为文本信息;When the current device display information is monitored, determine whether the current display information is text information;
在所述当前显示信息是否为文本信息时,提取所述当前显示信息中的关键字,并根据所述关键字确定所述当前显示信息的目标敏感级别;When the currently displayed information is text information, extract keywords in the currently displayed information, and determine the target sensitivity level of the currently displayed information according to the keywords;
在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像。When the target sensitivity level reaches the preset sensitivity level, the first image of the display area of the target display area corresponding to the current device is acquired according to the first preset frequency.
本实施例中,终端检测到当前文本信息时,提取当前文本信息的关键词,判断关键词是否是预设存储关键词,若关键词是预设存储关键词,则根据关键词确定当前文本信息的敏感等级。若检测到当前文本信息的敏感级别属于预设敏感级别中的非敏感级别时,则不对当前文本进行任何的操作,即当前文本内容不需要进行保护;若检测到当前文本信息的敏感级别属于一般敏感级别时,则通过终端的前置摄像头获取当前用户的人脸信息,检测当前用户的人脸信息是否与预设存储用户的人脸信息匹配,若当前用户不为预设存储用户时,则将屏幕当前文本内容添加包含预设存储用户信息以及当前用户的信息的水印,若当前用户为预设存储用户时,则将屏幕当前文本添加包含预设存储用户的信息的水印;若检测到当前文本内容属于预设敏感级别中的高敏感级别时,则通过终端的前置摄像头检测当前文本内容的展示区域是否存在摄像设备。In this embodiment, when the terminal detects the current text information, it extracts the keywords of the current text information and determines whether the keywords are preset storage keywords. If the keywords are preset storage keywords, the current text information is determined according to the keywords. Sensitivity level. If it is detected that the sensitivity level of the current text information belongs to the non-sensitive level in the preset sensitivity level, no operation is performed on the current text, that is, the current text content does not need to be protected; if the sensitivity level of the current text information is detected as normal When the sensitivity level is sensitive, the face information of the current user is obtained through the front camera of the terminal to detect whether the face information of the current user matches the face information of the preset storage user. If the current user is not the preset storage user, then Add a watermark containing the preset stored user information and the current user's information to the current text on the screen. If the current user is a preset storage user, add the current text on the screen with a watermark containing the preset stored user information; if the current user is detected When the text content belongs to the high sensitivity level among the preset sensitivity levels, the front camera of the terminal detects whether there is a camera device in the display area of the current text content.
进一步地,所述步骤S10之后,还包括:Further, after the step S10, it further includes:
对所述显示区域第一图像进行去模糊化、灰度化或二值化处理,并通过中值滤波、均值滤波或自适应维纳滤波对处理后的显示区域第一图像进行图像降噪处理。Perform defuzzification, grayscale or binarization processing on the first image of the display area, and perform image noise reduction processing on the processed first image of the display area through median filtering, average filtering or adaptive Wiener filtering .
本实施例中,终端以第一预设频率采集图像,将图像进行预处理,并判断预处理后的图像是否存在摄像设备,若存在摄像设备,则判断图像是否存在人脸。其中,预处理过程为:对该图像进行去模糊化处理,即使用Laplacian算法识别模糊图像,若图像模糊,则放弃对该图像的检测。另外,还对图像进行灰度化或者二值化处理。灰度化处理即为:采用RGB模型表示图像的每个像素点,取每个像素点的R、G、B的平均值代替原来的R、G、B的值,以得到当前图像的灰度值;二值化处理即为:将图像的像素点分为黑色和白色两部分,黑色的视为前景信息,白色的则视为背景信息,以处理掉原始图像除目标文字外的其他物体、背景等。终端还对图片进行图像降噪,即采用中值滤波、均值滤波、自适应维纳滤波等方式进行滤波,以处理图像采集、压缩、传输等过程中导致的图像噪声。In this embodiment, the terminal collects an image at a first preset frequency, preprocesses the image, and determines whether the preprocessed image has a camera device, and if there is a camera device, it determines whether the image has a human face. Among them, the preprocessing process is: deblurring the image, that is, using the Laplacian algorithm to identify the blurred image, and if the image is blurred, the detection of the image is abandoned. In addition, the image is also grayed out or binarized. The gray-scale processing is: use the RGB model to represent each pixel of the image, and take the average value of R, G, and B of each pixel to replace the original R, G, and B values to obtain the current image's grayscale Value; binarization processing is: divide the pixels of the image into two parts, black and white, black as foreground information, white as background information, in order to process the original image except for the target text other objects, Background etc. The terminal also performs image noise reduction on the pictures, that is, filtering by means of median filtering, mean filtering, adaptive Wiener filtering, etc., to deal with the image noise caused by the process of image acquisition, compression, and transmission.
步骤S20,根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Step S20: Determine whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
本实施例中,将预处理后的图像输入至预设摄像设备识别模型中。具体实施例中,终端预先采集大量的存在终端摄像头、摄像机或者其它类型摄像设备的图像数据,将上述图像数据作为训练集进行训练得到第一预设摄像设备识别模型。即采用邻近算法(K-nearest Neighbors,KNN),对所述显示区域第一图像进行分类,确定该显示区域第一图像是存在摄像设备类型图像还是不存在摄像设备类型图像。由此,确定所述目标显示区域内是否存在摄像设备。In this embodiment, the preprocessed image is input into the preset camera equipment recognition model. In a specific embodiment, the terminal pre-collects a large number of image data that exist in the terminal camera, video camera, or other types of camera equipment, and trains the above-mentioned image data as a training set to obtain the first preset camera equipment recognition model. That is, the K-nearest Neighbors (KNN) is used to classify the first image of the display area, and it is determined whether the first image of the display area has a camera device type image or does not have a camera device type image. Thus, it is determined whether there is an imaging device in the target display area.
步骤S30,在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。Step S30, when there is a camera device in the target display area, perform corresponding encryption processing on the current device and/or current display information.
本实施例中,终端在检测到目标显示区域内存在摄像设备对准当前文本内容,则关闭当前设备,或者对屏幕当前文本内容进行取消展示;若终端检测到存在摄像设备不是对准当前文本内容的,则发送提示信息给用户,即提示信息为“检测到摄像设备,谨防泄漏敏感信息”。由此,根据预设加密策略,对所述当前设备和/或当前显示信息进行对应加密处理。In this embodiment, when the terminal detects that there is a camera device in the target display area that is aimed at the current text content, it turns off the current device or cancels the display of the current text content on the screen; if the terminal detects that there is a camera device that is not aimed at the current text content If yes, a prompt message is sent to the user, that is, the prompt message is "Camera equipment detected, beware of leaking sensitive information". Thus, according to a preset encryption strategy, corresponding encryption processing is performed on the current device and/or current display information.
本实施例提供一种显示信息的加密方法,通过在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。通过上述方式,本申请在设备显示目标敏感级别的显示信息时,通过摄像设备识别模型识别当前设备对应的显示区域图像,即通过KNN算法以及预设图像类型对显示区域图像进行分类,以实时检测当前设备的显示区域内是否存在导致显示信息泄漏的摄像设备。由此,实时根据设备的显示区域是否存在摄像设备的情况,动态控制是否对当前设备中的显示信息进行加密,不仅可以有效规避通过摄像设备导致的信息泄漏,提高了设备显示信息的防泄漏效果,而且避免对设备所有显示信息添加水印,提升了用户体验,解决了现有设备显示信息防泄漏的效果较差的技术问题。This embodiment provides an encryption method for display information, by acquiring the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, according to the first preset Frequency collection of the first image of the display area of the target display area corresponding to the current device; according to a preset camera device recognition model and the first image of the display area, it is determined whether there is a camera device in the target display area; When there is a camera device in the display area, corresponding encryption processing is performed on the current device and/or the current display information. Through the above method, when the device displays the display information of the target sensitivity level, the present application recognizes the display area image corresponding to the current device through the camera device recognition model, that is, the display area image is classified through the KNN algorithm and the preset image type for real-time detection Whether there is a camera device that causes display information leakage in the display area of the current device. As a result, according to whether there is a camera device in the display area of the device, dynamically control whether to encrypt the display information in the current device in real time, not only can effectively avoid information leakage caused by the camera device, but also improve the anti-leakage effect of the device display information , And avoid adding a watermark to all the displayed information of the device, which improves the user experience and solves the technical problem of poor anti-leakage effect of the existing device display information.
参照图3,图3为本申请显示信息的加密方法第二实施例的流程示意图。Referring to FIG. 3, FIG. 3 is a schematic flowchart of a second embodiment of a method for encrypting display information in this application.
基于上述图2所示实施例,本实施例中,所述步骤S20具体包括:Based on the embodiment shown in FIG. 2 above, in this embodiment, the step S20 specifically includes:
步骤S21,将所述显示区域第一图像输入至所述摄像设备设别模型,以通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果;Step S21, inputting the first image of the display area into the imaging device identification model, so as to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the imaging device recognition model;
本实施例中,将预处理后的图像输入至第一预设摄像设备识别模型(终端预先采集大量的存在终端摄像头、摄像机或者其它类型摄像设备的图像数据,将上述图像数据作为训练集进行训练得到第一预设摄像设备识别模型),即采用KNN(K-nearest Neighbors)算法,首先对图片采用主分量分析降维算法(principal components analysis,PCA),将图像信息转化为矢量表,然后选择欧氏距离作为距离计算方式计算,通过计算各类型图像点对应的矢量之间的距离,并选取KNN算法选取K个距离最近的点,在各类型图像中确定K个点的分布。其中,默认采取k=5,根据训练机效果调整取值得到最终的k值。计算目标图像点与各个类型图像之间的欧氏距离,根据k值判断其属于哪个类,即输出“存在摄像设备”或者“不存在摄像设备”的分类结果。In this embodiment, the preprocessed image is input to the first preset camera device recognition model (the terminal collects a large amount of image data of the terminal camera, video camera, or other types of camera devices in advance, and uses the above image data as a training set for training Obtain the first preset camera equipment recognition model), that is, use KNN (K-nearest Neighbors) algorithm. Firstly, the principal components analysis (PCA) is used for the picture to convert the image information into a vector table, and then the Euclidean distance is selected as the distance calculation method, and the vector corresponding to each type of image point is calculated. The KNN algorithm is selected to select K points with the closest distance, and the distribution of K points in each type of image is determined. Among them, k=5 is adopted by default, and the final value of k is obtained by adjusting the value according to the effect of the training machine. Calculate the Euclidean distance between the target image point and each type of image, and determine which class it belongs to according to the k value, that is, output the classification result of "camera equipment present" or "camera equipment absent".
需要强调的是,为进一步保证上述摄像设备设别模型的私密和安全性,上述摄像设备设别模型还可以存储于一区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned camera equipment design model, the above-mentioned camera equipment design model can also be stored in a node of a blockchain.
进一步地,所述步骤S21具体包括:Further, the step S21 specifically includes:
将所述显示区域第一图像输入至所述摄像设备设别模型,基于所述摄像设备识别模型中的主分量分析降维算法PCA降维算法将所述显示区域第一图像转化为图像矢量数据;The first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
基于欧式距离计算公式以及所述图像矢量数据,分别计算所述显示区域第一图像与所述摄像设备识别模型中的存在摄像设备的类型图像以及不存在摄像设备的类型图像之间的欧式距离;Based on the Euclidean distance calculation formula and the image vector data, respectively calculate the Euclidean distance between the first image of the display area and the type image of the camera device and the type image of the camera device in the camera device recognition model;
基于所述显示区域第一图像与各类型图像的欧式距离以及所述KNN算法,确定所述显示区域第一图像的分类结果。Determine the classification result of the first image in the display area based on the Euclidean distance between the first image in the display area and each type of image and the KNN algorithm.
本实施例中的摄像设备识别模型的具体构建步骤如下:The specific construction steps of the camera device recognition model in this embodiment are as follows:
1、预先采集大量的手机摄像头、摄像机或者其它类型摄像设备对准电脑屏幕的图片数据,存在手机摄像头、摄像机或者其它类型摄像设备但无对准电脑屏幕的图片数据,以及其它不相关的图片数据。1. Pre-acquisition a large number of image data from mobile phone cameras, cameras or other types of camera equipment aimed at the computer screen, there are image data from mobile phone cameras, cameras or other types of camera equipment but not aimed at the computer screen, and other irrelevant image data .
2、对上述图片数据进行标示分类,分为“存在摄像设备对准屏幕”、“存在摄像设备但无对准屏幕”、“不存在摄像设备”三类图片,并将数据分为训练集以及测试集,使用训练集训练模型,测试集进行测试。2. Mark and classify the above-mentioned picture data into three types of pictures: "Camera equipment is present on the screen", "Camera equipment is present but not on the screen", "Camera equipment is not present", and the data is divided into training sets and Test set, use the training set to train the model, and the test set for testing.
3、首先,进行一次二分类,即分为“有摄像设备”、“无摄像设备”两个类别,可以采用KNN(K-nearest Neighbors )进行分类,具体为:3. First, perform a two-class classification, that is, into two categories: "with camera equipment" and "without camera equipment". KNN (K-nearest Neighbors) for classification, specifically:
(1)、通过PCA降维算法将各图像进行降维,并将各图像转化为矢量表示;(1), through the PCA dimensionality reduction algorithm to reduce the dimensionality of each image, and convert each image into a vector representation;
(2)、选择欧氏距离作为距离计算方式计算测试数据与各个训练数据之间的距离,d=sqrt(∑(x i1-xi 2) ^2); (2) Choose Euclidean distance as the distance calculation method to calculate the distance between the test data and each training data, d=sqrt(∑(x i1 -xi 2 ) ^2 );
具体实施例中,距离的度量,常用的方法有:欧氏距离、余弦值(cos)、相关度(correlation)、曼哈顿距离(Manhattan distance)或其他。In specific embodiments, commonly used methods for measuring distance include: Euclidean distance, cosine value (cos), correlation, Manhattan distance, or others.
(3)、计算训练集数据,T=(x 1,y 1),(x 2,y 2),...,(x N,y N); (3). Calculate the training set data, T=(x 1 ,y 1 ),(x 2 ,y 2 ),...,(x N ,y N );
(4)、按照距离的递增关系进行排序,选取距离最小的K个点,确定前K个点所在类别的出现频率,返回前K个点中出现频率最高的类别作为测试数据的预测分类。(4) Sort according to the increasing relationship of distance, select the K points with the smallest distance, determine the appearance frequency of the category of the first K points, and return the category with the highest appearance frequency among the first K points as the predicted classification of the test data.
由于,当K的取值过小时,一旦有噪声得成分存在们将会对预测产生比较大影响,例如取K值为1时,一旦最近的一个点是噪声,那么就会出现偏差,K值的减小就意味着整体模型变得复杂,容易发生过拟合;如果K的值取的过大时,就相当于用较大邻域中的训练实例进行预测,学习的近似误差会增大。这时与输入目标点较远实例也会对预测起作用,使预测发生错误。K值的增大就意味着整体的模型变得简单;如果K==N的时候,那么就是取全部的实例,即为取实例中某分类下最多的点,就对预测没有什么实际的意义了;Because, when the value of K is too small, once there are noise components, they will have a greater impact on the prediction. For example, when the K value is 1, once the nearest point is noise, then there will be a deviation, the K value The decrease of means that the overall model becomes complicated and is prone to overfitting; if the value of K is too large, it is equivalent to predicting with training examples in a larger neighborhood, and the approximate error of learning will increase . At this time, instances far away from the input target point will also play a role in the prediction, making the prediction wrong. The increase of the K value means that the overall model becomes simple; if K==N, then all instances are taken, that is, to take the most points under a certain category in the instances, which has no practical significance for prediction NS;
本实施例中,K的取值尽量要取奇数,以保证在计算结果最后会产生一个较多的类别,如果取偶数可能会产生相等的情况,不利于预测。具体地,默认采取k=5,根据训练机效果调整取值得到最终的k值。In this embodiment, the value of K should be an odd number as much as possible to ensure that more categories will be generated at the end of the calculation result. If an even number is selected, an equal situation may be generated, which is not conducive to prediction. Specifically, k=5 is adopted by default, and the final value of k is obtained by adjusting the value according to the effect of the training machine.
(5)、计算目标图像的欧氏距离,根据k值判断其属于哪个类,输出结果。(5) Calculate the Euclidean distance of the target image, determine which class it belongs to according to the k value, and output the result.
y=argmaxc j∑x i∈Nk(x)I(y i=c j),i=1,2,...,N; y=argmaxc j ∑x i ∈Nk(x)I(y i = c j) ,i=1,2,...,N;
若上述步骤的二分类器结果为无摄像设备,则输出结果为“无摄像设备”,若为“有摄像设备”,则还需要区分“对准屏幕”、“无对准屏幕”两种情况,这时只需要构建另一个KNN分类器进行二分类即可将所有数据分为“存在摄像设备对准屏幕”、“存在摄像设备但无对准屏幕”、“不存在摄像设备”三类。If the result of the second classifier in the above steps is no camera equipment, the output result is "no camera equipment", if it is "camera equipment", you need to distinguish between "aligned to the screen" and "non-aligned to the screen". At this time, it is only necessary to build another KNN classifier to perform two classifications, and all data can be divided into three categories: "camera equipment exists but is aimed at the screen", "camera equipment exists but not aimed at the screen", and "camera equipment does not exist".
本实施例中,将所述显示区域第一图像输入至所述摄像设备设别模型,基于所述摄像设备识别模型中的主分量分析降维算法PCA降维算法将所述显示区域第一图像转化为图像矢量数据;然后基于欧式距离计算公式以及所述图像矢量数据,分别计算所述显示区域第一图像与所述摄像设备识别模型中的存在摄像设备的类型图像以及不存在摄像设备的类型图像之间的欧式距离;基于训练后的摄像设备识别模型中训练好的K值,选取距离所述显示区域第一图像最近的K个点,并统计该K个点属的图片类型,将最多的图片类型确定所述显示区域第一图像的分类结果。In this embodiment, the first image of the display area is input to the imaging device identification model, and the PCA dimensionality reduction algorithm is the first image of the display area based on the principal component analysis dimensionality reduction algorithm in the imaging device recognition model. Converted into image vector data; and then based on the Euclidean distance calculation formula and the image vector data, the first image of the display area and the camera device recognition model in the first image and the camera device recognition model are respectively calculated for the type image of the camera device and the type of the camera device that does not exist The Euclidean distance between images; based on the trained K value in the trained camera equipment recognition model, select the K points closest to the first image in the display area, and count the picture types belonging to the K points, which will be the most The picture type determines the classification result of the first image in the display area.
步骤S22,根据所述显示区域第一图像的分类结果,判断所述目标显示区域内是否存在摄像设备。Step S22: Determine whether there is an imaging device in the target display area according to the classification result of the first image in the display area.
本实施例中,根据最多图像点所属的图像类型,即“存在摄像设备”或者“不存在摄像设备”,确定所述当前设备对应的显示区域是否存在摄像设备。In this embodiment, according to the image type to which the most image points belong, that is, "the camera device exists" or "the camera device does not exist", it is determined whether there is a camera device in the display area corresponding to the current device.
参照图4,图4为本申请显示信息的加密方法第三实施例的流程示意图。Referring to FIG. 4, FIG. 4 is a schematic flowchart of a third embodiment of a method for encrypting display information in this application.
基于上述图3所示实施例,本实施例中,所述步骤S30具体包括:Based on the embodiment shown in FIG. 3, in this embodiment, the step S30 specifically includes:
步骤S31,在所述目标显示区域内存在摄像设备时,根据预设人脸识别模型,判断所述显示区域第一图像中是否存在人脸图像;Step S31: When there is a camera device in the target display area, determine whether there is a face image in the first image of the display area according to a preset face recognition model;
步骤S32,若所述显示区域第一图像中存在所述人脸图像,则根据第二预设频率采集所述目标显示区域的显示区域第二图像,其中,所述第二预设频率大于所述第一预设频率;Step S32: If the face image exists in the first image of the display area, collect a second image of the display area of the target display area according to a second preset frequency, wherein the second preset frequency is greater than all the images. The first preset frequency;
步骤S33,根据预设情绪识别模型,判断所述显示区域第二图像中的人脸情绪是否为目标人脸情绪;Step S33, judging whether the facial emotion in the second image of the display area is the target facial emotion according to the preset emotion recognition model;
步骤S34,在所述显示区域第二图像中的人脸情绪为所述目标人脸情绪时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。Step S34, when the facial emotion in the second image of the display area is the target facial emotion, turn off the current display information of the current device to prevent leakage of display information.
本实施例中,若所述显示区域第一图像中存在摄像设备,则通过人脸识别模型(即获取多个人脸数据进行训练得到人脸识别模型),判断该图像是否存在人脸。若存在人脸,则终端以第二预设频率采集显示区域第二图像,其中,第二预设频率大于第一预设频率。这样,终端识别到图像中存在摄像设备,且存在人脸,即说明当前文本内容泄露的风险很大,可以以较大的频率采集图像,识别更准确,提高警惕性。若显示区域第二图像确定存在人脸,则对人脸进行情绪识别,以得到识别结果,根据识别结果做出相应的保密措施。其中,可以通过情绪识别模型(获取包含多种情绪的人脸数据进行训练得到情绪识别模型)对人脸进行情绪识别,若该图像中的人脸为紧张的情绪,即说明当前文本内容存在很大的泄露风险,对屏幕当前文本内容进行取消展示。这样,可以采取更加保密的措施,以防止信息泄露。In this embodiment, if there is a camera device in the first image of the display area, a face recognition model (that is, a face recognition model obtained by acquiring multiple face data for training) is used to determine whether there is a face in the image. If there is a human face, the terminal collects the second image of the display area at a second preset frequency, where the second preset frequency is greater than the first preset frequency. In this way, the terminal recognizes that there is a camera device in the image and there is a human face, which means that the current text content is at a high risk of leaking, and the image can be collected at a larger frequency, the recognition is more accurate, and the vigilance is increased. If it is determined that there is a human face in the second image of the display area, emotion recognition is performed on the human face to obtain the recognition result, and corresponding security measures are taken according to the recognition result. Among them, the emotion recognition model can be used to obtain the emotion recognition model by obtaining facial data containing multiple emotions. If the face in the image is a nervous emotion, it means that the current text content is very serious. Large risk of leakage, cancel the display of the current text content on the screen. In this way, more confidential measures can be taken to prevent information leakage.
进一步地,所述步骤S30具体包括:Further, the step S30 specifically includes:
在所述目标显示区域内存在所述摄像设备时,根据所述摄像设备识别模型判断所述摄像设备是否对准所述当前显示信息;When the camera device exists in the target display area, judging whether the camera device is aligned with the current display information according to the camera device recognition model;
在所述摄像设备对准所述当前显示信息时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the imaging device is aimed at the currently displayed information, the currently displayed information of the current device is turned off to prevent the leakage of the displayed information.
本实施例中,通过第一预设摄像设备识别模型确定当前文本内容的展示区域存在摄像设备,具体地,若存在摄像设备时,则通过第二预设摄像设备识别模型监测摄像设备是否对当前文本内容进行对准。同理地,第二预设摄像设备识别模型是预先采集大量的对准屏幕的图片数据以及无对准电脑屏幕的图片数据进行训练得到的。其中,将图像输入至第二预设摄像设备识别模型,且同时对该图像进行情绪识别,得出一个输出结果,即“存在摄像设备对准当前文本内容”或者“存在摄像设备但无对准当前文本内容”的结果。In this embodiment, it is determined by the first preset camera device recognition model that the current text content is displayed in the display area of the camera device. Specifically, if there is a camera device, the second preset camera device recognition model is used to monitor whether the camera device is The text content is aligned. In the same way, the second preset camera device recognition model is obtained by pre-collecting a large amount of screen-aligned image data and non-aligned computer screen image data for training. Among them, the image is input to the second preset camera device recognition model, and emotion recognition is performed on the image at the same time, and an output result is obtained, that is, "the camera device is aligned with the current text content" or "the camera device is present but not aligned. The result of the current text content.
此外,本申请实施例还提供一种显示信息的加密装置。In addition, the embodiment of the present application also provides an encryption device for displaying information.
参照图5,图5为本申请显示信息的加密装置第一实施例的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of the functional modules of the first embodiment of the encryption device for displaying information of this application.
本实施例中,所述显示信息的加密装置包括:In this embodiment, the encryption device for displaying information includes:
第一图像获取模块10,用于在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;The first image acquisition module 10 is configured to acquire the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches a preset sensitivity level, collect the The first image of the display area of the target display area corresponding to the current device;
区域设备监测模块20,用于根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;The area equipment monitoring module 20 is configured to determine whether there is a camera device in the target display area according to a preset camera equipment recognition model and the first image of the display area;
显示信息加密模块30,用于在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。The display information encryption module 30 is configured to perform corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area.
进一步地,所述区域设备监测模块20具体包括:Further, the regional equipment monitoring module 20 specifically includes:
图像分类单元,用于将所述显示区域第一图像输入至所述摄像设备设别模型,以通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果;An image classification unit, configured to input the first image of the display area into the imaging device identification model to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the imaging device recognition model ;
设备判断单元,用于根据所述显示区域第一图像的分类结果,判断所述目标显示区域内是否存在摄像设备。The device judging unit is configured to judge whether there is an imaging device in the target display area according to the classification result of the first image in the display area.
进一步地,所述图像分类单元还用于:Further, the image classification unit is also used for:
将所述显示区域第一图像输入至所述摄像设备设别模型,基于所述摄像设备识别模型中的主分量分析降维算法PCA降维算法将所述显示区域第一图像转化为图像矢量数据;The first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
基于欧式距离计算公式以及所述图像矢量数据,分别计算所述显示区域第一图像与所述摄像设备识别模型中的存在摄像设备的类型图像以及不存在摄像设备的类型图像之间的欧式距离;Based on the Euclidean distance calculation formula and the image vector data, respectively calculate the Euclidean distance between the first image of the display area and the type image of the camera device and the type image of the camera device in the camera device recognition model;
基于所述显示区域第一图像与各类型图像的欧式距离以及所述KNN算法,确定所述显示区域第一图像的分类结果。Determine the classification result of the first image in the display area based on the Euclidean distance between the first image in the display area and each type of image and the KNN algorithm.
进一步地,所述显示信息的加密装置还包括图像预处理模块,所述图像预处理模块用于:Further, the encryption device for displaying information further includes an image preprocessing module, and the image preprocessing module is used for:
对所述显示区域第一图像进行去模糊化、灰度化或二值化处理,并通过中值滤波、均值滤波或自适应维纳滤波对处理后的显示区域第一图像进行图像降噪处理。Perform defuzzification, grayscale or binarization processing on the first image of the display area, and perform image noise reduction processing on the processed first image of the display area through median filtering, average filtering or adaptive Wiener filtering .
进一步地,所述显示信息加密模块30还用于:Further, the display information encryption module 30 is also used for:
在所述目标显示区域内存在摄像设备时,根据预设人脸识别模型,判断所述显示区域第一图像中是否存在人脸图像;When there is a camera device in the target display area, judging whether there is a face image in the first image of the display area according to a preset face recognition model;
若所述显示区域第一图像中存在所述人脸图像,则根据第二预设频率采集所述目标显示区域的显示区域第二图像,其中,所述第二预设频率大于所述第一预设频率;If the face image exists in the first image of the display area, a second image of the display area of the target display area is collected according to a second preset frequency, where the second preset frequency is greater than the first Preset frequency
根据预设情绪识别模型,判断所述显示区域第二图像中的人脸情绪是否为目标人脸情绪;Judging whether the facial emotion in the second image of the display area is the target facial emotion according to a preset emotion recognition model;
在所述显示区域第二图像中的人脸情绪为所述目标人脸情绪时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the facial emotion in the second image of the display area is the target facial emotion, the current display information of the current device is turned off to prevent the leakage of the display information.
进一步地,所述显示信息加密模块30还用于:Further, the display information encryption module 30 is also used for:
在所述目标显示区域内存在所述摄像设备时,根据所述摄像设备识别模型判断所述摄像设备是否对准所述当前显示信息;When the camera device exists in the target display area, judging whether the camera device is aligned with the current display information according to the camera device recognition model;
在所述摄像设备对准所述当前显示信息时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the imaging device is aimed at the currently displayed information, the currently displayed information of the current device is turned off to prevent the leakage of the displayed information.
进一步地,所述第一图像获取模块10还用于:Further, the first image acquisition module 10 is also used for:
在监测到当前设备显示信息时,判断所述当前显示信息是否为文本信息;When the current device display information is monitored, determine whether the current display information is text information;
在所述当前显示信息是否为文本信息时,提取所述当前显示信息中的关键字,并根据所述关键字确定所述当前显示信息的目标敏感级别;When the currently displayed information is text information, extract keywords in the currently displayed information, and determine the target sensitivity level of the currently displayed information according to the keywords;
在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像。When the target sensitivity level reaches the preset sensitivity level, the first image of the display area of the target display area corresponding to the current device is acquired according to the first preset frequency.
其中,上述显示信息的加密装置中各个模块与上述显示信息的加密方法实施例中各步骤相对应,其功能和实现过程在此处不再一一赘述。Among them, each module in the encryption device for displaying information corresponds to each step in the embodiment of the encryption method for displaying information, and its functions and implementation processes are not repeated here.
此外,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性的,也可以是易失性的。In addition, the embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium may be non-volatile or volatile.
本申请计算机可读存储介质上存储有显示信息的加密程序,其中所述显示信息的加密程序被处理器执行时,实现如上述的显示信息的加密方法的步骤。The computer-readable storage medium of the present application stores an encryption program for display information, wherein when the encryption program for display information is executed by a processor, the steps of the encryption method for display information as described above are implemented.
其中,显示信息的加密程序被执行时所实现的方法可参照本申请显示信息的加密方法的各个实施例,此处不再赘述。Among them, the method implemented when the encryption program of the display information is executed can refer to the various embodiments of the encryption method of the display information of this application, which will not be repeated here.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disks, optical disks), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种显示信息的加密方法,其中,所述显示信息的加密方法包括以下步骤:An encryption method for display information, wherein the encryption method for display information includes the following steps:
    在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
    根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
    在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。When there is a camera device in the target display area, corresponding encryption processing is performed on the current device and/or the current display information.
  2. 如权利要求1所述的显示信息的加密方法,其中,所述根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备的步骤具体包括:The method for encrypting display information according to claim 1, wherein the step of judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area specifically comprises:
    将所述显示区域第一图像输入至所述摄像设备识别模型,以通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果,所述摄像设备识别模型存储于区块链中;The first image of the display area is input to the camera device recognition model to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the camera device recognition model, and the camera device recognition model Stored in the blockchain;
    根据所述显示区域第一图像的分类结果,判断所述目标显示区域内是否存在摄像设备。According to the classification result of the first image in the display area, it is determined whether there is an imaging device in the target display area.
  3. 如权利要求2所述的显示信息的加密方法,其中,所述将所述显示区域第一图像输入至所述摄像设备设别模型,并通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果的步骤具体包括:The method for encrypting display information according to claim 2, wherein said inputting said first image of said display area into said imaging device identification model, and identifying the proximity algorithm in the model by said imaging device using KNN algorithm, The step of outputting the classification result of the first image in the display area specifically includes:
    将所述显示区域第一图像输入至所述摄像设备设别模型,基于所述摄像设备识别模型中的主分量分析降维算法PCA降维算法将所述显示区域第一图像转化为图像矢量数据;The first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
    基于欧式距离计算公式以及所述图像矢量数据,分别计算所述显示区域第一图像与所述摄像设备识别模型中的存在摄像设备的类型图像以及不存在摄像设备的类型图像之间的欧式距离;Based on the Euclidean distance calculation formula and the image vector data, respectively calculate the Euclidean distance between the first image of the display area and the type image of the camera device and the type image of the camera device in the camera device recognition model;
    基于所述显示区域第一图像与各类型图像的欧式距离以及所述KNN算法,确定所述显示区域第一图像的分类结果。Determine the classification result of the first image in the display area based on the Euclidean distance between the first image in the display area and each type of image and the KNN algorithm.
  4. 如权利要求1所述的显示信息的加密方法,其中,所述在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像的步骤之后,还包括:The method for encrypting display information according to claim 1, wherein when the current device display information is monitored, the target sensitivity level of the current display information is acquired, and when the target sensitivity level reaches a preset sensitivity level, After the step of collecting the first image of the display area of the target display area corresponding to the current device at the first preset frequency, the method further includes:
    对所述显示区域第一图像进行去模糊化、灰度化或二值化处理,并通过中值滤波、均值滤波或自适应维纳滤波对处理后的显示区域第一图像进行图像降噪处理。Perform defuzzification, grayscale or binarization processing on the first image of the display area, and perform image noise reduction processing on the processed first image of the display area through median filtering, average filtering or adaptive Wiener filtering .
  5. 如权利要求1所述的显示信息的加密方法,其中,所述在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理的步骤具体包括:The method for encrypting display information according to claim 1, wherein the step of performing corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area specifically comprises:
    在所述目标显示区域内存在摄像设备时,根据预设人脸识别模型,判断所述显示区域第一图像中是否存在人脸图像;When there is a camera device in the target display area, judging whether there is a face image in the first image of the display area according to a preset face recognition model;
    若所述显示区域第一图像中存在所述人脸图像,则根据第二预设频率采集所述目标显示区域的显示区域第二图像,其中,所述第二预设频率大于所述第一预设频率;If the face image exists in the first image of the display area, a second image of the display area of the target display area is collected according to a second preset frequency, where the second preset frequency is greater than the first Preset frequency
    根据预设情绪识别模型,判断所述显示区域第二图像中的人脸情绪是否为目标人脸情绪;Judging whether the facial emotion in the second image of the display area is the target facial emotion according to a preset emotion recognition model;
    在所述显示区域第二图像中的人脸情绪为所述目标人脸情绪时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the facial emotion in the second image of the display area is the target facial emotion, the current display information of the current device is turned off to prevent the leakage of the display information.
  6. 如权利要求1所述的显示信息的加密方法,其中,所述在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理的步骤具体包括:The method for encrypting display information according to claim 1, wherein the step of performing corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area specifically comprises:
    在所述目标显示区域内存在所述摄像设备时,根据所述摄像设备识别模型判断所述摄像设备是否对准所述当前显示信息;When the camera device exists in the target display area, judging whether the camera device is aligned with the current display information according to the camera device recognition model;
    在所述摄像设备对准所述当前显示信息时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the imaging device is aimed at the currently displayed information, the currently displayed information of the current device is turned off to prevent the leakage of the displayed information.
  7. 如权利要求1至6任意一项所述的显示信息的加密方法,其中,所述在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像的步骤具体包括:The method for encrypting display information according to any one of claims 1 to 6, wherein when the current device display information is monitored, the target sensitivity level of the current display information is obtained, and the target sensitivity level reaches a preset When the sensitivity level is sensitive, the step of collecting the first image of the display area of the target display area corresponding to the current device according to the first preset frequency specifically includes:
    在监测到当前设备显示信息时,判断所述当前显示信息是否为文本信息;When the current device display information is monitored, determine whether the current display information is text information;
    在所述当前显示信息是否为文本信息时,提取所述当前显示信息中的关键字,并根据所述关键字确定所述当前显示信息的目标敏感级别;When the currently displayed information is text information, extract keywords in the currently displayed information, and determine the target sensitivity level of the currently displayed information according to the keywords;
    在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像。When the target sensitivity level reaches the preset sensitivity level, the first image of the display area of the target display area corresponding to the current device is acquired according to the first preset frequency.
  8. 一种显示信息的加密装置,其中,所述显示信息的加密装置包括:An encryption device for displaying information, wherein the encryption device for displaying information includes:
    第一图像获取模块,用于在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;The first image acquisition module is used to acquire the target sensitivity level of the currently displayed information when the current device display information is monitored, and when the target sensitivity level reaches the preset sensitivity level, collect the current The first image of the display area of the target display area corresponding to the device;
    区域设备监测模块,用于根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;An area device monitoring module, configured to determine whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
    显示信息加密模块,用于在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。The display information encryption module is configured to perform corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area.
  9. 一种显示信息的加密设备,其中,所述显示信息的加密设备包括处理器、存储器、以及存储在所述存储器上并可被所述处理器执行的显示信息的加密程序,其中所述显示信息的加密程序被所述处理器执行时,实现以下步骤:An encryption device for displaying information, wherein the encryption device for displaying information includes a processor, a memory, and an encryption program for displaying information stored on the memory and executable by the processor, wherein the displaying information When the encryption program of is executed by the processor, the following steps are implemented:
    在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
    根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
    在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。When there is a camera device in the target display area, corresponding encryption processing is performed on the current device and/or the current display information.
  10. 如权利要求9所述的显示信息的加密设备,其中,所述根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备的步骤具体包括:The encryption device for displaying information according to claim 9, wherein the step of judging whether there is a camera in the target display area according to a preset camera device recognition model and the first image of the display area specifically comprises:
    将所述显示区域第一图像输入至所述摄像设备识别模型,以通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果,所述摄像设备识别模型存储于区块链中;The first image of the display area is input to the camera device recognition model to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the camera device recognition model, and the camera device recognition model Stored in the blockchain;
    根据所述显示区域第一图像的分类结果,判断所述目标显示区域内是否存在摄像设备。According to the classification result of the first image in the display area, it is determined whether there is an imaging device in the target display area.
  11. 如权利要求10所述的显示信息的加密设备,其中,所述将所述显示区域第一图像输入至所述摄像设备设别模型,并通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果的步骤具体包括:The encryption device for displaying information according to claim 10, wherein said inputting said first image of said display area into said imaging device identification model, and identifying the proximity algorithm in the model by said imaging device KNN algorithm, The step of outputting the classification result of the first image in the display area specifically includes:
    将所述显示区域第一图像输入至所述摄像设备设别模型,基于所述摄像设备识别模型中的主分量分析降维算法PCA降维算法将所述显示区域第一图像转化为图像矢量数据;The first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
    基于欧式距离计算公式以及所述图像矢量数据,分别计算所述显示区域第一图像与所述摄像设备识别模型中的存在摄像设备的类型图像以及不存在摄像设备的类型图像之间的欧式距离;Based on the Euclidean distance calculation formula and the image vector data, respectively calculate the Euclidean distance between the first image of the display area and the type image of the camera device and the type image of the camera device in the camera device recognition model;
    基于所述显示区域第一图像与各类型图像的欧式距离以及所述KNN算法,确定所述显示区域第一图像的分类结果。Determine the classification result of the first image in the display area based on the Euclidean distance between the first image in the display area and each type of image and the KNN algorithm.
  12. 如权利要求9所述的显示信息的加密设备,其中,所述在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像的步骤之后,还包括:The encryption device for displaying information according to claim 9, wherein when the current device display information is monitored, the target sensitivity level of the currently displayed information is obtained, and when the target sensitivity level reaches a preset sensitivity level, After the step of collecting the first image of the display area of the target display area corresponding to the current device at the first preset frequency, the method further includes:
    对所述显示区域第一图像进行去模糊化、灰度化或二值化处理,并通过中值滤波、均值滤波或自适应维纳滤波对处理后的显示区域第一图像进行图像降噪处理。Perform defuzzification, grayscale or binarization processing on the first image of the display area, and perform image noise reduction processing on the processed first image of the display area through median filtering, average filtering or adaptive Wiener filtering .
  13. 如权利要求9所述的显示信息的加密设备,其中,所述在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理的步骤具体包括:The encryption device for displaying information according to claim 9, wherein the step of performing corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area specifically comprises:
    在所述目标显示区域内存在摄像设备时,根据预设人脸识别模型,判断所述显示区域第一图像中是否存在人脸图像;When there is a camera device in the target display area, judging whether there is a face image in the first image of the display area according to a preset face recognition model;
    若所述显示区域第一图像中存在所述人脸图像,则根据第二预设频率采集所述目标显示区域的显示区域第二图像,其中,所述第二预设频率大于所述第一预设频率;If the face image exists in the first image of the display area, a second image of the display area of the target display area is collected according to a second preset frequency, where the second preset frequency is greater than the first Preset frequency
    根据预设情绪识别模型,判断所述显示区域第二图像中的人脸情绪是否为目标人脸情绪;Judging whether the facial emotion in the second image of the display area is the target facial emotion according to a preset emotion recognition model;
    在所述显示区域第二图像中的人脸情绪为所述目标人脸情绪时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the facial emotion in the second image of the display area is the target facial emotion, the current display information of the current device is turned off to prevent the leakage of the display information.
  14. 如权利要求9所述的显示信息的加密设备,其中,所述在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理的步骤具体包括:The encryption device for displaying information according to claim 9, wherein the step of performing corresponding encryption processing on the current device and/or current display information when there is a camera device in the target display area specifically comprises:
    在所述目标显示区域内存在所述摄像设备时,根据所述摄像设备识别模型判断所述摄像设备是否对准所述当前显示信息;When the camera device exists in the target display area, judging whether the camera device is aligned with the current display information according to the camera device recognition model;
    在所述摄像设备对准所述当前显示信息时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the imaging device is aimed at the currently displayed information, the currently displayed information of the current device is turned off to prevent the leakage of the displayed information.
  15. 如权利要求9至14任意一项所述的显示信息的加密设备,其中,所述在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像的步骤具体包括:The encryption device for displaying information according to any one of claims 9 to 14, wherein when the information displayed by the current device is monitored, the target sensitivity level of the currently displayed information is acquired, and the target sensitivity level reaches a preset When the sensitivity level is sensitive, the step of collecting the first image of the display area of the target display area corresponding to the current device according to the first preset frequency specifically includes:
    在监测到当前设备显示信息时,判断所述当前显示信息是否为文本信息;When the current device display information is monitored, determine whether the current display information is text information;
    在所述当前显示信息是否为文本信息时,提取所述当前显示信息中的关键字,并根据所述关键字确定所述当前显示信息的目标敏感级别;When the currently displayed information is text information, extract keywords in the currently displayed information, and determine the target sensitivity level of the currently displayed information according to the keywords;
    在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像。When the target sensitivity level reaches the preset sensitivity level, the first image of the display area of the target display area corresponding to the current device is acquired according to the first preset frequency.
  16. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有显示信息的加密程序,其中所述显示信息的加密程序被处理器执行时,实现以下步骤:A computer-readable storage medium, wherein an encrypted program for displaying information is stored on the computer-readable storage medium, and when the encrypted program for displaying information is executed by a processor, the following steps are implemented:
    在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像;When the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches the preset sensitivity level, the display of the target display area corresponding to the current device is collected according to the first preset frequency The first image of the area;
    根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备;Judging whether there is a camera device in the target display area according to a preset camera device recognition model and the first image of the display area;
    在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理。When there is a camera device in the target display area, corresponding encryption processing is performed on the current device and/or the current display information.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述根据预设摄像设备识别模型以及所述显示区域第一图像,判断所述目标显示区域内是否存在摄像设备的步骤具体包括:16. The computer-readable storage medium of claim 16, wherein the step of determining whether there is a camera in the target display area according to a preset camera device recognition model and the first image of the display area specifically comprises:
    将所述显示区域第一图像输入至所述摄像设备识别模型,以通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果,所述摄像设备识别模型存储于区块链中;The first image of the display area is input to the camera device recognition model to output the classification result of the first image of the display area through the proximity algorithm KNN algorithm in the camera device recognition model, and the camera device recognition model Stored in the blockchain;
    根据所述显示区域第一图像的分类结果,判断所述目标显示区域内是否存在摄像设备。According to the classification result of the first image in the display area, it is determined whether there is an imaging device in the target display area.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述将所述显示区域第一图像输入至所述摄像设备设别模型,并通过所述摄像设备识别模型中的邻近算法KNN算法,输出所述显示区域第一图像的分类结果的步骤具体包括:17. The computer-readable storage medium according to claim 17, wherein said inputting said first image of said display area into said imaging device identification model, and recognizing a KNN algorithm in the model by said imaging device, The step of outputting the classification result of the first image in the display area specifically includes:
    将所述显示区域第一图像输入至所述摄像设备设别模型,基于所述摄像设备识别模型中的主分量分析降维算法PCA降维算法将所述显示区域第一图像转化为图像矢量数据;The first image of the display area is input to the imaging device identification model, and the first image of the display area is converted into image vector data based on the principal component analysis dimensionality reduction algorithm PCA dimensionality reduction algorithm in the imaging device recognition model ;
    基于欧式距离计算公式以及所述图像矢量数据,分别计算所述显示区域第一图像与所述摄像设备识别模型中的存在摄像设备的类型图像以及不存在摄像设备的类型图像之间的欧式距离;Based on the Euclidean distance calculation formula and the image vector data, respectively calculate the Euclidean distance between the first image of the display area and the type image of the camera device and the type image of the camera device in the camera device recognition model;
    基于所述显示区域第一图像与各类型图像的欧式距离以及所述KNN算法,确定所述显示区域第一图像的分类结果。Determine the classification result of the first image in the display area based on the Euclidean distance between the first image in the display area and each type of image and the KNN algorithm.
  19. 如权利要求16所述的计算机可读存储介质,其中,所述在监测到当前设备显示信息时,获取当前显示信息的目标敏感级别,并在所述目标敏感级别达到预设敏感级别时,根据第一预设频率采集所述当前设备对应的目标显示区域的显示区域第一图像的步骤之后,还包括:The computer-readable storage medium according to claim 16, wherein when the current device display information is monitored, the target sensitivity level of the currently displayed information is acquired, and when the target sensitivity level reaches a preset sensitivity level, according to After the step of collecting the first image of the display area of the target display area corresponding to the current device at the first preset frequency, the method further includes:
    对所述显示区域第一图像进行去模糊化、灰度化或二值化处理,并通过中值滤波、均值滤波或自适应维纳滤波对处理后的显示区域第一图像进行图像降噪处理。Perform defuzzification, grayscale or binarization processing on the first image of the display area, and perform image noise reduction processing on the processed first image of the display area through median filtering, average filtering or adaptive Wiener filtering .
  20. 如权利要求16所述的计算机可读存储介质,其中,所述在所述目标显示区域内存在摄像设备时,对所述当前设备和/或当前显示信息进行对应加密处理的步骤具体包括:16. The computer-readable storage medium according to claim 16, wherein the step of performing corresponding encryption processing on the current device and/or current display information when there is an imaging device in the target display area specifically comprises:
    在所述目标显示区域内存在摄像设备时,根据预设人脸识别模型,判断所述显示区域第一图像中是否存在人脸图像;When there is a camera device in the target display area, judging whether there is a face image in the first image of the display area according to a preset face recognition model;
    若所述显示区域第一图像中存在所述人脸图像,则根据第二预设频率采集所述目标显示区域的显示区域第二图像,其中,所述第二预设频率大于所述第一预设频率;If the face image exists in the first image of the display area, a second image of the display area of the target display area is collected according to a second preset frequency, where the second preset frequency is greater than the first Preset frequency
    根据预设情绪识别模型,判断所述显示区域第二图像中的人脸情绪是否为目标人脸情绪;Judging whether the facial emotion in the second image of the display area is the target facial emotion according to a preset emotion recognition model;
    在所述显示区域第二图像中的人脸情绪为所述目标人脸情绪时,关闭所述当前设备的当前显示信息,以防显示信息的泄漏。When the facial emotion in the second image of the display area is the target facial emotion, the current display information of the current device is turned off to prevent the leakage of the display information.
PCT/CN2020/102535 2020-04-30 2020-07-17 Method, apparatus, and device for encrypting display information, and storage medium WO2021217899A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010362798.X 2020-04-30
CN202010362798.XA CN111552984A (en) 2020-04-30 2020-04-30 Display information encryption method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021217899A1 true WO2021217899A1 (en) 2021-11-04

Family

ID=72002614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/102535 WO2021217899A1 (en) 2020-04-30 2020-07-17 Method, apparatus, and device for encrypting display information, and storage medium

Country Status (2)

Country Link
CN (1) CN111552984A (en)
WO (1) WO2021217899A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190392167A1 (en) * 2017-01-19 2019-12-26 Creator's Head Inc. Information control program, information control system, and information control method
CN114173332A (en) * 2022-02-09 2022-03-11 国网浙江省电力有限公司信息通信分公司 Data encryption transmission method and device suitable for 5G intelligent power grid inspection robot

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363967B (en) * 2020-11-09 2023-11-14 成都卫士通信息产业股份有限公司 Method, device, equipment and medium for unifying interface standards of password equipment
CN115795543B (en) * 2022-12-02 2024-02-02 深圳智信方略工程咨询有限公司 Computer information security sharing system and method based on big data
CN117037270A (en) * 2023-08-03 2023-11-10 北京军安中科信息科技研究所 Screen anti-shooting system and method based on image processing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204557495U (en) * 2015-04-21 2015-08-12 常州信息职业技术学院 A kind of computer encipher system
US20160357732A1 (en) * 2015-06-05 2016-12-08 International Business Machines Corporation Reformatting of context sensitive data
CN106231267A (en) * 2016-08-24 2016-12-14 成都中英锐达科技有限公司 View data managing and control system, data download method, playback of data processing method
CN107239713A (en) * 2017-05-17 2017-10-10 李晓妮 A kind of sensitive content data message means of defence and system
CN109858274A (en) * 2018-12-04 2019-06-07 上海碳蓝网络科技有限公司 The method and apparatus that message is shown
CN110135262A (en) * 2019-04-16 2019-08-16 深圳壹账通智能科技有限公司 The anti-peeping processing method of sensitive data, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204557495U (en) * 2015-04-21 2015-08-12 常州信息职业技术学院 A kind of computer encipher system
US20160357732A1 (en) * 2015-06-05 2016-12-08 International Business Machines Corporation Reformatting of context sensitive data
CN106231267A (en) * 2016-08-24 2016-12-14 成都中英锐达科技有限公司 View data managing and control system, data download method, playback of data processing method
CN107239713A (en) * 2017-05-17 2017-10-10 李晓妮 A kind of sensitive content data message means of defence and system
CN109858274A (en) * 2018-12-04 2019-06-07 上海碳蓝网络科技有限公司 The method and apparatus that message is shown
CN110135262A (en) * 2019-04-16 2019-08-16 深圳壹账通智能科技有限公司 The anti-peeping processing method of sensitive data, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190392167A1 (en) * 2017-01-19 2019-12-26 Creator's Head Inc. Information control program, information control system, and information control method
US11734443B2 (en) * 2017-01-19 2023-08-22 Creator's Head Inc. Information control program, information control system, and information control method
CN114173332A (en) * 2022-02-09 2022-03-11 国网浙江省电力有限公司信息通信分公司 Data encryption transmission method and device suitable for 5G intelligent power grid inspection robot
CN114173332B (en) * 2022-02-09 2022-04-19 国网浙江省电力有限公司信息通信分公司 Data encryption transmission method and device suitable for 5G intelligent power grid inspection robot

Also Published As

Publication number Publication date
CN111552984A (en) 2020-08-18

Similar Documents

Publication Publication Date Title
WO2021217899A1 (en) Method, apparatus, and device for encrypting display information, and storage medium
CN111340008B (en) Method and system for generation of counterpatch, training of detection model and defense of counterpatch
Hasan et al. Automatically detecting bystanders in photos to reduce privacy risks
CN112801057B (en) Image processing method, image processing device, computer equipment and storage medium
WO2020195732A1 (en) Image processing device, image processing method, and recording medium in which program is stored
US11537750B2 (en) Image access management device, image access management method, and image access management system
CN115620384B (en) Model training method, fundus image prediction method and fundus image prediction device
CN111353336A (en) Image processing method, device and equipment
CN111881740A (en) Face recognition method, face recognition device, electronic equipment and medium
Agrawal et al. A survey on video-based fake news detection techniques
Xiao et al. Securing the socio-cyber world: Multiorder attribute node association classification for manipulated media
Nowroozi et al. Impact of media forensics and deepfake in society
Shu et al. Face spoofing detection based on multi-scale color inversion dual-stream convolutional neural network
Akbari et al. Sensitivity of age estimation systems to demographic factors and image quality: Achievements and challenges
CN116612355A (en) Training method and device for face fake recognition model, face recognition method and device
Zheng et al. Characterizing and detecting non-consensual photo sharing on social networks
Samal et al. ASYv3: Attention‐enabled pooling embedded Swin transformer‐based YOLOv3 for obscenity detection
CN112183357A (en) Deep learning-based multi-scale in-vivo detection method and system
Shekhar et al. An ensemble model for face liveness detection
Ishikawa et al. Saliency prediction based on object recognition and gaze analysis
US10945051B1 (en) System and method for intentionally distorting digital media to reduce the accuracy of generative machine learning algorithms
Chaudhary et al. Anti Spoofing Face Detection with Convolutional Neural Networks Classifier
Yu et al. Diff-ID: An Explainable Identity Difference Quantification Framework for DeepFake Detection
Kariyawasam et al. Standalone Application and Chromium Browser Extension-based System for Online Examination Cheating Detection
Taneja et al. A Safer Web Experience: Deep Learning-Enhanced Obscene Content Filtering Plugin

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: 20933767

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.03.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20933767

Country of ref document: EP

Kind code of ref document: A1