CN105988580A - Screen control method and device of mobile terminal - Google Patents

Screen control method and device of mobile terminal Download PDF

Info

Publication number
CN105988580A
CN105988580A CN201510211725.XA CN201510211725A CN105988580A CN 105988580 A CN105988580 A CN 105988580A CN 201510211725 A CN201510211725 A CN 201510211725A CN 105988580 A CN105988580 A CN 105988580A
Authority
CN
China
Prior art keywords
mobile terminal
image
destination object
screen
human body
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
CN201510211725.XA
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.)
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority to CN201510211725.XA priority Critical patent/CN105988580A/en
Publication of CN105988580A publication Critical patent/CN105988580A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention provides a screen control method and device of a mobile terminal. The method comprises the following steps: determining that the mobile terminal is under a communication state; detecting whether a distance between the mobile terminal under the communication state and a target object is smaller than a preset threshold value or not; when the distance between the mobile terminal under the communication state and the target object is smaller than the preset threshold value, identifying whether the image, which is collected by the started front-facing camera of the mobile terminal, of the target object is the image of a preset object or not; and if the image of the target image is the image of the preset object, closing the screen of the mobile terminal. A misoperation can be avoided by the embodiment, and control accuracy is high.

Description

The screen control method of mobile terminal and device
Technical field
The present embodiments relate to communication technical field, particularly relate to the screen control side of a kind of mobile terminal Method and device.
Background technology
Along with developing rapidly of mobile terminal, the kind of mobile terminal is more and more abundanter, and function is the most more come The most powerful, provide the user many conditions easily.Mobile terminal had become as people life and Requisite means of communication in work, user is to the requirement of the experience of mobile terminal the most increasingly High.
At present, giant-screen, the intelligent mobile terminal of capacitance touch screen are increasingly liked by users Liking, it has independent operating system, and powerful practicality is high, and user can install application voluntarily The program such as software, game carries out function expansion, it is possible to by WiFi (Wireless-Fidelity, Wireless Fidelity) to get online without being tethered to a cable, this kind of mobile terminal makes people play in object for appreciation, see a film, browse photograph There is during sheet higher experience.But giant-screen more takes electricity, and due to the characteristic of capacitance plate touch Often cause maloperation, be especially easy to imprudence when conversing and touch screen and cause call Hang up.
In prior art, it is typically the screen of turning-off mobile terminal when conversing for the problems referred to above Curtain, this kind of mode is possible not only to make electricity saving of mobile terminal, and can also avoid face in communication process The maloperation that portion touches screen and causes.
But, it is currently the most to carry out conversing with really by detection mobile terminal in aforesaid way The fixed screen whether wanting turning-off mobile terminal, but middle user may be not intended to screen in some scenarios Curtain is closed, such as, need to check the scene of air time in communication process as user.Therefore, above-mentioned side The screen of mobile terminal is simply closed by formula blindly, thus causes the precise control of this kind of mode Property poor, the operation of user is affected bigger.
Summary of the invention
The embodiment of the present invention provides screen control method and the device of a kind of mobile terminal, existing in order to solve The precise control of mode is poor, the problem bigger on the operation impact of user.
The embodiment of the present invention provides the screen control method of a kind of mobile terminal, including:
Determine that mobile terminal is in talking state;
Whether detection is in the distance between described mobile terminal and the destination object of talking state less than presetting Threshold value;
When distance between described mobile terminal and described destination object is less than predetermined threshold value, identifies and open Whether the image of the described destination object that the front-facing camera of dynamic described mobile terminal is gathered is default right The image of elephant;
If presetting the image of object, then close the screen of described mobile terminal.
The embodiment of the present invention provides the screen control device of a kind of mobile terminal, including:
State determining module, is used for determining that mobile terminal is in talking state;
Distance detection module, is between described mobile terminal and the destination object of talking state for detection Distance whether less than predetermined threshold value;
Picture recognition module, for the distance between described mobile terminal and described destination object less than pre- If during threshold value, identify the described destination object that the front-facing camera of the described mobile terminal having been turned on is gathered Image be whether the image presetting object;
Module closed by screen, is default for identifying the image of described destination object at described identification module During the image of object, close the screen of described mobile terminal.
The screen control method of the mobile terminal that the embodiment of the present invention provides and device, mobile whole detecting When end is in talking state, the front-facing camera starting this mobile terminal gathers the image of destination object, and When the distance detected between mobile terminal and destination object is less than predetermined threshold value, identify destination object Whether image is the image presetting object, if presetting the image of object, the then screen of turning-off mobile terminal. Carry out image acquisition by front-facing camera for destination object, therefore mobile terminal and destination object it Between distance less than during predetermined threshold value not such as prior art only by detection mobile terminal currently the most just Carrying out conversing to determine whether to the screen of turning-off mobile terminal, the most direct turning-off mobile terminal Screen, but determine really need close time just execution shutoff operation such that it is able to avoid maloperation, Precise control is higher.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of steps of the screen control method of a kind of mobile terminal of the embodiment of the present invention one;
Fig. 2 is the flow chart of steps of the screen control method of a kind of mobile terminal of the embodiment of the present invention two;
Fig. 3 is the structured flowchart of the screen control device of a kind of mobile terminal of the embodiment of the present invention three;
Fig. 4 is the structured flowchart of the screen control device of a kind of mobile terminal of the embodiment of the present invention four.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiment one
With reference to Fig. 1, it is shown that the step of the screen control method of a kind of mobile terminal of the embodiment of the present invention one Rapid flow chart.
The screen control method of the mobile terminal of the present embodiment may comprise steps of:
Step 101, determines that mobile terminal is in talking state.
The screen of this mobile terminal is controlled by the present embodiment when mobile terminal is in talking state, from And avoid in communication process, mobile terminal being carried out maloperation, affect communication process, therefore determine shifting After dynamic terminal is in talking state, perform following each step.Wherein, mobile terminal is in talking state and is Refer to that mobile terminal connects state in the call after conversing.
Step 102, the distance that detection is between the mobile terminal of talking state and destination object is the least In predetermined threshold value.
In the present embodiment, to being in the mobile terminal of talking state, according to this mobile terminal and destination object Between the situation of distance the screen of this mobile terminal is controlled.Therefore, determining at mobile terminal After talking state, whether the distance between detection mobile terminal and destination object is less than presetting threshold further Value, in order to determine the need for the screen of mobile terminal is controlled according to this distance.
Step 103, when the distance between mobile terminal and destination object is less than predetermined threshold value, has identified Whether the image of the destination object that the front-facing camera of the mobile terminal started is gathered is the figure presetting object Picture.
The front-facing camera of mobile terminal is typically when running and needing the application using this photographic head just can open Dynamic, such as when using the Self-timer of camera, startup front-facing camera is autodyned, and current skill In art when mobile terminal is in talking state, its front-facing camera is to close.In order to ensure screen The accuracy controlled, gathers the figure of destination object by the front-facing camera starting mobile terminal in the present embodiment Picture, in order to the follow-up image according to this destination object determines whether really to need the screen of turning-off mobile terminal. For starting the mode of front-facing camera, will be described in detail in following embodiment two.
When distance between mobile terminal and destination object is less than predetermined threshold value, the most likely can illustrate Encounter the screen of mobile terminal by mistake thus cause maloperation, the front-facing camera institute now identification being had been turned on Whether the image of the destination object gathered is the image presetting object, to determine whether turning-off mobile terminal Screen.
Step 104, if presetting the image of object, the then screen of turning-off mobile terminal.
If the image of destination object is the image presetting object, then illustrate that destination object now is really Near the object (such as human body ear) of mobile terminal screen during user's communication, and it is not that other are right As near mobile terminal screen, therefore in order to avoid affecting conversed owing to touching screen by mistake in the case of this kind Journey, by the screen of turning-off mobile terminal, after closedown, mobile terminal will not respond the behaviour of the touch-control to screen Make.If the image of destination object is not the image presetting object, then illustrate that destination object now may It is other objects near mobile terminal screen, the screen of mobile terminal therefore in the case of this kind, will be kept for opening Opening state, mobile terminal will proceed to respond to the touch control operation to screen.
In the embodiment of the present invention, carry out image acquisition by front-facing camera for destination object, therefore exist Distance between mobile terminal and destination object less than predetermined threshold value time not if prior art is only by inspection Survey mobile terminal and currently the most carry out conversing to determine whether to the screen of turning-off mobile terminal, immediately The screen of direct turning-off mobile terminal blindly, but just perform to close behaviour when determining and really needing to close Make such that it is able to avoiding maloperation, precise control is higher.
Embodiment two
With reference to Fig. 2, it is shown that the step of the screen control method of a kind of mobile terminal of the embodiment of the present invention two Rapid flow chart.
The screen control method of the mobile terminal of the present embodiment may comprise steps of:
Step 201, determines that mobile terminal is in talking state.
The present embodiment can detect whether mobile terminal is in talking state in real time, it is also possible to according to presetting Whether time interval detection mobile terminal is in talking state (such as inferior every detection one in 0.1 second), right This is not any limitation as.After determining that mobile terminal is in talking state, perform following each step.Wherein, Whether detection mobile terminal being in the process of talking state, those skilled in the art can be according to reality Experience selects any suitable detection mode, and this is not any limitation as by the present embodiment.
Step 202, the distance that detection is between the mobile terminal of talking state and destination object is the least In predetermined threshold value.(if i.e. distance between mobile terminal and destination object is less than predetermined threshold value), then hold Row step 203;If not (i.e. distance between mobile terminal and destination object is more than or equal to predetermined threshold value), Perform step 206.
In the present embodiment, when mobile terminal is in talking state, will detection mobile terminal and destination object Between distance whether less than predetermined threshold value.In the present embodiment, mobile terminal and target can be detected in real time Distance between object, it is also possible to according between prefixed time interval detection mobile terminal and destination object Distance (such as inferior every detection one in 0.1 second), is not any limitation as this.Detection process can be Mobile terminal is just switched on starting detection when call enters talking state.
Wherein it is possible to carry out distance detection by the infrared detection function of mobile terminal, therefore mobile whole When end is just switched on call entrance talking state, will generate the instruction of infrared detection, operating system is receiving After this instruction, send instructions to the infrared detection module (such as infrared sensor) in system, infrared detection Module can respond this instruction and automatically perform to detect the operation of the distance between mobile terminal and destination object. For the detailed process of infrared detection, those skilled in the art carry out relevant treatment according to practical experience, The present embodiment is no longer discussed in detail at this.Certainly, those skilled in the art can also according to practical experience also The distance between mobile terminal and destination object can be detected in the way of using other detecting distance, this This is not any limitation as by embodiment.
Distance between the mobile terminal detected and destination object is compared with predetermined threshold value, with really Whether determine the distance between mobile terminal and destination object less than predetermined threshold value.Wherein, for predetermined threshold value Concrete numerical value the present embodiment be not any limitation as, those skilled in the art can be according to historical empirical data It is configured, it is also possible to be configured according to the result of simulation experiment, it is also possible to according to existing relevant mode The result of Correlative data analysis is configured by type, substantially the most easily can touch with destination object The screen of mobile terminal and predetermined threshold value is set, the such as distance between mobile terminal and destination object is little In 8 centimetres time, destination object easily touches the screen of mobile terminal, then predetermined threshold value is set to 8 lis Rice;When distance between mobile terminal and destination object is less than 5 centimetres, destination object easily touches shifting The screen of dynamic terminal, then be set to 5 centimetres by predetermined threshold value, etc..
Step 203, when the distance between mobile terminal and destination object is less than predetermined threshold value, has identified Whether the image of the destination object that the front-facing camera of the mobile terminal started is gathered is the figure presetting object Picture.If the image of destination object is the image presetting object, then perform step 204;Otherwise, step is performed Rapid 206.
In the present embodiment, for being in the mobile terminal of talking state, can automatically start this mobile terminal Front-facing camera the destination object in screen front is carried out image acquisition, the image after collection can preserve To the locally stored module of mobile terminal, use for follow-up identification image.
Preferably, (move eventually when the present embodiment can be in talking state mobile terminal being detected When end is just switched on call entrance talking state), the front-facing camera automatically starting mobile terminal gathers target pair The image of elephant.When detecting that mobile terminal is just switched on call entrance talking state, generation is started preposition The instruction of photographic head, operating system, after receiving this instruction, sends instructions to the photographic head in system Module, camera module can respond this instruction and automatically start front-facing camera, and this front-facing camera will be Running background.
Preferably, the present embodiment can also determine according to the distance between mobile terminal and destination object open The time point of dynamic front-facing camera.If be detected that the distance between mobile terminal and destination object is less than pre- If threshold value, then illustrate now to cause maloperation owing to imprudence touches screen, need shifting The screen of dynamic terminal is controlled, and therefore, mobile terminal and target can also detected in the present embodiment When distance between object is less than predetermined threshold value, identify that the front-facing camera of the mobile terminal having been turned on is adopted Before whether the image of the destination object of collection is the image presetting object, automatically start the preposition of mobile terminal The image of camera collection destination object.Similar to above, detect mobile terminal and destination object it Between distance less than predetermined threshold value time, will generate start front-facing camera instruction, operating system receive After this instruction, sending instructions to the camera module in system, camera module can respond this and refer to Order starts front-facing camera automatically.This kind of mode needs to be controlled the screen of mobile terminal determining Time when predetermined threshold value (distance between mobile terminal and destination object less than) restart front-facing camera, Compared to above-mentioned detecting that mobile terminal is just switched on starting front-facing camera when call enters talking state Mode, it is possible to avoid also running front-facing camera, further when need not the screen controlling mobile terminal Reduce resource utilization, and the effect of power saving can be reached.
Certainly, the present embodiment can also start the front-facing camera of mobile terminal, example at other times point As, little to the distance between mobile terminal and destination object after talking state can being entered being just switched on call Time point between predetermined threshold value starts the front-facing camera of mobile terminal, and the present embodiment is to this and is not added with To limit.
If the distance detected in step 202. between mobile terminal and destination object is less than presetting threshold Value, then illustrate now to cause maloperation owing to imprudence touches screen, it is therefore desirable to shifting The screen of dynamic terminal is controlled.But, the screen of mobile terminal is held by the present embodiment the most blindly Row shutoff operation, but need whether the image identifying destination object further is the image presetting object, Determine whether the situation for really wanting turning-off mobile terminal screen, it is to avoid owing to other objects are near screen Curtain also performs shutoff operation and causes closedown mistake.
Preferably due to be to be controlled for screen to mobile terminal in communication process, conversing In journey, the screen of mobile terminal is proximate to human body ear, therefore can determine above-mentioned default object for people Body ear, thus improve the accuracy of control further.Can be with training in advance human body ear in the present embodiment Whether grader, using the image of this grader identification destination object is the image of human body ear.
Preferably, the present embodiment can use the human body ear classification that AdaBoost Algorithm for Training obtains Device.Adaboost is a kind of iterative algorithm, and its core concept is different for the training of same training set Grader (Weak Classifier), then gets up these weak classifier set, constitutes one higher final point Class device (strong classifier).Its algorithm itself realizes by changing data distribution, and it is according to instruction every time Practice the classification of each sample among collection the most correct, and the accuracy rate of the general classification of last time, determine The weights of each sample.Give sub classification device by the new data set revising weights to be trained, finally The grader obtained will be trained finally to merge, as last Decision Classfication device, final is strong every time Grader is the weighted average of each Weak Classifier.
In the present embodiment, for human body ear, human body ear classification can be carried out based on Haar-like feature The training of device.Haar-like feature is computer vision field one feature description operator.Haar-like at present Feature can be divided into following three classes: linear character, edge feature, some feature (central feature), is combined into Feature templates.There are white and two kinds of rectangles of black in feature templates, and the eigenvalue defining this template is white Color rectangular pixels sum deducts the difference of black rectangle pixel sum.Haar-like eigenvalue reflects image Grey scale change situation.Such as: some features of face simply can be described by rectangular characteristic, such as: eye Eyeball is deeper than cheek color, and bridge of the nose both sides are deeper than bridge of the nose color, and face is deeper etc. than ambient color. Preferably, the present embodiment can also use the Haar-like feature of extension, the Haar-like feature of extension Referring to diagonal feature, the calculating process for this feature template is same as described above, the heaviest at this Multiple discussion.
The strong classifier that AdaBoost trains out has the threshold value of correspondence, in the training process, to sample Image carries out Haar-like feature detection, obtains the Haar-like eigenvalue of sample image, by sample image The threshold value of Haar-like eigenvalue and strong classifier compare, if Haar-like eigenvalue was more than should The threshold value of grader, then for there is human body ear feature, otherwise this grader in the classification results of this grader Classification results for there is not human body ear feature.In the training process the threshold value of strong classifier is adjusted Whole, to ensure that the accuracy of detection reaches to preset accuracy (such as 90%, 95% etc.).Such as, for sample This collection, if the accuracy of strong classifier detection is 80% after this detection, then reduces this strong classifier Threshold value, again detects above-mentioned sample set, repeats said process, until the accuracy of detection Till reaching to preset accuracy such that it is able to get rid of a large amount of doubtful non-human ear characteristic, only leave human ear characteristic Participate in subsequent classification, improve accuracy and the detection speed of strong classifier detection.
Preferably, in the detection of reality, only still it is difficult to ensure that the correct of detection by a strong classifier Rate, therefore, can train multiple strong classifier, ultimately form the level that accuracy is higher in the present embodiment Connection strong classifier.During subsequent classification, one group of grader cascaded is used to detect, further Improve the accuracy of detection.
At training after the human body ear grader of one group of cascade, i.e. can utilize it that front-facing camera is adopted The image of the destination object of collection is identified.Preferably, in the present embodiment, identify the image of destination object It is whether that the process of the image of human body ear can include following sub-step:
Sub-step a, carries out pretreatment to the image of destination object.
First read the image of destination object, then this image is carried out pretreatment.Wherein, pretreatment can To include the process of filtering interfering, noise, process of correction geometric distortion etc., for specifically processing Journey, those skilled in the art carry out relevant treatment according to practical experience, and the present embodiment is the most detailed at this Thin discussion.Image is carried out pretreatment and can improve the signal to noise ratio of image, the detectability of Enhanced feature, And then prominent human body ear feature.
Sub-step b, carries out Haar-like feature detection to pretreated image, obtains pretreated The Haar-like eigenvalue of image.
In the present embodiment, detect according to Haar-like feature, calculate pretreated image Haar-like eigenvalue, the process that calculates is with reference to the associated description during above-mentioned training.Preferably, The present embodiment can calculate pretreated image to use the Haar-like feature detection mode of extension Extension Haar-like eigenvalue, this is not any limitation as by the present embodiment at this.
Sub-step c, by Haar-like eigenvalue sequentially with the human body ear grader of default one group of cascade Threshold value compare, obtain the classification results of human body ear grader.
As above, training in advance goes out human body ear grader (strong classifier) of one group of cascade, by above-mentioned calculating Haar-like eigenvalue sequentially threshold value with each human body ear grader compare.For a human body For ear grader, if Haar-like eigenvalue is more than the threshold value of this grader, then this grader Classification results is human body ear feature, and otherwise the classification results of this grader is non-human ear feature.
Sub-step d, if all the classification results of human body ear grader is human body ear feature, the most really Set the goal the image that image is human body ear of object.
During the grader using cascade is sequentially classified, if the classification results of certain grader is Non-human ear feature, the most no longer threshold value with other grader compare, and determine destination object Image be not the image of human body ear;If all the classification results of human body ear grader is human body ear Piece feature, it is determined that the image of destination object is the image of human body ear.
The identification of the image to destination object can be completed by said process, and use above-mentioned AdaBoost Algorithm for Training grader, and use the mode that is identified of Haar-like feature can make knowledge Other result is more accurate.
Step 204, if the image of destination object is the image presetting object, then the screen of turning-off mobile terminal Curtain.
If identifying the image of destination object in step 203 for presetting object (i.e. human body ear) Image, then illustrate really to need turning-off mobile terminal screen, therefore gets final product the screen of turning-off mobile terminal. Therefore, when the image identifying destination object is the image presetting object, the instruction closing screen will be generated, Operating system, after receiving this instruction, sends instructions to the screen processing module in system, at screen Reason module can respond the screen of this instruction turning-off mobile terminal, the driver of screen out of service, after Touch control operation in continuous no longer response screen.
Preferably, in the present embodiment after the screen of turning-off mobile terminal, it is also possible to be further turned off moving The front-facing camera of dynamic terminal, stops gathering the image of destination object.Because the screen at turning-off mobile terminal After Mu, will temporarily be no longer necessary to gather the image of destination object, thus closing off front-facing camera can keep away Exempt from the unnecessary operation of photographic head, save resource and electric energy.
Step 205, detects that the distance between mobile terminal and destination object is more than or equal to predetermined threshold value Time, open the screen of mobile terminal.
In communication process, user likely during answering by mobile terminal away from ear, such as exist Want during answering to check the air time etc., then mobile terminal is checked away from ear in the case of this kind.Cause This, can also continue to detect between mobile terminal and destination object after the screen of turning-off mobile terminal Distance, if the distance detected between mobile terminal and destination object is more than or equal to predetermined threshold value, then opens Open the screen of mobile terminal, in order to user checks the content of display on screen.Therefore detecting that movement is eventually When distance between end and destination object is more than or equal to predetermined threshold value, the instruction opening screen will be generated, Operating system, after receiving this instruction, sends instructions to the screen processing module in system, at screen Reason module can respond this instruction open mobile terminal screen, the driver of the screen that brings into operation, after The continuous touch control operation got final product in response screen.Subsequent execution step 207.
Preferably, because after user has checked related content, may continue to place mobile terminal Near ear, answer call, after therefore opening the screen of mobile terminal, said process will be repeated, Referring in particular to step 202~the associated description of step 205, the present embodiment does not repeats them here.Need Illustrate, if in step 204 after the screen of turning-off mobile terminal, be further turned off mobile The front-facing camera of terminal, then after this step 205 opens the screen of mobile terminal, since it is desired that continue The continuous screen to mobile terminal is controlled, and therefore will be again turned on the front-facing camera of mobile terminal.Excellent Selection of land, can start the preposition of mobile terminal and takes the photograph in the present embodiment after the screen just opening mobile terminal As head gathers the image of destination object;Or, in the distance detected between mobile terminal and destination object During less than predetermined threshold value, identify the figure of the destination object of the front-facing camera collection of the mobile terminal having been turned on Before seeming the no image for presetting object, the front-facing camera starting mobile terminal gathers destination object Image.Wherein, due to when the distance detected between mobile terminal and destination object is less than predetermined threshold value Need to identify the image of destination object, the most first start front-facing camera and gather destination object Image.The most above-mentioned " before " refers to that the distance detecting between mobile terminal and destination object is little After predetermined threshold value with identify destination object image before time period, mobile terminal in this time period And the distance between destination object may keep constant, it is also possible to more and more less.
Step 206, the screen keeping mobile terminal is opening.
If the distance detected in step 202. between mobile terminal and destination object is more than or equal to pre- If threshold value, then the screen that continuation keeps mobile terminal is opening.If detected in step 203 The image going out destination object is not the image presetting object, by the screen continuing to keep mobile terminal is equally Opening.Subsequent execution step 207.
Step 207, detects when mobile terminal exits talking state, the preposition shooting of turning-off mobile terminal Head, stops gathering the image of destination object.
The present embodiment can also detect whether mobile terminal exits logical after mobile terminal enters talking state The most whether speech phase, kill-call, if mobile terminal exits talking state, the most no longer to mobile terminal Screen perform control process when being in talking state, it is no longer necessary to the image of destination object is adopted Collection, therefore gets final product the front-facing camera of turning-off mobile terminal, stops gathering the image of destination object.
In the present embodiment, can detect whether mobile terminal exits talking state in real time, it is also possible to according in advance If whether time interval detection mobile terminal exits talking state (such as inferior every detection one in 0.1 second), This is not any limitation as.
The present embodiment ensure that in communication process, the screen of mobile terminal controlled accurately, Avoid causing maloperation due to the interference of other objects.
For aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of dynamic Combining, but those skilled in the art should know, the present invention is not by described sequence of movement Limiting, because according to the present invention, some step can use other orders or carry out simultaneously.Secondly, Those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, Necessary to involved action and the module not necessarily present invention.
Embodiment three
With reference to Fig. 3, it is shown that the knot of the screen control device of a kind of mobile terminal of the embodiment of the present invention three Structure block diagram.
The screen control device of the mobile terminal of the present embodiment can include with lower module:
State determining module 301, is used for determining that mobile terminal is in talking state;
Distance detection module 302, is between the mobile terminal of talking state and destination object for detection Distance whether less than predetermined threshold value;
Picture recognition module 303, for the distance between mobile terminal and destination object less than presetting threshold During value, identify that whether the image of the destination object that the front-facing camera of mobile terminal having been turned on gathered is Preset the image of object;
Module 304 closed by screen, for identifying the image of destination object at identification module for presetting object Image time, the screen of turning-off mobile terminal.
In the embodiment of the present invention when detecting that mobile terminal is in talking state, start this mobile terminal Front-facing camera gather destination object image, and detect between mobile terminal and destination object away from From during less than predetermined threshold value, identify whether the image of destination object is the image presetting object, if presetting The image of object, the then screen of turning-off mobile terminal.Figure is carried out for destination object by front-facing camera As gathering, therefore the distance between mobile terminal and destination object is not the most existing less than during predetermined threshold value Technology currently the most carries out conversing to determine whether to close to move eventually only by detection mobile terminal The screen of end, the most blindly screen of direct turning-off mobile terminal, but determine really need to close time Just perform shutoff operation such that it is able to avoiding maloperation, precise control is higher.
Embodiment four
With reference to Fig. 4, it is shown that the knot of the screen control device of a kind of mobile terminal of the embodiment of the present invention four Structure block diagram.
The screen control device of the mobile terminal of the present embodiment can include with lower module:
State determining module 401, is used for determining that mobile terminal is in talking state;
Distance detection module 402, for be between the mobile terminal of talking state and destination object away from From whether less than predetermined threshold value;
Shooting starts module 403, for when detecting that mobile terminal is in talking state, starts mobile The front-facing camera of terminal gathers the image of destination object;Or, mobile terminal and target pair detected When distance between as is less than predetermined threshold value, identify what the front-facing camera of the mobile terminal having been turned on gathered Before whether the image of destination object is the image presetting object, the front-facing camera starting mobile terminal is adopted The image of collection destination object;
Picture recognition module 404, for the distance between mobile terminal and destination object less than presetting threshold During value, the image of the destination object that the front-facing camera of the described mobile terminal that identification has been turned on is gathered is The no image for presetting object;
Module 405 closed by screen, for identifying the image of destination object at identification module for presetting object Image time, the screen of turning-off mobile terminal;
Module 406 is closed in shooting, after close the screen of module turning-off mobile terminal at screen, closes Close the front-facing camera of mobile terminal, stop gathering the image of destination object;In the case of this kind, shooting is opened Dynamic model block, is additionally operable to, after screen opening module opens the screen of described mobile terminal, start mobile terminal Front-facing camera gather destination object image;Or, detect mobile terminal and destination object it Between distance less than predetermined threshold value time, identify the target that the front-facing camera of mobile terminal having been turned on gathers Before whether the image of object is the image presetting object, the front-facing camera starting mobile terminal gathers institute State the image of destination object.
Screen opening module 407, after close the screen of module turning-off mobile terminal at screen, inspection When measuring the distance between mobile terminal and destination object more than or equal to predetermined threshold value, open mobile terminal Screen.
Preferably, module is closed in shooting, is additionally operable to detect when mobile terminal exits talking state, closes The front-facing camera of mobile terminal, stops gathering the image of destination object.
Preferably, default object is human body ear;Picture recognition module includes following submodule:
Process submodule, for the image of destination object is carried out pretreatment;
Detection sub-module, for pretreated image is carried out Haar-like feature detection, obtains pre-place The Haar-like eigenvalue of the image after reason;
Classification submodule, for by Haar-like eigenvalue sequentially with the human body ear of default one group of cascade The threshold value of grader compares, and obtains the classification results of human body ear grader;
Determine submodule, be used for when the classification results of whole human body ear graders is human body ear feature, Determine the image that image is human body ear of destination object.
Wherein, human body ear grader is the grader using AdaBoost Algorithm for Training to obtain;In training During human body ear grader, the threshold value of human body ear grader is adjusted, so that human body ear The detection accuracy of piece grader reaches to preset accuracy.
The present embodiment ensure that during passing through, the screen of mobile terminal controlled accurately, Avoid causing maloperation due to the interference of other objects.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the screen control method of a mobile terminal, it is characterised in that including:
Determine that mobile terminal is in talking state;
Whether detection is in the distance between described mobile terminal and the destination object of talking state less than presetting Threshold value;
When distance between described mobile terminal and described destination object is less than predetermined threshold value, identifies and open Whether the image of the described destination object that the front-facing camera of dynamic described mobile terminal is gathered is default right The image of elephant;
If presetting the image of object, then close the screen of described mobile terminal.
Method the most according to claim 1, it is characterised in that at the described mobile terminal of described closedown Screen step after, also include:
Detect that the distance between described mobile terminal and described destination object is more than or equal to described default threshold During value, open the screen of described mobile terminal.
Method the most according to claim 2, it is characterised in that
After the step of the screen of the described mobile terminal of described closedown, also include:
Close the front-facing camera of described mobile terminal, stop gathering the image of described destination object;
After the step of the screen of the described mobile terminal of described unlatching, also include:
After the screen opening described mobile terminal, the front-facing camera starting described mobile terminal gathers institute State the image of destination object;
Or,
When the distance detected between described mobile terminal and described destination object is less than predetermined threshold value, know Whether the image of the described destination object of the front-facing camera collection of the described mobile terminal not having been turned on is pre- If before the image of object, the front-facing camera starting described mobile terminal gathers the figure of described destination object Picture.
Method the most according to claim 1, it is characterised in that also include:
Detect when described mobile terminal exits talking state, close the front-facing camera of described mobile terminal, Stop gathering the image of destination object.
Method the most according to claim 1, it is characterised in that the preposition shooting of described mobile terminal Head starts in the following manner:
When detecting that mobile terminal is in talking state, the front-facing camera starting described mobile terminal is adopted The image of collection destination object;
Or,
When the distance detected between described mobile terminal and described destination object is less than predetermined threshold value, know Whether the image of the described destination object of the front-facing camera collection of the described mobile terminal not having been turned on is pre- If before the image of object, the front-facing camera starting described mobile terminal gathers the image of destination object.
Method the most according to claim 1, it is characterised in that described default object is human body ear; Whether the image of the described destination object of described identification is that the step of the image presetting object includes:
The image of described destination object is carried out pretreatment;
Pretreated image is carried out Haar-like feature detection, obtains described pretreated image Haar-like eigenvalue;
By described Haar-like eigenvalue sequentially with the threshold value of the human body ear grader of default one group of cascade Comparing, obtain the classification results of described human body ear grader, wherein, described human body ear is classified Device is the grader using AdaBoost Algorithm for Training to obtain;
If all the classification results of human body ear grader is human body ear feature, it is determined that described target The image of object is the image of human body ear.
Method the most according to claim 6, it is characterised in that at training human body ear grader During, the threshold value of described human body ear grader is adjusted, so that described human body ear grader Detection accuracy reach preset accuracy.
8. the screen control device of a mobile terminal, it is characterised in that including:
State determining module, is used for determining that mobile terminal is in talking state;
Distance detection module, is between described mobile terminal and the destination object of talking state for detection Distance whether less than predetermined threshold value;
Picture recognition module, for the distance between described mobile terminal and described destination object less than pre- If during threshold value, identify the described destination object that the front-facing camera of the described mobile terminal having been turned on is gathered Image be whether the image presetting object;
Module closed by screen, is default for identifying the image of described destination object at described identification module During the image of object, close the screen of described mobile terminal.
Device the most according to claim 8, it is characterised in that also include:
Screen opening module, after closing, at described screen, the screen that module closes described mobile terminal, Detect that the distance between described mobile terminal and described destination object is more than or equal to described predetermined threshold value Time, open the screen of described mobile terminal.
Device the most according to claim 9, it is characterised in that also include:
Module is closed in shooting, after closing, at described screen, the screen that module closes described mobile terminal, Close the front-facing camera of described mobile terminal, stop gathering the image of described destination object;
Shooting starts module, after the screen opening described mobile terminal in described screen opening module, The front-facing camera starting described mobile terminal gathers the image of described destination object;Or, detecting When distance between described mobile terminal and described destination object is less than predetermined threshold value, identify the institute having been turned on Whether the image of the described destination object stating the front-facing camera collection of mobile terminal is the image presetting object Before, the front-facing camera starting described mobile terminal gathers the image of described destination object.
11. devices according to claim 8, it is characterised in that also include:
Module is closed in shooting, is used for detecting when described mobile terminal exits talking state, closes described shifting The front-facing camera of dynamic terminal, stops gathering the image of destination object.
12. devices according to claim 8, it is characterised in that also include:
Shooting starts module, for when detecting that mobile terminal is in talking state, starts described movement The front-facing camera of terminal gathers the image of destination object;Or, described mobile terminal and institute detected When stating distance between destination object less than predetermined threshold value, identify the preposition of the described mobile terminal that has been turned on Before whether the image of the described destination object of camera collection is the image presetting object, start described shifting The front-facing camera of dynamic terminal gathers the image of destination object.
13. devices according to claim 8, it is characterised in that described default object is human body ear Piece;Described picture recognition module includes:
Process submodule, for the image of described destination object is carried out pretreatment;
Detection sub-module, for pretreated image is carried out Haar-like feature detection, obtains described The Haar-like eigenvalue of pretreated image;
Classification submodule, for by described Haar-like eigenvalue sequentially with the human body of default one group of cascade The threshold value of ear grader compares, and obtains the classification results of described human body ear grader, wherein, Described human body ear grader is the grader using AdaBoost Algorithm for Training to obtain;
Determine submodule, be used for when the classification results of whole human body ear graders is human body ear feature, Determine the image that image is human body ear of described destination object.
14. devices according to claim 13, it is characterised in that at training human body ear grader During, the threshold value of described human body ear grader is adjusted, so that the classification of described human body ear The detection accuracy of device reaches to preset accuracy.
CN201510211725.XA 2015-04-28 2015-04-28 Screen control method and device of mobile terminal Pending CN105988580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510211725.XA CN105988580A (en) 2015-04-28 2015-04-28 Screen control method and device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510211725.XA CN105988580A (en) 2015-04-28 2015-04-28 Screen control method and device of mobile terminal

Publications (1)

Publication Number Publication Date
CN105988580A true CN105988580A (en) 2016-10-05

Family

ID=57040326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510211725.XA Pending CN105988580A (en) 2015-04-28 2015-04-28 Screen control method and device of mobile terminal

Country Status (1)

Country Link
CN (1) CN105988580A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395897A (en) * 2017-08-24 2017-11-24 惠州Tcl移动通信有限公司 Mobile terminal goes out control method, storage device and the mobile terminal of screen
CN107609382A (en) * 2017-10-12 2018-01-19 广东小天才科技有限公司 A kind of locking means of terminal device, terminal device and storage medium
CN109068383A (en) * 2018-08-24 2018-12-21 维沃移动通信有限公司 A kind of method and terminal device adjusting antenna transmission power
CN111147667A (en) * 2019-12-25 2020-05-12 华为技术有限公司 Screen-off control method and electronic equipment
CN112817512A (en) * 2019-11-18 2021-05-18 荣耀终端有限公司 False touch prevention method, mobile device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290668A1 (en) * 2006-09-15 2010-11-18 Friedman Marc D Long distance multimodal biometric system and method
US20120075212A1 (en) * 2010-09-27 2012-03-29 Lg Electronics Inc. Mobile terminal and method of controlling the same
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal
CN102970437A (en) * 2012-11-27 2013-03-13 广东欧珀移动通信有限公司 Method for preventing misoperation of touch-screen cellphone in call and touch-screen cellphone
CN103973867A (en) * 2013-01-28 2014-08-06 广州三星通信技术研究有限公司 Wireless communication terminal and method for controlling backlight

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290668A1 (en) * 2006-09-15 2010-11-18 Friedman Marc D Long distance multimodal biometric system and method
US20120200689A1 (en) * 2006-09-15 2012-08-09 Identix Incorporated Long distance multimodal biometric system and method
US20120075212A1 (en) * 2010-09-27 2012-03-29 Lg Electronics Inc. Mobile terminal and method of controlling the same
CN102404448A (en) * 2011-09-07 2012-04-04 惠州Tcl移动通信有限公司 Mobile terminal screen control method and mobile terminal
CN102970437A (en) * 2012-11-27 2013-03-13 广东欧珀移动通信有限公司 Method for preventing misoperation of touch-screen cellphone in call and touch-screen cellphone
CN103973867A (en) * 2013-01-28 2014-08-06 广州三星通信技术研究有限公司 Wireless communication terminal and method for controlling backlight

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395897A (en) * 2017-08-24 2017-11-24 惠州Tcl移动通信有限公司 Mobile terminal goes out control method, storage device and the mobile terminal of screen
CN107609382A (en) * 2017-10-12 2018-01-19 广东小天才科技有限公司 A kind of locking means of terminal device, terminal device and storage medium
CN107609382B (en) * 2017-10-12 2020-03-20 广东小天才科技有限公司 Terminal device locking method, terminal device and storage medium
CN109068383A (en) * 2018-08-24 2018-12-21 维沃移动通信有限公司 A kind of method and terminal device adjusting antenna transmission power
CN112817512A (en) * 2019-11-18 2021-05-18 荣耀终端有限公司 False touch prevention method, mobile device and computer readable storage medium
CN111147667A (en) * 2019-12-25 2020-05-12 华为技术有限公司 Screen-off control method and electronic equipment

Similar Documents

Publication Publication Date Title
US11450146B2 (en) Gesture recognition method, apparatus, and device
CN106295567B (en) A kind of localization method and terminal of key point
CN105988580A (en) Screen control method and device of mobile terminal
EP3767522A1 (en) Image recognition method and apparatus, and terminal and storage medium
US20180088677A1 (en) Performing operations based on gestures
EP3736766A1 (en) Method and device for blurring image background, storage medium, and electronic apparatus
CN106056064B (en) A kind of face identification method and face identification device
US20220261070A1 (en) Method for determining human eye close degrees, method for controlling eyes, device, and storage medium
CA3098172A1 (en) System and method for scalable cloud-robotics based face recognition and face analysis
CN111260665A (en) Image segmentation model training method and device
CN109815881A (en) Training method, the Activity recognition method, device and equipment of Activity recognition model
CN107330370B (en) Forehead wrinkle action detection method and device and living body identification method and system
CN112381104A (en) Image identification method and device, computer equipment and storage medium
CN107169427B (en) Face recognition method and device suitable for psychology
CN110187766A (en) A kind of control method of smart machine, device, equipment and medium
CN109522775A (en) Face character detection method, device and electronic equipment
WO2021104128A1 (en) Feature library update method and apparatus, inference server and storage medium
CN107622246B (en) Face recognition method and related product
CN107846555A (en) Automatic shooting method, device, user terminal and computer-readable storage medium based on gesture identification
CN112633313A (en) Bad information identification method of network terminal and local area network terminal equipment
WO2020244160A1 (en) Terminal device control method and apparatus, computer device, and readable storage medium
CN107730487A (en) A kind of image detecting method and device
CN107147786B (en) Image acquisition control method and device for intelligent terminal
CN109298783A (en) Mark monitoring method, device and electronic equipment based on Expression Recognition
CN108804893A (en) A kind of control method, device and server based on recognition of face

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161005

WD01 Invention patent application deemed withdrawn after publication