Summary of the invention
The embodiment of the present disclosure provides a kind of data guard method and device, is able to solve user in the mistake using electronic equipment
There are problems that the security risk of leaking data in journey.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of data guard method is provided, this method comprises:
Initialization detection carried out to data protecting device, data protecting device be used to that target display screen to be protected to show wait protect
Protect data;
After the completion of data protecting device initialization, determine that the monitoring environment of data protecting device meets preset condition;
Determine that the monitoring function of data protecting device is opened, monitoring function is used for can take the pre- of target display screen
If region is monitored;
After the monitoring function for determining data protecting device is opened, control target display screen shows data to be protected.
Before target display screen shows data to be protected, initialization detection is carried out to data protecting device, determines data
Protective device has been switched on, and determines that the monitoring environment of data protecting device meets preset condition, and monitoring function is opened, with
When upper condition meets, data to be protected are just shown, reduce the security risk of leaking data, improve Information Security.
In one embodiment, initialization detection is carried out to data protecting device, comprising:
Determine that AI processing board completes initial configuration in data protecting device.
In one embodiment, this method further include:
Monitor command is obtained, predeterminable area is shot according to monitor command;
Determine whether the monitoring function of data protecting device can be normally-open according to shooting result.
In one embodiment, determine that the monitoring environment of data protecting device meets preset condition, comprising:
Determine that the environmental light brightness of predeterminable area is greater than or equal to predetermined luminance.
In one embodiment, determine that the monitoring environment of data protecting device meets preset condition, comprising:
Determine that monitoring camera is not blocked, monitoring camera is for shooting predeterminable area.
According to the second aspect of an embodiment of the present disclosure, a kind of data protecting device is provided, comprising: initialization module, environment
Module, monitoring module and display control module;
Wherein, initialization module, for carrying out initialization detection to data protecting device, data protecting device is for protecting
The data to be protected that target display screen is shown;
Environment module, for after the completion of data protecting device initialization, determining the monitoring environment symbol of data protecting device
Close preset condition;
Monitoring module, for determining that the monitoring function of data protecting device is opened, monitoring function is used for can take
The predeterminable area of target display screen is monitored;
Display control module, for after the monitoring function for determining data protecting device is opened, control target to show screen display
Show data to be protected.
In one embodiment, initialization module is also used to determine that AI processing board completes initialization in data protecting device
Configuration.
In one embodiment, data protecting device further includes shooting module and judgment module;
Shooting module shoots predeterminable area according to monitor command for obtaining monitor command;
Judgment module, for determining whether the monitoring function of data protecting device can be normally-open according to shooting result.
In one embodiment, environment module includes brightness detection unit;
Brightness detection unit, for determining that the environmental light brightness of predeterminable area is greater than or equal to predetermined luminance.
In one embodiment, environment module includes camera detection unit;
Camera detection unit, for determining that monitoring camera is not blocked, monitoring camera is used for predeterminable area
It is shot.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides a kind of data guard method, is applied to data protecting device, as shown in Figure 1, the data
Guard method the following steps are included:
101, initialization detection is carried out to data protecting device.
The data to be protected that data protecting device is used to that target display screen to be protected to show.
Data to be protected how are protected to be illustrated data protecting device herein, as shown in Fig. 2, Fig. 2 is disclosure reality
A kind of data protection logical schematic of example offer is provided.Certainly, Fig. 2 is exemplary illustration, understands disclosed technique for convenience
Scheme does not represent the disclosure and is confined to this.
In Fig. 2, when data protecting device works normally, camera shoots predeterminable area to obtain scene image,
And the scene image taken is transmitted to artificial intelligence (English: Artificial Intelligence, AI) processing board, in advance
If region includes the region opposite with the target display screen of data to be protected is shown, predeterminable area is can to take target to show
The region of screen;
Whether AI processing board carries out image recognition to scene image, judge comprising subject image element in scene image, and
Control instruction is generated according to judging result, control instruction is sent to display control board.For example, judging result indicates scene image
Comprising subject image element, then control instruction instruction stops showing data to be protected, can show warning interface, target image member
Ferritic now shoots the key message of behavior, for example, posture of taking pictures, photographic device etc..Subject image element may include some spy
The image of fixed people also may include the image (such as image of camera) of image collecting device;For another example, judging result indicates
There is no judging result, AI processing board is initializing, then control instruction instruction display initialization interface;For another example, judging result refers to
It is shown with failure, then control instruction instruction display equipment fault interface;
Display control board according to control instruction control target display screen shown, can control target display screen show to
Data are protected, target display screen is also can control and stops showing data to be protected, also can control target display screen and show other
Interface.
It should be noted that AI processing board and display control board are all a part of data protecting device, camera can be with
It is a part of data protecting device, is also possible to the independent component except data protecting device, target display screen can also be with
It is a part of data protecting device, is also possible to autonomous device.
In one embodiment, initialization detection is carried out to data protecting device, comprising:
Determine that AI processing board completes initial configuration in data protecting device.
The initialization of AI processing board and display control board may include be powered to AI processing board and display control board, and
And configuration initiation parameter.
In one embodiment, initialization detection is carried out to data protecting device, comprising:
Determine that display control board completes initial configuration in data protecting device.
After display control board completes initial configuration, so that it may control target display screen and be shown, for example, can show
Initialize interface.
102, after the completion of data protecting device initializes, determine that the monitoring environment of data protecting device meets default item
Part.
Monitoring environment may include one or more conditions, enumerates two herein and illustrates:
In first example, determine that the monitoring environment of data protecting device meets preset condition, comprising:
Determine that the environmental light brightness of predeterminable area is greater than or equal to predetermined luminance.
In second example, determine that the monitoring environment of data protecting device meets preset condition, comprising:
Determine that monitoring camera is not blocked, monitoring camera is for shooting predeterminable area.Predeterminable area is
The region of target display screen can be taken.
It should be noted that whether brightness and camera are blocked and can tie in first example and second example
Altogether, just determine that monitoring environment meets preset condition when two conditions all meet.Certainly, preset condition can also only include
One condition, or comprising more many condition, the disclosure to this with no restriction.
103, determine that the monitoring function of data protecting device is opened.
Monitoring function is for being monitored the predeterminable area that can take target display screen.
In one embodiment, this method further include:
Monitor command is obtained, predeterminable area is shot according to monitor command;Data protection is determined according to shooting result
Whether the monitoring function of device can be normally-open.
Further, when the regional background of the predeterminable area taken in shooting result instruction, determine that monitoring function can be with
Normally-open, the background of predeterminable area can be the image that the not changed material object in position in predeterminable area is gone, certainly, this
Place is exemplary illustration.
104, after the monitoring function for determining data protecting device is opened, control target display screen shows data to be protected.
It completes to initialize in data protecting device, and monitors after environment meets preset condition, if it is determined that data protection dress
The monitoring function set has been switched on, then can show data to be protected, if someone shoots target display screen, data
Protective device can control target display screen and stop showing data to be protected, improve Information Security.
The data guard method that the embodiment of the present disclosure provides, before target display screen shows data to be protected, to data
Protective device carries out initialization detection, determines that data protecting device has been switched on, and determines the monitoring ring of data protecting device
Border meets preset condition, and monitoring function is opened, when conditions above meets, just shows data to be protected, reduce leaking data
Security risk, improve Information Security.
Based on data guard method described in the corresponding embodiment of above-mentioned Fig. 1, following is embodiment of the present disclosure,
It can be used for executing embodiments of the present disclosure.
The embodiment of the present disclosure provides a kind of data protecting device, as shown in figure 3, the data protecting device 30 includes: initial
Change module 301, environment module 302, monitoring module 303 and display control module 304;
Wherein, initialization module 301, for carrying out initialization detection to data protecting device, data protecting device is used for
The data to be protected that protection target display screen is shown;
Environment module 302, for determining the monitoring environment of data protecting device after the completion of data protecting device initialization
Meet preset condition;
Monitoring module 303, for determining that the monitoring function of data protecting device is opened, monitoring function is used for can shoot
Predeterminable area to target display screen is monitored;
Display control module 304, for controlling target display screen after the monitoring function for determining data protecting device is opened
Show data to be protected.
In one embodiment, initialization module 301 are also used to determine in data protecting device that AI processing board is completed initial
Change configuration.
In one embodiment, as shown in figure 4, data protecting device 30 further includes shooting module 305 and judgment module
306;
Shooting module 305 shoots predeterminable area according to monitor command for obtaining monitor command;
Judgment module 306, for determining whether the monitoring function of data protecting device can be normally-open according to shooting result.
In one embodiment, as shown in figure 5, environment module 302 includes brightness detection unit 3021;
Brightness detection unit 3021, for determining that the environmental light brightness of predeterminable area is greater than or equal to predetermined luminance.
In one embodiment, as shown in fig. 6, environment module 302 includes camera detection unit 3022;
Camera detection unit 3022, for determining that monitoring camera is not blocked, monitoring camera is used for default
Region is shot.
The data protecting device that the embodiment of the present disclosure provides, before target display screen shows data to be protected, to data
Protective device carries out initialization detection, determines that data protecting device has been switched on, and determines the monitoring ring of data protecting device
Border meets preset condition, and monitoring function is opened, when conditions above meets, just shows data to be protected, reduce leaking data
Security risk, improve Information Security.
Based on data guard method described in the corresponding embodiment of above-mentioned Fig. 1, the embodiment of the present disclosure also provides one kind
Computer readable storage medium, for example, non-transitorycomputer readable storage medium can be read-only memory (English: Read
Only Memory, ROM), it is random access memory (English: Random Access Memory, RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..It is stored with computer instruction on the storage medium, for executing the corresponding embodiment of above-mentioned Fig. 1
Described in data guard method, details are not described herein again.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.