CN107577349A - Man-machine interaction method and device, mobile terminal, computer-readable recording medium - Google Patents

Man-machine interaction method and device, mobile terminal, computer-readable recording medium Download PDF

Info

Publication number
CN107577349A
CN107577349A CN201710838374.4A CN201710838374A CN107577349A CN 107577349 A CN107577349 A CN 107577349A CN 201710838374 A CN201710838374 A CN 201710838374A CN 107577349 A CN107577349 A CN 107577349A
Authority
CN
China
Prior art keywords
mobile terminal
screen
threshold value
predetermined threshold
human eye
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
CN201710838374.4A
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.)
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 CN201710838374.4A priority Critical patent/CN107577349A/en
Publication of CN107577349A publication Critical patent/CN107577349A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the present invention is applied to intelligent mobile terminal technical field, there is provided a kind of man-machine interaction method, device, mobile terminal and computer-readable recording medium, wherein method include:Whether detection mobile terminal overturns;If overturning, the distance between user and mobile terminal are obtained by range sensor;Judge whether the distance between user and mobile terminal are more than the first predetermined threshold value;If the distance is less than or equal to the first predetermined threshold value, and the mobile terminal is in when putting out screen state, starts the camera shooting picture of the mobile terminal;The picture is identified, the mobile terminal screen bright screen is controlled according to recognition result.The embodiment of the present invention can save the power consumption of mobile terminal.

Description

Man-machine interaction method and device, mobile terminal, computer-readable recording medium
Technical field
The invention belongs to intelligent mobile terminal technical field, more particularly to a kind of man-machine interaction method and device, movement are eventually End, computer-readable recording medium.
Background technology
In recent years, with Internet technology and the intelligence such as rapid development, mobile phone, tablet personal computer of mobile pained network technology Mobile terminal has been increasingly becoming popular essential carry-on articles.It is well known that user can be according to the actual need of itself The screen state of intelligent mobile terminal is controlled, to reach the purpose of power saving.
At present, the screen state control of main flow is realized by pressing power key or Home key, but frequently button Operation can have a strong impact on the life-span of power key or Home key;Furthermore it is also possible to realize screen state by overturning mobile terminal Control, i.e., when detecting that mobile terminal is overturn, mobile terminal toggle screen state is controlled, though this screen control mode Frequently button operation can be so avoided, but easily produces maloperation, causes to overturn bright screen unintentionally, causes unnecessary electricity Loss.
The content of the invention
The embodiments of the invention provide a kind of man-machine interaction method and device, mobile terminal, computer-readable recording medium, Mobile terminal power consumption can be saved.
The first aspect of the embodiment of the present invention provides a kind of man-machine interaction method, including:
Whether detection mobile terminal overturns;
If overturning, the distance between user and the mobile terminal are obtained by range sensor;
Judge whether the distance between the user and the mobile terminal are more than the first predetermined threshold value;
If the distance is less than or equal to the first predetermined threshold value, and the mobile terminal is in when putting out screen state, starts institute State the camera shooting picture of mobile terminal;
The picture is identified, the mobile terminal screen bright screen is controlled according to recognition result.
The second aspect of the embodiment of the present invention provides a kind of human-computer interaction device, including:
Detection unit is overturn, for detecting whether mobile terminal overturns;
Apart from detection unit, if for overturning, by range sensor obtain user and the mobile terminal it Between distance;
First judging unit, for judging it is default whether the distance between the user and the mobile terminal are more than first Threshold value;
Shooting unit, if it is less than or equal to the first predetermined threshold value for the distance, and the mobile terminal is in and puts out screen During state, start the camera shooting picture of the mobile terminal;
First switch unit, for identifying the picture, the mobile terminal screen bright screen is controlled according to recognition result.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including processor and memory, the processing Device and memory are connected with each other, wherein, the memory is used to store computer program, and the computer program refers to including program Order, the processor are arranged to call described program instruction, performed such as the step of above-mentioned first aspect methods described.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The step of stating computing device such as above-mentioned first aspect methods described.
The beneficial effect of the embodiment of the present invention:
The embodiment of the present invention is due to after detecting that mobile terminal is overturn, determining whether user with the movement eventually Whether the distance between end is more than the first predetermined threshold value;Then it is less than or equal to the first predetermined threshold value in the distance, and it is described Mobile terminal is in the camera shooting picture for when putting out screen state, starting the mobile terminal;The picture is identified, according to identification Mobile terminal screen bright screen described in output control, the maloperation for being not intended to upset bright screen so as to avoid mobile terminal from occurring, section About mobile terminal power consumption.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of man-machine interaction method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram of step S105 in a kind of man-machine interaction method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow diagram for man-machine interaction method that another embodiment of the present invention provides;
Fig. 4 is the schematic flow diagram that the present invention one implements a kind of man-machine interaction method that example provides;
Fig. 5 is a kind of schematic diagram of human-computer interaction device provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of the first switch unit in a kind of human-computer interaction device provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram for human-computer interaction device that another embodiment of the present invention provides;
Fig. 8 is a kind of schematic diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended 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 description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including 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 determining " 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 the specific implementation, the mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect Jaws equipment.
Fig. 1 is a kind of schematic flow diagram of man-machine interaction method provided in an embodiment of the present invention.It is shown in Figure 1, this reality A kind of man-machine interaction method for applying example offer may comprise steps of:
Step S101, whether detection mobile terminal overturns, if overturning, into step S102;Conversely, do not do Processing.
In the present embodiment, the mobile terminal includes but is not limited to the mobile terminals such as smart mobile phone, tablet personal computer.It is described Mobile terminal is built-in with acceleration transducer, and whether the detection mobile terminal, which occurs upset, specifically includes:
The acceleration of the mobile terminal is monitored according to predeterminated frequency by acceleration transducer;
Calculate acceleration difference of the mobile terminal in preset time period;
Judge whether the acceleration difference is more than the 3rd predetermined threshold value;
If being more than the 3rd predetermined threshold value, the mobile terminal is overturn.
Preferably, in the present embodiment, the acceleration transducer in the mobile terminal gathers the once shifting every 1s The acceleration magnitude of dynamic terminal, the preset time period is 1s, and the acceleration difference is the acceleration transducer two neighboring time Difference between two acceleration figures that point collects.
Two acceleration magnitudes that the mobile terminal is collected by calculating acceleration transducer in two adjacent time points Between difference whether be more than the 3rd preset value and judge whether mobile terminal is deflected, when described two acceleration When difference between value is more than three preset value, illustrates that the mobile terminal is overturn, now enter step S102;Conversely, when the difference between described two acceleration magnitudes is less than or equal to the 3rd predetermined threshold value value, then illustrate institute State mobile terminal not deflect, do not process now.Wherein, the 3rd predetermined threshold value can be by user beforehand through statistics Acceleration magnitude before and after mobile terminal turn, and be calculated.
It should be noted that above-mentioned detect whether mobile terminal occurs upset only this hair using acceleration transducer The bright preferable implementation example enumerated, is not intended to limit the invention, in other implementation examples can also by gyroscope, again Force snesor etc. detects whether the mobile terminal deflects.
Step S102, the distance between user and the mobile terminal are obtained by range sensor.
In the present embodiment, the range sensor is arranged above the mobile terminal screen, the range sensor The distance between user and mobile terminal are measured using time-of-flight method principle, specifically:
The especially short light pulse of the range sensor synchronized transmissions, and measure this light pulse and be reflected by the object from being transmitted into The time returned, the distance between mobile terminal and user are calculated by surveying time interval.
It should be noted that the distance between user and mobile terminal are measured in the above-mentioned law court using the flight time only The preferable implementation example that the present invention enumerates, is not intended to limit the invention, and in other implementation examples, can also use infrared Range measurement principle, ultrasonic ranging principle etc. detect the distance between user and mobile terminal.
Step S103, judges whether the distance between the user and the mobile terminal are more than the first predetermined threshold value;If Less than or equal to the first predetermined threshold value, then into step S104.
In the present embodiment, when detecting that the distance between user and mobile terminal be less than or equal to the described first default threshold During value, illustrate that now user is close from mobile terminal, it may be necessary to or the mobile terminal is used, therefore enter step In S104, when mobile terminal is in and puts out screen state, the eyes of user are further detected whether in front of mobile terminal screen.
Step S104, when the mobile terminal is in and puts out screen state, start the camera shooting figure of the mobile terminal Piece.
In the present embodiment, the camera is arranged on above the screen of the mobile terminal, and it can photograph screen The scene image in front.
Preferably, in the present embodiment, also include after the camera shooting picture for starting the mobile terminal:
After picture shooting completion, the camera is closed.
In the present embodiment, due to closed immediately after photographing the photo in front of the mobile terminal screen it is described before Camera is put, the electric quantity consumption of mobile terminal so can be further saved, avoid camera from being constantly in opening, Consume the electric energy of the mobile terminal.
Step S105, the picture is identified, the mobile terminal screen bright screen is controlled according to recognition result.
Fig. 2 shows step S105 specific implementation flow chart.It is shown in Figure 2, in the present embodiment, step S105 tools Body includes:
Step S201, detect and whether there is human eye area in the photo, if human eye area be present, into step S202;Conversely, do not process.
In the present embodiment, the mobile terminal, can be first to the photograph when getting the shooting photo in front of screen Piece carries out gray proces, then extracts the profile information of scenery in the photo, the scene outline information that then will be extracted Contrasted with default human eye profile, to judge whether store human eye area in the photo;If in the scene outline Including the region to match with default human eye profile, then illustrate human eye area be present in the photo.
Step S202, calculate the size of the human eye area.
In the present embodiment, eyes of user is nearer apart from mobile terminal screen distance, and human eye area is bigger in photo;User Eye distance mobile terminal screen is more remote, and human eye area is smaller in photo.In the present embodiment, human eye area is big in calculating photo It is small, can in order to subsequently according to the size of human eye area in the photo judge between eyes of user and mobile terminal screen away from From, and then judge whether eyes of user currently just stares at mobile terminal screen.
Step S203, judges whether the size of the human eye area is more than the second predetermined threshold value;If more than the second default threshold Value, then into step S204.
In the present embodiment, when the size of the human eye area in the photo is more than second predetermined threshold value, explanation Eyes of user is close apart from mobile terminal screen, and now eyes of user just stares at mobile terminal screen, therefore enters step In S204, control mobile terminal is switched to bright screen state by putting out screen state.
Step S204, control the mobile terminal screen bright screen.
In the present embodiment, when eyes of user is close apart from mobile terminal screen, illustrate eyes of user just stare at it is mobile eventually Screen is held, now user may need to use the mobile terminal, therefore put out screen getting the mobile terminal screen processing During state, mobile terminal screen bright screen is controlled, can so facilitate user's fast operating.
Preferably, in the present embodiment, it is default if being less than second in the absence of the size of human eye area or the human eye area Threshold value, then maintain the mobile terminal puts out screen state.
In the present embodiment, when the size that human eye area or human eye area are not present in photo is less than or equal to described the During two predetermined threshold values, then illustrate the eyes of now mobile terminal user not immediately ahead of screen, user is currently not used mobile whole End, therefore do not process now, keep mobile terminal to be in and put out screen state
Preferably, in the present embodiment, if distance between the user and the mobile terminal is less than or equal to the During one predetermined threshold value, the mobile terminal is in bright screen state, then does not process now, keeps mobile terminal screen to be in bright screen State is constant.
Above as can be seen that a kind of man-machine interaction method of the present embodiment offer is due to by detecting whether mobile terminal is sent out Raw upset;If overturning, the distance between user and the mobile terminal are obtained by range sensor;Judge the use Whether the distance between family and the mobile terminal are more than the first predetermined threshold value;If the distance is less than or equal to the first default threshold Value, and the mobile terminal is in when putting out screen state, starts the camera shooting picture of the mobile terminal;Identify the figure Piece, the mobile terminal screen bright screen is controlled according to recognition result, so as to avoid overturning the maloperation of bright screen unintentionally, saved Mobile terminal power consumption.
Fig. 3 is a kind of schematic flow diagram for man-machine interaction method that another embodiment of the present invention provides.It is shown in Figure 3, In the embodiment step S301~step S305 implementation due to step S101~step S105 in a upper embodiment Implementation is identical, therefore will not be repeated here.The present embodiment and the difference of a upper embodiment are, relative to upper One embodiment, a kind of man-machine interaction method that the present embodiment provides the present embodiment offer also include:
Step S306, if the distance is more than the first predetermined threshold value, and the mobile terminal is in the non-released state of bright screen When, control the mobile terminal screen to put out screen.
In the present embodiment, when the distance between the user and the mobile terminal are more than the first predetermined threshold value, and it is mobile When terminal screen is in bright screen but non-released state, illustrate that mobile terminal is not used in active user, therefore, now moved to save Dynamic terminal power consumption, control mobile terminal is switched to by bright screen state puts out screen state.
Preferably, in the present embodiment, if the distance is more than the first predetermined threshold value, and the mobile terminal screen state To put out screen state, illustrate that the mobile terminal is currently also not used in user, do not process now, keep mobile terminal current screen State is constant;If the distance is more than the first predetermined threshold value, and mobile terminal screen state is bright screen state and when unlocking, explanation The mobile terminal is being currently used in user, does not also process now, keeps the current screen state of mobile terminal constant.
A kind of man-machine interaction method provided relative to a upper embodiment, the present embodiment, due to detecting user with moving The distance between dynamic terminal is more than the first predetermined threshold value, and when the mobile terminal is in bright screen non-released state, described in control Mobile terminal screen puts out screen, so as to when mobile terminal is not used by a user, put out the screen of screen mobile terminal in time, enters one Step saves the energy consumption of mobile terminal.
Fig. 4 is the schematic flow diagram that the present invention one implements a kind of man-machine interaction method that example provides.For the ease of Understand, elaborate implementation process of the man-machine interaction method in mobile phone below to implement example shown in Fig. 4:
Shown in Figure 4, as a specific implementation example, the man-machine interaction method includes:
Detect that mobile phone is overturn;
People is obtained from mobile phone distance D;
Judge whether people is more than the first predetermined threshold value Y1 from mobile phone distance D;
If D is more than Y1, and screen is in bright screen state, then judges whether mobile phone is in released state;
If mobile phone is in non-released state, control screen puts out screen;
If D is less than or equal to Y1, and screen is in and puts out screen state, then starts the front camera shooting photo of mobile phone, Camera is closed after the completion of photograph taking;
It whether there is human eye in analysis photo;
If human eye be present, human eye size S is calculated;
Judge whether human eye size S is more than the second predetermined threshold value Y2;
If S is more than Y2, screen bright screen is controlled.
In the present embodiment, due to being more than Y1 in D, and control mobile phone puts out screen when screen is in bright screen, non-released state; D is less than or equal to Y1, and screen is in when putting out screen state, further detects in front of mobile phone human eye and human eye size whether occur Whether it is more than S, human eye occurs and when human eye size S is more than Y2 detecting in front of mobile phone, control mobile phone screen bright screen, so as to To realize, accurately screen state controls, and avoids maloperation, saves the energy consumption of mobile phone, when extending the continuation of the journey of battery of mobile phone Between.
Fig. 5 is a kind of schematic block diagram of human-computer interaction device provided in an embodiment of the present invention.For convenience of description, only Show part related to the present embodiment.
A kind of human-computer interaction device 5 shown in Figure 5, that the present embodiment provides, including:
Detection unit 51 is overturn, for detecting whether mobile terminal 5 overturns;
Apart from detection unit 52, if for overturning, user and the mobile terminal 5 are obtained by range sensor The distance between;
First judging unit 53, for judging whether the distance between the user and the mobile terminal 5 are more than first Predetermined threshold value;
Shooting unit 54, if it is less than or equal to the first predetermined threshold value for the distance, and the mobile terminal 5 is in and put out During screen state, start the camera shooting picture of the mobile terminal;
First switch unit 55, for identifying the picture, control the screen of mobile terminal 5 bright according to recognition result Screen.
Optionally, shown in Figure 6, first switch unit 55 includes:
Human eye detection unit 551, it whether there is human eye area in the photo for detecting;
Computing unit 552, if for human eye area be present, calculate the size of the human eye area;
Second judging unit 553, for judging whether the size of the human eye area is more than the second predetermined threshold value;
Bright screen control unit 554, if for being more than the second predetermined threshold value, control the mobile terminal screen bright screen.
Optionally, the human-computer interaction device 5 includes:
Camera closing unit 56, for after picture shooting completion, closing the camera.
Optionally, the bright screen control unit 554 is additionally operable to:
If being less than the second predetermined threshold value in the absence of the size of human eye area or the human eye area, remain described mobile whole Put out screen state in end 5.
Optionally, the upset detection unit 51 is specifically used for:
The acceleration of the mobile terminal 3 is monitored according to predeterminated frequency by acceleration transducer;
Calculate acceleration difference of the mobile terminal 5 in preset time period;
Judge whether the acceleration difference is more than the 3rd predetermined threshold value;
If being more than the 3rd predetermined threshold value, the mobile terminal 5 is overturn.
Optionally, shown in Figure 7, the human-computer interaction device 5 also includes:
Second switch unit 57, if it is more than the first predetermined threshold value for the distance, and the mobile terminal 3 is in bright screen During non-released state, the screen of mobile terminal 3 is controlled to put out screen.
It should be noted that the unit in above-mentioned mobile terminal provided in an embodiment of the present invention, due to the present invention Embodiment of the method is based on same design, and its technique effect brought is identical with the inventive method embodiment, and particular content can be found in Narration in the inventive method embodiment, here is omitted.
Thus, it will be seen that human-computer interaction device provided in an embodiment of the present invention can equally avoid overturning bright screen unintentionally Maloperation, save mobile terminal power consumption.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
It is a kind of mobile terminal schematic block diagram provided in an embodiment of the present invention referring to Fig. 8.In the present embodiment as depicted Mobile terminal 8 can include:One or more processors 801;One or more input equipments 802, one or more output Equipment 803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 pass through bus 805 connections.Memory 802 instructs for storage program, and processor 801 is used for the instruction for performing the storage of memory 802.Wherein, The processor 801 is arranged to call described program instruction to perform following steps:
Detect whether the mobile terminal overturns;
If overturning, the distance between user and the mobile terminal are obtained by range sensor;
Judge whether the distance between the user and the mobile terminal are more than the first predetermined threshold value;
If the distance is less than or equal to the first predetermined threshold value, and the mobile terminal is in when putting out screen state, starts institute State the camera shooting picture of mobile terminal;
The picture is identified, the mobile terminal screen bright screen is controlled according to recognition result.
Optionally, the processor 801 is arranged to call described program instruction to perform following steps:
Detect and whether there is human eye area in the photo;
If human eye area be present, the size of the human eye area is calculated;
Judge whether the size of the human eye area is more than the second predetermined threshold value;
If being more than the second predetermined threshold value, the mobile terminal screen bright screen is controlled.
Optionally, the processor 801 is arranged to call described program instruction to perform following steps:
After picture shooting completion, the camera is closed.
Optionally, the processor 801 is arranged to call described program instruction to perform following steps:
If being less than the second predetermined threshold value in the absence of the size of human eye area or the human eye area, remain described mobile whole Put out screen state in end.
Optionally, the processor 801 is arranged to call described program instruction to perform following steps:
If the distance is more than the first predetermined threshold value, and when the mobile terminal is in bright screen non-released state, controls institute State mobile terminal screen and put out screen.
Optionally, the processor 801 is arranged to call described program instruction to perform following steps:
The acceleration of the mobile terminal is monitored according to predeterminated frequency by acceleration transducer;
Calculate acceleration difference of the mobile terminal in preset time period;
Judge whether the acceleration difference is more than the 3rd predetermined threshold value;
If being more than the 3rd predetermined threshold value, the mobile terminal is overturn.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be CPU (Central Processing Unit, CPU), the processor 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) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 802 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 803 can include display (LCD etc.), loudspeaker etc..
The memory 804 can include read-only storage and random access memory, and to processor 801 provide instruction and Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited Store up the information of device type.
In the specific implementation, processor 801, input equipment 802, the output equipment 803 described in the embodiment of the present invention can The implementation described in the first embodiment and second embodiment of method provided in an embodiment of the present invention is performed, can also be held The implementation of mobile terminal described by the row embodiment of the present invention, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program is realized when being executed by processor:
Detect whether the mobile terminal overturns;
If overturning, the distance between user and the mobile terminal are obtained by range sensor;
Judge whether the distance between the user and the mobile terminal are more than the first predetermined threshold value;
If the distance is less than or equal to the first predetermined threshold value, and the mobile terminal is in when putting out screen state, starts institute State the camera shooting picture of mobile terminal;
The picture is identified, the mobile terminal screen bright screen is controlled according to recognition result.
Optionally, following steps are realized when the computer program is executed by processor:
Detect and whether there is human eye area in the photo;
If human eye area be present, the size of the human eye area is calculated;
Judge whether the size of the human eye area is more than the second predetermined threshold value;
If being more than the second predetermined threshold value, the mobile terminal screen bright screen is controlled.
Optionally, the processor 801 is arranged to call described program instruction to perform following steps:
After picture shooting completion, the camera is closed.
Optionally, following steps are realized when the computer program is executed by processor:
If being less than the second predetermined threshold value in the absence of the size of human eye area or the human eye area, remain described mobile whole Put out screen state in end.
Optionally, following steps are realized when the computer program is executed by processor:
If the distance is more than the first predetermined threshold value, and when the mobile terminal is in bright screen non-released state, controls institute State mobile terminal screen and put out screen.
Optionally, following steps are realized when the computer program is executed by processor:
The acceleration of the mobile terminal is monitored according to predeterminated frequency by acceleration transducer;
Calculate acceleration difference of the mobile terminal in preset time period;
Judge whether the acceleration difference is more than the 3rd predetermined threshold value;
If being more than the 3rd predetermined threshold value, the mobile terminal is overturn.
The computer-readable recording medium can be the storage inside list of the mobile terminal described in foregoing any embodiment Member, such as the hard disk or internal memory of mobile terminal.The computer-readable recording medium can also be the outside of the mobile terminal The plug-in type hard disk being equipped with storage device, such as the mobile terminal, intelligent memory card (Smart Media Card, SMC), Secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, it is described computer-readable to deposit Storage media can also both include the internal storage unit of the mobile terminal or including External memory equipment.It is described computer-readable Storage medium is used to store the computer program and other programs and data needed for the mobile terminal.The computer Readable storage medium storing program for executing can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the shifting of foregoing description The specific work process of dynamic terminal and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed mobile terminal and method, Ke Yitong Other modes are crossed to realize.For example, device embodiment described above is only schematical, for example, the unit is drawn Point, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is in addition, shown or discussed Mutual coupling or direct-coupling or communication connection can be by the INDIRECT COUPLING of some interfaces, device or unit or Communication connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

  1. A kind of 1. man-machine interaction method, applied to mobile terminal, it is characterised in that including:
    Detect whether the mobile terminal overturns;
    If overturning, the distance between user and the mobile terminal are obtained by range sensor;
    Judge whether the distance between the user and the mobile terminal are more than the first predetermined threshold value;
    If the distance is less than or equal to the first predetermined threshold value, and the mobile terminal is in when putting out screen state, starts the shifting The camera shooting picture of dynamic terminal;
    The picture is identified, the mobile terminal screen bright screen is controlled according to recognition result.
  2. 2. man-machine interaction method as claimed in claim 1, it is characterised in that the identification picture, according to recognition result The mobile terminal screen bright screen is controlled to include:
    Detect and whether there is human eye area in the photo;
    If human eye area be present, the size of the human eye area is calculated;
    Judge whether the size of the human eye area is more than the second predetermined threshold value;
    If being more than the second predetermined threshold value, the mobile terminal screen bright screen is controlled.
  3. 3. man-machine interaction method as claimed in claim 2, it is characterised in that the camera for starting the mobile terminal is clapped Take the photograph picture also includes afterwards:
    After picture shooting completion, the camera is closed.
  4. 4. man-machine interaction method as claimed in claim 2, it is characterised in that if human eye area or the human eye area is not present Size be less than the second predetermined threshold value, then maintain the mobile terminal puts out screen state.
  5. 5. the man-machine interaction method as described in claim 1-4 is any, it is characterised in that if the distance is more than the first default threshold Value, and when the mobile terminal is in bright screen non-released state, control the mobile terminal screen to put out screen.
  6. 6. man-machine interaction method as claimed in claim 1, it is characterised in that whether the detection mobile terminal occurs upset bag Include:
    The acceleration of the mobile terminal is monitored according to predeterminated frequency by acceleration transducer;
    Calculate acceleration difference of the mobile terminal in preset time period;
    Judge whether the acceleration difference is more than the 3rd predetermined threshold value;
    If being more than the 3rd predetermined threshold value, the mobile terminal is overturn.
  7. A kind of 7. human-computer interaction device, applied to mobile terminal, it is characterised in that including:
    Detection unit is overturn, for detecting whether mobile terminal overturns;
    Apart from detection unit, if for overturning, obtained by range sensor between user and the mobile terminal Distance;
    First judging unit, for judging whether the distance between the user and the mobile terminal are more than the first default threshold Value;
    Shooting unit, if it is less than or equal to the first predetermined threshold value for the distance, and the mobile terminal is in and puts out screen state When, the camera for starting the mobile terminal shoots picture;
    First switch unit, for identifying the picture, the mobile terminal screen bright screen is controlled according to recognition result.
  8. 8. human-computer interaction device as claimed in claim 7, it is characterised in that first switch unit includes:
    Human eye detection unit, it whether there is human eye area in the photo for detecting;
    Computing unit, if for human eye area be present, calculate the size of the human eye area;
    Second judging unit, for judging whether the size of the human eye area is more than the second predetermined threshold value;
    Bright screen control unit, if for being more than the second predetermined threshold value, control the mobile terminal screen bright screen.
  9. A kind of 9. mobile terminal, it is characterised in that including processor and memory, the processor and memory are connected with each other, Wherein, the memory is used to store computer program, and the computer program includes programmed instruction, and the processor is configured For calling described program to instruct, the method as described in claim any one of 1-6 is performed.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-6.
CN201710838374.4A 2017-09-14 2017-09-14 Man-machine interaction method and device, mobile terminal, computer-readable recording medium Pending CN107577349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710838374.4A CN107577349A (en) 2017-09-14 2017-09-14 Man-machine interaction method and device, mobile terminal, computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710838374.4A CN107577349A (en) 2017-09-14 2017-09-14 Man-machine interaction method and device, mobile terminal, computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107577349A true CN107577349A (en) 2018-01-12

Family

ID=61033649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710838374.4A Pending CN107577349A (en) 2017-09-14 2017-09-14 Man-machine interaction method and device, mobile terminal, computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107577349A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279776A (en) * 2018-02-07 2018-07-13 联想(北京)有限公司 Method and electronic equipment for control electronics
CN108881684A (en) * 2018-06-29 2018-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109726537A (en) * 2018-12-27 2019-05-07 维沃移动通信有限公司 Information acquisition method and terminal
CN110286578A (en) * 2019-06-20 2019-09-27 广东小天才科技有限公司 A kind of method and device based on flip angle startup function
CN110599965A (en) * 2019-08-09 2019-12-20 深圳市美芒科技有限公司 Image display method, image display device, terminal device, and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594999A (en) * 2012-01-30 2012-07-18 郑凯 Method and system for performing adaptive mobile phone energy conservation through face identification
CN103631494A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103677267A (en) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 Mobile terminal and awakening method and device thereof
US20160232389A1 (en) * 2012-02-24 2016-08-11 Socket Mobile, Inc. Aimer beam formation facilitating rapid barcode processing by a user with a standard smart phone
CN106033253A (en) * 2015-03-12 2016-10-19 ***通信集团公司 A terminal control method and device
CN106790983A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 A kind of screen lighting method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594999A (en) * 2012-01-30 2012-07-18 郑凯 Method and system for performing adaptive mobile phone energy conservation through face identification
US20160232389A1 (en) * 2012-02-24 2016-08-11 Socket Mobile, Inc. Aimer beam formation facilitating rapid barcode processing by a user with a standard smart phone
CN103631494A (en) * 2013-11-15 2014-03-12 联想(北京)有限公司 Information processing method and electronic equipment
CN103677267A (en) * 2013-12-09 2014-03-26 惠州Tcl移动通信有限公司 Mobile terminal and awakening method and device thereof
CN106033253A (en) * 2015-03-12 2016-10-19 ***通信集团公司 A terminal control method and device
CN106790983A (en) * 2016-11-23 2017-05-31 努比亚技术有限公司 A kind of screen lighting method and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279776A (en) * 2018-02-07 2018-07-13 联想(北京)有限公司 Method and electronic equipment for control electronics
CN108881684A (en) * 2018-06-29 2018-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109726537A (en) * 2018-12-27 2019-05-07 维沃移动通信有限公司 Information acquisition method and terminal
CN110286578A (en) * 2019-06-20 2019-09-27 广东小天才科技有限公司 A kind of method and device based on flip angle startup function
CN110599965A (en) * 2019-08-09 2019-12-20 深圳市美芒科技有限公司 Image display method, image display device, terminal device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN107577349A (en) Man-machine interaction method and device, mobile terminal, computer-readable recording medium
TWI573074B (en) Method and apparatus for providing access to functions from a locked screen, and related computer program product
US20210294429A1 (en) Apparatus, method and recording medium for controlling user interface using input image
WO2019185003A1 (en) Display control method and device
KR102080183B1 (en) Electronic device and method for unlocking in the electronic device
CN104991721B (en) A kind of fingerprint operating method and device
CN105183228B (en) A kind of terminal device and interface switching method
CN104142728B (en) Electronic installation
CN103399632A (en) Gesture control method and mobile terminal
US11620995B2 (en) Voice interaction processing method and apparatus
WO2019052551A1 (en) Terminal device interaction method, storage medium and terminal device
CN108845752A (en) touch operation method, device, storage medium and electronic equipment
CN108595044A (en) A kind of control method and terminal of touch screen
CN110837318A (en) Mistaken touch prevention method and device for folding screen of mobile terminal and storage medium
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN104461717B (en) A kind of information processing method and electronic equipment
CN108073405B (en) Application program unloading method and mobile terminal
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN105867822A (en) Information processing method and electronic equipment
CN109189514B (en) Terminal device control method and terminal device
CN104346073A (en) Information processing method and electronic equipment
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN109600514B (en) Unlocking control method and device, mobile terminal and storage medium
CN107563337A (en) The method and Related product of recognition of face

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180112

RJ01 Rejection of invention patent application after publication