CN108829542A - Mobile terminal and its control method, storage medium - Google Patents

Mobile terminal and its control method, storage medium Download PDF

Info

Publication number
CN108829542A
CN108829542A CN201810639619.5A CN201810639619A CN108829542A CN 108829542 A CN108829542 A CN 108829542A CN 201810639619 A CN201810639619 A CN 201810639619A CN 108829542 A CN108829542 A CN 108829542A
Authority
CN
China
Prior art keywords
mobile terminal
data variation
variation value
range sensor
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810639619.5A
Other languages
Chinese (zh)
Other versions
CN108829542B (en
Inventor
廖新风
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810639619.5A priority Critical patent/CN108829542B/en
Publication of CN108829542A publication Critical patent/CN108829542A/en
Application granted granted Critical
Publication of CN108829542B publication Critical patent/CN108829542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

This application provides a kind of mobile terminal and its control methods, storage medium, wherein the control method includes:Detect the data variation value of acceleration transducer and range sensor;Judge whether that the data variation value of the acceleration transducer is greater than first threshold and the data variation value of the range sensor is less than second threshold;If so, resetting the range sensor.The control method judges whether range sensor abnormal by the data situation of acceleration transducer and range sensor, and then resets and restart range sensor, can to avoid being failed due to range sensor caused by display screen the problem of accidentally touching.

Description

Mobile terminal and its control method, storage medium
Technical field
The present invention relates to the technical field of mobile terminal control, be specifically related to a kind of mobile terminal and its control method, Storage medium.
Background technique
Currently, most of mobile terminal devices (for example smart phone, tablet computer etc.) are fitted with range sensor, It can be used for perceiving whether mobile terminal device front has object to block.For example, range sensor can when user makes a phone call Detect that face close to mobile phone screen, to lock screen automatically, prevents maloperation, while can also save electricity.But when distance passes Sensor is abnormal, and when user holds call, screen causes unnecessary operation since the screen that do not go out may result in false triggering, influences to use The usage experience at family.
Summary of the invention
On the one hand the embodiment of the present application provides a kind of control method of mobile terminal, the control method includes:
Detect the data variation value of acceleration transducer and range sensor;
Judge whether that the data variation value of the acceleration transducer is greater than the number of first threshold and the range sensor It is less than second threshold according to changing value;
If so, resetting the range sensor.
On the other hand the embodiment of the present application also provides a kind of mobile terminal, the mobile terminal includes processor and storage Device, the processor couple the memory, and the processor is executed instruction at work to realize any one of above-described embodiment The control method.
Further, the embodiment of the present application also provides a kind of mobile terminal, and the mobile terminal includes:
Detection module, for detecting the data variation value of acceleration transducer and range sensor;
Judgment module, for judge whether the acceleration transducer data variation value be greater than first threshold and it is described away from Data variation value from sensor is less than second threshold;
Execution module, for resetting the range sensor.
In addition, the embodiment of the present application provides a kind of computer readable storage medium again, it is stored thereon with computer program, it should Program is executed by processor to realize the control method as described in any one of above-described embodiment.
Mobile terminal provided by the embodiments of the present application and its control method, storage medium, by acceleration transducer and away from Whether the data situation from sensor is abnormal to judge range sensor, and then resets and restart range sensor, can keep away Exempt from the problem of display screen caused by being failed due to range sensor is accidentally touched.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the flow diagram of one embodiment of control method of the application mobile terminal;
Fig. 2 is the flow diagram of another embodiment of control method of the application mobile terminal;
Fig. 3 is the flow diagram of the another embodiment of control method of the application mobile terminal;
Fig. 4 is the flow diagram for one embodiment of method for judging whether mobile terminal is on call;
Fig. 5 is the flow diagram of the control method a further embodiment of the application mobile terminal;
Fig. 6 is to judge whether mobile terminal changes the flow diagram of one embodiment of method for the state of answering;
Fig. 7 is the structure composition schematic block diagram of one embodiment of mobile terminal provided by the present application;
Fig. 8 is the structure composition schematic block diagram of another embodiment of mobile terminal provided by the present application;
Fig. 9 is the structural schematic diagram of one embodiment of computer storage medium provided by the present application.
Specific embodiment
With reference to the accompanying drawings and examples, the present invention is described in further detail.It is emphasized that following implement Example is merely to illustrate the present invention, but is not defined to the scope of the present invention.Likewise, following embodiment is only portion of the invention Point embodiment and not all embodiments, institute obtained by those of ordinary skill in the art without making creative efforts There are other embodiments, shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " in the present invention are used for description purposes only, and should not be understood as instruction or dark Show relative importance or implicitly indicates the quantity of indicated technical characteristic." first ", " second ", " are defined as a result, Three " feature can explicitly or implicitly include at least one of the features.In description of the invention, the meaning of " plurality " is extremely It is two few, such as two, three etc., unless otherwise specifically defined.The directional instruction of institute is (all in the embodiment of the present invention Such as up, down, left, right, before and after ...) it is only used for explaining in the phase under a certain particular pose (as shown in the picture) between each component To positional relationship, motion conditions etc., if the particular pose changes, directionality instruction also correspondingly changes therewith Become.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as comprising The process, method, system, product or equipment of a series of steps or units are not limited to listed step or unit, and It is optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, product or equipment Intrinsic other step or units.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Include, but are not limited to be configured to via wired as " communication terminal " as used herein (or being referred to as " terminal ") Connection (such as connects via Public Switched Telephone Network (PSTN), digital subscriber line (DSL), digital cable, direct cable Connect and/or another data connection/network) and/or via (for example, for cellular network, WLAN (WLAN), such as The digital TV network of DVB-H network, satellite network, AM-FM broadcasting transmitter and/or another communication terminal) wirelessly connect Mouth reception/transmission signal of communication device.It is configured to that " channel radio can be referred to as by the communication terminal of radio interface communication Letter terminal ", " wireless terminal " or " mobile terminal ".The example of mobile terminal includes, but are not limited to satellite or cellular phone;It can be with PCS Personal Communications System (PCS) terminal of combination cellular radio telephone and data processing, fax and communication ability;It can be with Including radio telephone, pager, the Internet/intranet access, Web browser, memo pad, calendar and/or global location The PDA of system (GPS) receiver;And conventional laptop and/or palmtop receiver or including radiotelephone transceiver Other electronic devices.Mobile phone is the mobile terminal for being configured with cellular communication module.
Several embodiments are first passed through below the control method of mobile terminal is introduced.
Embodiment 1
Referring to Fig. 1, Fig. 1 is the flow diagram of one embodiment of control method of the application mobile terminal, need to illustrate , embodiments herein can be applied in mobile terminal or server, which can be mobile phone, plate electricity Brain, wearable device etc., server can be cloud server.
The control method of mobile terminal in the present embodiment includes but is not limited to following steps:
Step 110, the data variation value of acceleration transducer and range sensor is detected.
In this step, acceleration transducer can be the gyroscope inside mobile terminal, detect acceleration in the step The data variation value of sensor refers to the situation of change of detection acceleration transducer, that is, the acceleration of detection mobile terminal The situation of change of speed state in other words, for example, mobile terminal were at the uniform velocity moving condition originally, now became and accelerated movement State;Or mobile terminal remains static originally, now becomes moving condition.
Wherein, range sensor is generally infrared sensor, and what the data variation value of detecting distance sensor referred to then refers to Range sensor detect object and between it distance situation of change, for example original range sensor detection object therewith away from From for 30cm, variation is 2cm now, the difference of this 28cm is exactly the data variation value of range sensor.
Step 120, judge whether that the data variation value of acceleration transducer is greater than the number of first threshold and range sensor It is less than second threshold according to changing value.
In the step 120, first threshold and second threshold, which can be, has been set in advance, and in the judgement of the step, needs The data variation value that meet acceleration transducer simultaneously is greater than the data variation value of first threshold and range sensor less than the Two threshold values just can trigger the condition of next step.
Step 130, if so, resetting range sensor.
In this step, if judging, the data variation value of acceleration transducer is greater than the number of first threshold and range sensor In the case where being less than second threshold according to changing value while meeting, then sensor of adjusting the distance, which reset, restarts.Triggered in judgement When condition, if the data variation value of acceleration transducer is greater than first threshold, illustrates that mobile terminal has and moved, cashes as movement The speed or acceleration of terminal can change;And the data variation value of range sensor is less than second threshold, then illustrates to move Dynamic terminal be not blocked namely mobile terminal not by close to head the movement that receives calls, when above-mentioned two condition simultaneously When meeting, then it may determine that range sensor is abnormal, and then movement is restarted in the reset for executing sensor of adjusting the distance.Because being positive In normal situation, when there is the movement to receive calls, it should be that the data variation value of acceleration transducer is greater than first threshold, simultaneously The data variation value of range sensor is also greater than second threshold.
Method for controlling mobile terminal provided in this embodiment passes through the data variation of acceleration transducer and range sensor Whether situation is abnormal to judge range sensor, and then resets range sensor, it can be ensured that the range sensor of abnormality It is able to carry out and is restarted automatically.
Embodiment 2
Referring to Fig. 2, Fig. 2 is the flow diagram of another embodiment of control method of the application mobile terminal, this implementation Control method in example mainly includes the following steps that:
Step 210, judge whether mobile terminal is in talk business state.
In this step, the talk business state of mobile terminal refers to the prompt that call incoming call or exhalation are not answered temporarily State.That is perhaps vibration prompt state or exhalation are not connect jingle bell of not answering of the mobile terminal in call incoming call The state listened.Next step is carried out if judging that mobile terminal is in talk business state, otherwise repeats the step, until Until judging that mobile terminal is in talk business state.
Step 220, the data variation value of acceleration transducer and range sensor is detected.
Detailed process and principle about the step please refer to the associated description of a upper embodiment, and and will not be described here in detail.
Step 230, judge whether that the data variation value of acceleration transducer is greater than the number of first threshold and range sensor It is less than second threshold according to changing value.
In this step, if the data variation value for not meeting acceleration transducer simultaneously is greater than first threshold and apart from biography The data variation value of sensor is less than the two conditions of second threshold, then return step 220, continue to test acceleration transducer with And the data variation value of range sensor;If the data variation value of acceleration transducer is greater than first threshold and range sensor Data variation value be less than second threshold and meet simultaneously, then into next step.
Step 240, range sensor is resetted.
In this step, resetting range sensor is sensor progress reboot operation of adjusting the distance.
Step 250, terminate.
Compared to a upper embodiment, the method for controlling mobile terminal provided in the present embodiment is in call in mobile terminal Under service condition, judge whether range sensor is different by the data situation of acceleration transducer and range sensor Often, so reset restart range sensor, can to avoid being failed due to range sensor caused by display screen accidentally touch the problem of Occur.
Embodiment 3
Referring to Fig. 3, Fig. 3 is the flow diagram of the another embodiment of control method of the application mobile terminal, this implementation Controlling party rule in example mainly includes the following steps that:
Step 310, judge whether mobile terminal is in talk business state.
In this step, the talk business state of mobile terminal again refers to call incoming call or exhalation is not answered temporarily Prompt state.Next step is carried out if judging that mobile terminal is in talk business state, otherwise repeats the step, until Until judging that mobile terminal is in talk business state.
Step 320, the data variation value of acceleration transducer and range sensor is detected.
The associated description of embodiment 1 is equally please referred to about the detailed process and principle of the step, and will not be described here in detail.
Step 330, judge whether that the data variation value of acceleration transducer is greater than the number of first threshold and range sensor It is less than second threshold according to changing value.
In this step, if the data variation value for not meeting acceleration transducer simultaneously is greater than first threshold and apart from biography The data variation value of sensor is less than the two conditions of second threshold, then return step 320, continue to test acceleration transducer with And the data variation value of range sensor;If the data variation value of acceleration transducer is greater than first threshold and range sensor Data variation value be less than second threshold and meet simultaneously, then into next step.
Step 340, range sensor is resetted.
In this step, resetting range sensor is sensor progress reboot operation of adjusting the distance.
Step 350, the data variation value of acceleration transducer and range sensor is detected.
Step 360, judge whether that the data variation value of acceleration transducer is greater than the number of first threshold and range sensor It is less than second threshold according to changing value.
Above as can be seen that step 350 and step 360 are to repeat step 320 and step 330, about the two steps Detailed process is also no longer described in detail herein.Wherein, in step 360, if judging whether, the data variation value of acceleration transducer is big In first threshold and the data variation value of range sensor is less than the result of second threshold and remains as and be, then explanation is adjusted the distance sensing The reset of device restart be it is invalid, be not carried out the purpose of range sensor functional rehabilitation, therefore enter next step;And works as and sentence It is disconnected that whether the data variation value of acceleration transducer is greater than first threshold and the data variation value of range sensor is less than the second threshold When the result of value is no, it is that effectively, and range sensor is recovered normally that the reset for the sensor that illustrate to adjust the distance, which is restarted, Function, the breath screen and bright screen of display screen can be normally controlled by range sensor, therefore enter step 300, Jin Erjie The beam process.
Step 370, judge whether mobile terminal is on call.
In this step, the talking state of mobile terminal refers to that mobile terminal is carrying out in voice call process, with Talk business state (talk business state refers to the prompt state that call incoming call or exhalation are not answered temporarily) above-mentioned is different. In this step, if judging, mobile terminal is on call, enters step 380, if it is logical to judge that mobile terminal is not on Speech phase then enters step 390.
Wherein, judge that mobile terminal method whether on call is specifically included such as the step in Fig. 4, please refer to figure 4, Fig. 4 be the flow diagram for one embodiment of method for judging whether mobile terminal is on call, and party's rule includes:
Step 371, judge whether that the data variation value of acceleration transducer is greater than third threshold value and environment light detection senses The data variation value of device is greater than the 4th threshold value.
From above step it is found that since range sensor is after restarting still without restoring normal function, in the step In rapid, acceleration transducer can be equally the gyroscope inside mobile terminal, and the number of acceleration transducer is detected in the step The situation of change of detection acceleration transducer, that is, the acceleration speed in other words of detection mobile terminal are referred to according to changing value The situation of change of state, for example, mobile terminal were at the uniform velocity moving condition originally, now became and accelerated mobile state;Or Mobile terminal remained static originally, now became moving condition.
Wherein, environment light detecting sensors is generally come by using phototransistor, photo resistance or photodiode real Existing, what the data variation value of detection environment light detecting sensors referred to then refers to that environment light detecting sensors detects its position The situation of change for locating environment light, when mobile terminal is in lasting communication process or under non-talking state, environment light detection The environment light that sensor detects should all be in stable luminance state.
In this step, (the environment light detection sensing when the environment light that environment light detecting sensors detects changes The data variation value of device is greater than the 4th threshold value), and acceleration transducer also detects that the moving condition of mobile terminal changes (the data variation value of acceleration transducer is greater than third threshold value), at this moment enter step 372;Otherwise 373 are entered step.
Step 372, judge that mobile terminal is on call.
Step 373, judge that mobile terminal is not on talking state.
Wherein, step 372 connects step 380, and step 373 then connects step 380.
Step 380, the display for controlling mobile terminal is held one's breath screen.
Step 390, the display screen for controlling mobile terminal is always on.
Step 300, terminate.
Compared to previous embodiment, method for controlling mobile terminal provided in this embodiment, after restarting range sensor, The validity of detecting distance sensor again is passed in the case where judging range sensor still without restoring by acceleration The data situation of sensor and environment light detecting sensors controls the breath screen and bright screen of display screen, and then avoids due to distance The problem of display screen caused by sensor failure accidentally touches.
Embodiment 4
Referring to Fig. 5, Fig. 5 is the flow diagram of the control method a further embodiment of the application mobile terminal, this implementation Controlling party rule in example mainly includes the following steps that:
Step 401, judge whether mobile terminal is in talk business state.
Step 402, the data variation value of acceleration transducer and range sensor is detected.
Step 403, judge whether that the data variation value of acceleration transducer is greater than the number of first threshold and range sensor It is less than second threshold according to changing value.
Step 404, range sensor is resetted.
Step 405, the data variation value of acceleration transducer and range sensor is detected.
Step 406, judge whether that the data variation value of acceleration transducer is greater than the number of first threshold and range sensor It is less than second threshold according to changing value.
The associated description for corresponding to step in embodiment 3 is please referred to about step 401-406, is not repeated herein.
Step 407, judge whether mobile terminal is on call.
In this step, the talking state of mobile terminal refers to that mobile terminal is carrying out in voice call process, with Talk business state (talk business state refers to the prompt state that call incoming call or exhalation are not answered temporarily) above-mentioned is different. In this step, if judging, mobile terminal is on call, enters step 408, if it is logical to judge that mobile terminal is not on Speech phase then enters step 409.
Wherein, judge that mobile terminal method whether on call also please refers to the associated description of previous embodiment.
Step 408, the display for controlling mobile terminal is held one's breath screen.
Step 409, the display screen for controlling mobile terminal is always on.
Wherein, as different from Example 3, in the present embodiment, in step 408, the display for controlling mobile terminal is held one's breath screen The step of after further include step 410, judge mobile terminal whether end of conversation or change answer state.If judging result is It is then to enter step 411;If judging result be it is no, enter step 412.Wherein, judge mobile terminal whether end of conversation or Person changes that answer the method for state referring specifically to Fig. 6, Fig. 6 be judge whether mobile terminal changes one reality of method for the state of answering Apply the flow diagram of example.
Step 4101, judge whether that the data variation value of acceleration transducer is greater than the 5th threshold value and environment light detection senses The data variation value of device is greater than the 6th threshold value.
In this step, if judging whether, the data variation value of acceleration transducer is greater than the 5th threshold value and environment light detection The data variation value of sensor be greater than the 6th threshold value result be it is yes, then enter step 4102, otherwise enter step 4103.
Step 4102, judge that mobile terminal changes the state of answering.
Step 4103, judge that mobile terminal has not been changed the state of answering.
A kind of method for judging mobile terminal and whether changing the state of answering is simply shown above, certainly, in other implementations In example, it can also no longer be arranged one by one herein to carry out judging whether mobile terminal changes it and answer state by other means It lifts and is described in detail.
Step 411, the display screen for controlling mobile terminal is lighted.
Step 412, mobile terminal is made to keep breath screen state.
Step 413, terminate.
Method for controlling mobile terminal provided in this embodiment is restarting range sensor and then secondary detecting distance sensing The validity of device passes through acceleration transducer and environment light detection in the case where judging range sensor still without restoring The data situation of sensor controls the breath screen and bright screen of display screen, and then avoids causing since range sensor fails Display screen accidentally the problem of touching;In addition, also further being judged using acceleration transducer and environment light detecting sensors State is answered in mobile terminal change, is held one's breath and the reliable control of bright screen with realizing to display.
It is the structure composition schematic block diagram of one embodiment of mobile terminal provided by the present application refering to Fig. 7, Fig. 7, the movement is whole End 70 includes processor 71 and memory 72.71 coupled memory 72 of processor.
Processor 71 is specifically used for, and detects the data variation value of acceleration transducer and range sensor;Judge whether The data variation value of acceleration transducer is greater than first threshold and the data variation value of the range sensor is less than second threshold; If so, resetting the range sensor.Specific control method process please refers to the detailed of earlier figures 1- Fig. 6 embodiment of the method It introduces.
Further, referring to Fig. 8, Fig. 8 is the structure composition signal of another embodiment of mobile terminal provided by the present application Block diagram, the mobile terminal in the present embodiment includes detection module 81, judgment module 82 and execution module 83.
Specifically, detection module 81 is used to detect the data variation value of acceleration transducer and range sensor;Sentence Disconnected module 82 is used to judge whether that the data variation value of the acceleration transducer to be greater than first threshold and the range sensor Data variation value be less than second threshold;Execution module 83 is for resetting the range sensor.
Further, judgment module 82 is also used to judge whether mobile terminal is on call, sentences in judgment module 82 When the mobile terminal that breaks is on call, execution module 83 is used to control the breath screen of mobile terminal display screen;In judgment module 82 When judging that mobile terminal is not on talking state, execution module 83 is always on for controlling mobile terminal display screen.Wherein, judge Module 82 is specifically used for judging whether that the data variation value of acceleration transducer is greater than third threshold value and environment light detecting sensors Data variation value be greater than the 4th threshold value, if so, judging that mobile terminal is on call.Judgment module 82 is also used to judge Mobile terminal whether end of conversation or change answer state;If judgment module 82 judges mobile terminal for end of conversation or changes State is answered in change, and the display screen that execution module 83 controls mobile terminal is lighted.
In addition, judgment module 82 is greater than the 5th threshold value also particularly useful for the data variation value for judging whether acceleration transducer And the data variation value of environment light detecting sensors is greater than the 6th threshold value, if so, judging that state is answered in mobile terminal change.Into One step, judgment module 82 is also used to judge whether mobile terminal is in talk business state.
The associated description of preceding method embodiment is please referred to about the specific control process of each module, it is no longer superfluous herein It states.Mobile terminal provided in this embodiment, judged by the data situation of acceleration transducer and range sensor away from It is whether abnormal from sensor, and then reset and restart range sensor;Restarting range sensor and then secondary detecting distance sensing The validity of device passes through acceleration transducer and environment light detection in the case where judging range sensor still without restoring The data situation of sensor controls the breath screen and bright screen of display screen, and then avoids causing since range sensor fails Display screen accidentally the problem of touching;In addition, also further being judged using acceleration transducer and environment light detecting sensors State is answered in mobile terminal change, is held one's breath and the reliable control of bright screen with realizing to display.
Referring to Fig. 9, Fig. 9 is the structural schematic diagram of one embodiment of computer storage medium provided by the present application, the calculating Machine storage medium 90 is for storing computer program 91, and computer program 91 is when being executed by processor, for realizing such as Fig. 1- The control method provided in the embodiment of Fig. 6, the computer storage medium 90 can be for above-mentioned mobile terminal, can also be with It is for server.
In the embodiment of the computer program of the computer-readable recording medium storage of the present embodiment and above-mentioned electronic equipment The computer program of memory storage is similar, and the method and step realized when being executed by processor is similar, and which is not described herein again.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can To realize by another way.For example, device embodiments described above are only schematical, for example, module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can select some or all of unit therein according to the actual needs to realize the mesh of present embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute each implementation of the present invention The all or part of the steps of methods.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely section Examples of the invention, are not intended to limit protection scope of the present invention, all utilizations Equivalent device made by description of the invention and accompanying drawing content or equivalent process transformation are applied directly or indirectly in other correlations Technical field, be included within the scope of the present invention.

Claims (15)

1. a kind of control method of mobile terminal, which is characterized in that the control method includes:
Detect the data variation value of acceleration transducer and range sensor;
Judge whether that the data variation value of the acceleration transducer is greater than first threshold and the data of the range sensor become Change value is less than second threshold;
If so, resetting the range sensor.
2. control method according to claim 1, which is characterized in that the control method is carrying out resetting range sensor It further include repeating the data variation value of detection acceleration transducer and range sensor and judging whether acceleration after step The step of data variation value that the data variation value of sensor is greater than first threshold and range sensor is less than second threshold, if sentencing Disconnected result remains as, then carries out following steps:
Judge whether mobile terminal is on call;
If so, the display of control mobile terminal is held one's breath;If it is not, the display screen for then controlling mobile terminal is always on.
3. control method according to claim 2, which is characterized in that described to judge whether mobile terminal is on call Method specifically includes:Judge whether that the data variation value of acceleration transducer is greater than third threshold value and environment light detecting sensors Data variation value is greater than the 4th threshold value, if so, judging that mobile terminal is on call.
4. control method according to claim 2, which is characterized in that if the judgement mobile terminal is on call, control Further include after the step of display of mobile terminal processed is held one's breath:
Judge mobile terminal whether end of conversation or change answer state;
If so, the display screen of control mobile terminal is lighted.
5. control method according to claim 4, which is characterized in that described to judge whether mobile terminal changes the state of answering Method specifically includes:Judge whether that the data variation value of acceleration transducer is greater than the 5th threshold value and environment light detecting sensors Data variation value is greater than the 6th threshold value, if so, judging that mobile terminal changes the state of answering.
6. control method according to claim 1, which is characterized in that the control method is in the detection acceleration sensing It further include judging whether mobile terminal is in talk business state before the step of data variation value of device and range sensor, If so, the step of carrying out the data variation value for detecting acceleration transducer and range sensor.
7. control method according to claim 6, which is characterized in that the talk business state of the mobile terminal includes logical The prompt state that words incoming call or exhalation are not answered temporarily.
8. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor and memory, and the processor couples institute Memory is stated, the processor is executed instruction at work to realize such as the described in any item control methods of claim 1-7.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Detection module, for detecting the data variation value of acceleration transducer and range sensor;
Judgment module, for judging whether that the data variation value of the acceleration transducer is greater than first threshold and the distance passes The data variation value of sensor is less than second threshold;
Execution module, for resetting the range sensor.
10. mobile terminal according to claim 9, which is characterized in that the judgment module is also used to judge mobile terminal Whether on call, when the judgment module judges that mobile terminal is on call, the execution module is for controlling The breath screen of mobile terminal display screen processed;When the judgment module judges that mobile terminal is not on talking state, the execution Module is always on for controlling mobile terminal display screen.
11. mobile terminal according to claim 10, which is characterized in that the judgment module is specifically used for judging whether to add The data variation value of velocity sensor is greater than third threshold value and the data variation value of environment light detecting sensors is greater than the 4th threshold value, If so, judging that mobile terminal is on call.
12. mobile terminal according to claim 10, which is characterized in that the judgment module is also used to judge mobile terminal Whether end of conversation or change answer state;If the judgment module judges that mobile terminal is answered for end of conversation or change The display screen of state, the execution module control mobile terminal is lighted.
13. mobile terminal according to claim 12, which is characterized in that the judgment module is specifically used for judging whether to add The data variation value of velocity sensor is greater than the 5th threshold value and the data variation value of environment light detecting sensors is greater than the 6th threshold value, If so, judging that state is answered in mobile terminal change.
14. mobile terminal according to claim 9, which is characterized in that the judgment module is also used to judge mobile terminal Whether talk business state is in.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It executes to realize such as the described in any item control methods of claim 1-7.
CN201810639619.5A 2018-06-20 2018-06-20 Mobile terminal, control method thereof and storage medium Active CN108829542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810639619.5A CN108829542B (en) 2018-06-20 2018-06-20 Mobile terminal, control method thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810639619.5A CN108829542B (en) 2018-06-20 2018-06-20 Mobile terminal, control method thereof and storage medium

Publications (2)

Publication Number Publication Date
CN108829542A true CN108829542A (en) 2018-11-16
CN108829542B CN108829542B (en) 2022-03-29

Family

ID=64143290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810639619.5A Active CN108829542B (en) 2018-06-20 2018-06-20 Mobile terminal, control method thereof and storage medium

Country Status (1)

Country Link
CN (1) CN108829542B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110830644A (en) * 2019-09-16 2020-02-21 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium
TWI688882B (en) * 2019-03-29 2020-03-21 華碩電腦股份有限公司 Electronic device and controlling method thereof
CN111327760A (en) * 2020-01-17 2020-06-23 珠海格力电器股份有限公司 Control method and device for false touch prevention mode, electronic equipment and storage medium
CN111432073A (en) * 2020-04-01 2020-07-17 Tcl移动通信科技(宁波)有限公司 Mobile terminal control method and device, storage medium and mobile terminal
CN111654578A (en) * 2020-06-02 2020-09-11 Tcl通讯(宁波)有限公司 Mobile terminal sensor restoration method
CN112181209A (en) * 2020-11-03 2021-01-05 珠海格力电器股份有限公司 Method and device for recovering anti-false touch function, storage medium and electronic device
WO2021196212A1 (en) * 2020-04-03 2021-10-07 深圳市大疆创新科技有限公司 Movable platform and control method therefor, and inertial sensor circuit

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984372A (en) * 2012-11-21 2013-03-20 广东欧珀移动通信有限公司 Method and device for extinguishing and lighting screen and mobile terminal
CN103581394A (en) * 2012-08-02 2014-02-12 希姆通信息技术(上海)有限公司 Device and method for testing proximity sensor of mobile terminal
EP2760186A1 (en) * 2013-01-29 2014-07-30 LG Electronics Inc. Mobile terminal with external case
CN105334966A (en) * 2015-11-27 2016-02-17 广东欧珀移动通信有限公司 Error operation preventing method and device and terminal device
CN106331324A (en) * 2016-08-16 2017-01-11 努比亚技术有限公司 Screen extinguishment control method and control device for mobile terminal
CN106412243A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Method for monitoring abnormity of distance sensor, and terminal
CN106534534A (en) * 2016-11-09 2017-03-22 广东欧珀移动通信有限公司 Working mode switching method and mobile terminal
CN106547638A (en) * 2016-11-08 2017-03-29 广东欧珀移动通信有限公司 Method, device and the mobile terminal for preventing proximity state abnormal
CN106776092A (en) * 2016-12-06 2017-05-31 广东欧珀移动通信有限公司 A kind of condition detection method of proximity transducer, device and terminal
US20170193816A1 (en) * 2012-12-03 2017-07-06 Samsung Electronics Co., Ltd. Mobile terminal and method of controlling function of the mobile terminal
CN107102864A (en) * 2017-05-16 2017-08-29 广东欧珀移动通信有限公司 One kind puts out screen control method, device, storage medium and terminal
US20170279952A1 (en) * 2014-09-29 2017-09-28 Sharp Kabushiki Kaisha Portable terminal, and method for controlling portable terminal
CN107454265A (en) * 2017-08-11 2017-12-08 北京安云世纪科技有限公司 Change the method and device of record call-information based on call mode

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581394A (en) * 2012-08-02 2014-02-12 希姆通信息技术(上海)有限公司 Device and method for testing proximity sensor of mobile terminal
CN102984372A (en) * 2012-11-21 2013-03-20 广东欧珀移动通信有限公司 Method and device for extinguishing and lighting screen and mobile terminal
US20170193816A1 (en) * 2012-12-03 2017-07-06 Samsung Electronics Co., Ltd. Mobile terminal and method of controlling function of the mobile terminal
EP2760186A1 (en) * 2013-01-29 2014-07-30 LG Electronics Inc. Mobile terminal with external case
US20170279952A1 (en) * 2014-09-29 2017-09-28 Sharp Kabushiki Kaisha Portable terminal, and method for controlling portable terminal
CN105334966A (en) * 2015-11-27 2016-02-17 广东欧珀移动通信有限公司 Error operation preventing method and device and terminal device
CN106331324A (en) * 2016-08-16 2017-01-11 努比亚技术有限公司 Screen extinguishment control method and control device for mobile terminal
CN106412243A (en) * 2016-09-05 2017-02-15 努比亚技术有限公司 Method for monitoring abnormity of distance sensor, and terminal
CN106547638A (en) * 2016-11-08 2017-03-29 广东欧珀移动通信有限公司 Method, device and the mobile terminal for preventing proximity state abnormal
CN106534534A (en) * 2016-11-09 2017-03-22 广东欧珀移动通信有限公司 Working mode switching method and mobile terminal
CN106776092A (en) * 2016-12-06 2017-05-31 广东欧珀移动通信有限公司 A kind of condition detection method of proximity transducer, device and terminal
CN107102864A (en) * 2017-05-16 2017-08-29 广东欧珀移动通信有限公司 One kind puts out screen control method, device, storage medium and terminal
CN107454265A (en) * 2017-08-11 2017-12-08 北京安云世纪科技有限公司 Change the method and device of record call-information based on call mode

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI688882B (en) * 2019-03-29 2020-03-21 華碩電腦股份有限公司 Electronic device and controlling method thereof
CN110830644A (en) * 2019-09-16 2020-02-21 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium
CN110830644B (en) * 2019-09-16 2021-04-20 深圳市万普拉斯科技有限公司 Display screen control method and device, electronic equipment and storage medium
CN111327760A (en) * 2020-01-17 2020-06-23 珠海格力电器股份有限公司 Control method and device for false touch prevention mode, electronic equipment and storage medium
CN111327760B (en) * 2020-01-17 2021-06-18 珠海格力电器股份有限公司 Control method and device for false touch prevention mode, mobile terminal and storage medium
CN111432073A (en) * 2020-04-01 2020-07-17 Tcl移动通信科技(宁波)有限公司 Mobile terminal control method and device, storage medium and mobile terminal
WO2021196212A1 (en) * 2020-04-03 2021-10-07 深圳市大疆创新科技有限公司 Movable platform and control method therefor, and inertial sensor circuit
CN111654578A (en) * 2020-06-02 2020-09-11 Tcl通讯(宁波)有限公司 Mobile terminal sensor restoration method
CN111654578B (en) * 2020-06-02 2021-06-15 Tcl通讯(宁波)有限公司 Mobile terminal sensor restoration method
CN112181209A (en) * 2020-11-03 2021-01-05 珠海格力电器股份有限公司 Method and device for recovering anti-false touch function, storage medium and electronic device

Also Published As

Publication number Publication date
CN108829542B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN108829542A (en) Mobile terminal and its control method, storage medium
US10191645B2 (en) Controlling a touch panel display during scrolling operations
CN108572767B (en) Method for determining external object position and mobile terminal
CN111078076A (en) Application program switching method and electronic equipment
CN111132128B (en) Account control method and device
KR102441850B1 (en) Service processing method and mobile communication terminal
US8195123B2 (en) Call origination method for full-touch screen portable terminal
CN109831359B (en) Method for detecting connection state of data network and terminal equipment thereof
CN109963204B (en) Watermark adding method and device, mobile terminal and readable storage medium
CN107977113B (en) Control method and mobile terminal
CN103095915A (en) Method of preventing faulty operation based on touch screen mobile phone and mobile phone
CN104270534A (en) Terminal equipment control method and device
US20220150201A1 (en) Message sending method and terminal device
JP7427802B2 (en) Power adjustment method and electronic equipment
CN108762613B (en) State icon display method and mobile terminal
CN104717362A (en) Mobile terminal and phone answering processing method and system for same
US20130232446A1 (en) Electronic device and method for unlocking electronic device
CN108737655B (en) Picture processing method and related device
CN112217713A (en) Method and device for displaying message
CN109828702B (en) Interface display method and terminal equipment
CN108600517B (en) Method and terminal for switching screen state
CN110475372B (en) Uplink transmission method and terminal
CN112506515B (en) Compiling control method, terminal and computer readable storage medium
CN111435907B (en) Transmission processing method, device, terminal and medium
CN110572518B (en) Screen-extinguishing control method, mobile terminal and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant