CN109165534A - terminal control method, terminal and computer readable storage medium - Google Patents

terminal control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109165534A
CN109165534A CN201811010007.6A CN201811010007A CN109165534A CN 109165534 A CN109165534 A CN 109165534A CN 201811010007 A CN201811010007 A CN 201811010007A CN 109165534 A CN109165534 A CN 109165534A
Authority
CN
China
Prior art keywords
terminal
head portrait
camera
state
face
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.)
Pending
Application number
CN201811010007.6A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811010007.6A priority Critical patent/CN109165534A/en
Publication of CN109165534A publication Critical patent/CN109165534A/en
Pending legal-status Critical Current

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
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • 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/172Classification, e.g. identification
    • G06V40/173Classification, e.g. identification face re-identification, e.g. recognising unknown faces across different face tracks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of terminal control methods, are applied to terminal, the terminal includes camera, which comprises control the camera and can recognize that the face head portrait in region is shot to the camera;The shooting result is analyzed;Judge whether the terminal belongs to by the state of prying through based on the analysis results;And when the terminal belongs to and pried through state, controls the terminal and carry out peep-proof prompting.The present invention also provides a kind of computer readable storage mediums; by implementing above scheme; allow user when using terminal display screen checks information; it can automatically be detected to whether someone pries through; and it can timely notify user; and take measures to prevent information from being pried through, to realize the protection to individual subscriber privacy.

Description

Terminal control method, terminal and computer readable storage medium
Technical field
The present invention relates to electronic technology field more particularly to a kind of terminal control methods, terminal and computer-readable storage Medium.
Background technique
Modern social science technology is fast-developing, information inquiry, electronic reading, on-line payment be widely used in mobile phone, The terminals such as computer, plate, therefore in terminal use process, the secret protection of user becomes more and more important.Especially comparing Using terminals such as mobile phone, computer, plates, others is easy for that us can be pried through when we are careless in crowded space The content browsed causes the leakage of information.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of terminal control method, terminal and storage medium, solves existing skill In art scheme the screen content of terminal pried through and to user's bring embarrassment and inconvenient problem.
To solve the above problems, being applied to terminal the present invention provides a kind of terminal control method, the terminal includes taking the photograph As head, which comprises control the camera and can recognize that the face head portrait in region is shot to the camera;It is right The shooting result is analyzed;Judge whether the terminal belongs to by the state of prying through based on the analysis results;And work as the terminal Belong to when being pried through state, controls the terminal and carry out peep-proof prompting.
Optionally, the terminal further includes display screen, and the method that the control terminal carries out peep-proof prompting includes: Translucent frame is popped up in the predeterminated position of the display screen, reminds terminal described in user to belong to by the state of prying through by text.
Optionally, the method that the control terminal carries out peep-proof prompting, further includes: mentioned by way of sound casting Terminal described in user of waking up belongs to by the state of prying through, and the sound casting includes voice broadcast and vibration.
Optionally, the method that the control terminal carries out peep-proof prompting, further includes: control the display screen and show Scheduled peep-proof picture.
Optionally, the control camera shoots the step of camera can recognize the face head portrait in region, It include: the time interval that the setting camera is shot;When being in the time interval object time, described in unlatching Camera shoots the face head portrait in recognizable region.
Optionally, described that the shooting result is analyzed, judge based on the analysis results the terminal whether belong to by The step of prying through state, comprising: extract and identify the face head portrait in shooting process;By the face head portrait with it is pre-set Safe face head portrait is compared;When each face head portrait identified is matched with the safe face head portrait, then sentence The fixed terminal is not belonging to by the state of prying through;When identifying the head portrait with the safe unmatched face of face head portrait, then Determine that the terminal belongs to by the state of prying through.
Optionally, described that the shooting result is analyzed, judge based on the analysis results the terminal whether belong to by The step of prying through state, further includes: when identifying the strange head portrait with the safe unmatched face of face head portrait, obtain The direction of visual lines of the strange head portrait face;Whether the landing positions for detecting the direction of visual lines are the terminal;When the view When the landing positions in line direction are the terminal, then determine that the terminal belongs to by the state of prying through;When the direction of visual lines When dropping place is set not as the terminal, then determine that the terminal is not belonging to by the state of prying through.
Further, the present invention also provides a kind of terminal, the terminal includes camera, and the terminal is at least also wrapped It includes: memory, communication bus and processor, in which: the memory, for storing terminal control program;The communication bus, For realizing the connection communication between processor and memory;The processor, for executing the terminal control stored in memory Processing procedure sequence, to realize following steps: controlling the camera and can recognize that the face head portrait in region is clapped to the camera It takes the photograph;The shooting result is analyzed;Judge whether the terminal belongs to by the state of prying through based on the analysis results;And when described Terminal belongs to when being pried through state, controls the terminal and carries out peep-proof prompting.
Optionally, when the terminal control program is executed by the processor, described in the control camera shooting Camera can recognize the step of face head portrait in region, comprising: the time interval that the camera is shot is arranged;Work as mesh When the mark time is in the time interval, opens the camera and the face head portrait in recognizable region is shot.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize The step of described in any item terminal control methods as above.
By implementation above scheme, allow user when using terminal display screen checks information, it can be automatically right Whether someone, which pries through, is detected, and can timely notify user, and takes measures to prevent information from being pried through, thus real Now to the protection of individual subscriber privacy.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and Unrestricted mode generally shows each embodiment discussed herein.
A kind of hardware structural diagram of Fig. 1 terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of terminal control method of the present invention;
Fig. 4 is a kind of module diagram of terminal of the present invention;
Fig. 5 is that a kind of terminal of the present invention forms structural schematic diagram.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, terminal, Intelligent bracelet, pedometer etc. are mobile eventually End, and the fixed terminals such as number TV, desktop computer.
It will be illustrated by taking terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for Except the element of mobile purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its terminal of each embodiment to realize the present invention, the terminal 100 may include: radio frequency unit (Radio Frequency, RF) 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that mobile terminal shown in Fig. 1 Structure does not constitute the restriction to mobile terminal, and terminal may include components more more or fewer than diagram, or combine certain Component or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to terminal 100:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location 2000 (Code Division Multiple Access 2000, CDMA2000), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), TD SDMA (Time Division- Synchronous Code Division Multiple Access, TD-SCDMA), frequency division duplex long term evolution (Frequency Division Duplexing-Long Term Evolution, FDD-LTE) and time division duplex long term evolution (Time Division Duplexing-Long Term Evolution, TDD-LTE) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in terminal 100 It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also To provide audio output relevant to the specific function that terminal 100 executes (for example, call signal receives sound, message sink sound Sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 1061, and proximity sensor can close display panel when terminal 100 is moved in one's ear 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone Configurable fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature The other sensors such as meter, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not limited herein specifically It is fixed.
Interface unit 108 be used as at least one external device (ED) connect with terminal 100 can by interface.For example, external Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal 100 or can be used at end Data are transmitted between end 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 can be with It is logically contiguous by power-supply management system and processor 110, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
Although Fig. 1 is not shown, terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system being based below to terminal of the invention are retouched It states.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes the user equipment (User of successively communication connection Equipment, UE) 201, evolved UMTS Terrestrial radio access network (Evolved UMTS Terrestrial Radio Access Network, E-UTRAN) 202, evolved packet-based core networks (Evolved Packet Core, EPC) 203 and operation The IP operation 204 of quotient.
Generally, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include mobility management entity (Mobility Management Entity, MME) 2031, ownership Client server (Home Subscriber Server, HSS) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and policy and rate functional entity (Policy and Charging Rules Function, PCRF) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IP multimedia subsystem (IP Multimedia Subsystem, IMS) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.Based on above-mentioned mobile terminal hardware configuration and communications network system, mention The each embodiment of the method for the present invention out.
Fig. 3 is the flow diagram of the terminal of that embodiment of the invention control method, is applied to terminal, and the terminal includes camera shooting Head (Fig. 3 is not shown).
As shown in figure 3, the described method comprises the following steps:
Step S300 controls the camera and can recognize that the face head portrait in region is shot to the camera.
Specifically, terminal can be set camera and periodically be shot, shooting the period can by user's sets itself, Factory setting can also be carried out by developer.For example, being shot every 30 seconds.
Under normal circumstances, the chance that user takes public transport in peak period on and off duty is larger, therefore is peeped ground Risk is bigger.It therefore, is the operation burden for avoiding increasing terminal, user can be set camera in working peak period or come off duty Peak period is shot, and can be saved the electricity of terminal in this way and be increased operational efficiency.Therefore, further, institute is arranged in terminal The time interval that camera is shot is stated, when being in the time interval object time, opens the camera to can Face head portrait in identification region is shot.For example, the time interval can be set to peak period on and off duty, 07: 00am -09:00am and 17:00pm -20:00pm etc..
Step S302 analyzes the shooting result.
Specifically, the face head portrait in shooting process is extracted and identified to terminal, by the face head portrait with it is pre-set Safe face head portrait is compared.Wherein, safe face head portrait, which can be preset, is stored in image data base.The present embodiment In, face recognition technology already belongs to state of the art, herein to the tool of the face head portrait in terminal recognition shooting process Body process repeats no more.
When each face head portrait identified is matched with the safe face head portrait, terminal then determines the terminal It is not belonging to by the state of prying through.Conversely, then sentencing when terminal recognition goes out the head portrait with the safe unmatched face of face head portrait The fixed terminal belongs to by the state of prying through.It, can be by the face of good friend when user needs to watch display screen together with other good friends It is set in advance as safe head portrait, and is stored in image data base.
Further, when terminal recognition goes out the head portrait with the safe unmatched face of face head portrait, in order to more The problem of accurately determining that the head portrait is prying through the display screen of user really, and preventing to pedestrian's erroneous judgement, improves and sentences Disconnected accuracy.Terminal can also be made following to judge:
When terminal recognition goes out the strange head portrait with the safe unmatched face of face head portrait, the strange head is obtained As the direction of visual lines of face, whether the landing positions that terminal detects the direction of visual lines are the terminal.More specifically, terminal is examined Survey the direction of visual lines landing positions whether be terminal display screen.
When the landing positions of the direction of visual lines are the terminal, then determine that the terminal belongs to by the state of prying through, when When the landing positions of the direction of visual lines are not the terminal, then determine that the terminal is not belonging to by the state of prying through.
Step S304, judges whether the terminal belongs to by the state of prying through based on the analysis results.
Specifically, whether terminal is according to the mode of step S302 to being pried through and determined.It is necessary, of course, to explanation, This case is not limited to carry out prying through judgement with upper type.
Step S306 controls the terminal and carries out peep-proof prompting when the terminal, which belongs to, is pried through state.
In the present embodiment, the terminal further includes display screen (Fig. 3 is not shown), and display screen is used to display user's browsing The page, information, text, picture etc..Specifically, the terminal can carry out peep-proof prompting at least through following manner:
Terminal pops up translucent frame in the predeterminated position of the display screen, by text remind terminal described in user belong to by Pry through state.Predeterminated position is configured according to developer's hobby, can notify field in the top of display screen, can also be Notification bar below display screen.For example, popup text " owner, it is noted that your screen is pried through " etc. below display screen.
In addition, terminal can also remind terminal described in user to belong to by the state of prying through by way of sound casting, the sound Sound casting includes voice broadcast and vibration.It, can also direct voice broadcast etc. for example, can shake preset time reminds user.
Further, terminal can also control the display screen and show scheduled peep-proof picture.In this way, can prevent from showing The content of screen is pried through, for example, the display screen of terminal shows scheduled mosaic picture or landscape figure etc..
Certainly, the behavior pried through more effectively is terminated, terminal can also carry out screen operation of going out, directly closing display screen. It opens a terminal again display screen in this way, user may be adjusted to safety zone.
By implementation aforesaid way, allow user when using terminal display screen checks information, it can be automatically right Whether someone, which pries through, is detected, and can timely notify user, and takes measures to prevent information from being pried through, thus real Now to the protection of individual subscriber privacy.
Fig. 4 is a kind of module diagram of terminal of the present invention, and the terminal includes camera (Fig. 4 is not shown).The end End further includes receiving module 400, logging modle 402, operation module 404, relating module 406, memory 408 and processor 410, Above-mentioned functional module is stored in memory 408 with program code actually, and is executed by processor 410, on realizing State the step or method in embodiment.Wherein:
Shooting module 400 can recognize that the face head portrait in region is carried out to the camera for controlling the camera Shooting.
Specifically, shooting module 400 can be set camera and periodically be shot, and the shooting period can be by user certainly Row setting, can also carry out factory setting by developer.For example, being shot every 30 seconds.
Under normal circumstances, the chance that user takes public transport in peak period on and off duty is larger, therefore is peeped ground Risk is bigger.It therefore, is the operation burden for avoiding increasing terminal, user can be set camera in working peak period or come off duty Peak period is shot, and can be saved the electricity of terminal in this way and be increased operational efficiency.Therefore, further, institute is arranged in terminal The time interval that camera is shot is stated, when being in the time interval object time, opens the camera to can Face head portrait in identification region is shot.For example, the time interval can be set to peak period on and off duty, 07: 00am -09:00am and 17:00pm -20:00pm etc..
Analysis module 402, for analyzing the shooting result.
Specifically, the face head portrait in shooting process is extracted and identified to analysis module 402, by the face head portrait and in advance The safe face head portrait being arranged is compared.Wherein, safe face head portrait, which can be preset, is stored in image data base.This In embodiment, face recognition technology already belongs to state of the art, herein to the face head in terminal recognition shooting process The detailed process of picture repeats no more.
When each face head portrait identified is matched with the safe face head portrait, then determine that the terminal does not belong to In by the state of prying through.Conversely, when analysis module 402 identifies the head portrait with the safe unmatched face of face head portrait, Then determine that the terminal belongs to by the state of prying through.It, can be by good friend's when user needs to watch display screen together with other good friends Face is set in advance as safe head portrait, and is stored in image data base.
Further, when analysis module 402 identifies the head portrait with the safe unmatched face of face head portrait, it is The problem of more accurately determining that the head portrait is prying through the display screen of user really, and preventing to pedestrian's erroneous judgement, mentions High judgment accuracy.Terminal can also be made following to judge:
When analysis module 402 identifies the strange head portrait with the safe unmatched face of face head portrait, mould is analyzed Block 402 obtains the direction of visual lines of the strange head portrait face, and whether the landing positions for detecting the direction of visual lines are the terminal. More specifically, analysis module 402 detect the direction of visual lines landing positions whether be terminal display screen.
When the landing positions of the direction of visual lines are the terminal, then determine that the terminal belongs to by the state of prying through, when When the landing positions of the direction of visual lines are not the terminal, then determine that the terminal is not belonging to by the state of prying through.
Judgment module 404, for judging whether the terminal belongs to by the state of prying through based on the analysis results.
Specifically, judgment module 404 determines according to the analysis result of analysis module 402 whether terminal is pried through. It is necessary, of course, to which explanation, this case are not limited to carry out prying through judgement with upper type.
Control module 406 is mentioned for when the terminal belongs to and pried through state, controlling the terminal progress peep-proof It wakes up.
Specifically, control module 406 receives the judgement of judgment module 404 as a result, the judgement result when judgment module 404 is When prying through state, control module 406 carries out peep-proof prompting to terminal.
In the present embodiment, the terminal further includes display screen (Fig. 4 is not shown), and display screen is used to display user's browsing The page, information, text, picture etc..Specifically, control module 406 can carry out peep-proof prompting at least through following manner:
Control module 406 pops up translucent frame in the predeterminated position of the display screen, is reminded described in user eventually by text End belongs to by the state of prying through.Predeterminated position is configured according to developer's hobby, can notify field in the top of display screen, Can also below display screen notification bar.For example, below display screen popup text " owner, it is noted that your screen by Pry through " etc..
In addition, control module 406 can also remind terminal described in user to belong to by the state of prying through by way of sound casting, The sound casting includes voice broadcast and vibration.For example, can shake preset time remind user, can also directly voice broadcast Report etc..
Further, control module 406 can also control the display screen and show scheduled peep-proof picture.In this way, can be with Prevent the content of display screen from being pried through, for example, the display screen of 406 controlling terminal of control module show scheduled mosaic picture or Person's landscape figure etc..
Certainly, the behavior pried through more effectively is terminated, control module 406 can carry out screen operation of going out with controlling terminal, Directly close display screen.It opens a terminal again display screen in this way, user may be adjusted to safety zone.
By implementation aforesaid way, allow user when using terminal display screen checks information, it can be automatically right Whether someone, which pries through, is detected, and can timely notify user, and takes measures to prevent information from being pried through, thus real Now to the protection of individual subscriber privacy.
Fig. 5 is the composed structure schematic diagram of terminal of the present invention, and the terminal includes camera (Fig. 5 is not shown), such as Fig. 5 institute Show, the terminal is at least further include: memory 501, communication bus 502 and processor 503.Wherein:
The memory 501, for storing terminal control program;
The communication bus 502, for realizing the connection communication between processor and memory;
The processor 503, for executing the terminal control program stored in memory, to perform the steps of
It controls the camera and the face head portrait in region, which is shot, can recognize to the camera.
Specifically, terminal can be set camera and periodically be shot, shooting the period can by user's sets itself, Factory setting can also be carried out by developer.For example, being shot every 30 seconds.
Under normal circumstances, the chance that user takes public transport in peak period on and off duty is larger, therefore is peeped ground Risk is bigger.It therefore, is the operation burden for avoiding increasing terminal, user can be set camera in working peak period or come off duty Peak period is shot, and can be saved the electricity of terminal in this way and be increased operational efficiency.Therefore, further, institute is arranged in terminal The time interval that camera is shot is stated, when being in the time interval object time, opens the camera to can Face head portrait in identification region is shot.For example, the time interval can be set to peak period on and off duty, 07: 00am -09:00am and 17:00pm -20:00pm etc..
The shooting result is analyzed.
Specifically, the face head portrait in shooting process is extracted and identified to terminal, by the face head portrait with it is pre-set Safe face head portrait is compared.Wherein, safe face head portrait, which can be preset, is stored in image data base.The present embodiment In, face recognition technology already belongs to state of the art, herein to the tool of the face head portrait in terminal recognition shooting process Body process repeats no more.
When each face head portrait identified is matched with the safe face head portrait, terminal then determines the terminal It is not belonging to by the state of prying through.Conversely, then sentencing when terminal recognition goes out the head portrait with the safe unmatched face of face head portrait The fixed terminal belongs to by the state of prying through.It, can be by the face of good friend when user needs to watch display screen together with other good friends It is set in advance as safe head portrait, and is stored in image data base.
Further, when terminal recognition goes out the head portrait with the safe unmatched face of face head portrait, in order to more The problem of accurately determining that the head portrait is prying through the display screen of user really, and preventing to pedestrian's erroneous judgement, improves and sentences Disconnected accuracy.Terminal can also be made following to judge:
When terminal recognition goes out the strange head portrait with the safe unmatched face of face head portrait, the strange head is obtained As the direction of visual lines of face, whether the landing positions that terminal detects the direction of visual lines are the terminal.More specifically, terminal is examined Survey the direction of visual lines landing positions whether be terminal display screen.
When the landing positions of the direction of visual lines are the terminal, then determine that the terminal belongs to by the state of prying through, when When the landing positions of the direction of visual lines are not the terminal, then determine that the terminal is not belonging to by the state of prying through.
Judge whether the terminal belongs to by the state of prying through based on the analysis results.
Specifically, whether terminal is according to aforesaid way to being pried through and determined.It is necessary, of course, to explanation, this case is simultaneously Aforesaid way is not limited to carry out prying through judgement.
When the terminal, which belongs to, is pried through state, controls the terminal and carry out peep-proof prompting.
In the present embodiment, the terminal further includes display screen (Fig. 5 is not shown), and display screen is used to display user's browsing The page, information, text, picture etc..Specifically, the terminal can carry out peep-proof prompting at least through following manner:
Terminal pops up translucent frame in the predeterminated position of the display screen, by text remind terminal described in user belong to by Pry through state.Predeterminated position is configured according to developer's hobby, can notify field in the top of display screen, can also be Notification bar below display screen.For example, popup text " owner, it is noted that your screen is pried through " etc. below display screen.
In addition, terminal can also remind terminal described in user to belong to by the state of prying through by way of sound casting, the sound Sound casting includes voice broadcast and vibration.It, can also direct voice broadcast etc. for example, can shake preset time reminds user.
Further, terminal can also control the display screen and show scheduled peep-proof picture.In this way, can prevent from showing The content of screen is pried through, for example, the display screen of terminal shows scheduled mosaic picture or landscape figure etc..
Certainly, the behavior pried through more effectively is terminated, terminal can also carry out screen operation of going out, directly closing display screen. It opens a terminal again display screen in this way, user may be adjusted to safety zone.
By implementation aforesaid way, allow user when using terminal display screen checks information, it can be automatically right Whether someone, which pries through, is detected, and can timely notify user, and takes measures to prevent information from being pried through, thus real Now to the protection of individual subscriber privacy
The present invention also provides a kind of computer readable storage mediums.Terminal is stored on the computer readable storage medium Program is controlled, the terminal control program realizes step as described above when being executed by processor.
It should be noted that the description of the above terminal embodiment, be with the description of above method embodiment it is similar, have The similar beneficial effect with embodiment of the method.For undisclosed technical detail in terminal embodiment of the present invention, this hair is please referred to The description of bright embodiment of the method and understand.
It should be noted that in the embodiment of the present invention, if realizing above-mentioned terminal control in the form of software function module Method processed, and when sold or used as an independent product, it also can store in a computer readable storage medium.Base In such understanding, substantially the part that contributes to existing technology can be in other words for the technical solution of the embodiment of the present invention The form of software product embodies, which is stored in a storage medium, including some instructions to So that a calculating equipment (can be personal computer, server or network equipment etc.) executes each embodiment of the present invention The all or part of the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present invention does not limit It is combined in any specific hardware and software.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of terminal control method is applied to terminal, which is characterized in that the terminal includes camera, which comprises
It controls the camera and the face head portrait in region, which is shot, can recognize to the camera;
The shooting result is analyzed;
Judge whether the terminal belongs to by the state of prying through based on the analysis results;And
When the terminal, which belongs to, is pried through state, controls the terminal and carry out peep-proof prompting.
2. terminal control method as described in claim 1, which is characterized in that the terminal further includes display screen, the control The method that the terminal carries out peep-proof prompting includes:
Translucent frame is popped up in the predeterminated position of the display screen, reminds terminal described in user to belong to by text and is pried through shape State.
3. terminal control method as described in claim 1, which is characterized in that the control terminal carries out peep-proof prompting Method, further includes:
Remind terminal described in user to belong to by the state of prying through by way of sound casting, sound casting include voice broadcast and Vibration.
4. terminal control method as claimed in claim 2, which is characterized in that the control terminal carries out peep-proof prompting Method, further includes:
It controls the display screen and shows scheduled peep-proof picture.
5. terminal control method as described in claim 1, which is characterized in that the control camera shoots the camera shooting The step of face head portrait in recognizable region, comprising:
The time interval that the camera is shot is set;
When being in the time interval object time, opens the camera and the face head portrait in recognizable region is carried out Shooting.
6. terminal control method as described in claim 1, which is characterized in that described to analyze the shooting result, root Judge whether the terminal belongs to the step of being pried through state according to analysis result, comprising:
It extracts and identifies the face head portrait in shooting process;
The face head portrait is compared with pre-set safe face head portrait;
When each face head portrait identified is matched with the safe face head portrait, then determine the terminal be not belonging to by Pry through state;
When identifying the head portrait with the safe unmatched face of face head portrait, then determines that the terminal belongs to and pried through shape State.
7. terminal control method as claimed in claim 6, which is characterized in that described to analyze the shooting result, root Judge whether the terminal belongs to the step of being pried through state according to analysis result, further includes:
When identifying the strange head portrait with the safe unmatched face of face head portrait, the strange head portrait face is obtained Direction of visual lines;
Whether the landing positions for detecting the direction of visual lines are the terminal;
When the landing positions of the direction of visual lines are the terminal, then determine that the terminal belongs to by the state of prying through;
When the landing positions of the direction of visual lines are not the terminal, then determine that the terminal is not belonging to by the state of prying through.
8. a kind of terminal, which is characterized in that the terminal includes camera, and the terminal is at least further include: memory, communication are total Line and processor, in which:
The memory, for storing terminal control program;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the terminal control program stored in memory, to realize following steps:
It controls the camera and the face head portrait in region, which is shot, can recognize to the camera;
The shooting result is analyzed;
Judge whether the terminal belongs to by the state of prying through based on the analysis results;And
When the terminal, which belongs to, is pried through state, controls the terminal and carry out peep-proof prompting.
9. terminal as claimed in claim 8, which is characterized in that when the terminal control program is executed by the processor, institute It states and controls the step of camera shoots the face head portrait in the recognizable region of the camera, comprising:
The time interval that the camera is shot is set;
When being in the time interval object time, opens the camera and the face head portrait in recognizable region is carried out Shooting.
10. a kind of computer readable storage medium, it is stored with terminal control program on the computer readable storage medium, it is described The step of terminal control method as described in claim 1 to 7 is realized when terminal control program is executed by processor.
CN201811010007.6A 2018-08-31 2018-08-31 terminal control method, terminal and computer readable storage medium Pending CN109165534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811010007.6A CN109165534A (en) 2018-08-31 2018-08-31 terminal control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811010007.6A CN109165534A (en) 2018-08-31 2018-08-31 terminal control method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109165534A true CN109165534A (en) 2019-01-08

Family

ID=64893717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811010007.6A Pending CN109165534A (en) 2018-08-31 2018-08-31 terminal control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109165534A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109782464A (en) * 2019-03-29 2019-05-21 云谷(固安)科技有限公司 Light path control structure, display panel and display device
CN110909334A (en) * 2019-11-29 2020-03-24 武汉虹旭信息技术有限责任公司 Information system security peep-proof method, device, electronic equipment and storage medium
WO2020172990A1 (en) * 2019-02-25 2020-09-03 上海传英信息技术有限公司 User smart device and operation abnormality-based user privacy protection method therefor
CN112087625A (en) * 2020-08-27 2020-12-15 西安万像电子科技有限公司 Image processing method, image processing apparatus, server, and storage medium
CN112202963A (en) * 2020-09-29 2021-01-08 中国银行股份有限公司 Mobile banking peep-proof screen method and device, storage medium and electronic equipment
CN114745767A (en) * 2022-04-28 2022-07-12 维沃移动通信有限公司 Power consumption control method and device for electronic equipment, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625716A (en) * 2008-07-09 2010-01-13 联想(北京)有限公司 Method for preventing peep on computer and computer with method
CN103218579A (en) * 2013-03-28 2013-07-24 东莞宇龙通信科技有限公司 Method for preventing content on screen from being peeped, and mobile terminal thereof
CN103324899A (en) * 2012-03-23 2013-09-25 富泰华工业(深圳)有限公司 Electronic equipment and display screen peeping-prevention method thereof
CN106778174A (en) * 2016-12-19 2017-05-31 北京奇虎科技有限公司 A kind of display control method, device and mobile terminal
CN108062490A (en) * 2018-01-03 2018-05-22 深圳市金立通信设备有限公司 Glance prevention method, terminal and computer-readable medium
CN108133133A (en) * 2018-01-26 2018-06-08 郑州云海信息技术有限公司 A kind of mobile phone private guard method
KR20180079894A (en) * 2017-01-03 2018-07-11 한국전자통신연구원 System and method for providing face recognition information and server using the method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625716A (en) * 2008-07-09 2010-01-13 联想(北京)有限公司 Method for preventing peep on computer and computer with method
CN103324899A (en) * 2012-03-23 2013-09-25 富泰华工业(深圳)有限公司 Electronic equipment and display screen peeping-prevention method thereof
CN103218579A (en) * 2013-03-28 2013-07-24 东莞宇龙通信科技有限公司 Method for preventing content on screen from being peeped, and mobile terminal thereof
CN106778174A (en) * 2016-12-19 2017-05-31 北京奇虎科技有限公司 A kind of display control method, device and mobile terminal
KR20180079894A (en) * 2017-01-03 2018-07-11 한국전자통신연구원 System and method for providing face recognition information and server using the method
CN108062490A (en) * 2018-01-03 2018-05-22 深圳市金立通信设备有限公司 Glance prevention method, terminal and computer-readable medium
CN108133133A (en) * 2018-01-26 2018-06-08 郑州云海信息技术有限公司 A kind of mobile phone private guard method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020172990A1 (en) * 2019-02-25 2020-09-03 上海传英信息技术有限公司 User smart device and operation abnormality-based user privacy protection method therefor
CN109782464A (en) * 2019-03-29 2019-05-21 云谷(固安)科技有限公司 Light path control structure, display panel and display device
CN110909334A (en) * 2019-11-29 2020-03-24 武汉虹旭信息技术有限责任公司 Information system security peep-proof method, device, electronic equipment and storage medium
CN112087625A (en) * 2020-08-27 2020-12-15 西安万像电子科技有限公司 Image processing method, image processing apparatus, server, and storage medium
CN112202963A (en) * 2020-09-29 2021-01-08 中国银行股份有限公司 Mobile banking peep-proof screen method and device, storage medium and electronic equipment
CN114745767A (en) * 2022-04-28 2022-07-12 维沃移动通信有限公司 Power consumption control method and device for electronic equipment, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109165534A (en) terminal control method, terminal and computer readable storage medium
CN109039862A (en) Message prompt method, terminal and computer readable storage medium
CN109085990A (en) A kind of gestural control method, mobile terminal and computer readable storage medium
CN109224436A (en) Virtual key based on interface defines method, terminal and storage medium
CN109538538A (en) A kind of processing method of fan noise, mobile terminal and storage medium
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN109144441A (en) A kind of screen adjustment method, terminal and computer readable storage medium
CN108829444A (en) A kind of method that background application is automatically closed, terminal and computer storage medium
CN110460568A (en) A kind of automated reporting method, terminal and computer readable storage medium
CN110069167A (en) Touch point sweep-out method, mobile terminal and computer readable storage medium
CN109543474A (en) A kind of method for controlling mobile terminal and mobile terminal
CN109144383A (en) A kind of application control method, terminal and computer readable storage medium
CN108920047A (en) A kind of control method of application program, terminal and computer readable storage medium
CN108376239A (en) A kind of face identification method, mobile terminal and storage medium
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN110098651A (en) A kind of charging method, device, electronic equipment and readable storage medium storing program for executing
CN109117069A (en) A kind of interface operation method, terminal and computer readable storage medium
CN108900765A (en) A kind of shooting based reminding method, mobile terminal and computer readable storage medium
CN110012158A (en) A kind of charging reminding method, terminal and computer readable storage medium
CN109144577A (en) A kind of screen awakening method, terminal and computer readable storage medium
CN110334559A (en) A kind of barcode scanning recognition methods, terminal and computer readable storage medium
CN109544168A (en) Method of payment, device, mobile terminal and storage medium based on double-sided screen
CN109189482A (en) A kind of display control method, terminal and computer readable storage medium
CN109739404A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109451153A (en) Smart card slot management method, mobile terminal 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190108