CN108416235B - The anti-peeping method, apparatus of display interface, storage medium and terminal device - Google Patents
The anti-peeping method, apparatus of display interface, storage medium and terminal device Download PDFInfo
- Publication number
- CN108416235B CN108416235B CN201810274878.2A CN201810274878A CN108416235B CN 108416235 B CN108416235 B CN 108416235B CN 201810274878 A CN201810274878 A CN 201810274878A CN 108416235 B CN108416235 B CN 108416235B
- Authority
- CN
- China
- Prior art keywords
- face
- peeping
- pupil
- display interface
- user
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
- 208000008918 voyeurism Diseases 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 34
- 210000001747 pupil Anatomy 0.000 claims abstract description 94
- 230000000007 visual effect Effects 0.000 claims abstract description 19
- 230000008859 change Effects 0.000 claims description 22
- 244000144985 peep Species 0.000 claims description 10
- 230000002996 emotional effect Effects 0.000 claims description 8
- 238000012549 training Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 3
- 230000006399 behavior Effects 0.000 description 33
- 238000004891 communication Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/82—Protecting input, output or interconnection devices
- G06F21/84—Protecting input, output or interconnection devices output devices, e.g. displays or monitors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
- G06V40/165—Detection; Localisation; Normalisation using facial parts and geometric relationships
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/18—Eye characteristics, e.g. of the iris
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Geometry (AREA)
- Ophthalmology & Optometry (AREA)
- Telephone Function (AREA)
Abstract
The present invention proposes a kind of method, apparatus that display interface is anti-peeping, storage medium and terminal device, wherein the described method includes: responding the starting of an application program in the display interface, opens front camera and carries out acquisition image;According to acquired image, obtain in the position where the face pupil in default visual zone;According to the position where the face pupil got, differentiate whether the corresponding user of the face pupil is user that screen is seen in side;When the corresponding user of the judgement face pupil sees the user of screen for side, judge whether the corresponding face's variation of the face pupil meets the standard of peeping;Behavior is pried through if so, determining to exist;If it is not, then determining that there is no pry through behavior;And it when determining in the presence of behavior is pried through, controls the application program and is shown with anti-peeping mode.Using the present invention, the accuracy for differentiating behavior of prying through effectively is improved in the region of densely populated place, reduces the probability of erroneous judgement.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method, apparatus that display interface is anti-peeping, storage to be situated between
Matter and terminal device.
Background technique
As the rapid advances of society develop, the information interchange significant amount between people.Mobile phone is different as a kind of realization
Ground, real-time communication tool, have been increasingly becoming essential tool in people's Working Life.The function of present mobile phone
Can be more and more abundant, mobile phone is not only used only to dial and receive calls, and also has and sends short message, installs chat application
Software, such as QQ, wechat, moreover it is possible to send and receive e-mail, relevant information etc. is checked in online.People using mobile phone check information or
When person's document, it is impossible to be always at a more hidden place, also be needed in the biggish public arena of flow of the people sometimes
Mobile phone is held to check.When checking information in public, cannot effectively avoid being peeped by others to, such as office or its
Under the public arena in his place, sometimes when checking some important documents to be maintained secrecy on mobile phone, if some intentionally personages
It is rearward peeped, user is indiscoverable at this time.Existing mobile phone safe software, most of is all from preventing other people from making
Information protection, such as private space are carried out with the angle of oneself mobile phone, screen-lock password is to be used in mobile phone by unauthorized user
When into line-locked operation.And in the use process of authorized user, other people directly pry through the row of your screen from the side
Can not but to prevent, no matter how careful user is, when always having general idea.
Other pry through screen from side in order to prevent, and in general, currently existing scheme can pass through the camera detection of mobile phone
Human eye quantity and duration in default visual zone, to determine whether in the presence of behavior is pried through, if in the presence of then being locked
Screen operation.
But for above scheme, there are following defects: in the biggish occasion of flow of the people, such as subway, people with
Spacing between people is excessively intensive, then by detecting the human eye quantity in predetermined visual range to determine whether prying through existing
Behavior may have the phenomenon that erroneous judgement.
Summary of the invention
The embodiment of the present invention provides a kind of method, apparatus that display interface is anti-peeping, storage medium and terminal device, with solution
Certainly or alleviate the above technical problem in the prior art.
In a first aspect, the embodiment of the invention provides a kind of methods that display interface is anti-peeping, comprising:
The starting of an application program in the display interface is responded, front camera is opened and carries out acquisition image;According to institute
The image of acquisition is obtained in the position where the face pupil in default visual zone;According to where the face pupil got
Position, differentiate whether the corresponding user of the face pupil is user that screen is seen in side;When the judgement face pupil is corresponding
User be side when seeing the user of screen, judge whether the corresponding face's variation of the face pupil meets the standard of peeping;If so,
Then determine to exist and pries through behavior;If it is not, then determining that there is no pry through behavior;And when determining in the presence of behavior is pried through, institute is controlled
Application program is stated to be shown with anti-peeping mode.
With reference to first aspect, in the first embodiment of first aspect, the standard of peeping includes: the face pupil
It is moved with the interface focus of the application program or the movement of operation focus in hole;Wherein, the interface focus is the application
Changed object in the display content of program;The operation focus be the application program display content in selected
Object.
The first embodiment with reference to first aspect, it is described to peep mark in second of embodiment of first aspect
It is quasi- further include: the mobile duration of the movement of the face pupil is greater than timing threshold value.
The first embodiment or second of embodiment with reference to first aspect, in the third embodiment party of first aspect
It is described to peep standard in formula further include: the face change corresponding expression shape change in the expression shape change corresponding time
The emotional expression of the display content of the application program is consistent in section.
With reference to first aspect, in the 4th kind of embodiment of first aspect, the image according to acquired in is obtained
The position where face pupil in default visual zone, comprising:
By face recognition algorithms, the position of the face pupil of the image of the acquisition is positioned;Wherein, the figure of the acquisition
The position of picture and the face pupil for the described image oriented is for updating the training face recognition algorithms;And from navigating to
Face pupil position in be chosen at position where the face pupil in default visual zone;Wherein, the default vision
Centered on region includes the mobile device belonging to the display interface and radius for pre-set dimension region.
With reference to first aspect, in the 5th kind of embodiment of first aspect, face pupil institute that the basis is got
In position, differentiate whether the corresponding user of the face pupil is user that screen is seen in side, comprising:
According to the face pupil position got, the horizontal folder of the relatively described display interface of the face pupil is calculated
Angle or vertical angle;Judge whether calculate the horizontal sextant angle obtained or vertical angle meets preset angle threshold;Wherein, described
The corresponding angle threshold of horizontal sextant angle is that the horizontal sextant angle is greater than 75 degree and less than 90 degree;Or the vertical angle is corresponding
Angle threshold is the vertical angle less than 15 degree;If so, determining that the corresponding user of the face pupil is positive screen curtain
User;If it is not, then determining that the corresponding user of the face pupil sees the user of screen for side.
With reference to first aspect, in the 6th kind of embodiment of first aspect, the anti-peeping mode is described including turning down
The display brightness of display interface, the control display interface show or is started with polarisation mode screen locking any one of operate and its
Combination.
With reference to first aspect, in the 7th kind of embodiment of first aspect, further includes:
When determining in the presence of behavior is pried through, display reminding information is in display interface and/or by described in loudspeaker sending
The sound of prompt information;Wherein, the prompt information is the information that prompt has behavior of prying through.
Second aspect, the embodiment of the present invention provide a kind of device that display interface is anti-peeping, comprising:
Image starting module, for responding the starting of an application program in the display interface, open front camera into
Row obtains image;Pupil diameter module, for obtaining the face pupil institute in default visual zone according to acquired image
Position;Subscriber identification module is seen in side, for differentiating the face pupil according to the position where the face pupil got
Whether corresponding user is user that screen is seen in side;Identification module is peeped, for seeing as the judgement face pupil user for side
When the user of screen, judge whether the corresponding face's variation of the face pupil meets the standard of peeping;It is peeped if so, determining to exist
Depending on behavior;If it is not, then determining that there is no pry through behavior;And module starting module is peeped, for prying through behavior when judgement exists
When, it controls the application program and is shown with anti-peeping mode.
In conjunction with second aspect, in the first embodiment of second aspect, the standard of peeping includes: the face pupil
It is moved with the interface focus of the application program or the movement of operation focus in hole;Wherein, the interface focus is the application
Changed object in the display content of program;The operation focus be the application program display content in selected
Object.
It is described to peep mark in second of embodiment of second aspect in conjunction with the first embodiment of second aspect
It is quasi- further include: the mobile duration of the movement of the face pupil is greater than timing threshold value.
In conjunction with the first embodiment or second of embodiment of second aspect, in the third embodiment party of second aspect
It is described to peep standard in formula further include: the face change corresponding expression shape change in the expression shape change corresponding time
The emotional expression of the display content of the application program is consistent in section.
The function of described device can also execute corresponding software realization by hardware realization by hardware.It is described
Hardware or software include one or more modules corresponding with above-mentioned function.
It include processor and memory, the storage in the anti-peeping structure of display interface in a possible design
Device is for storing the program that the anti-peeping device of display interface executes the method that display interface is anti-peeping in above-mentioned first aspect, institute
Processor is stated to be configurable for executing the program stored in the memory.The anti-peeping device of the display interface can be with
Including communication interface, the device anti-peeping for display interface and other equipment or communication.
The third aspect, the embodiment of the invention provides a kind of computer readable storage mediums, anti-peeping for display interface
Device used in computer software instructions comprising be for executing the method that display interface is anti-peeping in above-mentioned first aspect
Program involved in the anti-peeping device of display interface.
Any one technical solution in above-mentioned technical proposal have the following advantages that or the utility model has the advantages that
The embodiment of the present invention selects the position of visual zone face pupil, and then repartition by recognition of face
Side sees the user of screen and faces the user of screen, and the user for facing screen can consider that it is authorized user, for side
It sees the user of screen, then further judges that the side sees whether face's variation of the user of screen meets the standard of peeping, if so, can
Behavior is pried through to determine to exist, determines that control current application program is shown with anti-peeping mode according to this, effectively in personnel
The accuracy for differentiating behavior of prying through is improved in intensive region, reduces the probability of erroneous judgement.
Above-mentioned general introduction is merely to illustrate that the purpose of book, it is not intended to be limited in any way.Except foregoing description
Schematical aspect, except embodiment and feature, by reference to attached drawing and the following detailed description, the present invention is further
Aspect, embodiment and feature, which will be, to be readily apparent that.
Detailed description of the invention
In the accompanying drawings, unless specified otherwise herein, otherwise indicate the same or similar through the identical appended drawing reference of multiple attached drawings
Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings depict only according to the present invention
Disclosed some embodiments, and should not serve to limit the scope of the present invention.
Fig. 1 is the flow diagram of one embodiment of the anti-peeping method of display interface provided by the invention;
Fig. 2 is the structural schematic diagram of one embodiment of the anti-peeping device of display interface provided by the invention;
The structural schematic diagram of one embodiment of Fig. 3 terminal device provided by the invention.
Specific embodiment
Hereinafter, certain exemplary embodiments are simply just described.As one skilled in the art will recognize that
Like that, without departing from the spirit or scope of the present invention, described embodiment can be modified by various different modes.
Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
Embodiment one
Referring to Fig. 1, the embodiment of the invention provides a kind of method that display interface is anti-peeping, it can be by the display interface
Controlling terminal execute, such as electronic equipments such as mobile phone, plate, computer or smartwatch are provided in the electronic equipment preposition
Camera can be used for imaging or making video recording.Method provided in this embodiment, including step S10 is to step S50, it is specific as follows:
S10, the starting of an application program in the display interface of response control terminal open front camera and carry out acquisition figure
Picture.Wherein, application program can be the program built in controlling terminal, such as: the setting of time, display brightness, resolution, it can also
The program of installation and operation in controlling terminal is downloaded to controlling terminal, for example, the APP such as social software, game (application program).With
And front camera can be RGB (colour) camera or infrared camera, is also possible to the two and exists simultaneously.
S20 is obtained according to acquired image in the position where the face pupil in default visual zone.
In embodiments of the present invention, default visual zone can be the region using controlling terminal as center radius for R, and R can
To be arranged as the case may be, so that the region, which images for camera to the visible area of better images or side, sees screen
User can watch the region of the display content on controlling terminal display interface.
Specifically, the face pupil place for the image that face recognition algorithms, positioning shooting are got in the process can be passed through
Position;Wherein, face recognition algorithms can collect training data in advance and carry out machine learning training generation, this training data packet
The position where the face pupil identified in a large amount of facial image and each facial image is included, then chooses one suitably
Machine learning model, and then corresponding face recognition algorithms are generated to machine learning model training using these training datas.
And the position of the face pupil of the image and image oriented of camera shooting acquisition can also be further used as training data every time,
It can be conducive to improve face recognition algorithms directly or after accumulating certain quantity for updating trained face recognition algorithms
Accuracy of identification.It is subsequent again from the position of the face pupil navigated to, be chosen at the face pupil in default visual zone
The position at place.
S30 differentiates whether the corresponding user of face pupil is that screen is seen in side according to the face pupil position got
User.
In embodiments of the present invention, the user for watching video includes that the user of screen is seen in the user for facing screen and side, tool
Body can calculate the level of the display interface of face pupil relation control terminal first according to the face pupil position got
Angle or vertical angle;Then judge whether calculate the horizontal sextant angle obtained or vertical angle meets preset angle threshold,
Then it is considered to face the user of screen within predetermined angle threshold value, is considered that screen is seen in side if not within predetermined angle threshold value
User.Preferably, the corresponding angle threshold of horizontal sextant angle is the angle greater than 75 degree and less than 90 degree, and vertical angle is corresponding
Angle threshold is the angle less than 15 degree.Such setting can watch in display interface jointly to avoid by two people or three people
The case where content, is included in the subsequent differentiation process for prying through behavior, for example, two or three people watch mobile video jointly.
S40 judges that the corresponding face's variation of face pupil is when judgement face pupil user sees the user of screen for side
No satisfaction peeps standard, pries through behavior to determine whether to exist;Behavior is pried through if so, determining to exist;If it is not, then determining not deposit
Prying through behavior.
In one example, aforementioned standard of peeping includes interface focus or operation focus of the face pupil with application program
It moves and moves, that is, in this step, judge face pupil whether with the interface focus of application program or the movement of operation focus
And move, behavior is pried through if so, thinking to exist;If not, then it is assumed that there is no exist to pry through behavior.Wherein, interface focus is
Changed an object or several objects in the display content of application program, for example, the leading role to walk about in video;Operation focus
For an object selected in the display content of application program or several objects, for example, the progress bar in interface is clicked dragging.
In another example, whether aforementioned standard of peeping can also include time threshold, that is, judge face pupil with answering
It is moved with the interface focus of program or the movement of operation focus, and when moving phenomenon there are this, which is opened
Beginning timing, mobile duration meet timing threshold value, it may be considered that being to exist to pry through behavior;If mobile duration is unsatisfactory for timing threshold
Value, then it is assumed that there is no exist to pry through behavior.In this way, can be further improved the accuracy for differentiating behavior of prying through.
In third example, the standard of peeping may include that there are three conditions: face pupil is burnt with the interface of application program
Point or operation focus movement and move, with the movement of interface focus or operation focus and the mobile duration of movement meets timing threshold
The face of value and the user change the display of corresponding expression shape change with the application program within expression shape change corresponding period
The emotional expression of content is consistent.For example, if face pupil is moved with the interface focus of application program or the movement of operation focus
And mobile duration is when meeting timing threshold value, current display interface is when showing that an emotional expression is the video or text made laughs,
If differentiating to side and seeing that the expression shape change of the user of screen is to be can be determined that at this time when switching to laugh at by not laughing to exist and prying through behavior.
In the 4th example, can also only be arranged the face that the standard of peeping is user change corresponding expression shape change with
The emotional expression of the display content of application program is consistent in the expression shape change corresponding period.
S50, when determining in the presence of behavior is pried through, control application program is shown with anti-peeping mode.
Preferably, anti-peeping mode includes turning down the display brightness of controlling terminal display interface, starting the aobvious of controlling terminal
Show that interface is shown with polarisation mode or started any one of screen locking operation and combinations thereof.Wherein, starting polarisation mode into
Row display, on the one hand does not influence to face the viewing experience of the user of screen, side on the other hand can be made to see that the user of screen can not
See the content on display interface.
And can also be when determining in the presence of behavior is pried through, there is the information for behavior of prying through in display interface in display reminding
In and/or by loudspeaker issue show presence pry through behavior information sound.
The embodiment of the present invention selects the position of visual zone face pupil, and then repartition by recognition of face
Side sees the user of screen and faces the user of screen, and the user for facing screen can consider that it is authorized user, for side
It sees the user of screen, then further judges that the side sees whether face's variation of the user of screen meets the standard of peeping, if so, can
Behavior is pried through to determine to exist, determines that control current application program is shown with anti-peeping mode according to this, effectively in personnel
The accuracy for differentiating behavior of prying through is improved in intensive region, reduces the probability of erroneous judgement.
Embodiment two
As shown in Fig. 2, the embodiment of the present invention provides a kind of device that display interface is anti-peeping, comprising:
Starting module 10 is imaged, for responding the starting of an application program in the display interface, opens front camera
Carry out acquisition image;Pupil diameter module 20, for obtaining the face pupil in default visual zone according to acquired image
Position where hole;Subscriber identification module 30 is seen in side, for differentiating the people according to the position where the face pupil got
Whether the corresponding user of face pupil is user that screen is seen in side;Identification module 40 is peeped, for when the judgement face pupil pair
When the user answered is that the user of screen is seen in side, judge whether the corresponding face's variation of the face pupil meets the standard of peeping;If
It is then to determine to exist to pry through behavior;If it is not, then determining that there is no pry through behavior;And module starting module 50 is peeped, for working as
Determine that control application program is shown in the presence of when prying through behavior with anti-peeping mode.
In the first embodiment, peeping standard includes: that face pupil is burnt with the interface focus of application program or operation
Point movement and move;Wherein, interface focus is changed an object in the display interface of application program;Operation focus is
It is clicked in the display interface of application program or an object of long-pressing.
Based on the first embodiment, in the second embodiment, standard is peeped further include: the shifting of the face pupil
Dynamic mobile duration meets timing threshold value.
Based on aforementioned two kinds of embodiments, in the third embodiment, the standard of peeping further includes face's variation pair
The expression shape change answered is consistent with the emotional expression of the display content of application program within the expression shape change corresponding period.
Further, the Pupil diameter module 20 includes:
Pupil unit is positioned, for positioning the face pupil for the image that the camera shooting obtains by face recognition algorithms
Position;Wherein, the position of the camera shooting image obtained and the face pupil for the described image oriented is for updating trained institute
State face recognition algorithms;And position selection unit, for being chosen at default vision from the position of the face pupil navigated to
The position of face pupil in region;Wherein, the default visual zone includes with movement belonging to the display interface
Centered on equipment and radius is the region of pre-set dimension.
Further, the side sees that subscriber identification module 30 includes:
Angle calculation unit calculates the relatively described display of the face pupil according to the face pupil position got
The horizontal sextant angle at interface or vertical angle;Angle judging unit, horizontal sextant angle or vertical angle for judging to calculate acquisition are
It is no to meet preset angle threshold;Wherein, the corresponding angle threshold of the horizontal sextant angle be the horizontal sextant angle be greater than 75 degree and
Less than 90 degree;Or the corresponding angle threshold of the vertical angle is the vertical angle less than 15 degree;It faces screen and determines list
Member, when horizontal sextant angle or vertical angle for obtaining when the calculating meet the preset angle threshold, then described in judgement
The corresponding user of face pupil is positive the user of screen curtain;When it is described calculate obtain horizontal sextant angle or vertical angle be unsatisfactory for it is pre-
If the angle threshold when, then determine that the corresponding user of the face pupil sees the user of screen for side.
Further, the anti-peeping mode includes turning down the display brightness of the display interface, control display circle
Face shows with polarisation mode or starts at least one of screen locking operation.
Further, the anti-peeping device of the display interface further includes peeping cue module, for peeping when judgement exists
When depending on behavior, display reminding information issues the sound of the prompt information in display interface and/or through loudspeaker;Wherein,
The prompt information is the information that prompt has behavior of prying through.
The function of described device can also execute corresponding software realization by hardware realization by hardware.It is described
Hardware or software include one or more modules corresponding with above-mentioned function.
It include processor and memory, the storage in the anti-peeping structure of display interface in a possible design
Device is for storing the program that the anti-peeping device of display interface executes the method that display interface is anti-peeping in above-mentioned first aspect, institute
Processor is stated to be configurable for executing the program stored in the memory.The anti-peeping device of the display interface can be with
Including communication interface, the device anti-peeping for display interface and other equipment or communication.
Embodiment three
The embodiment of the present invention also provides a kind of terminal device, as shown in figure 3, the equipment includes: memory 21 and processor
22, the computer program that can be run on processor 22 is stored in memory 21.Processor 22 executes real when computer program
The anti-peeping method of display interface in existing above-described embodiment.The quantity of memory 21 and processor 22 can be one or more
It is a.
The equipment further include:
Communication interface 23, for the communication between processor 22 and external equipment.
Memory 21 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile
Memory), a for example, at least magnetic disk storage.
If memory 21, processor 22 and the independent realization of communication interface 23, memory 21, processor 22 and communication are connect
Mouth 23 can be connected with each other by bus and complete mutual communication.Bus can be industry standard architecture (ISA,
Industry Standard Architecture) bus, external equipment interconnection (PCI, Peripheral Component) be total
Line or extended industry-standard architecture (EISA, Extended Industry Standard Component) bus etc..Always
Line can be divided into address bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 3, but simultaneously convenient for indicating
Only a bus or a type of bus are not indicated.
Optionally, in specific implementation, if memory 21, processor 22 and communication interface 23 are integrated in chip piece
On, then memory 21, processor 22 and communication interface 23 can complete mutual communication by internal interface.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden
It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise
Clear specific restriction.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.
The computer-readable medium of the embodiment of the present invention can be computer-readable signal media or computer-readable deposit
Storage media either the two any combination.The more specific example at least (non-exclusive of computer readable storage medium
List) include the following: there is the electrical connection section (electronic device) of one or more wirings, portable computer diskette box (magnetic dress
Set), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (deposit by EPROM or flash
Reservoir), fiber device and portable read-only memory (CDROM).In addition, computer readable storage medium can even is that
Can the paper of print routine or other suitable media on it because can for example be swept by carrying out optics to paper or other media
It retouches, is then edited, interprets or handled when necessary with other suitable methods electronically to obtain program, then will
It is stored in computer storage.
In embodiments of the present invention, computer-readable signal media may include in a base band or as carrier wave a part
The data-signal of propagation, wherein carrying computer-readable program code.The data-signal of this propagation can use a variety of
Form, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media is also
It can be any computer-readable medium other than computer readable storage medium, which can send, pass
It broadcasts or transmits for instruction execution system, input method or device use or program in connection.Computer can
The program code for reading to include on medium can transmit with any suitable medium, including but not limited to: wirelessly, electric wire, optical cable, penetrate
Frequently (Radio Frequency, RF) etc. or above-mentioned any appropriate combination.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
Suddenly be that relevant hardware can be instructed to complete by program, program can store in a kind of computer readable storage medium
In, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.If integrated module with
The form of software function module is realized and when sold or used as an independent product, also can store computer-readable at one
In storage medium.Storage medium can be read-only memory, disk or CD etc..
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in its various change or replacement, these
It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with scope of protection of the claims
It is quasi-.
Claims (12)
1. a kind of method that display interface is anti-peeping characterized by comprising
The starting of an application program in the display interface is responded, front camera is opened and carries out acquisition image;
According to acquired image, obtain in the position where the face pupil in default visual zone;
According to the position where the face pupil got, differentiate whether the corresponding user of the face pupil is that screen is seen in side
User;
When the corresponding user of the judgement face pupil sees the user of screen for side, the corresponding face of the face pupil is judged
Whether variation meets the standard of peeping;Behavior is pried through if so, determining to exist;If it is not, then determining that there is no pry through behavior;And
When determining in the presence of behavior is pried through, controls the application program and shown with anti-peeping mode;
Wherein, it is described peep standard include it is below at least one: the face pupil with the application program interface focus
Or operation focus movement and move, the face change corresponding expression shape change in the expression shape change corresponding period
The emotional expression of the display content of the interior application program is consistent.
2. the anti-peeping method of display interface as described in claim 1, which is characterized in that the interface focus is the application
Changed object in the display content of program;The operation focus be the application program display content in selected
Object.
3. the anti-peeping method of display interface as claimed in claim 2, which is characterized in that described to peep standard further include: institute
The mobile duration for stating the movement of face pupil is greater than timing threshold value.
4. the anti-peeping method of display interface as described in claim 1, which is characterized in that the image according to acquired in,
It obtains in the position where the face pupil in default visual zone, comprising:
By face recognition algorithms, the position of the face pupil of the image of the acquisition is positioned;Wherein, the image of the acquisition and
The position of the face pupil for the described image oriented is for updating the training face recognition algorithms;And
Position where the face pupil being chosen in the position of the face pupil navigated in default visual zone;Wherein,
Centered on the default visual zone includes the mobile device belonging to the display interface and radius for pre-set dimension region.
5. the anti-peeping method of display interface as described in claim 1, which is characterized in that the face pupil that the basis is got
Hole position differentiates whether the corresponding user of the face pupil is user that screen is seen in side, comprising:
According to the face pupil position got, calculate the relatively described display interface of the face pupil horizontal sextant angle or
Vertical angle;
Judge whether calculate the horizontal sextant angle obtained or vertical angle meets preset angle threshold;Wherein, the horizontal sextant angle
Corresponding angle threshold is that the horizontal sextant angle is greater than 75 degree and less than 90 degree;Or the corresponding angle threshold of the vertical angle
It is the vertical angle less than 15 degree;
If so, determining that the corresponding user of the face pupil is positive the user of screen curtain;
If it is not, then determining that the corresponding user of the face pupil sees the user of screen for side.
6. the anti-peeping method of display interface as described in claim 1, which is characterized in that the anti-peeping mode includes turning down
Display brightness, the control display interface of the display interface show with polarisation mode or start any one of screen locking operation
And combinations thereof.
7. the anti-peeping method of display interface as described in claim 1, which is characterized in that further include:
When determining in the presence of behavior is pried through, display reminding information issues the prompt in display interface and/or through loudspeaker
The sound of information;Wherein, the prompt information is the information that prompt has behavior of prying through.
8. a kind of device that mobile device is anti-peeping characterized by comprising
Starting module is imaged, for responding the starting of an application program in display interface, front camera is opened and carries out acquisition figure
Picture;
Pupil diameter module, for obtaining in the position where the face pupil in default visual zone according to acquired image
It sets;
Subscriber identification module is seen in side, for differentiating that the face pupil is corresponding according to the position where the face pupil got
User whether be user that screen is seen in side;
Identification module is peeped, for when determining the corresponding user of the face pupil for side and seeing the user of screen, described in judgement
Whether the corresponding face's variation of face pupil meets the standard of peeping;Behavior is pried through if so, determining to exist;If it is not, then determining not
In the presence of prying through behavior;And
Peep module starting module, for when determine exist pry through behavior when, control the application program with anti-peeping mode into
Row display;
Wherein, it is described peep standard include it is below at least one: the face pupil with the application program interface focus
Or operation focus movement and move, the face change corresponding expression shape change in the expression shape change corresponding period
The emotional expression of the display content of the interior application program is consistent.
9. the anti-peeping device of mobile device as claimed in claim 8, which is characterized in that the interface focus is the application
Changed object in the display content of program;The operation focus be the application program display content in selected
Object.
10. the anti-peeping device of mobile device as claimed in claim 9, which is characterized in that described to peep standard further include: institute
The mobile duration for stating the movement of face pupil is greater than timing threshold value.
11. a kind of terminal device for realizing that display interface is anti-peeping, which is characterized in that the terminal device includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors
The anti-peeping method of display interface of the realization as described in any in claim 1-7.
12. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor
Display interface of the realization as described in any in claim 1-7 anti-peeping method when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810274878.2A CN108416235B (en) | 2018-03-30 | 2018-03-30 | The anti-peeping method, apparatus of display interface, storage medium and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810274878.2A CN108416235B (en) | 2018-03-30 | 2018-03-30 | The anti-peeping method, apparatus of display interface, storage medium and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108416235A CN108416235A (en) | 2018-08-17 |
CN108416235B true CN108416235B (en) | 2019-08-09 |
Family
ID=63132784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810274878.2A Active CN108416235B (en) | 2018-03-30 | 2018-03-30 | The anti-peeping method, apparatus of display interface, storage medium and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108416235B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657506B (en) * | 2018-12-21 | 2023-07-28 | 宁波远志立方能源科技有限公司 | Intelligent regulation method for preventing peeping of computer screen content |
CN110007540A (en) * | 2019-04-10 | 2019-07-12 | Oppo广东移动通信有限公司 | Display screen assembly, control method and device of visual angle and electronic equipment |
CN110070015B (en) * | 2019-04-12 | 2021-07-02 | 西安科芮智盈信息技术有限公司 | Image recognition method, device and system |
CN111801700B (en) * | 2019-08-28 | 2022-04-19 | 深圳海付移通科技有限公司 | Method for preventing peeping in payment process and electronic equipment |
CN112528314A (en) * | 2019-09-18 | 2021-03-19 | 华为技术有限公司 | Terminal information protection method and device |
CN113382307B (en) * | 2020-03-10 | 2022-04-22 | 海信视像科技股份有限公司 | Display apparatus and display method thereof |
CN111611630A (en) * | 2020-04-14 | 2020-09-01 | 上海卓易科技股份有限公司 | Mobile terminal peeping prevention method and mobile terminal |
CN112765693A (en) * | 2021-01-19 | 2021-05-07 | 杭州京胜航星科技有限公司 | Cadre personnel digital archive remote reference terminal equipment |
CN113221699B (en) * | 2021-04-30 | 2023-09-08 | 杭州海康威视数字技术股份有限公司 | Method, device and identification equipment for improving identification safety |
CN116167106B (en) * | 2023-04-25 | 2023-08-01 | 深圳市爱保护科技有限公司 | Smart watch display method and system, storage medium and smart terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167113A (en) * | 2012-05-08 | 2013-06-19 | 深圳市金立通信设备有限公司 | Anti-peep system and method for automatically adjusting backlight angle of display screen based on angle of human eyes and screen |
CN103218579A (en) * | 2013-03-28 | 2013-07-24 | 东莞宇龙通信科技有限公司 | Method for preventing content on screen from being peeped, and mobile terminal thereof |
CN103955650A (en) * | 2014-05-04 | 2014-07-30 | 合肥联宝信息技术有限公司 | Method and device for preventing peeping through regulating screen luminance |
CN104463041A (en) * | 2014-11-07 | 2015-03-25 | 惠州Tcl移动通信有限公司 | Peep prevention method and device for screen |
WO2016206041A1 (en) * | 2015-06-25 | 2016-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Terminal data protection method and apparatus |
CN107577959A (en) * | 2017-10-11 | 2018-01-12 | 厦门美图移动科技有限公司 | A kind of method for secret protection and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107194347A (en) * | 2017-05-19 | 2017-09-22 | 深圳市唯特视科技有限公司 | A kind of method that micro- expression detection is carried out based on Facial Action Coding System |
-
2018
- 2018-03-30 CN CN201810274878.2A patent/CN108416235B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103167113A (en) * | 2012-05-08 | 2013-06-19 | 深圳市金立通信设备有限公司 | Anti-peep system and method for automatically adjusting backlight angle of display screen based on angle of human eyes and screen |
CN103218579A (en) * | 2013-03-28 | 2013-07-24 | 东莞宇龙通信科技有限公司 | Method for preventing content on screen from being peeped, and mobile terminal thereof |
CN103955650A (en) * | 2014-05-04 | 2014-07-30 | 合肥联宝信息技术有限公司 | Method and device for preventing peeping through regulating screen luminance |
CN104463041A (en) * | 2014-11-07 | 2015-03-25 | 惠州Tcl移动通信有限公司 | Peep prevention method and device for screen |
WO2016206041A1 (en) * | 2015-06-25 | 2016-12-29 | 宇龙计算机通信科技(深圳)有限公司 | Terminal data protection method and apparatus |
CN107577959A (en) * | 2017-10-11 | 2018-01-12 | 厦门美图移动科技有限公司 | A kind of method for secret protection and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108416235A (en) | 2018-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108416235B (en) | The anti-peeping method, apparatus of display interface, storage medium and terminal device | |
CN105279459B (en) | A kind of terminal glance prevention method and mobile terminal | |
CN103218579B (en) | A kind of method preventing screen content from being peeped and mobile terminal thereof | |
JP6417676B2 (en) | Information processing apparatus, information processing method, eyewear terminal, and authentication system | |
CN107743224B (en) | Method and system for reminding dirtiness of lens, readable storage medium and mobile terminal | |
CN103383723B (en) | Method and system for spoof detection for biometric authentication | |
JP6809226B2 (en) | Biometric device, biometric detection method, and biometric detection program | |
CN105474136B (en) | Information processing equipment, information processing method and program | |
US20160291693A1 (en) | Method and apparatus for display control, electronic device | |
JP2015090569A (en) | Information processing device and information processing method | |
CN107566643B (en) | Information processing method, information processing apparatus, storage medium, and electronic device | |
CN115599219B (en) | Eye protection control method, system and equipment for display screen and storage medium | |
CN110572636B (en) | Camera contamination detection method and device, storage medium and electronic equipment | |
CN101390128A (en) | Detecting method and detecting system for positions of face parts | |
JP6753331B2 (en) | Information processing equipment, methods and information processing systems | |
CN108012026B (en) | Eyesight protection method and mobile terminal | |
CN103530624B (en) | Information generating method, device and terminal equipment | |
CN110363036B (en) | Code scanning method and device based on wire controller and code scanning system | |
CN105320261A (en) | Control method for mobile terminal and mobile terminal | |
CN110476180A (en) | User terminal for providing the method for the reward type advertising service based on text reading and for carrying out this method | |
CN109639981B (en) | Image shooting method and mobile terminal | |
CN106557168A (en) | Intelligent glasses and its control method, control device | |
CN110286813A (en) | Picture mark position determines method and apparatus | |
US20180150978A1 (en) | Method and device for processing a page | |
CN114021211A (en) | Intelligent peep-proof system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |