CN106502391A - Prevent the device and method to terminal maloperation - Google Patents

Prevent the device and method to terminal maloperation Download PDF

Info

Publication number
CN106502391A
CN106502391A CN201610893956.8A CN201610893956A CN106502391A CN 106502391 A CN106502391 A CN 106502391A CN 201610893956 A CN201610893956 A CN 201610893956A CN 106502391 A CN106502391 A CN 106502391A
Authority
CN
China
Prior art keywords
terminal
screen
range
duration
inclined degree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610893956.8A
Other languages
Chinese (zh)
Inventor
蔡展望
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610893956.8A priority Critical patent/CN106502391A/en
Publication of CN106502391A publication Critical patent/CN106502391A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Abstract

The invention discloses a kind of device and method prevented to terminal maloperation, it is intended to prevent the maloperation to terminal in pocket.Described device includes:Detection module, the first inclined degree for detection terminal reach the duration of predetermined inclination threshold, when the duration for detecting exceedes default first duration threshold value, whether block object in the range of the predeterminable range of terminal described in detecting distance;Screen lock module, for when detect described block object when, whether judge the screen of the terminal by screen locking, in non-screen locking, by the screen lock.Apparatus of the present invention and method can avoid pocket or wrap medium terminal screen is touched and the maloperation to terminal that triggers, and save terminal power.

Description

Prevent the device and method to terminal maloperation
Technical field
A kind of the present invention relates to terminal applies technical field, more particularly to device and method prevented to terminal maloperation.
Background technology
Generally user can be put into terminal in pocket (such as pocket, bag etc.) in not using terminal;When terminal quilt When being placed on pocket, it is possible to unpredictable operation is made to terminal, so as to cause the electricity of terminal to waste, even result in wrong dialling Phone, mistake payment etc., so that affect Consumer's Experience.For example, walking about or moving due to user, causes the body portion of user Terminal is touched in position, and so as to call, point opens application operating.
Content of the invention
Present invention is primarily targeted at proposing a kind of device and method prevented to terminal maloperation, it is intended to prevent to end The maloperation at end.
For achieving the above object, a kind of device prevented to terminal maloperation that the present invention is provided, including:
Detection module, the first inclined degree for detection terminal reach the duration of predetermined inclination threshold, when detected When duration exceedes default first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether object is blocked;
Screen lock module, for when detect block object when, whether judge the screen of the terminal by screen locking, unlocked During screen, by the screen lock.
Optionally, the detection module, is additionally operable to first inclination angle of any surface with horizontal plane for detecting the terminal, will First inclination angle is used as first inclined degree.
Optionally, the detection module, specifically for entering the center of two relative edges in any surface of the terminal Row line;
Detect the first inclination angle of the line and the horizontal plane;
When the duration that first inclination angle reaches predetermined angle threshold value exceedes default first duration threshold value, detecting distance Whether object is blocked in the range of the predeterminable range of the screen of the terminal;
The screen lock module, described blocks object specifically for being continuously detected in default second duration threshold range When, whether the screen is judged by screen locking, in non-screen locking, by the screen lock.
Optionally, the detection module detects the first of the terminal by the horizon sensor being preset in the terminal Inclined degree;
And in the range of the predeterminable range by terminal described in the range sensor detecting distance that is preset in the terminal Whether object is blocked.
Optionally, the range sensor is that ultrasonic distance-measuring sensor, infrared distance measuring sensor and laser ranging are passed In sensor any one.
Optionally, described device also includes receiver module;
The receiver module, for receiving unlock instruction;
The detection module, is additionally operable to the second inclined degree for detecting the terminal when unlock instruction is received, and Detect the terminal with the distance for blocking object whether in the range of the predeterminable range;
The screen lock module, is additionally operable to when second inclined degree reaches the predetermined inclination threshold, and described away from From when in the range of the predeterminable range, continue the screen lock;
When second inclined degree is not up to the predetermined inclination threshold, or the distance is not in the predeterminable range During scope, by the unlocking screen of screen locking.
Additionally, for achieving the above object, the present invention also proposes a kind of method prevented to terminal maloperation, including following step Suddenly:
First inclined degree of detection terminal reaches the duration of predetermined inclination threshold, when the duration for detecting is more than default During the first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether object is blocked;
When detect block object when, whether judge the screen of the terminal by screen locking, in non-screen locking, by the screen Curtain screen locking.
Optionally, the step of the first inclined degree of the detection terminal, including:
Detect any surface of the terminal and the first inclination angle of horizontal plane;
Using first inclination angle as first inclined degree.
Optionally, the first inclined degree of the detection terminal reaches the duration of predetermined inclination threshold, when detecting When length exceedes default first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether there is the step for blocking object Suddenly, including:
The center of two relative edges in any surface of the terminal is carried out line;
Detect the first inclination angle of the line and the horizontal plane;
When the duration that first inclination angle reaches predetermined angle threshold value exceedes default first duration threshold value, detecting distance Whether object is blocked in the range of the predeterminable range of the screen of the terminal;
Described when detect described block object when, whether judge the screen by screen locking, in non-screen locking, by the screen The step of curtain screen locking, including:
It is continuously detected in the default second duration threshold range described when blocking object, judges whether the screen is locked Screen, in non-screen locking, by the screen lock.
Optionally, methods described also includes:
The first inclined degree that the terminal is detected by the horizon sensor being preset in the terminal;
By in the range of the predeterminable range of terminal described in the range sensor detecting distance that is preset in the terminal whether Block object.
Optionally, described by after the step of the screen lock, also include:
Receive unlock instruction;
Detect the second inclined degree of the terminal, and detect that whether the terminal and the distance for blocking object exist In the range of the predeterminable range;
When second inclined degree reaches the predetermined inclination threshold, and the distance is in the predeterminable range scope When interior, continue the screen lock;
When second inclined degree is not up to the predetermined inclination threshold, or the distance is not in the predeterminable range During scope, by the unlocking screen of screen locking.
Device and method proposed by the present invention passes through to judge whether terminal reaches predetermined inclination threshold, then passes through detection terminal Predeterminable range in the range of whether block object, can determine that end in pocket or bag if having, so as to by non-screen locking Terminal carries out screen locking, the maloperation to terminal triggered so as to avoid the screen of terminal in pocket or bag touched, and saves Save terminal power.
Description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each one optional terminal of embodiment of the invention;
Fig. 2 is the wireless communication system schematic diagram of terminal as shown in Figure 1;
Fig. 3 is the hardware architecture diagram for preventing the device to terminal maloperation in the embodiment of the present invention;
Fig. 4 is the screen locking flow chart for preventing the device to terminal maloperation in the embodiment of the present invention;
Fig. 5 is the flow chart for preventing the method to terminal maloperation in the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further in conjunction with the embodiments referring to the drawings.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only in order to explain the present invention.
Referring now to the terminal that Description of Drawings realizes each embodiment of the invention.In follow-up description, using being used for The suffix of such as " module ", " part " or " unit " of element is represented only for being conducive to the explanation of the present invention, itself is not There is specific meaning.Therefore, " module " mixedly can be used with " part ".
Terminal can be implemented in a variety of manners.For example, the present invention described in terminal can include such as mobile phone, Smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP are (portable Multimedia player), the fixed terminal of the terminal of guider etc. and such as numeral TV, desktop computer etc..Below, Assume that terminal is terminal.However, it will be understood by those skilled in the art that, in addition to being used in particular for moving the element of purpose, Construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of an optional terminal for realizing each embodiment of the invention is illustrated.
Terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130th, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.. Fig. 1 shows the terminal with various assemblies, it should be understood that being not required for implementing all components for illustrating.Can replace The more or less of component of generation ground enforcement.Will be discussed in more detail below the element of terminal.
Wireless communication unit 110 generally includes one or more assemblies, and which allows terminal 100 with wireless communication system or net Radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module 112, 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 generated before the server or reception of broadcast singal and/or broadcast related information and/or broadcast related information And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 is receiving.Broadcast singal can be present in a variety of manners, and for example, which 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 receive signal broadcast by using various types of broadcast systems.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 be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memory 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 be logical including voice Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of terminal.The module internally or externally can be coupled Arrive terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro (nothings Live width band), 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 terminal positional information module.The allusion quotation of location information module Type example is GPS (global positioning system).According to current technology, GPS module 115 calculate from three or more satellites away from From information and correct time information and for the Information application triangulation for calculating, so as to according to longitude, latitude and height Degree calculates three-dimensional current location information exactly.Currently, three satellites are used simultaneously for calculating the method for position and temporal information And the error of the position and temporal information for calculating is corrected by using an other satellite.Additionally, GPS module 115 can By Continuous plus current location information in real time come calculating speed information.
A/V input blocks 120 are used for receiving audio or video signal.A/V input blocks 120 can include 121 He of camera Microphone 122,121 pairs of static images obtained by image capture apparatus in Video Capture pattern or image capture mode of camera Or the view data of video is processed.Picture frame after process is may be displayed on display unit 151.Process through camera 121 Picture frame afterwards can be stored in memory 160 (or other storage mediums) or carry out sending out via wireless communication unit 110 Send, two or more cameras 121 can be provided according to the construction of terminal.Microphone 122 can be in telephone calling model, record mould Sound (voice data) is received via microphone in formula, speech recognition mode etc. operational mode, and can be by such sound Sound is processed as voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can be via Mobile communication module 112 is sent to the form output of mobile communication base station.Microphone 122 can be implemented various types of noises and disappear Remove (or suppression) algorithm to eliminate (or suppression) noise of generation or interference during reception and transmission audio signal.
User input unit 130 can generate key input data with the various behaviour of control terminal according to the order of user input Make.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch pad (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
The current state of 140 detection terminal 100 of sensing unit, (for example, terminal 100 open or close state), terminal 100 position, user for the presence or absence of the contact (that is, touch input) of terminal 100, the orientation of terminal 100, terminal 100 plus Speed or mobile and direction etc. of slowing down, and generate order or the signal of operation for control terminal 100.For example, work as terminal 100 when being embodied as sliding-type mobile phone, and sensing unit 140 can sense the sliding-type phone and open or close.In addition, Sensing unit 140 can detect whether power subsystem 190 provides electric power or whether interface unit 170 is coupled with external device (ED).
Interface unit 170 is connected the interface that can pass through as at least one external device (ED) with terminal 100.For example, outside Device can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless number According to port, memory card port, it is used for connecting the port of the device with identification module, audio input/output (I/O) port, regards Frequency I/O ports, ear port etc..Identification module can store to be used for the various information for verifying user's using terminal 100 simultaneously And subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc. can be included.Separately Outward, with identification module device (hereinafter referred to as " identifying device ") can take the form of smart card, and therefore, identifying device can To be connected with terminal 100 via port or other attachment means.Interface unit 170 can be used for receiving from the defeated of external device (ED) Enter (for example, data message, electric power etc.) and by the input for receiving be transferred to the one or more elements in terminal 100 or Person can be used for transmission data between terminal and external device (ED).
In addition, when terminal 100 is connected with external base, interface unit 170 can serve as allowing by its by electric power from Base provides the path of terminal 100 or can serve as allowing the various command signals from base input to be transferred to end by which The path at end.The various command signals or electric power being input into from base may serve as whether identification terminal is accurately fitted within bottom Signal on seat.Output unit 150 is configured to provide output signal (for example, audio frequency with vision, audio frequency and/or tactile manner Signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display unit 151, audio output Module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in terminal 100.For example, when terminal 100 is in telephone relation mould During formula, display unit 151 can show with converse or other communicate (for example, text messaging, multimedia file download etc. Deng) related user interface (UI) or graphic user interface (GUI).When terminal 100 is caught in video calling pattern or image When obtaining pattern, display unit 151 can show the image of capture and/or the image of reception, illustrate video or image and correlation UI or GUI of function etc..
Meanwhile, when the display unit 151 and touch pad touch-screen with formation superposed on one another as a layer, display unit 151 can serve as input unit 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 displays 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 that wants, terminal 100 can include two or more display units (or other display devices), and for example, terminal can To include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch input pressure And touch input position and touch input area.
Dio Output Modules 152 can be in call signal reception pattern, call mode, logging mode, voice in terminal When under the isotypes such as recognition mode, broadcast reception mode, that wireless communication unit 110 is received or deposit in memory 160 The voice data transducing audio signal of storage and it is output as sound.And, dio Output Modules 152 can be provided and terminal 100 The related audio output of the specific function of execution (for example, call signal receives sound, message sink sound etc.).Audio output Module 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output to notify event to terminal 100.Typical event can include Calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit 153 Output is provided in a different manner can with the generation of notification event.For example, alarm unit 153 can be provided in the form of vibrating Output, when calling, message or some other entrance communication (incomingcommunication) are received, alarm unit 153 Tactile output (that is, vibrating) can be provided to notify to user.Tactile output as by providing, even if user's When mobile phone is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 can also be through The output of the generation of notification event is provided by display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the process and control operation executed by controller 180 etc., Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And, memory 160 can be storing the vibration of various modes with regard to exporting and audio signal when touching and being applied to touch-screen Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, terminal 100 can execute memory 160 with by network connection The network storage device cooperation of store function.
The overall operation of 180 usual control terminal of controller.For example, controller 180 is executed and is led to voice call, data The related control of letter, video calling etc. and process.In addition, controller 180 can include (or playback) multimedia for reproducing The multi-media module 181 of data, multi-media module 181 can be constructed in controller 180, or it is so structured that and controller 180 separate.The handwriting input for executing on the touchscreen or picture can be painted by controller 180 with execution pattern identifying processing Input processed is 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 Appropriate electric power needed for part and component.
Detection module 200 predominantly detects the inclined degree of terminal and locus;Screen lock module 210 is main according to terminal The locus that inclined degree and terminal are in is by terminal screen locking.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For 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 Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is 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. For 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) that is write with any appropriate programming language Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself is through describing terminal according to its function.Below, for the sake of brevity, will description such as folded form, straight panel Slider type terminal in various types of terminals of type, oscillating-type, slider type terminal etc. is as an example.Therefore, energy of the present invention Any kind of terminal is enough applied to, and is not limited to slider type terminal.
As shown in Figure 1 terminal 100 may be constructed such that using via the such as wired of frame or packet transmission data and Wireless communication system and satellite-based communication system are operating.
Referring now to the communication system that Fig. 2 descriptions are wherein operable to according to the terminal of the present invention.
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. 2, cdma wireless communication system can include that multiple terminals 100, multiple base stations (BS) 270, base station are controlled Device (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and 290 shape of Public Switched Telephony Network (PSTN) Into interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.Flyback line If road can be constructed according to any one in the interface that Ganji knows, the interface includes such as E1/T1, ATM, IP, PPP, frame Relaying, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction Each subregion that line is covered is radially away from BS270.Or, each subregion can by for diversity reception two or more Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and each frequency distribution 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 Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 terminal 100 operated in system.Such as Broadcasting reception module 111 shown in Fig. 1 is arranged at terminal 100 to receive the broadcast singal sent by BT295.In Fig. 2 In, show several global positioning systems (GPS) satellite 300.Satellite 300 helps position at least one of multiple terminals 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful Location information.GPS module 115 is generally configured to coordinate to obtain the positioning that wants letter with satellite 300 as shown in Figure 1 Breath.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can be with other technology of the position of track terminal. In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
Used as a typical operation of wireless communication system, BS270 receives the reverse link letter from various terminals 100 Number.100 usual participation call of terminal, information receiving and transmitting and other types of communication.Each reverse link that certain base station 270 is received Signal is processed in specific BS270.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call resource point With and coordination including the soft switching process between BS270 mobile management function.The data for receiving also are route by BSC275 MSC280 is arrived, which is provided for the extra route service with PSTN290 formation interfaces.Similarly, PSTN290 and MSC280 shapes Into interface, MSC and BSC275 forms interface, and BSC275 correspondingly controls BS270 forward link signals are sent to end End 100.
Based on above-mentioned terminal hardware structure and communication system, each embodiment of the invention is proposed.
As shown in figure 3, first embodiment of the invention proposes a kind of device prevented to terminal maloperation, including:
Detection module 200, the first inclined degree for detection terminal reach the lasting duration of predetermined inclination threshold, when When the duration for detecting exceedes default first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether there is screening Block material body;
Screen lock module 210, for when detect block object when, whether judge the screen by screen locking, in non-screen locking When, by the screen lock.
The embodiment of the present invention by judging whether terminal reaches predetermined inclination threshold, then by the predeterminable range of detection terminal In the range of whether block object, if having Screen, the maloperation to terminal triggered so as to avoid the screen of terminal in pocket or bag etc. touched, and save terminal electricity Amount.
As the motion of such as user causes the screen for touching terminal.
Wherein, Primary Market threshold value can be set to no more than 10 seconds, such as 10 seconds, 5 seconds etc..
Predeterminable range could be arranged to no more than 20mm, such as 20mm, 15mm, 10mm, 5mm etc..
User is not using mobile terminal simultaneously, mobile terminal is put in pocket or bag, is filled in the embodiment of the present invention Put and power keys can not be pressed in user terminal empockets, it is also possible to open screen locking in time, close screen backlight, save Electricity, improves endurance, and lifts the power key life-spans, so as to significant increase Consumer's Experience.
Also, in the embodiment of the present invention device in screen lock module 210 when judging in the object, you can by terminal Pocket pattern is set to, while by the double check of detection module, effectively increasing the judgement accuracy of pocket pattern.
Illustration is implemented:
For example, it is possible to the one end by one end of receiver in terminal with microphone in terminal is referred to as water in same level Level state, one end of receiver in terminal is not in being referred to as inclined degree in same level with one end of microphone in terminal.
When implementing, threshold tipping value can be divided into vertical threshold tipping value and lateral inclination threshold value.
One end of receiver is issued in one end of microphone, is set as vertical inclination;Certainly, one end of microphone is in receiver One end issue, it is also possible to be set as vertical inclination.
Because when terminal is in object, the possibility that terminal is completely in vertical direction is less, therefore, it can root Vertical inclination is set according to actual conditions and vertical direction reaches certain angle and is set to vertical threshold tipping value.Such as vertically will incline Threshold value is set to 80 °, 85 °, 90 ° etc..
The terminal of above two threshold tipping value is rotated by 90 ° respectively along vertical direction and can obtain in two kinds laterally The terminal of inclination.
The setting of lateral inclination threshold value is identical with vertical threshold tipping value setting, and here is just not described in detail.
Above-mentioned setting is based on, detection module 200 can detect the inclined degree of terminal, for example can be by being preset at State the inclined degree that the horizon sensor in terminal detects the terminal.
Can further detect whether object is blocked in the range of the predeterminable range of the terminal;For example by pre- Put whether object is blocked in the range of the predeterminable range of terminal described in the range sensor detecting distance in the terminal.
So as to screen lock module 210 can by the testing result of detection module 200 come control terminal whether to screen lock.
Specifically, screen lock module 210 is used for calling the screen locking interface in the operating system of terminal, is connect by the screen locking Mouthful, to the screen module launch lock screen command, so as to by the screen lock.
In the summary embodiment of the present invention, device is prevented to terminal maloperation flow process, including:
Step 1, the first inclined degree of detection terminal;
Step 2, when the first inclined degree reaches predetermined inclination threshold, whether detection reaches the duration of predetermined inclination threshold Reach default first duration threshold value;In the step, when the first inclined degree reaches predetermined inclination threshold, explanation terminal is possible to It is placed in pocket;When the duration that detection reaches predetermined inclination threshold reaches default first duration threshold value, furtherly Bright terminal is possible to be placed on pocket, so as to improve the precision that detection judges;
Whether step 3, when reaching, block object in the range of the predeterminable range of the detection terminal;
Step 4, when detect block object when, whether judge the screen by screen locking, if non-screen locking, by the screen Curtain screen locking;If screen locking, screen lock state is kept.
Wherein, the first duration threshold value can be arranged according to actual conditions, and here is not specifically limited.
Certainly, during the present invention is implemented, device can also arrange trigger module, for judging the mouth of the system in the terminal Whether the anti-error touch function of bag is opened, when opening, the first inclined degree of 200 detection terminal of detection trigger module.
That is, device can utilize information gathering of the level meter sensing to inclined degree in the embodiment of the present invention, first Judge that terminal, whether in default value state, has then detected whether screening by range sensor (such as infrared sensor) again Block material.For example, the foundation of interpretation is:If the horizontal position information of level meter collection is vertical or little with vertical angle In the threshold value for setting, then whether there is shelter by range sensor detection in default distance range again, then judge to move Dynamic terminal opens screen locking protection mechanism whether in pocket, and reaching prevents the purpose of maloperation;Conversely, then interpretation movement is whole End is not in pocket.
On the basis of first embodiment, it is further proposed that the variant embodiment of first embodiment, here needs explanation It is, in order that description is briefly, only to describe the difference with first embodiment in each variant embodiment.
In one embodiment of the invention, the detection module, is additionally operable to any surface and water for detecting the terminal First inclination angle of plane, using first inclination angle as first inclined degree.
In the embodiment of the present invention, the inclined degree that determines terminal by the inclination angle of the terminal and horizontal plane can be effective Improve the determination precision of inclined degree.
Furtherly, the predetermined angle threshold value is not less than 80 °;If terminal has a screen and housing, the terminal Surface include screen surface and surface of shell;If terminal has two screens (main screen and secondary screen), the surface of terminal Including the first screen surface and the second screen surface, i.e. main screen surface and secondary screen surface.
The detection module 200, specifically for being connected the center of two relative edges in any surface of the terminal Line;
Detect the first inclination angle of the line and the horizontal plane;
When the duration that first inclination angle reaches predetermined angle threshold value exceedes default first duration threshold value, detecting distance Whether object is blocked in the range of the predeterminable range of the screen of the terminal;
The screen lock module 210, specifically for being continuously detected the shelter in default second duration threshold range During body, whether the screen is judged by screen locking, in non-screen locking, by the screen lock.
Wherein, screen lock module 210 is when implementing, in default second duration threshold range, in default inspection When blocking object described in detecting in survey number of times, whether judge the screen by screen locking, in non-screen locking, by the screen Screen locking.
For example default detection number of times could be arranged to 5,4,3,2 etc..
In the embodiment of the present invention device by detect distance and default first duration threshold value between inclination angle and object, the Two duration threshold ranges, improve accuracy of detection of the terminal in pocket.
Meanwhile, as long as whether blocking object in the range of the predeterminable range of the screen of further detection terminal, and not Need detection terminal surrounding predeterminable range in the range of whether block object, effectively reduce device in the embodiment of the present invention Realize difficulty and complexity, based on the implementation complexity that tells somebody what one's real intentions are can greatly improve embodiment of the present invention device realization effect Rate, further improves the experience of user.
Furtherly, the detection module detects the terminal and institute by the horizon sensor being preset in the terminal State the first inclination angle of horizontal plane;
By in the range of the predeterminable range of terminal described in the range sensor detecting distance that is preset in the terminal whether Block object.
Wherein, the range sensor is ultrasonic distance-measuring sensor, infrared distance measuring sensor and laser ranging sensing In device any one.
With angle threshold as 90 °, as a example by range sensor infrared distance measuring sensor, embodiment of the present invention device is sketched Screen locking flow process, as shown in figure 4, including:
Whether vertically step 101, judge the upper end horizon sensor of the mobile terminal, if being carried out 102, otherwise, Continue executing with 101.
Step 102, determines the vertical duration of horizon sensor.When i.e. horizon sensor detects terminal and keeps vertical Long.
Whether step 103, interpretation terminal vertical duration are more than duration threshold value.If it is, execution step 104, otherwise returns to Step 101.
Step 104, infrared sensor detect whether in the range of predeterminable range whether shelter.If it is, execution step 105, otherwise return to step 101.
Step 105, determines the duration that shelter is present.
Whether step 106, interpretation shelter are more than default duration threshold value.If it is, execution step 107, otherwise, executes Step 108.
Step 107, determines the terminal in pocket pattern, starts screen locking protection, and closes screen background light, closes Close the touch sensible of mobile terminal.
Step 108, determines that the terminal, in non-pocket pattern, keeps terminal screen standing state.
Above-mentioned vertical angle threshold value is 80 degree, and duration threshold value is 5s, and the predetermined distance of shelter is 10mm.
In one embodiment of the invention, described device can also include receiver module;
The receiver module, for receiving unlock instruction;
The detection module, is additionally operable to the second inclined degree for detecting the terminal when unlock instruction is received, and Detect whether the terminal belongs to the predeterminable range scope with the distance for blocking object;
The screen lock module, is additionally operable to when second inclined degree reaches the predetermined inclination threshold, and described away from From when belonging to the predeterminable range scope, continue the screen lock;
When second inclined degree is not up to the predetermined inclination threshold, or the distance be not belonging to described default away from From scope when, by the unlocking screen of screen locking.
Unlocking manner is various at present, has pattern unblock, numeral unblock, simple interactive unblock etc..When user will Mobile terminal be placed on pocket or bag in when, especially walk or move when, although screen be in screen lock state, unavoidably by Maloperation in body causes to unlock, and then does unpredictable operation.Embodiment of the present invention device can this be asked with effectively solving Topic, being prevented effectively from causes terminal to misread lock due to the maloperations such as touching that are not intended to of user's body, so as to further avoid due to by mistake The unpredictable operation of unblock flood.
The present invention further provides a kind of method.
As shown in figure 5, a kind of method prevented to terminal maloperation in the embodiment of the present invention, comprises the following steps:
S501, the first inclined degree of detection terminal reach the lasting duration of predetermined inclination threshold, when detecting When length exceedes default first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether object is blocked;
S502, when detect block object when, whether judge the screen of the terminal by screen locking, in non-screen locking, by institute State screen lock.
Furtherly, methods described also includes:
Detect any surface of the terminal and the first inclination angle of horizontal plane;
Using first inclination angle as first inclined degree.
Wherein, the first inclined degree of the detection terminal reaches the duration of predetermined inclination threshold, when the duration for detecting When exceeding default first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether there is the step for blocking object Suddenly, including:
The center of two relative edges in any surface of the terminal is carried out line;
Detect the first inclination angle of the line and the horizontal plane;
When the duration that first inclination angle reaches predetermined angle threshold value exceedes default first duration threshold value, detecting distance Whether object is blocked in the range of the predeterminable range of the screen of the terminal;
Described when detect described block object when, whether judge the screen by screen locking, in non-screen locking, by the screen The step of curtain screen locking, including:
It is continuously detected in the default second duration threshold range described when blocking object, judges whether the screen is locked Screen, in non-screen locking, by the screen lock.
In another embodiment of the present invention, methods described also includes:
The first inclined degree that the terminal is detected by the horizon sensor being preset in the terminal;
By in the range of the predeterminable range of terminal described in the range sensor detecting distance that is preset in the terminal whether Block object.
In yet another embodiment of the present invention, described by after the step of the screen lock, also include:
Receive unlock instruction;
The second inclined degree of the terminal is detected, and detects whether the terminal is belonged to the distance for blocking object In the predeterminable range scope;
When second inclined degree reaches predetermined inclination threshold, and the distance belongs to the predeterminable range scope When, continue the screen lock;
When second inclined degree is not up to predetermined inclination threshold, or the distance is not belonging to the predeterminable range model When enclosing, by the unlocking screen of screen locking.
The principle of the inventive method embodiment is identical with the principle of said apparatus embodiment, can refer to when implementing Said apparatus embodiment.
The embodiment of the present invention by judging whether terminal reaches predetermined inclination threshold, then by the predeterminable range of detection terminal In the range of whether block object, if having Screen, the maloperation to terminal triggered so as to avoid the screen of terminal in pocket or bag etc. touched, and save terminal electricity Amount.
Furtherly, while user is not using mobile terminal, mobile terminal is put in pocket or bag, the present invention is real Apply method in example and power keys can not be pressed in user and terminal empockets, it is also possible to open screen locking in time, close screen back Light, saves electricity, improves endurance, and lifts the power key life-spans, so as to significant increase Consumer's Experience.
Also, in the embodiment of the present invention, method is when judgement is to when in the object, you can terminal is set to pocket Pattern, while by the double check of S501, effectively increase the judgement accuracy of pocket pattern.
Furtherly, current unlocking manner is various, has pattern unblock, numeral unblock, simple interactive unblock etc. Deng.When mobile terminal is placed in pocket or bag by user, when especially walking or move, although screen has been in screen locking State, unavoidably as the maloperation of body causes to unlock, then does unpredictable operation.Present invention method can have Effect solves the problem, and being prevented effectively from causes terminal to misread lock due to the maloperations such as touching that are not intended to of user's body, so as to further Avoid the unpredictable operation due to misreading lock flood.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property includes, so that a series of process, method, article or device including key elements not only includes those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", 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.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform by software to realize, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Such understanding is based on, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) execute method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, every using this Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of device prevented to terminal maloperation, it is characterised in that described device includes:
Detection module, the first inclined degree for detection terminal reach the duration of predetermined inclination threshold, when the duration for detecting When exceeding default first duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether object is blocked;
Screen lock module, for when detect block object when, whether judge the screen of the terminal by screen locking, in non-screen locking When, by the screen lock.
2. device as claimed in claim 1, it is characterised in that the detection module, is additionally operable to detect the arbitrary of the terminal Surface and the first inclination angle of horizontal plane, using first inclination angle as first inclined degree.
3. device as claimed in claim 2, it is characterised in that the detection module, specifically for by the arbitrary of the terminal In surface, the center of two relative edges carries out line;
Detect the first inclination angle of the line and the horizontal plane;
When the duration that first inclination angle reaches predetermined angle threshold value exceedes default first duration threshold value, described in detecting distance Whether object is blocked in the range of the predeterminable range of the screen of terminal;
The screen lock module, specifically for be continuously detected in default second duration threshold range described block object when, sentence Whether the screen break by screen locking, in non-screen locking, by the screen lock.
4. device as claimed in claim 1, it is characterised in that the detection module is by the level that is preset in the terminal Sensor detects the first inclined degree of the terminal;
And by the range of the predeterminable range of terminal described in the range sensor detecting distance that is preset in the terminal whether Block object.
5. device as claimed in claim 4, it is characterised in that the range sensor is ultrasonic distance-measuring sensor, infrared In line distance measuring sensor and laser range sensor any one.
6. the device as any one of claim 1-5, it is characterised in that described device also includes receiver module;
The receiver module, for receiving unlock instruction;
The detection module, is additionally operable to the second inclined degree for detecting the terminal when unlock instruction is received, and detection Whether the terminal is with the distance for blocking object in the range of the predeterminable range;
The screen lock module, is additionally operable to reach the predetermined inclination threshold when second inclined degree, and the distance exists When in the range of the predeterminable range, continue the screen lock;
When second inclined degree is not up to the predetermined inclination threshold, or the distance is not in the predeterminable range scope When, by the unlocking screen of screen locking.
7. a kind of method prevented to terminal maloperation, it is characterised in that the method comprising the steps of:
First inclined degree of detection terminal reaches the duration of predetermined inclination threshold, when the duration for detecting exceedes default first During duration threshold value, in the range of the predeterminable range of terminal described in detecting distance, whether object is blocked;
When detect block object when, whether judge the screen of the terminal by screen locking, in non-screen locking, by the screen lock Screen.
8. method as claimed in claim 7, it is characterised in that the step of the first inclined degree of the detection terminal, including:
Detect any surface of the terminal and the first inclination angle of horizontal plane;
Using first inclination angle as first inclined degree.
9. method as claimed in claim 8, it is characterised in that the first inclined degree of the detection terminal reaches predetermined inclination The duration of threshold value, when the duration for detecting exceedes default first duration threshold value, the predeterminable range of terminal described in detecting distance In the range of the step of whether block object, including:
The center of two relative edges in any surface of the terminal is carried out line;
Detect the first inclination angle of the line and the horizontal plane;
When the duration that first inclination angle reaches predetermined angle threshold value exceedes default first duration threshold value, described in detecting distance Whether object is blocked in the range of the predeterminable range of the screen of terminal;
Described when detect described block object when, whether judge the screen by screen locking, in non-screen locking, by the screen lock The step of screen, including:
Be continuously detected in the default second duration threshold range described whether judge the screen by screen locking when blocking object, In non-screen locking, by the screen lock.
10. method as claimed in claim 7, it is characterised in that methods described also includes:
The first inclined degree that the terminal is detected by the horizon sensor being preset in the terminal;
Whether screening is had in the range of predeterminable range by terminal described in the range sensor detecting distance that is preset in the terminal Block material body.
CN201610893956.8A 2016-10-13 2016-10-13 Prevent the device and method to terminal maloperation Pending CN106502391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610893956.8A CN106502391A (en) 2016-10-13 2016-10-13 Prevent the device and method to terminal maloperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610893956.8A CN106502391A (en) 2016-10-13 2016-10-13 Prevent the device and method to terminal maloperation

Publications (1)

Publication Number Publication Date
CN106502391A true CN106502391A (en) 2017-03-15

Family

ID=58295196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610893956.8A Pending CN106502391A (en) 2016-10-13 2016-10-13 Prevent the device and method to terminal maloperation

Country Status (1)

Country Link
CN (1) CN106502391A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040442A (en) * 2018-07-25 2018-12-18 北京小米移动软件有限公司 Forbid display methods, device and terminal
CN109525709A (en) * 2018-10-19 2019-03-26 广东小天才科技有限公司 Anti-blocking based reminding method, device, terminal and the storage medium of intelligent terminal balance film
CN110879062A (en) * 2018-09-06 2020-03-13 本田技研工业株式会社 Vehicle-mounted navigation device
CN116521018A (en) * 2023-07-04 2023-08-01 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201018181A (en) * 2008-10-31 2010-05-01 Chi Mei Comm Systems Inc Anti-misoperation method of communication and touch control mobile phone using the same
CN103139389A (en) * 2013-02-25 2013-06-05 上海斐讯数据通信技术有限公司 Method of preventing wrong operation for mobile terminal and mobile terminal
CN103516901A (en) * 2013-09-18 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep of mobile intelligent device
TW201432487A (en) * 2013-02-07 2014-08-16 Univ Nat Central Mobile phone combination lock operation method, recording medium, and computer program product
KR20140104817A (en) * 2013-02-21 2014-08-29 진선미 Method for preventing recalling from a working trouble by touch mode of smart phone
CN104331231A (en) * 2014-11-27 2015-02-04 广东欧珀移动通信有限公司 Screen unlocking method and screen unlocking device of mobile terminal
CN104866227A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Screen control method and screen control apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201018181A (en) * 2008-10-31 2010-05-01 Chi Mei Comm Systems Inc Anti-misoperation method of communication and touch control mobile phone using the same
TW201432487A (en) * 2013-02-07 2014-08-16 Univ Nat Central Mobile phone combination lock operation method, recording medium, and computer program product
KR20140104817A (en) * 2013-02-21 2014-08-29 진선미 Method for preventing recalling from a working trouble by touch mode of smart phone
CN103139389A (en) * 2013-02-25 2013-06-05 上海斐讯数据通信技术有限公司 Method of preventing wrong operation for mobile terminal and mobile terminal
CN103516901A (en) * 2013-09-18 2014-01-15 广东欧珀移动通信有限公司 Method and device for automatic sleep of mobile intelligent device
CN104331231A (en) * 2014-11-27 2015-02-04 广东欧珀移动通信有限公司 Screen unlocking method and screen unlocking device of mobile terminal
CN104866227A (en) * 2015-05-28 2015-08-26 小米科技有限责任公司 Screen control method and screen control apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040442A (en) * 2018-07-25 2018-12-18 北京小米移动软件有限公司 Forbid display methods, device and terminal
CN110879062A (en) * 2018-09-06 2020-03-13 本田技研工业株式会社 Vehicle-mounted navigation device
CN109525709A (en) * 2018-10-19 2019-03-26 广东小天才科技有限公司 Anti-blocking based reminding method, device, terminal and the storage medium of intelligent terminal balance film
CN109525709B (en) * 2018-10-19 2021-02-23 广东小天才科技有限公司 Anti-blocking reminding method and device for intelligent terminal balance membrane, terminal and storage medium
CN116521018A (en) * 2023-07-04 2023-08-01 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium
CN116521018B (en) * 2023-07-04 2023-10-20 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104808944B (en) Touch operation inducing method and device
CN104750420B (en) Screenshotss method and device
CN104915582B (en) unlocking method and device
CN106792584A (en) The method and mobile terminal of a kind of information reminding
CN104980588B (en) A kind of method and apparatus for detecting mobile terminal state
CN106453941A (en) Double-screen operation method and mobile terminal
CN106249988A (en) A kind of display packing and terminal
CN106844029A (en) The device and method that a kind of Android processes of Self management are freezed and thawed
CN104991772B (en) Remote operation bootstrap technique and device
CN104968027B (en) Wi-Fi control method and device
CN106850943A (en) A kind of apparatus and method for detecting terminal and the distance of shelter
CN104777982B (en) Method and device for switching terminal input method
CN106168879A (en) A kind of method that double-sided screen is mutual and terminal
CN106502391A (en) Prevent the device and method to terminal maloperation
CN106843723A (en) A kind of application program associates application method and mobile terminal
CN106506858A (en) Star orbital Forecasting Methodology and device
CN105120403B (en) A kind of noise reduction system and method
CN106899958A (en) A kind of information download apparatus and method
CN106412297A (en) Barrier warning method and device as well as mobile terminal
CN106488035A (en) A kind of mobile terminal and control method
CN106507460A (en) A kind of intelligent power saving method, terminal
CN106790994A (en) The triggering method and mobile terminal of control
CN106791149A (en) A kind of method of mobile terminal and control screen
CN106507418A (en) A kind of based on the residence reselecting of signal intensity, device and mobile terminal
CN106934279A (en) A kind of two-dimension code safe means of defence and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication