CN108491142A - A kind of control method of mobile terminal, mobile terminal and storage medium - Google Patents

A kind of control method of mobile terminal, mobile terminal and storage medium Download PDF

Info

Publication number
CN108491142A
CN108491142A CN201810193462.8A CN201810193462A CN108491142A CN 108491142 A CN108491142 A CN 108491142A CN 201810193462 A CN201810193462 A CN 201810193462A CN 108491142 A CN108491142 A CN 108491142A
Authority
CN
China
Prior art keywords
mobile terminal
front camera
touch event
screen touch
control method
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
CN201810193462.8A
Other languages
Chinese (zh)
Other versions
CN108491142B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810193462.8A priority Critical patent/CN108491142B/en
Publication of CN108491142A publication Critical patent/CN108491142A/en
Application granted granted Critical
Publication of CN108491142B publication Critical patent/CN108491142B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • 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/166Detection; Localisation; Normalisation using acquisition arrangements

Landscapes

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

Abstract

The application is suitable for terminal control technical field, provides a kind of control method of mobile terminal, mobile terminal and computer readable storage medium, the control method and includes:Under preset trigger mechanism, intercept the screen touch event of the mobile terminal, and open front camera, Face datection is carried out to the preview image that the front camera acquires in real time, if detecting facial image in the preview image that the front camera acquires in real time, then the interception of the screen touch event is released, can solve the problems, such as that error touch control often occurs in current mobile terminal by the application, and the damage of mobile terminal physical button can be reduced.

Description

A kind of control method of mobile terminal, mobile terminal and storage medium
Technical field
The application belong to terminal control technical field more particularly to a kind of control method of mobile terminal, mobile terminal and Computer readable storage medium.
Background technology
With rapid technological growth, the function of mobile phone is more and more comprehensive, and people can pass through mobile phone reading electronic book, browsing Webpage, shopping carry out social activity etc., public transport such as people also usually utilize, when the scattered time such as being lined up, have a meal and being worn down using mobile phone Between.
However, due to being scattered usage time, it just usually will appear user and interrupt the content currently browsed and go to handle it The phenomenon that its thing.If closing screen by button after interrupting browsing, frequent operation can lead to the damage of physical button, If being not turned off screen after interrupting browsing, error touch control may be caused to operate.
Invention content
In view of this, the embodiment of the present application provide a kind of control method of mobile terminal, mobile terminal and computer can Storage medium is read, to solve the problems, such as that error touch control often occurs in current mobile terminal, and the damage of mobile terminal physical button can be reduced Wound.
The first aspect of the embodiment of the present application provides a kind of control method of mobile terminal, including:
Under preset trigger mechanism, the screen touch event of the mobile terminal is intercepted, and opens front camera;
Face datection is carried out to the preview image that the front camera acquires in real time;
If detecting facial image in the preview image that the front camera acquires in real time, to the screen touch-control The interception of event is released.
The second aspect of the embodiment of the present application provides a kind of mobile terminal, including:
Camera opening module, under preset trigger mechanism, intercepting the screen touch event of the mobile terminal, And open front camera;
Detection module, the preview image for being acquired in real time to the front camera carry out Face datection;
First releases blocking module, if for detecting face in the preview image that the front camera acquires in real time Image then releases the interception of the screen touch event.
The third aspect of the embodiment of the present application provides a kind of mobile terminal, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the method that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, the computer program to realize the embodiment of the present application when being executed by one or more processors On the one hand the step of the method provided.
5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes Computer program, the computer program realize that the embodiment of the present application first aspect provides when being executed by one or more processors The method the step of.
The embodiment of the present application intercepts the screen touch event of the mobile terminal under preset trigger mechanism, and opens Front camera carries out Face datection, if in the front camera to the preview image that the front camera acquires in real time Detect facial image in the preview image acquired in real time, then the interception of the screen touch event released, due to Under preset trigger mechanism, the screen touch event of the mobile terminal is intercepted, the screen for avoiding user accidentally touches event, again Face datection is carried out by the preview image acquired in real time to front camera, if being acquired in real time in the front camera pre- It lookes in image and detects facial image, indicate user currently also using mobile terminal, at this moment to the screen touch event Interception is released, and the screen for both having avoided user accidentally touches event, further confirms that mobile terminal further through camera Use state reduces the damage of physical button without being operated to the physical button of mobile terminal in whole process.
Description of the drawings
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the control method for mobile terminal that one embodiment of the application provides;
Fig. 2 is a kind of implementation process schematic diagram of the control method for mobile terminal that the another embodiment of the application provides;
Fig. 3 is the schematic block diagram for the mobile terminal that one embodiment of the application provides;
Fig. 4 is the schematic block diagram for the mobile terminal that the another embodiment of the application provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solution described herein, illustrated below by specific embodiment.
Fig. 1 is the implementation process schematic diagram of the control method for the mobile terminal that one embodiment of the application provides, as shown in the figure This method may comprise steps of:
Step S101 intercepts the screen touch event of the mobile terminal under preset trigger mechanism, and opens preposition Camera.
In the embodiment of the present application, the preset trigger mechanism indicates that user is possible to generate screen mistake to mobile terminal The condition for the event of touching, for example, detecting that the direction of mobile terminal screen is downward, and the preview graph that rear camera currently acquires Facial image is detected as in, indicates the eyes of user currently not towards screen, the screen that the screen of current mobile terminal receives Curtain touch event is possible to be that screen accidentally touches event, and screen accidentally touches event and indicates that there is no operate mobile terminal to user Intention, however mobile terminal but has received touch command.
As the another embodiment of the application, the preset trigger mechanism further includes:If the default of the mobile terminal answers With for front stage operation state and monitor the mobile terminal Orientation differences amplitude be more than preset value.
In the embodiment of the present application, the default application can read the application of class, be answered for example, e-book is relevant With, socially relevant application, the relevant application of shopping etc., the default application can be arranged it is multiple, as long as there is any one pre- If apply front stage operation and monitor the Orientation differences amplitude of the mobile terminal mean that more than preset value meet it is preset Trigger condition, this is because when user reads class in application, since the eyes of user need to stare at the screen of mobile terminal checking Curtain, and mobile terminal is held and is usually held in the hand of user, and user is in order to obtain good reading experience, it will usually make mobile terminal Stablize a position.However, when mobile terminal is held in the hand inner by user, it is impossible to keep mobile terminal totally stationary, it is mobile Some variations can occur for the orientation of terminal, and a value (preset value) at this moment can be arranged, and the preset value indicates that user is carrying out The Orientation differences amplitude of mobile terminal when reading is preset when the currently monitored Orientation differences amplitude to the mobile terminal is more than Value indicates that user may no longer read, for example, user needs emergent management accident, and mobile terminal is placed on In pocket.In order to avoid screen accidentally touches event, so that it may to intercept the screen touch event of the mobile terminal.In practical application, The screen touch event for being not responding to mobile terminal is may be set to be, the screen touch event for intercepting the mobile terminal is provided with Or it is not responding to after the screen touch event of mobile terminal, click, sliding that user generates on the screen of the mobile terminal etc. Operation mobile terminal not will produce any response.
Step S102 carries out Face datection to the preview image that the front camera acquires in real time.
In the embodiment of the present application, even if meeting preset trigger mechanism, it is also possible to user occur and also read The case where, for example, becoming to hold mobile terminal by the right hand when user holds mobile terminal by left and right, but still read.At this moment It just needs to further confirm that whether user is currently also reading, for example, the front camera of mobile terminal can be opened, lead to Cross the preview image that front camera acquires front region in real time, and to preview image that the front camera acquires in real time Face datection is carried out, the Face datection is only used for the screen whether identification currently has user in viewing mobile terminal, and does not have to In authentication.
The process of Face datection can be realized by the following method:The template of one or several standard faces is designed first, Face feature i.e. based on people is (since face has certain structure distribution feature, such as:The image surfaces such as eye iris, the wing of nose, the corners of the mouth five The attributes such as size, position, the distance of official's profile), the photo of preview image or shooting to front camera acquisition, first It judges whether face, position, size and each major facial organ of face is then further provided if there is face Location information, based on the above face characteristic use Adaboost learning algorithms, calculate the face characteristic and master die detected Matching degree between plate, and by threshold value to determine whether there are faces.
It should be noted that the preview image of front camera acquisition or the photo of shooting are due to by natural conditions factor Limitation, it may not be possible to directly carry out Face datection, before carrying out Face datection, need the preview acquired to front camera Image or the photo of shooting are pre-processed, for example, noise filtering, light compensation, greyscale transformation, histogram equalization, normalizing Change, geometric correction, filtering and sharpening etc..
Step S103, if detecting facial image in the preview image that the front camera acquires in real time, to institute The interception for stating screen touch event is released.
In the embodiment of the present application, if the preview image of front camera acquisition or the photo and standard form of shooting Between matching degree be more than threshold value, expression detect facial image, if the front camera acquisition preview image or bat Matching degree between the photo and standard form taken the photograph is less than or equal to threshold value, and facial image is not detected in expression.If detection The facial image arrived illustrates that user is currently also reading, so that it may to be released to the interception of the screen touch event, At this moment, if the operations such as user slides on touch screen, clicks, mobile terminal will produce corresponding response.
The embodiment of the present application intercepts the screen touch event of the mobile terminal under preset trigger mechanism, and opens Front camera carries out Face datection, if in the front camera to the preview image that the front camera acquires in real time Detect facial image in the preview image acquired in real time, then the interception of the screen touch event released, due to Under preset trigger mechanism, the screen touch event of the mobile terminal is intercepted, the screen for avoiding user accidentally touches event, again Face datection is carried out by the preview image acquired in real time to front camera, if being acquired in real time in the front camera pre- It lookes in image and detects facial image, indicate user currently also using mobile terminal, at this moment to the screen touch event Interception is released, and the screen for both having avoided user accidentally touches event, further confirms that mobile terminal further through camera Use state reduces the damage of physical button without being operated to the physical button of mobile terminal in whole process.
Fig. 2 is the flow diagram of the control method for the mobile terminal that the another embodiment of the application provides, and as shown in the figure should Method may comprise steps of:
Step S201, if the default application of the mobile terminal is front stage operation state and monitors the mobile terminal Orientation differences amplitude be more than preset value, then intercept the screen touch event of the mobile terminal, open front camera, and open Dynamic timer.
In the embodiment of the present application, the default application is that front stage operation state indicates the default application directly in window Operation, and mobile terminal is shown and the interface of the user of mobile terminal interaction.
The Orientation differences amplitude of the mobile terminal obtains in the following manner:
Fj+1j+1j,
Wherein, j indicates j-th of time cycle, Fj+1Indicate the azimuth of mobile terminal when+1 time cycle of jth Amplitude of variation, αjIt is described to indicate that the magnetic field sensor of mobile terminal described in j-th of time cycle and acceleration transducer obtain The azimuth mean value of mobile terminal, n indicate the magnetic field sensor and acceleration sensing of the mobile terminal in each time cycle Device samples the azimuth for obtaining n mobile terminal, θiIndicate the magnetic field sensor and acceleration transducer of the mobile terminal Sampling obtains i-th of azimuth.
By way of example it is assumed that the time cycle is 1 minute, the magnetic field sensing of the mobile terminal in each time cycle Device and acceleration transducer sampling obtain the azimuth (primary at interval of being obtained in 10 seconds) of 6 mobile terminals, and n=6 monitors institute It is at the beginning of the Orientation differences amplitude for stating mobile terminal:12:00:00, then:
First time cycle is 12:00:00-12:01:00, the sampled point of acquisition is θ1、θ2、θ3、θ4、θ5、θ6,
Second time cycle is 12:01:00-12:02:00, the sampled point of acquisition is θ7、θ8、θ9、θ10、θ11、θ12,
The third time cycle is 12:02:00-12:03:00, the sampled point of acquisition is θ13、θ14、θ15、θ16、θ17、θ18,
The azimuthal average value sampled in the third time cycle is α3=(θ131415161718)/6, According to formulaIt can obtain:
Similarly, the azimuthal average value sampled in second time cycle is α2=(θ789101112)/ 6, according to formulaIt can obtain:
By third time cycle azimuthal average value subtract second time cycle azimuthal average value be exactly when The Orientation differences amplitude F of mobile terminal described in the preceding third time cycle332
It should be noted that can be described pre- at the beginning of the Orientation differences amplitude of the monitoring mobile terminal If using the time for starting to start, at the end of each time cycle (such as the third time cycle terminates), according to current The average value at time cycle (third time cycle) and a upper time cycle (second time cycle) inner orientation angle is just The Orientation differences amplitude of current time cycle (third time cycle) mobile terminal can be obtained.
The screen touch event for intercepting the mobile terminal includes:
Increase frame layout in system solution locking screen interface, prevents the transmission of the screen touch event of the mobile terminal.
It can be specifically to add one layer of FrameLayout (frame layout) as blocking on KeyguardHost, prevent touch-control The gesture event of screen downwards transmit by (first floor system).
Step S202 carries out Face datection to the preview image that the front camera acquires in real time;
The step is consistent with step S102 contents, specifically can refer to the description of step S202, details are not described herein.
Step S203, before the timing time of the timer is more than the first preset time, if in the preposition camera shooting Facial image is detected in the preview image that head acquires in real time, then the interception of the screen touch event is released.
In the embodiment of the present application, in the screen touch event and unlatching front camera for intercepting the mobile terminal When, it is also necessary to start timer.Before the timing time of the timer is more than the first preset time, if preposition being taken the photograph described As detecting facial image in preview image that head acquires in real time, user is meant that currently also using mobile terminal, at this moment The interception to the screen touch event is needed to release, in order to which user continues to operate mobile terminal.
Start timer be because:If user does not use mobile terminal, the i.e. front camera of mobile terminal for a long time Facial image is not detected always in the preview image of acquisition, it is necessary to which front camera acquires always preview image and goes forward side by side pedestrian Face detects, until detecting facial image in the preview image that the front camera acquires in real time, in order to avoid memory A large amount of consumption, can be arranged a time value (the first preset time).
It should be noted that after due to detecting facial image, indicate that user is currently also using mobile terminal, so that it may with Front camera is closed, while continuing to monitor whether to meet preset trigger mechanism.
Step S204, before the timing time of the timer is more than the first preset time, if in the preposition camera shooting Facial image is not detected in the preview image that head acquires in real time, then it is default to be more than first in the timing time of the timer When the time, the interception of the screen touch event is released.
In the embodiment of the present application, if before the timing time of the timer is more than the first preset time, if Facial image is not detected in the preview image that the front camera acquires in real time, then in the timing time of the timer When more than the first preset time, the interception of the screen touch event is released.
It should be noted that since face being not detected always, it may be possible to which using mobile terminal, at this moment user is not currently in The front camera of unlatching can be closed, also not continue to monitor whether to meet preset trigger mechanism.
It can be obtained according to the description of step S203 and step S204, the interception of the screen touch event is released Trigger condition be:1) face figure is detected in the preview image that the first preset time foregoing description front camera acquires in real time Picture releases when detecting facial image;2) in the preview image that the first preset time foregoing description front camera acquires in real time Facial image is not detected, then after the first preset time, releases.
By way of example it is assumed that the setting of the first preset time is 2 minutes, if detecting facial image at the 1st minute, The interception released to the screen touch event in 1st minute, while front camera can be closed and continue to be confirmed whether to meet Preset trigger mechanism;If facial image is not detected within 2 minutes, released to the screen touch-control thing at the 2nd minute The interception of part, while front camera can be closed, but will not continue to be confirmed whether to meet preset trigger mechanism.
Step S205, if not examined in the second preset time after being released to the interception of the screen touch event The operation of user is measured, then screen is ceased to the mobile terminal execution or screen locking operates.
In the embodiment of the present application, after being released to the interception of the screen touch event, no matter user is current Whether using mobile terminal, as long as the operation of user is not detected in the second preset time, then the mobile terminal is held Row breath screen or screen locking operation.
The orientation for how determining mobile terminal further refined on the basis of the embodiment of the present application embodiment shown in Fig. 1 Amplitude of variation, and also increase the limitation of the first preset time, the true use of mobile terminal can be more accurately judged in this way State.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Fig. 3 is that the schematic block diagram for the mobile terminal that one embodiment of the application provides only is shown and this Shen for convenience of description It please the relevant part of embodiment.
The mobile terminal 3 can be the software unit being built in the existing mobile terminal such as mobile phone, notebook, hard Part unit or the unit of soft or hard combination can also be used as independent pendant and be integrated into the existing such as mobile phone, notebook In equal mobile terminals, it is also used as independent mobile terminal and exists.
The mobile terminal 3 includes:
Camera opening module 31, under preset trigger mechanism, intercepting the screen touch-control thing of the mobile terminal Part, and open front camera;
Detection module 32, the preview image for being acquired in real time to the front camera carry out Face datection;
First releases blocking module 33, if for detecting people in the preview image that the front camera acquires in real time Face image then releases the interception of the screen touch event.
Optionally, the camera opening module 31 is additionally operable to:
If the default application of the mobile terminal is front stage operation state and monitors the Orientation differences of the mobile terminal Amplitude is more than preset value, then intercepts the screen touch event of the mobile terminal, and open front camera.
Optionally, the mobile terminal 3 further includes:
Timing module 34 starts timer after opening front camera;
Second releases blocking module 35, is additionally operable to before the timing time of the timer is more than the first preset time, If facial image is not detected in the preview image that the front camera acquires in real time, in the timing of the timer When time is more than the first preset time, the interception of the screen touch event is released.
Optionally, the first releasing blocking module 33 is additionally operable to:
Before the timing time of the timer is more than the first preset time, if being acquired in real time in the front camera Preview image in detect facial image, then the interception of the screen touch event is released.
Optionally, the mobile terminal 3 further includes:
Panel module 36 is ceased, for after being released to the interception of the screen touch event, if when second is default The interior operation that user is not detected then ceases screen to the mobile terminal execution or screen locking operates.
Optionally, the camera opening module 31 is additionally operable to:
Increase frame layout in system solution locking screen interface, prevents the transmission of the screen touch event of the mobile terminal.
Optionally, the Orientation differences amplitude of the mobile terminal obtains in the following manner:
Fj+1j+1j,
Wherein, j indicates j-th of time cycle, Fj+1Indicate the azimuth of mobile terminal when+1 time cycle of jth Amplitude of variation, αjIt is described to indicate that the magnetic field sensor of mobile terminal described in j-th of time cycle and acceleration transducer obtain The azimuth mean value of mobile terminal, n indicate the magnetic field sensor and acceleration sensing of the mobile terminal in each time cycle Device samples the azimuth for obtaining n mobile terminal, θiIndicate the magnetic field sensor and acceleration transducer of the mobile terminal Sample i-th of the azimuth obtained.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the mobile terminal are divided into different functional units or module, to complete All or part of function described above.Each functional unit, module in embodiment can be integrated in a processing unit, Can also be that each unit physically exists alone, can also be during two or more units be integrated in one unit, above-mentioned collection At unit both may be used hardware form realize, can also be realized in the form of SFU software functional unit.In addition, each function Unit, module specific name also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above-mentioned dress Set middle unit, module specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Fig. 4 is the schematic block diagram for the mobile terminal that the another embodiment of the application provides.As shown in figure 4, the shifting of the embodiment Moving terminal 4 includes:It one or more processors 40, memory 41 and is stored in the memory 41 and can be in the processing The computer program 42 run on device 40.The processor 40 is realized above-mentioned each mobile whole when executing the computer program 42 Step in the control method embodiment at end, such as step S101 to S103 shown in FIG. 1.Alternatively, the processor 40 executes The function of each module/unit in above-mentioned mobile terminal embodiment, such as module 31 shown in Fig. 3 are realized when the computer program 42 To 33 function.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the application.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 42 in the mobile terminal 4 is described.For example, the computer program 42 can be divided It is cut into camera opening module, detection module, the first releasing blocking module.
The camera opening module, under preset trigger mechanism, intercepting the screen touch-control of the mobile terminal Event, and open front camera;
The detection module, the preview image for being acquired in real time to the front camera carry out Face datection;
Described first releases blocking module, if for being detected in the preview image that the front camera acquires in real time Facial image then releases the interception of the screen touch event.
Other modules or unit can refer to the description in embodiment shown in Fig. 3, and details are not described herein.
The mobile terminal includes but are not limited to processor 40, memory 41.It will be understood by those skilled in the art that figure 4 be only an example of mobile terminal 4, does not constitute the restriction to mobile terminal 4, may include more more or less than illustrating Component, either combine certain components or different components, for example, the mobile terminal can also include input equipment, it is defeated Go out equipment, network access equipment, bus etc..
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 41 can be the internal storage unit of the mobile terminal 4, such as the hard disk of mobile terminal 4 or interior It deposits.The memory 41 can also be to be equipped on the External memory equipment of the mobile terminal 4, such as the mobile terminal 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the mobile terminal 4 Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the mobile terminal Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list Member division, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling or direct-coupling or communication connection shown or discussed can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the application realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to aforementioned reality Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Within the protection domain of the application.

Claims (10)

1. a kind of control method of mobile terminal, which is characterized in that including:
Under preset trigger mechanism, the screen touch event of the mobile terminal is intercepted, and opens front camera;
Face datection is carried out to the preview image that the front camera acquires in real time;
If detecting facial image in the preview image that the front camera acquires in real time, to the screen touch event Interception released.
2. the control method of mobile terminal as described in claim 1, which is characterized in that it is described under preset trigger mechanism, The screen touch event of the mobile terminal is intercepted, and opens front camera and includes:
If the default application of the mobile terminal is front stage operation state and monitors the Orientation differences amplitude of the mobile terminal More than preset value, then the screen touch event of the mobile terminal is intercepted, and opens front camera.
3. the control method of mobile terminal as described in claim 1, which is characterized in that after setting camera before opening, institute Stating control method further includes:
Start timer;
Before the timing time of the timer is more than the first preset time, if being acquired in real time in the front camera pre- It lookes in image and facial image is not detected, then when the timing time of the timer is more than the first preset time, to described The interception of screen touch event is released.
4. the control method of mobile terminal as claimed in claim 3, which is characterized in that if described in front camera reality When the preview image that acquires in detect facial image, then the interception of the screen touch event release and includes:
Before the timing time of the timer is more than the first preset time, if being acquired in real time in the front camera pre- It lookes in image and detects facial image, then the interception of the screen touch event is released.
5. the control method of mobile terminal as described in claim 1, which is characterized in that blocked to the screen touch event It cuts after being released, the control method further includes:
If the operation of user is not detected in the second preset time, screen is ceased to the mobile terminal execution or screen locking operates.
6. such as the control method of mobile terminal described in any one of claim 1 to 5, which is characterized in that described to intercept the shifting The screen touch event of dynamic terminal includes:
Increase frame layout in system solution locking screen interface, prevents the transmission of the screen touch event of the mobile terminal.
7. the control method of mobile terminal as claimed in claim 2, which is characterized in that the Orientation differences width of the mobile terminal Degree obtains in the following manner:
Fj+1j+1j,
Wherein, j indicates j-th of time cycle, Fj+1Indicate the azimuthal variation of mobile terminal when+1 time cycle of jth Amplitude, αjIndicate the movement that the magnetic field sensor of mobile terminal described in j-th of time cycle and acceleration transducer obtain The azimuth mean value of terminal, n indicate that the magnetic field sensor of the mobile terminal and acceleration transducer are adopted in each time cycle Sample obtains the azimuth of n mobile terminal, θiIndicate magnetic field sensor and the acceleration transducer sampling of the mobile terminal I-th of the azimuth obtained.
8. a kind of mobile terminal, which is characterized in that including:
Camera opening module, under preset trigger mechanism, intercepting the screen touch event of the mobile terminal, and open Open front camera;
Detection module, the preview image for being acquired in real time to the front camera carry out Face datection;
First releases blocking module, if for detecting face figure in the preview image that the front camera acquires in real time Picture then releases the interception of the screen touch event.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence realizes the step such as any one of claim 1 to 7 the method when the computer program is executed by one or more processors Suddenly.
CN201810193462.8A 2018-03-09 2018-03-09 Control method of mobile terminal, mobile terminal and storage medium Expired - Fee Related CN108491142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810193462.8A CN108491142B (en) 2018-03-09 2018-03-09 Control method of mobile terminal, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810193462.8A CN108491142B (en) 2018-03-09 2018-03-09 Control method of mobile terminal, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108491142A true CN108491142A (en) 2018-09-04
CN108491142B CN108491142B (en) 2020-08-11

Family

ID=63338427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810193462.8A Expired - Fee Related CN108491142B (en) 2018-03-09 2018-03-09 Control method of mobile terminal, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108491142B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647277A (en) * 2019-08-28 2020-01-03 维沃移动通信有限公司 Control method and terminal equipment
CN113138662A (en) * 2020-01-19 2021-07-20 珠海格力电器股份有限公司 Method and device for preventing mistaken touch of touch equipment, electronic equipment and readable storage medium
CN114578998A (en) * 2022-03-23 2022-06-03 深圳传音控股股份有限公司 Touch processing method, intelligent terminal and computer readable storage medium
WO2024067431A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Touch processing method and related device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100323762A1 (en) * 2009-06-17 2010-12-23 Pradeep Sindhu Statically oriented on-screen transluscent keyboard
JP2012208795A (en) * 2011-03-30 2012-10-25 Ntt Docomo Inc Portable terminal and operation control method
CN103067600A (en) * 2013-01-14 2013-04-24 成都西可科技有限公司 Error touching preventing system and implementation method of smart phone
CN103412719A (en) * 2013-08-30 2013-11-27 深圳市中兴移动通信有限公司 Method and device for preventing touch screen terminal from misoperation
CN104238912A (en) * 2014-08-22 2014-12-24 小米科技有限责任公司 Application control method and application control device
CN104541231A (en) * 2014-08-29 2015-04-22 华为技术有限公司 Method and device for preventing mistaken touch of touch screen
CN105630352A (en) * 2015-12-24 2016-06-01 天脉聚源(北京)科技有限公司 Mistaken touch prevention method and device
CN105635483A (en) * 2016-01-26 2016-06-01 广东欧珀移动通信有限公司 Processing method and device for operating mobile terminal
CN106020510A (en) * 2016-05-17 2016-10-12 广东欧珀移动通信有限公司 Control method and device of terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100323762A1 (en) * 2009-06-17 2010-12-23 Pradeep Sindhu Statically oriented on-screen transluscent keyboard
JP2012208795A (en) * 2011-03-30 2012-10-25 Ntt Docomo Inc Portable terminal and operation control method
CN103067600A (en) * 2013-01-14 2013-04-24 成都西可科技有限公司 Error touching preventing system and implementation method of smart phone
CN103412719A (en) * 2013-08-30 2013-11-27 深圳市中兴移动通信有限公司 Method and device for preventing touch screen terminal from misoperation
CN104238912A (en) * 2014-08-22 2014-12-24 小米科技有限责任公司 Application control method and application control device
CN104541231A (en) * 2014-08-29 2015-04-22 华为技术有限公司 Method and device for preventing mistaken touch of touch screen
CN105630352A (en) * 2015-12-24 2016-06-01 天脉聚源(北京)科技有限公司 Mistaken touch prevention method and device
CN105635483A (en) * 2016-01-26 2016-06-01 广东欧珀移动通信有限公司 Processing method and device for operating mobile terminal
CN106020510A (en) * 2016-05-17 2016-10-12 广东欧珀移动通信有限公司 Control method and device of terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647277A (en) * 2019-08-28 2020-01-03 维沃移动通信有限公司 Control method and terminal equipment
CN113138662A (en) * 2020-01-19 2021-07-20 珠海格力电器股份有限公司 Method and device for preventing mistaken touch of touch equipment, electronic equipment and readable storage medium
CN114578998A (en) * 2022-03-23 2022-06-03 深圳传音控股股份有限公司 Touch processing method, intelligent terminal and computer readable storage medium
WO2024067431A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Touch processing method and related device

Also Published As

Publication number Publication date
CN108491142B (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN108491142A (en) A kind of control method of mobile terminal, mobile terminal and storage medium
CN110321047B (en) Display control method and device
US10528711B2 (en) Method for processing fingerprint and electronic device therefor
WO2020048140A1 (en) Living body detection method and apparatus, electronic device, and computer readable storage medium
CN105453100B (en) The current access module of state control computing device based on attachment means
CN108769634A (en) A kind of image processing method, image processing apparatus and terminal device
CN107257440A (en) It is a kind of to detect method, equipment and storage medium that video tracking is shot
CN106462329A (en) Light dismiss manager
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN103871165A (en) Safety monitoring method and device of self-service equipment
CN108090340A (en) Face recognition processing method, recognition of face processing unit and intelligent terminal
CN106775193A (en) A kind of Application Program Interface display methods and device
CN109376702A (en) Fingerprint identification method and Related product
CN109657543A (en) Flow of the people monitoring method, device and terminal device
CN107632867A (en) A kind of method, apparatus of information record, computer installation and readable storage medium storing program for executing
CN110244894A (en) A kind of control method of screen locking, device, handheld terminal and storage medium
CN109492590A (en) A kind of distance detection method, distance detection device and terminal device
CN107194232A (en) Solve lock control method, device, computer installation and computer-readable recording medium
CN106599652A (en) Screen unlocking method and terminal
CN107402787A (en) Iris recognition pattern open method and Related product
CN107742073A (en) Information displaying method, device, computer installation and computer-readable recording medium
CN109063462A (en) A kind of right management method and terminal device
CN108845732A (en) A kind of information display method and terminal device
CN108304135A (en) A kind of method of adjustment and terminal of virtual modifier key
CN108520186A (en) Record screen 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200811

CF01 Termination of patent right due to non-payment of annual fee