CN106412243A - Method for monitoring abnormity of distance sensor, and terminal - Google Patents
Method for monitoring abnormity of distance sensor, and terminal Download PDFInfo
- Publication number
- CN106412243A CN106412243A CN201610803437.8A CN201610803437A CN106412243A CN 106412243 A CN106412243 A CN 106412243A CN 201610803437 A CN201610803437 A CN 201610803437A CN 106412243 A CN106412243 A CN 106412243A
- Authority
- CN
- China
- Prior art keywords
- detection
- distance
- sensor
- numerical value
- terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed is a method for monitoring abnormity of a distance sensor, comprising: when a terminal starts a first detection instruction, entering a first detection mode, wherein in the first detection mode, a distance sensor detects a first detection value, and an acceleration sensor detects a second detection value; acquiring the first detection value detected by the distance sensor and the second detection value detected by the acceleration sensor according to the first detection instruction; and when the first detection value is not changed and the second detection value is changed within a preset time range, determining that the distance sensor is abnormal. The embodiments of the present invention also provide a terminal capable of implementing the method.
Description
Technical field
The present invention relates to electronic technology, the abnormal method of more particularly, to a kind of monitoring distance induction apparatuss and terminal.
Background technology
With the development of terminal technology, the application of sensor in the terminal using more and more extensive, and with various
Sensor continuing on in the terminal, the function of being realized based on sensor is also got more and more.For example:When user answers arrival
When electric, the head whether detection terminal is close to the users cooperated to, when logical by distance-sensor and acceleration transducer
Cross distance-sensor and acceleration transducer testing result detect terminal near the head of user when, then control and be currently at
The display screen of bright screen state switches to black state, thus reaching the purpose of power saving, when again according to distance-sensor and plus
The testing result of velocity sensor detect terminal away from user head when, control and be currently at the display screen of black state
Switch to bright screen state, thus carrying out the display of display picture the operation of receive user in bright screen state.
And in prior art, when the distance-sensor in terminal occurs abnormal, such as:Distance-sensor break down or
During the sensing hole plug of distance-sensor, it is abnormal that terminal cannot know that distance-sensor occurs, and still according to distance-sensor
Testing result carry out control terminal so that its original effect is lost by the function that distance-sensor is realized, therefore, need one badly
Plant the abnormal technical scheme of monitoring distance induction apparatuss, detect that abnormal situation in distance-sensor.
Content of the invention
In view of this, the embodiment of the present invention provides a kind of abnormal method of monitoring distance induction apparatuss and terminal, can detect
Go out distance-sensor and abnormal situation occurs.
The technical scheme of the embodiment of the present invention is realized in:
On the one hand, the embodiment of the present invention provides a kind of monitoring distance induction apparatuss abnormal method, and methods described includes:Work as end
When end starts the first detection instruction, enter the first detection pattern;Wherein, in described first detection pattern, should by distance perspective
Device detection obtains the first detection numerical value and obtains the second detection numerical value by acceleration transducer detection;According to the described first detection
Instruction is obtained the first detection numerical value being obtained by the detection of described distance-sensor and is obtained by described acceleration transducer detection
The the second detection numerical value obtaining;When, in preset time range, described first detection numerical value does not change and the second detection numerical value
When changing, determine that described distance-sensor occurs abnormal.
On the other hand, the embodiment of the present invention provides a kind of terminal, including:Processor, distance-sensor and acceleration pass
Sensor;Wherein, described processor:For when starting the first detection instruction, entering the first detection pattern;Wherein, described
During one detection pattern, detected by described distance-sensor and obtain the first detection numerical value and detected by described acceleration transducer
Obtain the second detection numerical value;The first detection being obtained by the detection of described distance-sensor is obtained according to the described first detection instruction
Numerical value and the second detection numerical value being obtained by described acceleration transducer detection;When in preset time range, described first
When detection numerical value does not change and the second detection numerical value changes, determine that described distance-sensor occurs abnormal.
A kind of abnormal method of monitoring distance induction apparatuss provided in an embodiment of the present invention and terminal, methods described includes:When
When terminal starts the first detection instruction, enter the first detection pattern;Wherein, in described first detection pattern, by distance perspective
Device detection is answered to obtain the first detection numerical value and obtain the second detection numerical value by acceleration transducer detection;According to the described first inspection
Survey instruction to obtain the first detection numerical value obtaining by the detection of described distance-sensor and detect by described acceleration transducer
The the second detection numerical value obtaining;When, in preset time range, described first detection numerical value does not change and the second detection number
When value changes, determine that described distance-sensor occurs abnormal.So, terminal, when being under the first detection pattern, obtains
The the first detection numerical value being obtained by distance-sensor detection and the second detection numerical value being obtained by acceleration transducer detection,
When the first detection numerical value do not change and it is determined that abnormal feelings in distance-sensor when the second detected value changes
Condition.So, to the hardware configuration of existing terminal without any changes on the premise of, realize the abnormal conditions of induction apparatuss of adjusting the distance
Detection.
Brief description
Fig. 1-1 is the hardware architecture diagram realizing the optional mobile terminal of each embodiment of the present invention one;
Fig. 1-2 is the wireless communication system schematic diagram of mobile terminal as Figure 1-1;
Fig. 1-3 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention one;
Fig. 2 is that the terminal of the embodiment of the present invention is in the schematic diagram of primary importance;
Fig. 3 is that the terminal of the embodiment of the present invention is in the schematic diagram of the second position;
Fig. 4 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention two;
Fig. 5 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention three;
Fig. 6 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention four;
Fig. 7 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention five;
Fig. 8 is the schematic diagram of the abnormal prompt window in the embodiment of the present invention five;
Fig. 9 is the structural representation of one of the embodiment of the present invention six terminal;
Figure 10 is the structural representation of another kind of terminal in the embodiment of the present invention six.
Specific embodiment
It should be appreciated that specific embodiment described herein, only in order to explain technical scheme, is not used to
Limit protection scope of the present invention.
Realize the mobile terminal of each embodiment of the present invention referring now to Description of Drawings.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for being conducive to the explanation of the present invention, itself
Not specific meaning.Therefore, " module " and " part " can mixedly use.
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desk computer etc. consolidate
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1-1 is that the hardware configuration realizing each one optional mobile terminal of embodiment of the present invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input
Unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1-1 shows
Go out to have the mobile terminal of various assemblies, it should be understood that being not required for implementing all assemblies illustrating.Can substitute
More or less of assembly is implemented on ground.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal generating before the server of broadcast singal and/or broadcast related information or reception and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting
Signal etc..And, broadcast singal may further include the broadcast singal combining with TV or radio signals.Broadcast phase
Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is receiving.Broadcast singal can exist in a variety of manners, and for example, it can be with the electronics of DMB (DMB)
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiver module 111 can be broadcasted by using various types of broadcast system receipt signals.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and is adapted to provide for extensively
Broadcast the various broadcast systems of signal and above-mentioned digit broadcasting system.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memorizer 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can include voice and lead to
Words signal, video calling signal or the various types of data sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, RF identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybeeTMEtc..
Location information module 115 be for check or obtain mobile terminal positional information module.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115 calculates and is derived from three or more satellites
Range information and correct time information and for the Information application triangulation calculating, thus according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, the method for calculating position and temporal information is defended using three
Star and the error of the position that calculates by using other satellite correction and temporal information.Additionally, GPS module 115
Can be by Continuous plus current location information in real time come calculating speed information.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He
Mike 1220, camera 121 is to the static map being obtained by image capture apparatus in Video Capture pattern or image capture mode
The view data of piece or video is processed.Picture frame after process may be displayed on display unit 151.At camera 121
Picture frame after reason can be stored in memorizer 160 (or other storage medium) or carry out via wireless communication unit 110
Send, two or more cameras 1210 can be provided according to the construction of mobile terminal.Mike 122 can be in telephone relation mould
Sound (voice data) is received via mike in formula, logging mode, speech recognition mode etc. operational mode, and can be by
Such acoustic processing is voice data.Audio frequency (voice) data after process can be changed in the case of telephone calling model
For can be sent to the form output of mobile communication base station via mobile communication module 112.Mike 122 can implement all kinds
Noise eliminate (or suppression) algorithm with eliminate (or suppression) receive and the noise that produces during sending audio signal or
Person disturbs.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection due to touched and lead to resistance, pressure, the change of electric capacity etc. sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Sensing unit 140 can be according to the change of the environment residing for perception mobile terminal itself, such as:The external force that is subject to,
With the distance between operation object etc., the sensors such as distance-sensor, acceleration transducer, light sensor can be included, with
Detect the change of residing environment by these specific sensors.
Interface unit 170 is connected, with mobile terminal 1 00, the interface that can pass through as at least one external device (ED).For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port of device for connection with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage for verifying that user uses each of mobile terminal 1 00
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected with mobile terminal 1 00 via port or other attachment means.Interface unit 170 can be used for reception and is derived from
The input (for example, data message, electric power etc.) of the external device (ED) and input receiving is transferred in mobile terminal 1 00
One or more elements or can be used for transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity
Power provides the path of mobile terminal 1 00 from base or can serve as allowing the various command signals from base input to pass through it
It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from the various command signals of base input or electric power
The no signal being accurately fitted within base.Output unit 150 is configured to defeated with the offer of vision, audio frequency and/or tactile manner
Go out signal (for example, audio signal, video signal, vibration signal etc.).Output unit 150 can include display unit 151, sound
Frequency output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processing in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
During words call mode, display unit 151 can show (for example, text messaging, the multimedia file that communicate with call or other
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, illustrate video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and the touch pad touch screen with formation superposed on one another as a layer, display unit
151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
A kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
The embodiment wanted, mobile terminal 1 00 can include two or more display units (or other display device), for example, moves
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
When under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memorizer 160
The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide and move
The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation of terminal 100 execution.
Dio Output Modules 152 can include speaker, buzzer etc..
Memorizer 160 can store software program of the process being executed by controller 180 and control operation etc., or can
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memorizer 160 can be to store the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch screen
Data.
Memorizer 160 can include the storage medium of at least one type, and storage medium includes flash memory, hard disk, multimedia
Card, card-type memorizer (for example, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory
(SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can execute memorizer with by network connection
The network storage device cooperation of 160 store function.
Controller 180 generally controls the overall operation of mobile terminal.For example, controller 180 execution and voice call, data
The related control of communication, video calling etc. and process.In addition, controller 180 can be included for reproduction or multimedia playback
The multi-media module 1810 of data, multi-media module 1810 can construct in controller 180, or it is so structured that and controls
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executing on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Suitable electric power needed for part and assembly.
Various embodiment described herein can be with using such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implementing.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute function described herein
At least one in electronic unit implementing, in some cases, can be implemented in controller 180 by such embodiment.
Software is implemented, the embodiment of such as process or function can with allow to execute the single of at least one function or operation
Software module is implementing.Software code can be come by the software application (or program) write with any suitable programming language
Implement, software code can be stored in memorizer 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Fig. 1-1 may be constructed such that using via frame or packet transmission data such as
Wired and wireless communication system and satellite-based communication system are operating.
The communication system being wherein operable to according to the mobile terminal of the present invention referring now to Fig. 1-2 description.
Such communication system can use different air interfaces and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 1-2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base
Station control (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 formation interfaces.MSC280 is also structured to and can form interface via the BSC275 that back haul link is couple to base station 270.
If back haul link can construct according to any one in the interface that Ganji knows, interface includes such as E1/T1, ATM, IP, PPP,
Frame relay, HDSL, ADSL or xDSL.It will be appreciated that system as shown in figs. 1-2 can include multiple BSC2750.
Each BS270 can service one or more subregions (or region), by the sky of multidirectional antenna or sensing specific direction
Each subregion that line covers is radially away from BS270.Or, each subregion can by for diversity reception two or more
Antenna covers.Each BS270 may be constructed such that support multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in figs. 1-2, broadcast singal is sent to the mobile terminal of operation in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Fig. 1-1 be arranged at mobile terminal 1 00 with receive by BT295 send wide
Broadcast signal.In Fig. 1-2, show several global positioning systems (GPS) satellite 300.Satellite 300 helps position multiple movements eventually
At least one of end 100.
In Fig. 1-2, depict multiple satellites 300, it is understood that be, it is possible to use any number of satellite obtains to be had
Location information.GPS module 115 as shown in Fig. 1-1 is generally configured to coordinate with satellite 300 with determining that acquisition is wanted
Position information.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use the position of mobile terminal can be followed the tracks of
Other technology.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00
Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station 270 reception is anti-
Processed in specific BS270 to link signal.The data obtaining is forwarded to the BSC275 of correlation.BSC provides call
Resource allocation and the mobile management function of including the coordination of soft switching process between BS270.BSC275 is also by the number receiving
According to being routed to MSC280, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 1 00.
Each embodiment pair of the inventive method will be proposed based on above-mentioned mobile terminal hardware configuration and communication system below
Technical scheme is further elaborated on.
Embodiment one:
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of monitoring distance induction apparatuss abnormal method, the method
It is applied to mobile terminal, the function that the method is realized can be by the processor caller code in mobile terminal Lai real
Existing, certain program code can be saved in computer-readable storage medium it is seen then that this mobile terminal at least includes processor and storage
Medium.
Fig. 1-3 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention one, the method
Can be applicable to terminal, as Figure 1-3, the method includes:
S101, when terminal starts the first detection instruction, enters the first detection pattern;Wherein, detect mould described first
During formula, detected by distance-sensor and obtain the first detection numerical value and the second detection number is obtained by acceleration transducer detection
Value;
Here, the first detection instruction enters the instruction of the first detection pattern for enabled terminals, such as:User when receiving calls
The instruction that receives calls answering operation triggering, when playing game, need to detecting distance induction apparatuss and acceleration transducer simultaneously trip
Play instruction etc..
When the operation based on terminal generates the first detection and instructs and start the first detection instruction, terminal is based on the first detection
The triggering of instruction enters the first detection pattern, and wherein, when terminal is under the first detection pattern, terminal is simultaneously need to distance perspective
Answer the detection numerical value of device and acceleration transducer, now, terminal is obtained the first detection numerical value and led to by distance-sensor detection
Cross acceleration transducer detection and obtain the second detection numerical value.Here, the first detection numerical value is the testing result of distance-sensor;The
Two detection numerical value are the testing result of pressure transducer, and pressure transducer is the built-in sensors of terminal;Here, the sensing of terminal
Object can be certain position of human body or human body, for example:When terminal is in talking state, by the detection knot of distance-sensor
The testing result of fruit and acceleration transducer comes the bright screen of control terminal and the screen that goes out, and the sensing object of distance-sensor is user's
Head.
Received as a example call by terminal, when terminal receives call, this terminal is according to the setting of user
Ring or vibrations, and show the interface receiving calls on the display interface of display screen, this interface includes answering, rejection etc.
Operation button, when user touches and answers button and carry out answering operation, terminal generates the instruction that receives calls, and first detects and refers to
Order, the instruction based on receiving calls enters the second detection pattern, by distance-sensor and acceleration transducer detection terminal respectively
The distance between with user, and the size of the acceleration being subject to because of mobile status.
Here, the first detection numerical value and the second detection number are obtained respectively by distance-sensor and acceleration transducer detection
The process of value can be achieved by the prior art, and the embodiment of the present invention is not described further to this.
S102, obtains, according to the described first detection instruction, the first detection numerical value obtaining by the detection of described distance-sensor
With the second detection numerical value being obtained by the detection of described acceleration transducer;
When starting the first detection instruction, the first detection pattern is entered based on the first detection instruction, now, by distance perspective
Answer device detection to obtain the first detection numerical value, the second detection numerical value is obtained by acceleration transducer, and obtains the first detection numerical value
With the second detection numerical value.
Here, the first detection numerical value of acquisition is distance-sensor and sensing the distance between object, that is, characterize terminal with
Distance perspective reply as between distance;Obtain second detection numerical value be acceleration transducer because in mobile status with motion
The change of state and the acceleration of terminal itself that detects, that is, characterize the kinestate of terminal itself;Wherein, the end detecting
The acceleration at end itself includes the parameters such as the size of acceleration, direction.When distance-sensor and acceleration transducer are all in just
Often during state, the first detection numerical value changes with the distance of terminal and the distance between sensing object, the second detection numerical value
Movement with terminal changes.
S103, when, in preset time range, described first detection numerical value does not change and the second detection numerical value occurs
During change, determine that described distance-sensor occurs abnormal.
When the first detection numerical value does not produce change in preset time range, and when the second detection numerical value has change, then
Can determine that distance-sensor occurs abnormal.Here, when the second detection numerical value has change, show that the kinestate of terminal occurs
Change, and now terminal is in the first detection pattern, when kinestate changes, between terminal and sensing object away from
From also changing, and the first detection numerical value obtaining here by distance-sensor detection does not change, then illustrate
Abnormal conditions in distance-sensor, and here, the exception of distance-sensor includes:The sensing hole of distance-sensor is plugged, away from
From induction apparatuss because fault leads to the abnormal conditions such as inaccurate with a distance from detection;For example:The value of normal distance-sensor detection
Change with sensing the distance between object with distance-sensor, and when breaking down, the data of its detection is a fixed number
Value.
Here, with the distance-sensor under the specific application scenarios that terminal receives calls abnormal as distance-sensor
As a example sensing hole is plugged, when user is when carrying out answering operation to terminal, as shown in Fig. 2 terminal is located at primary importance, this
When, terminal does not move and is the first distance with the distance of the head of user, and the first detection numerical value of acquisition is the first distance, and second
Detection numerical value is the first acceleration;When user is conversed, as shown in figure 3, terminal is shifted to the ear of second position user
Position, in this process, terminal is moved, terminal is moved to second position user ear position when, the first of acquisition
Detection numerical value is second distance, and the second detection numerical value is the second acceleration;Here, because the second acceleration is with respect to the first acceleration
Degree changes, then show that the acceleration transducer of terminal is in normal operating condition, and terminal has kinestate, and due to
The sensing hole of distance-sensor is in the case of being plugged, therefore, first distance and the of the second detection numerical value detecting
Two, apart from equal, lead to terminal during moving to the second position from primary importance, and the second value detecting is not sent out
Changing, thus can determine that when, in preset time range, described first detection numerical value does not change and the second detection numerical value
When changing, determine that described distance-sensor occurs abnormal.
In embodiments of the present invention, by the testing result of judging distance induction apparatuss and acceleration transducer in Preset Time
Inside whether change, and determine that distance-sensor whether there is abnormal conditions, specifically, when the first detection of distance-sensor
Numerical value do not change and acceleration transducer the second detection numerical value when changing it is determined that distance-sensor exist abnormal
Situation, thus in the case of not carrying out any hardware modifications to existing terminal, tied by judging the detection of sensor itself
Fruit is determining that distance-sensor has abnormal conditions.The abnormal method of this monitoring distance induction apparatuss does not increase the growth of production firm
Cost, thus on the premise of not increasing the consumer cost of user, simple and effective can detect the exception of distance-sensor.
Embodiment two:
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of monitoring distance induction apparatuss abnormal method, the method
It is applied to terminal, the function that the method is realized can be realized by the processor caller code in terminal, certain journey
Sequence code can be saved in computer-readable storage medium it is seen then that this terminal at least includes processor and storage medium.
Fig. 4 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention two, as Fig. 4 institute
Show, the abnormal method of this monitoring distance induction apparatus includes:
S401, when terminal start first detection instruction when, enter the first detection pattern;Wherein, detect mould described first
During formula, detected by distance-sensor and obtain the first detection numerical value and the second detection number is obtained by acceleration transducer detection
Value;
S402, when entering the first detection pattern, generate enabled instruction, according to described enabled instruction start described distance perspective
Answer device and described acceleration transducer;
Here, when starting first detection instruction entrance the first detection pattern, generate and start distance-sensor and acceleration
The enabled instruction of sensor, based on the control of enabled instruction, starts distance-sensor and acceleration transducer, with above-mentioned example is
Example:When receive when user receive calls instruction when, enter the first detection pattern, start distance-sensor and acceleration sensing
Device.
S403, obtain the first detection number by described distance-sensor inductive terminations itself with sensing the distance between object
By described acceleration transducer, value, detects that the described terminal acceleration of itself obtains the second detection numerical value;
Here, in the moment starting, the first detection numerical value of distance-sensor can be the larger numerical value of ratio, acceleration
Second detection numerical value of sensor can be zero.
S404, the first detection numerical value being obtained by the detection of described distance-sensor according to the described first detection instruction acquisition
With the second detection numerical value being obtained by the detection of described acceleration transducer;
S405, when in preset time range, described first detection numerical value does not change and the second detection numerical value occurs
During change, determine that described distance-sensor occurs abnormal.
By the method that monitoring distance induction apparatuss provided in an embodiment of the present invention are abnormal, when entering the first detection pattern, really
Surely need by distance-sensor detecting distance, and during by the acceleration of acceleration transducer detection terminal itself, just start
Distance-sensor and acceleration transducer, thus when being introduced into the first detection pattern, do not start distance-sensor and acceleration
Sensor, on the premise of the detecting distance induction apparatuss exception of efficiently and accurately, can power saving as far as possible, extend terminal continuation of the journey
Time.
Embodiment three:
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of monitoring distance induction apparatuss abnormal method, the method
It is applied to terminal, the function that the method is realized can be realized by the processor caller code in terminal, certain journey
Sequence code can be saved in computer-readable storage medium it is seen then that this terminal at least includes processor and storage medium.
Fig. 5 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention three, wherein, the party
Method is applied to, when described terminal is in call connection status, determine that distance-sensor occurs abnormal, as shown in figure 5, the method
Including:
S501, when terminal start first detection instruction when, enter the first detection pattern;Wherein, detect mould described first
During formula, detected by distance-sensor and obtain the first detection numerical value and the second detection number is obtained by acceleration transducer detection
Value;
S502, the first detection numerical value being obtained by the detection of described distance-sensor according to the described first detection instruction acquisition
With the second detection numerical value being obtained by the detection of described acceleration transducer;
S503, when in preset time range, described first detection numerical value does not change and the second detection numerical value occurs
During change, determine that described distance-sensor occurs abnormal;
S504, generation the first distance-sensor exception notification message;Extremely notify to disappear based on described first distance-sensor
Breath generates bright screen instruction;Being instructed according to described bright screen keeps display screen to be in bright screen state.
Here, when S504 is to be in call connection status in terminal, determine that described distance-sensor occurs abnormal, this
When, distance-sensor is abnormal conditions, then the data first detection numerical value of the distance-sensor obtaining is non-actual numerical value, not
The terminal that can accurately characterize and the change of the distance between sensing object, now, are notified extremely based on the first distance-sensor
Message generates for keeping display screen to be in the bright screen instruction of bright screen state, is in based on this bright screen instruction control display screen curtain
Bright screen state, to facilitate user to check the content of current display interface, is grasped with the call hang-ups that can receive user at any time
Make.
And in the embodiment of this programme, when distance-sensor terminal is detected is abnormality, keep the screen of terminal
Curtain is in bright screen state, until receiving the screen operation of going out of user, thus not affecting the use of user.
In actual applications, when terminal is under talking state, when distance-sensor exception is detected, now, distance perspective should
Device start moment with start after first detection numerical value different, and acceleration transducer start moment with move after
Second detection numerical value is different, triggering terminal go out screen operation so that the display screen of terminal is in screen state of going out.When user needs
When carrying out kill-call operation, by terminal when the second position as shown in Figure 3 moves to primary importance as shown in Figure 2, lead to
The the first detection numerical value crossing distance-sensor detection does not change, and now, the display screen of terminal is still in blank screen shape
State, user cannot operate to terminal, and by method provided in an embodiment of the present invention, keeps the display screen of terminal to be in
So that the bright screen of the display screen of terminal goes out, screen is not subject to the control of abnormal distance-sensor so that user can to bright screen state
Normally check the content that terminal display shows.
Example IV:
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of monitoring distance induction apparatuss abnormal method, the method
It is applied to terminal, the function that the method is realized can be realized by the processor caller code in terminal, certain journey
Sequence code can be saved in computer-readable storage medium it is seen then that this terminal at least includes processor and storage medium.
Fig. 6 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention four, as Fig. 6 institute
Show, the method includes:
S601, when terminal start first detection instruction when, enter the first detection pattern;Wherein, detect mould described first
During formula, detected by distance-sensor and obtain the first detection numerical value and the second detection number is obtained by acceleration transducer detection
Value;
S602, the first detection numerical value being obtained by the detection of described distance-sensor according to the described first detection instruction acquisition
With the second detection numerical value being obtained by the detection of described acceleration transducer;
S603, when in preset time range, described first detection numerical value does not change and the second detection numerical value occurs
During change, determine that described distance-sensor occurs abnormal;
S604, when determining that described distance-sensor abnormal, generate second distance induction apparatuss exception notification message;Base
Generate the second detection instruction in described second distance induction apparatuss exception notification message;Start described second detection instruction, enter the
Two detection patterns, during described second detection pattern, obtain the second detection numerical value by the detection of described acceleration transducer.
When determining that distance-sensor abnormal, generate second distance sensing notification message, by this notification message
Control, enter the second detection pattern, under the second detection pattern, only the second detection number is obtained by acceleration transducer detection
Value.Here, based on second distance induction apparatuss exception notification message, it is switched under the second detection pattern by the first detection pattern,
Under this pattern, only pass through acceleration transducer detection and obtain the second detection numerical value, in acquisition numerical value, for original while obtain
The first detection numerical value and the second detection numerical value is taken to switch to only to obtain and detect number by described acceleration transducer obtains second
Value;The operation of terminal according to the described second detection numerical control.
It should be noted that terminal itself also includes removing distance-sensor, unexpected 3rd sensing of acceleration transducer
Device, such as:Light sensor, sound transducer, when being switched to the second detection pattern from the first detection pattern, only to acceleration
Sensor and distance-sensor are controlled, and the switching of detection pattern here is not controlled for 3rd sensor.
In embodiments of the present invention, when distance-sensor is detected and being abnormal, carry out the adjustment of detection pattern in time, only make
Terminal is controlled so that the control of terminal is not subject to controlling of abnormal distance-sensor with the detection numerical value of acceleration transducer
System, thus realize the accurate control to terminal for the sensor.
Embodiment five:
Based on aforesaid embodiment, the embodiment of the present invention provides a kind of monitoring distance induction apparatuss abnormal method, the method
It is applied to terminal, the function that the method is realized can be realized by the processor caller code in terminal, certain journey
Sequence code can be saved in computer-readable storage medium it is seen then that this terminal at least includes processor and storage medium.
Fig. 7 is the schematic flow sheet of the method for monitoring distance induction apparatuss exception in the embodiment of the present invention five, wherein, the party
Method is applied to, when described terminal is in call connection status, determine that distance-sensor occurs abnormal, as shown in fig. 7, the method
Including:
S701, when terminal start first detection instruction when, enter the first detection pattern;Wherein, detect mould described first
During formula, detected by distance-sensor and obtain the first detection numerical value and the second detection number is obtained by acceleration transducer detection
Value;
S702, the first detection numerical value being obtained by the detection of described distance-sensor according to the described first detection instruction acquisition
With the second detection numerical value being obtained by the detection of described acceleration transducer;
S703, when in preset time range, described first detection numerical value does not change and the second detection numerical value occurs
During change, determine that described distance-sensor occurs abnormal;
S704, acquisition abnormal show parameter;Abnormal prompt window is shown according to described abnormal show parameter;Wherein, described
Abnormal show window shows for pointing out described distance-sensor abnormal display content.
Here, terminal is in talking state, and the interface of display is call interface, here, same in display call interface
When, obtain abnormal show parameter, while showing call interface, show the abnormal prompt window showing according to abnormal show parameter
Mouthful, in this abnormal prompt window, show the display content abnormal for tip distance induction apparatuss, such as:" distance-sensor is different
Often " etc..While showing this content, may also provide the interface being operated for user, to determine whether by the first detection pattern
It is switched to the second detection pattern, or after end of conversation, if repair the operation such as distance-sensor.Here, the mode of display can
Including the display ejecting suspended window form, may also include display mode as shown in Figure 8, a part display call interface part
The display window modes such as display abnormal prompt window, wherein, the dash area of in figure is Menu key, home key and return key, right
The concrete mode embodiment of the present invention in the display of abnormal prompt window is not limited.
In embodiments of the present invention, when distance-sensor appearance exception is detected, even if under talking state, in display
While call interface, pointed out by abnormal prompt window, even if so that user grasps the state of terminal, made corresponding
Process.
Embodiment six:
Based on aforesaid embodiment of the method, the embodiment of the present invention provides a kind of terminal, as shown in figure 9, described terminal 900 is wrapped
Include:Processor 901, distance-sensor 902 and acceleration transducer 903;Wherein,
Processor 901:For when starting the first detection instruction, entering the first detection pattern;Wherein, in the described first inspection
During survey pattern, the first detection numerical value is obtained by distance-sensor 902 detection and obtains the by acceleration transducer 903 detection
Two detection numerical value;According to described first detection instruction obtain by distance-sensor 902 detection obtain first detection numerical value and
The the second detection numerical value being obtained by acceleration transducer 903 detection;When, in preset time range, described first detects numerical value
Do not change and the second detection numerical value is when changing, determine that exception in distance-sensor 902.
In embodiments of the present invention, processor 901 is additionally operable to:When entering the first detection pattern, generate enabled instruction;Root
Start distance-sensor 902 and acceleration transducer 903 according to described enabled instruction;Distance-sensor 902 inductive terminations itself with
The distance between sensing object obtains the first detection numerical value;Acceleration transducer 903 detects that the described terminal acceleration of itself obtains
To the second detection numerical value.
In embodiments of the present invention, as shown in Figure 10, terminal 900 also includes:Display screen 904;When terminal 900 be in logical
During words connection status, determine that exception in distance-sensor 902, processor 901 is additionally operable to:Generate the first distance-sensor abnormal
Notification message;Bright screen instruction is generated based on described first distance-sensor exception notification message;Instructed according to described bright screen and keep
Display screen 904 is in bright screen state.
In the present embodiment, processor 901 is additionally operable to:When exception in the described distance-sensor 902 of determination, generate second
Distance-sensor exception notification message;Second detection instruction is generated based on described second distance induction apparatuss exception notification message;Open
Dynamic described second detection instruction, enters the second detection pattern;Enter the second detection pattern;In described second detection pattern, lead to
Cross acceleration transducer 903 detection and obtain the second detection numerical value.
In embodiments of the present invention, when terminal 900 is in call connection status, determine that distance-sensor 902 occurs different
Often, processor 901, for obtaining abnormal show parameter;
Display screen 904, for showing abnormal prompt window according to described abnormal show parameter;Wherein, described exception is aobvious
Show that window shows for pointing out described distance-sensor abnormal display content.
It should be noted that the processor 901 being related in the embodiment of the present invention can be by the controller 180 showing as Fig. 1
To realize, distance-sensor 902, acceleration transducer 903 can be realized by the sensing unit 140 shown in Fig. 1, display screen
904 can be realized by the display unit 151 shown in Fig. 1.
It need to be noted that be:Apparatus above implements the description of item, is similar with said method description, has same
Embodiment of the method identical beneficial effect, does not therefore repeat.For the ins and outs not disclosed in apparatus of the present invention embodiment,
Those skilled in the art refer to the description of the inventive method embodiment and understands, for saving length, repeats no more here.
It should be understood that " embodiment " or " embodiment " that description is mentioned in the whole text mean relevant with embodiment
Special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure
" in one embodiment " or " in one embodiment " not necessarily refers to identical embodiment.Additionally, these specific feature, knots
Structure or characteristic can combine in one or more embodiments in any suitable manner.It should be understood that the various enforcements in the present invention
In example, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be with its work(
Can determine with internal logic, and should not constitute any restriction to the implementation process of the embodiment of the present invention.The embodiments of the present invention
Sequence number is for illustration only, does not represent the quality of embodiment.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant are intended to non-row
The comprising of his property, so that including a series of process of key elements, method, article or device not only include those key elements, and
And also include other key elements of being not expressly set out, or also include intrinsic for this process, method, article or device institute
Key element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including being somebody's turn to do
Also there is other identical element in the process of key element, method, article or device.
It should be understood that disclosed equipment and method in several embodiments provided herein, can be passed through it
Its mode is realized.Apparatus embodiments described above are only schematically, for example, the division of unit, it is only one kind
Division of logic function, actual can have other dividing mode, such as when realizing:Multiple units or assembly can combine, or permissible
It is integrated into another system, or some features can be ignored, or do not execute.In addition, shown or discussed each ingredient phase
Coupling between mutually or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of equipment or unit or logical
Letter connects, and can be electrical, machinery or other forms.
The above-mentioned unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location;Both may be located at a place it is also possible to be distributed to multiple network lists
In unit;The purpose to realize this embodiment scheme for the part or all of unit therein can be selected according to the actual needs.
In addition, can be fully integrated in a processing unit in each functional unit in various embodiments of the present invention, also may be used
Be each unit individually as a unit it is also possible to two or more units are integrated in a unit;Above-mentioned
Integrated unit both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that:The all or part of S realizing said method embodiment can pass through journey
Sequence instructs related hardware to complete, and aforesaid program can be stored in computer read/write memory medium, and this program is being held
During row, execution includes the S of said method embodiment;And aforesaid storage medium includes:Movable storage device, read only memory
(Read Only Memory, ROM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is realized and as independent product using in the form of software function module
It is also possible to be stored in a computer read/write memory medium when selling or using.Based on such understanding, the present invention is implemented
What the technical scheme of example substantially contributed to prior art in other words partly can be embodied in the form of software product,
This computer software product is stored in a storage medium, including some instructions with so that a computer equipment is (permissible
Personal computer, server or network equipment etc.) execution each embodiment method of the present invention all or part.And it is front
The storage medium stated includes:Movable storage device, ROM, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, the specific embodiment of the only present invention, but protection scope of the present invention is not limited thereto, any it is familiar with
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of abnormal method of monitoring distance induction apparatuss is it is characterised in that methods described includes:
When terminal starts the first detection instruction, enter the first detection pattern;Wherein, in described first detection pattern, pass through
Distance-sensor detection obtains the first detection numerical value and obtains the second detection numerical value by acceleration transducer detection;
The the first detection numerical value being obtained by the detection of described distance-sensor is obtained according to the described first detection instruction and passes through institute
State the second detection numerical value that acceleration transducer detection obtains;
When in preset time range, when described first detection numerical value does not change and the second detection numerical value changes, really
Fixed described distance-sensor occurs abnormal.
2. method according to claim 1 is it is characterised in that methods described also includes:
When entering the first detection pattern, generate enabled instruction, described distance-sensor and institute are started according to described enabled instruction
State acceleration transducer;
Obtain the first detection numerical value by described distance-sensor inductive terminations itself with sensing the distance between object, by institute
State the acceleration transducer detection described terminal acceleration of itself and obtain the second detection numerical value.
3. method according to claim 1 is it is characterised in that when described terminal is in call connection status, determine institute
State distance-sensor and occur extremely, methods described also includes:
Generate the first distance-sensor exception notification message;
Bright screen instruction is generated based on described first distance-sensor exception notification message;
Being instructed according to described bright screen keeps display screen to be in bright screen state.
4. method according to claim 1 is it is characterised in that methods described also includes:
When determining that described distance-sensor abnormal, generate second distance induction apparatuss exception notification message;
Second detection instruction is generated based on described second distance induction apparatuss exception notification message;
Start described second detection instruction, enter the second detection pattern;In described second detection pattern, by described acceleration
Sensor detection obtains the second detection numerical value.
5. method according to claim 1 is it is characterised in that when described terminal is in call connection status, determine institute
State distance-sensor and occur extremely, methods described also includes:
Obtain abnormal show parameter;
Abnormal prompt window is shown according to described abnormal show parameter;Wherein, described abnormal show window shows for pointing out
State the abnormal display content of distance-sensor.
6. a kind of terminal is it is characterised in that described terminal includes:Processor, distance-sensor and acceleration transducer;Its
In,
Described processor:For when starting the first detection instruction, entering the first detection pattern;Wherein, in the described first detection
During pattern, the first detection numerical value is obtained by the detection of described distance-sensor and obtains the by the detection of described acceleration transducer
Two detection numerical value;According to described first detection instruction obtain by described distance-sensor detection obtain first detection numerical value with
The the second detection numerical value being obtained by the detection of described acceleration transducer;When, in preset time range, described first detects number
When value does not change and the second detection numerical value changes, determine that described distance-sensor occurs abnormal.
7. terminal according to claim 6 is it is characterised in that described processor is additionally operable to:When entering the first detection pattern
When, generate enabled instruction, described distance-sensor and described acceleration transducer are started according to described enabled instruction;
Described distance-sensor inductive terminations itself obtain the first detection numerical value with sensing the distance between object;
The described acceleration transducer detection described terminal acceleration of itself obtains the second detection numerical value.
8. terminal according to claim 6 is it is characterised in that described terminal also includes:Display screen;When described end
When call connection status, determine that described distance-sensor occurs abnormal, described processor is additionally operable to:
Generate the first distance-sensor exception notification message;
Bright screen instruction is generated based on described first distance-sensor exception notification message;
Being instructed according to described bright screen keeps display screen to be in bright screen state.
9. terminal according to claim 6 is it is characterised in that described processor is additionally operable to:
When determining that described distance-sensor abnormal, generate second distance induction apparatuss exception notification message;
Second detection instruction is generated based on described second distance induction apparatuss exception notification message;
Start described second detection instruction, enter the second detection pattern;Enter the second detection pattern;In described second detection pattern
When, the second detection numerical value is obtained by the detection of described acceleration transducer.
10. terminal according to claim 6 is it is characterised in that described terminal also includes:Display screen;When described terminal
When being in call connection status, determine that described distance-sensor occurs extremely, described processor, for obtaining abnormal show ginseng
Number;
Described display screen, for showing abnormal prompt window according to described abnormal show parameter;Wherein, described abnormal show window
Mouth shows for pointing out described distance-sensor abnormal display content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803437.8A CN106412243B (en) | 2016-09-05 | 2016-09-05 | A kind of method and terminal of monitoring distance inductor exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610803437.8A CN106412243B (en) | 2016-09-05 | 2016-09-05 | A kind of method and terminal of monitoring distance inductor exception |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106412243A true CN106412243A (en) | 2017-02-15 |
CN106412243B CN106412243B (en) | 2019-08-30 |
Family
ID=57998448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610803437.8A Active CN106412243B (en) | 2016-09-05 | 2016-09-05 | A kind of method and terminal of monitoring distance inductor exception |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412243B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829542A (en) * | 2018-06-20 | 2018-11-16 | Oppo广东移动通信有限公司 | Mobile terminal and its control method, storage medium |
CN108989576A (en) * | 2018-09-11 | 2018-12-11 | Oppo广东移动通信有限公司 | Variable-value method of adjustment, device, storage medium and mobile terminal |
CN109542279A (en) * | 2018-10-30 | 2019-03-29 | 维沃移动通信有限公司 | A kind of terminal equipment control method and terminal device |
CN110830644A (en) * | 2019-09-16 | 2020-02-21 | 深圳市万普拉斯科技有限公司 | Display screen control method and device, electronic equipment and storage medium |
CN111670380A (en) * | 2019-01-09 | 2020-09-15 | 深圳市大疆创新科技有限公司 | Abnormity recording method of distance measuring device, distance measuring device and movable platform |
CN112629470A (en) * | 2020-12-22 | 2021-04-09 | 石家庄市科恒电子有限公司 | Depth measurement method and depth measurement system |
CN113840029A (en) * | 2020-06-23 | 2021-12-24 | 中国移动通信集团辽宁有限公司 | Abnormal call state identification method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130054945A1 (en) * | 2011-08-24 | 2013-02-28 | Microsoft Corporation | Adaptive sensing for early booting of devices |
CN103841259A (en) * | 2013-09-17 | 2014-06-04 | 朱鹏 | Action identification method and mobile phone |
CN104639732A (en) * | 2013-11-13 | 2015-05-20 | 上海斐讯数据通信技术有限公司 | Electronic equipment and method for automatically lightening screen |
CN104764491A (en) * | 2015-04-08 | 2015-07-08 | 深圳市康康网络技术有限公司 | Equipment use state recognizing method and electronic equipment |
-
2016
- 2016-09-05 CN CN201610803437.8A patent/CN106412243B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130054945A1 (en) * | 2011-08-24 | 2013-02-28 | Microsoft Corporation | Adaptive sensing for early booting of devices |
CN103841259A (en) * | 2013-09-17 | 2014-06-04 | 朱鹏 | Action identification method and mobile phone |
CN104639732A (en) * | 2013-11-13 | 2015-05-20 | 上海斐讯数据通信技术有限公司 | Electronic equipment and method for automatically lightening screen |
CN104764491A (en) * | 2015-04-08 | 2015-07-08 | 深圳市康康网络技术有限公司 | Equipment use state recognizing method and electronic equipment |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829542A (en) * | 2018-06-20 | 2018-11-16 | Oppo广东移动通信有限公司 | Mobile terminal and its control method, storage medium |
CN108829542B (en) * | 2018-06-20 | 2022-03-29 | Oppo广东移动通信有限公司 | Mobile terminal, control method thereof and storage medium |
CN108989576A (en) * | 2018-09-11 | 2018-12-11 | Oppo广东移动通信有限公司 | Variable-value method of adjustment, device, storage medium and mobile terminal |
CN109542279A (en) * | 2018-10-30 | 2019-03-29 | 维沃移动通信有限公司 | A kind of terminal equipment control method and terminal device |
CN111670380A (en) * | 2019-01-09 | 2020-09-15 | 深圳市大疆创新科技有限公司 | Abnormity recording method of distance measuring device, distance measuring device and movable platform |
CN110830644A (en) * | 2019-09-16 | 2020-02-21 | 深圳市万普拉斯科技有限公司 | Display screen control method and device, electronic equipment and storage medium |
CN113840029A (en) * | 2020-06-23 | 2021-12-24 | 中国移动通信集团辽宁有限公司 | Abnormal call state identification method and device |
CN113840029B (en) * | 2020-06-23 | 2023-11-10 | 中国移动通信集团辽宁有限公司 | Abnormal call state identification method and device |
CN112629470A (en) * | 2020-12-22 | 2021-04-09 | 石家庄市科恒电子有限公司 | Depth measurement method and depth measurement system |
Also Published As
Publication number | Publication date |
---|---|
CN106412243B (en) | 2019-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106412243A (en) | Method for monitoring abnormity of distance sensor, and terminal | |
CN104883430B (en) | A kind of mobile terminal and do not read the treating method and apparatus of footmark | |
CN104731512B (en) | The method, apparatus and terminal that picture is shared | |
CN106453963A (en) | Mobile terminal antenna switching device and method | |
CN105206260A (en) | Terminal voice broadcasting method, device and terminal voice operation method | |
CN106201395A (en) | A kind of display packing and mobile terminal | |
CN106130734A (en) | The control method of mobile terminal and control device | |
CN105357367B (en) | Recognition by pressing keys device and method based on pressure sensor | |
CN104965665B (en) | A kind of information processing method and device, terminal | |
CN104915127B (en) | A kind of membrane keyboard method to set up and device and mobile terminal | |
CN106210279A (en) | Display screen switching device and method | |
CN104731456B (en) | Desktop widget display methods and device | |
CN105100603A (en) | Photographing triggering device embedded in intelligent terminal and method of triggering photographing device | |
CN106911850A (en) | Mobile terminal and its screenshotss method | |
CN106873855A (en) | A kind of suspension icon control method, device and terminal | |
CN106407088A (en) | Method and device for detecting multi-core CPU | |
CN106873936A (en) | Electronic equipment and information processing method | |
CN105915718A (en) | Device and method for voice playing | |
CN106028090A (en) | Mobile terminal and video recording method thereof | |
CN106131274A (en) | Mobile terminal control device and method | |
CN106250276A (en) | A kind of mobile terminal and control method thereof | |
CN106371682A (en) | Gesture recognition system based on proximity sensor and method thereof | |
CN106250130A (en) | A kind of mobile terminal and the method for response button operation | |
CN105100463B (en) | Terminal SIM switching device and method | |
CN106406621A (en) | Mobile terminal and method of processing touch control operation for mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |