CN108416235A - 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 PDF

Info

Publication number
CN108416235A
CN108416235A CN201810274878.2A CN201810274878A CN108416235A CN 108416235 A CN108416235 A CN 108416235A CN 201810274878 A CN201810274878 A CN 201810274878A CN 108416235 A CN108416235 A CN 108416235A
Authority
CN
China
Prior art keywords
peeping
face
display interface
pupil
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.)
Granted
Application number
CN201810274878.2A
Other languages
Chinese (zh)
Other versions
CN108416235B (en
Inventor
佟莎莎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810274878.2A priority Critical patent/CN108416235B/en
Publication of CN108416235A publication Critical patent/CN108416235A/en
Application granted granted Critical
Publication of CN108416235B publication Critical patent/CN108416235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/165Detection; Localisation; Normalisation using facial parts and geometric relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye 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)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Ophthalmology & Optometry (AREA)
  • Geometry (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 method includes:The startup of an application program in the display interface is responded, front camera is opened and carries out acquisition image;According to acquired image, the position where the face pupil in default visual zone is obtained;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;If so, judgement, which exists, pries through behavior;If it is not, then there is no pry through behavior for judgement;And it when judgement exists and pries through behavior, controls the application program and is shown with anti-peeping pattern.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

The anti-peeping method, apparatus of display interface, storage medium and terminal device
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 technology
Develop with the rapid advances of society, 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 work(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 larger public arena of flow of the people sometimes Mobile phone is held to check.When checking information in public, cannot effectively avoid by others peep 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 used by unauthorized user in mobile phone When into line-locked operation.And during the use 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 in default visual zone and duration, 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 larger 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 being pried through existing Behavior may have the phenomenon that erroneous judgement.
Invention content
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, an embodiment of the present invention provides a kind of methods that display interface is anti-peeping, including:
The startup 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 obtains 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 corresponds to 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 judge to exist and pries through behavior;If it is not, then there is no pry through behavior for judgement;And when judgement exists and pries through behavior, control institute Application program is stated to be shown with anti-peeping pattern.
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 is selected in the display content of the application program Object.
The first embodiment with reference to first aspect, it is described to peep mark in second of embodiment of first aspect Standard further includes:The mobile duration of the movement of the face pupil is more than timing threshold value.
The first embodiment with reference to first aspect or second of embodiment, in the third embodiment party of first aspect In formula, the standard of peeping further includes: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 acquired in the basis obtains The position where face pupil in default visual zone, including:
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 Region include centered on 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, including:
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 more than 75 degree and is less than 90 degree;Or the vertical angle is corresponding Angle threshold is that the vertical angle is less than 15 degree;If so, judging that the corresponding user of the face pupil is to face screen User;If it is not, then judging 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 pattern is described including turning down The display brightness of display interface, the control display interface show or is started with polarisation pattern screen locking any one of operate and its Combination.
With reference to first aspect, in the 7th kind of embodiment of first aspect, further include:
When judgement, which exists, pries through behavior, display reminding information sends out described in display interface and/or by loud speaker The sound of prompt message;Wherein, the prompt message 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, including:
Image starting module, the startup for responding an application program in the display interface, open front camera into Row obtains image;Pupil diameter module, for according to acquired image, obtaining the face pupil institute in default visual zone Position;Subscriber identification module is seen in side, for according to the position where the face pupil got, differentiating the face pupil Whether corresponding user is user that screen is seen in side;Identification module is peeped, for being seen for side as the judgement face pupil user 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, judgement exists Depending on behavior;If it is not, then there is no pry through behavior for judgement;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 pattern.
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 is selected in the display content of the application program Object.
It is described to peep mark in second of embodiment of second aspect in conjunction with the first embodiment of second aspect Standard further includes:The mobile duration of the movement of the face pupil is more 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 In formula, the standard of peeping further includes: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.
In a possible design, the anti-peeping structure of display interface includes processor and memory, the storage 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, an embodiment of the present 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 by the anti-peeping device of display interface.
Any one technical solution in above-mentioned technical proposal has the following advantages that or advantageous effect:
The embodiment of the present invention selects the position of visual zone face pupil by recognition of face, and then repartitions 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 Exist with judgement and pry through behavior, judgement control current application program is shown with anti-peeping pattern 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.
Description of the drawings
In the accompanying drawings, unless specified otherwise herein, otherwise run through the identical reference numeral of multiple attached drawings and indicate same or analogous Component or element.What these attached drawings were not necessarily to scale.It should be understood that these attached drawings are depicted only according to the present invention Some disclosed 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 devices provided by the invention.
Specific implementation mode
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 changed by various different modes. Therefore, attached drawing and description are considered essentially illustrative rather than restrictive.
Embodiment one
Referring to Fig. 1, an embodiment of the present invention provides a kind of method that display interface is anti-peeping, it can be by the display interface Control terminal execute, such as electronic equipments such as mobile phone, tablet, computer or smartwatch are provided in the electronic equipment preposition Camera can be used for imaging or make video recording.Method provided in this embodiment, including step S10 is to step S50, it is specific as follows:
S10, the startup 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 control terminal, such as:The setting of time, display brightness, resolution, also may be used The program of installation and operation in control terminal is downloaded to control terminal, for example, the APP such as social software, game (application program).With And front camera can be RGB (colour) cameras or infrared camera, can also be that the two exists simultaneously.
S20 obtains the position where the face pupil in default visual zone according to acquired image.
In embodiments of the present invention, default visual zone can be that radius is the region of R centered on control terminal, and R can To be arranged as the case may be so that the region is that camera camera shooting sees screen to the visible area of better images or side User can watch the region of the display content on control 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 and carry out machine learning training generation, this training data packet in advance 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.Subsequently the face pupil in default visual zone is chosen at from the position of the face pupil navigated to again 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 include face screen user and side see the user of screen, 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 more 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 follow-up 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, and behavior is pried through to determine whether to exist;If so, judgement, which exists, pries through behavior;If it is not, then judging 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, pry through behavior 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 selected an object or several objects in the display content of application program, 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, the accuracy for differentiating behavior of prying through can be further increased.
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 and 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 that when switching to laugh at by not laughing at, can be determined that pry through behavior to exist at this time.
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 judgement, which exists, pries through behavior, control application program is shown with anti-peeping pattern.
Preferably, anti-peeping pattern includes turning down the display brightness of control terminal display interface, starting the aobvious of control terminal Show that interface is shown with polarisation pattern or started any one of screen locking operation and combinations thereof.Wherein, start polarisation pattern 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 judgement exists and pries through behavior, there is the information for behavior of prying through in display interface in display reminding In and/or send out by loud speaker the sound for showing the information in the presence of behavior of prying through.
The embodiment of the present invention selects the position of visual zone face pupil by recognition of face, and then repartitions 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 Exist with judgement and pry through behavior, judgement control current application program is shown with anti-peeping pattern 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, including:
Starting module 10 is imaged, front camera is opened in the startup for responding an application program in the display interface Carry out acquisition image;Pupil diameter module 20, for according to acquired image, obtaining the face pupil in default visual zone Position where hole;Subscriber identification module 30 is seen in side, for according to the position where the face pupil got, differentiating the people 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 judge to exist to pry through behavior;If it is not, then there is no pry through behavior for judgement;And module starting module 50 is peeped, for working as In the presence of when prying through behavior, control application program is shown with anti-peeping pattern for judgement.
In the first embodiment, peeping standard includes: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-press.
Based on the first embodiment, in the second embodiment, the standard of peeping further includes: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 by face recognition algorithms, positioning the face pupil for the image that the camera shooting obtains 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 the movement belonging to the display interface Centered on equipment and radius be pre-set dimension region.
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, for judging that calculating the horizontal sextant angle obtained or vertical angle is It is no to meet preset angle threshold;Wherein, the corresponding angle threshold of the horizontal sextant angle be the horizontal sextant angle be more than 75 degree and Less than 90 degree;Or the corresponding angle threshold of the vertical angle is that the vertical angle is less than 15 degree;It is single to face screen judgement Member, when horizontal sextant angle or vertical angle for being obtained when the calculating meet the preset angle threshold, then described in judgement The corresponding user of face pupil is the user for facing screen;When it is described calculate obtain horizontal sextant angle or vertical angle be unsatisfactory for it is pre- If the angle threshold when, then judge that the corresponding user of the face pupil sees the user of screen for side.
Further, the anti-peeping pattern includes turning down the display brightness of the display interface, control display circle Face shows with polarisation pattern or starts at least one of screen locking operation.
Further, the anti-peeping device of the display interface further includes peeping reminding module, for being peeped when judgement exists When depending on behavior, display reminding information sends out the sound of the prompt message in display interface and/or by loud speaker;Wherein, The prompt message 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.
In a possible design, the anti-peeping structure of display interface includes processor and memory, the storage 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 includes:
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 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, controlling bus etc..For ease of indicating, only indicated with a thick line in Fig. 3, but simultaneously Only a bus or a type of bus are not indicated that.
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 description purposes only, it is not understood to indicate or imply 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 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 discuss suitable Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute 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 (system of such as computer based system including 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 " can any can be included, store, communicating, propagating or passing 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 arbitrarily combines.The more specific example at least (non-exclusive of computer readable storage medium List) include following:Electrical connection section (electronic device) with one or more wiring, (magnetic fills portable computer diskette box 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 handled with other suitable methods into edlin, interpretation or when necessary 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 a carrier wave part The data-signal of propagation, wherein carrying computer-readable program code.The data-signal of this propagation may be used 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 Can be any computer-readable medium other than computer readable storage medium, which can send, pass Either transmission is broadcast 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 present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed 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 row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated 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 be stored in a kind of computer readable storage medium In, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.If integrated module with The form of software function module realizes and when sold or used as an independent product, can also be stored in one it is computer-readable In storage medium.Storage medium can be read-only memory, disk or CD etc..
More than, specific implementation mode only 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 the claims It is accurate.

Claims (14)

1. a kind of method that display interface is anti-peeping, which is characterized in that including:
The startup of an application program in the display interface is responded, front camera is opened and carries out acquisition image;
According to acquired image, the position where the face pupil in default visual zone is obtained;
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;If so, judgement, which exists, pries through behavior;If it is not, then there is no pry through behavior for judgement;And
When judgement, which exists, pries through behavior, controls the application program and shown with anti-peeping pattern.
2. the anti-peeping method of display interface as described in claim 1, which is characterized in that the standard of peeping includes:It is described Face pupil is moved with the interface focus of the application program or the movement of operation focus;Wherein, the interface focus is institute State changed object in the display content of application program;The operation focus is quilt in the display content of the application program The object of selection.
3. the anti-peeping method of display interface as claimed in claim 2, which is characterized in that the standard of peeping further includes:Institute The mobile duration for stating the movement of face pupil is more than timing threshold value.
4. the anti-peeping method of display interface as claimed in claim 2 or claim 3, which is characterized in that the standard of peeping further includes: The face change corresponding expression shape change within the expression shape change corresponding period in the display of the application program The emotional expression of appearance is consistent.
5. the anti-peeping method of display interface as described in claim 1, which is characterized in that the image acquired in the basis, The position where the face pupil in default visual zone is obtained, including:
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, The default visual zone include centered on the mobile device belonging to the display interface and radius for pre-set dimension region.
6. 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, including:
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 more than 75 degree and is less than 90 degree;Or the corresponding angle threshold of the vertical angle It is less than 15 degree for the vertical angle;
If so, judging that the corresponding user of the face pupil is the user for facing screen;
If it is not, then judging that the corresponding user of the face pupil sees the user of screen for side.
7. the anti-peeping method of display interface as described in claim 1, which is characterized in that the anti-peeping pattern includes turning down Display brightness, the control display interface of the display interface show with polarisation pattern or start any one of screen locking operation And combinations thereof.
8. the anti-peeping method of display interface as described in claim 1, which is characterized in that further include:
When judgement, which exists, pries through behavior, display reminding information sends out the prompt in display interface and/or by loud speaker The sound of information;Wherein, the prompt message is the information that prompt has behavior of prying through.
9. a kind of device that mobile device is anti-peeping, which is characterized in that including:
Starting module is imaged, the startup for responding an application program in the display interface is opened front camera and obtained Take image;
Pupil diameter module, for according to acquired image, obtaining the position where the face pupil in default visual zone It sets;
Subscriber identification module is seen in side, for according to the position where the face pupil got, differentiating that the face pupil corresponds to User whether be user that screen is seen in side;
Identification module is peeped, for when judging 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;If so, judgement, which exists, pries through behavior;If it is not, then judging not In the presence of prying through behavior;And
Peep module starting module, for when judgement exist pry through behavior when, control the application program with anti-peeping pattern into Row display.
10. the anti-peeping device of display interface as claimed in claim 9, which is characterized in that the standard of peeping includes:It is described Face pupil is moved with the interface focus of the application program or the movement of operation focus;Wherein, the interface focus is institute State changed object in the display content of application program;The operation focus is quilt in the display content of the application program The object of selection.
11. the anti-peeping device of display interface as claimed in claim 10, which is characterized in that the standard of peeping further includes: The mobile duration of the movement of the face pupil is more than timing threshold value.
12. the anti-peeping device of display interface as described in claim 10 or 11, which is characterized in that the standard of peeping also is wrapped It includes:The face changes the display of corresponding expression shape change and the application program within the expression shape change corresponding period The emotional expression of content is consistent.
13. 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 Realize such as the anti-peeping method of display interface according to any one of claims 1-8.
14. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the program is held by processor Such as display interface according to any one of claims 1-8 anti-peeping method is realized when row.
CN201810274878.2A 2018-03-30 2018-03-30 The anti-peeping method, apparatus of display interface, storage medium and terminal device Active CN108416235B (en)

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 true CN108416235A (en) 2018-08-17
CN108416235B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657506A (en) * 2018-12-21 2019-04-19 刘琳 A kind of intelligent adjusting method that computer screen content is anti-peeping
CN110007540A (en) * 2019-04-10 2019-07-12 Oppo广东移动通信有限公司 Display screen component, the control method of visible angle, device and electronic equipment
CN110070015A (en) * 2019-04-12 2019-07-30 重庆科芮智能科技有限公司 Image-recognizing method and device, system
CN111611630A (en) * 2020-04-14 2020-09-01 上海卓易科技股份有限公司 Mobile terminal peeping prevention method and mobile terminal
CN111801700A (en) * 2019-08-28 2020-10-20 深圳海付移通科技有限公司 Method for preventing peeping in payment process and electronic equipment
CN112528314A (en) * 2019-09-18 2021-03-19 华为技术有限公司 Terminal information protection method and device
CN112765693A (en) * 2021-01-19 2021-05-07 杭州京胜航星科技有限公司 Cadre personnel digital archive remote reference terminal equipment
CN113221699A (en) * 2021-04-30 2021-08-06 杭州海康威视数字技术股份有限公司 Method and device for improving identification safety and identification equipment
CN113382307A (en) * 2020-03-10 2021-09-10 海信视像科技股份有限公司 Display apparatus and display method thereof
CN116167106A (en) * 2023-04-25 2023-05-26 深圳市爱保护科技有限公司 Smart watch display method and system, storage medium and smart terminal

Citations (7)

* Cited by examiner, † Cited by third party
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
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
CN107577959A (en) * 2017-10-11 2018-01-12 厦门美图移动科技有限公司 A kind of method for secret protection and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
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
CN107577959A (en) * 2017-10-11 2018-01-12 厦门美图移动科技有限公司 A kind of method for secret protection and mobile terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657506A (en) * 2018-12-21 2019-04-19 刘琳 A kind of intelligent adjusting method that computer screen content is anti-peeping
CN110007540A (en) * 2019-04-10 2019-07-12 Oppo广东移动通信有限公司 Display screen component, the control method of visible angle, device and electronic equipment
CN110070015A (en) * 2019-04-12 2019-07-30 重庆科芮智能科技有限公司 Image-recognizing method and device, system
CN110070015B (en) * 2019-04-12 2021-07-02 西安科芮智盈信息技术有限公司 Image recognition method, device and system
CN111801700A (en) * 2019-08-28 2020-10-20 深圳海付移通科技有限公司 Method for preventing peeping in payment process and electronic equipment
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
CN113382307A (en) * 2020-03-10 2021-09-10 海信视像科技股份有限公司 Display apparatus and display method thereof
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
CN113221699A (en) * 2021-04-30 2021-08-06 杭州海康威视数字技术股份有限公司 Method and device for improving identification safety and identification equipment
CN113221699B (en) * 2021-04-30 2023-09-08 杭州海康威视数字技术股份有限公司 Method, device and identification equipment for improving identification safety
CN116167106A (en) * 2023-04-25 2023-05-26 深圳市爱保护科技有限公司 Smart watch display method and system, storage medium and smart terminal
CN116167106B (en) * 2023-04-25 2023-08-01 深圳市爱保护科技有限公司 Smart watch display method and system, storage medium and smart terminal

Also Published As

Publication number Publication date
CN108416235B (en) 2019-08-09

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
CN106231419A (en) Operation performs method and device
EP3333844B1 (en) Display operation method and apparatus, computer program and recording medium
CN106331492A (en) Image processing method and terminal
CN107743224A (en) The dirty based reminding method of camera lens, system, readable storage medium storing program for executing and mobile terminal
CN111240482B (en) Special effect display method and device
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
CN105095881A (en) Method, apparatus and terminal for face identification
CN106778627B (en) Detect the method, apparatus and mobile terminal of face face value
CN104699250A (en) Display control method, display control device and electronic equipment
CN108989678A (en) A kind of image processing method, mobile terminal
CN108833769A (en) Shoot display methods, device, mobile terminal and storage medium
CN108459788B (en) Picture display method and terminal
CN110807405A (en) Detection method of candid camera device and electronic equipment
CN107091704A (en) Pressure detection method and device
CN110572636A (en) camera contamination detection method and device, storage medium and electronic equipment
CN104718742B (en) Display device and display packing
CN105957037A (en) Image enhancing method and image enhancing device
CN110597426A (en) Bright screen processing method and device, storage medium and terminal
KR20180000027A (en) Emotion detecting system using particular point
CN110363036B (en) Code scanning method and device based on wire controller and code scanning system
US10438377B2 (en) Method and device for processing a page
CN109639981A (en) A kind of image capturing method and mobile terminal
CN110248024B (en) Unlocking method and device, electronic equipment and computer readable storage medium

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