CN104980586B - The control method and device of terminals physical button - Google Patents

The control method and device of terminals physical button Download PDF

Info

Publication number
CN104980586B
CN104980586B CN201510366197.5A CN201510366197A CN104980586B CN 104980586 B CN104980586 B CN 104980586B CN 201510366197 A CN201510366197 A CN 201510366197A CN 104980586 B CN104980586 B CN 104980586B
Authority
CN
China
Prior art keywords
pressing
pressing information
physical button
information
default
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.)
Active
Application number
CN201510366197.5A
Other languages
Chinese (zh)
Other versions
CN104980586A (en
Inventor
李岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510366197.5A priority Critical patent/CN104980586B/en
Publication of CN104980586A publication Critical patent/CN104980586A/en
Application granted granted Critical
Publication of CN104980586B publication Critical patent/CN104980586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of control methods of terminals physical button, including step:Receive the pressing operation based on built in pressure sensor;The corresponding pressing information of the pressing operation is obtained, the pressing information and default pressing information are compared;When the pressing information is not with default pressing information matches, the physical button of shield terminal.Invention additionally discloses a kind of control devices of terminals physical button.The present invention provides a kind of shielding mode of physical button so that the control of terminal is more reasonable, effectively prevents the maloperation of physical button.

Description

The control method and device of terminals physical button
Technical field
The present invention relates to field of terminal technology more particularly to the control method and device of terminals physical button.
Background technology
The terminals such as mobile phone easily lead to maloperation in use at present, and power key solution is arrived for example, accidentally holding Having locked screen, either mobile phone is placed in packet and with other object downthrusts has accidentally encountered power key or volume key of taking pictures etc..It is existing The maloperation how ensured on terminal screen is only disclosed in technology, and is not directed to physical button maloperation how to avoid.
Invention content
It is a primary object of the present invention to propose a kind of control method and device of terminals physical button, it is intended to solve existing The maloperation how ensured on terminal screen only disclosed in technology, and be not directed to how to avoid to physical button maloperation Problem.
To achieve the above object, the control method of a kind of terminals physical button provided by the invention, including step:
Receive the pressing operation based on built in pressure sensor;
The corresponding pressing information of the pressing operation is obtained, the pressing information and default pressing information are compared;
When the pressing information is not with default pressing information matches, the physical button of shield terminal.
Preferably, the comparison pressing information includes with the step of default pressing information:
It determines the pressing information corresponding pressure value, and determines preset pressure threshold;
Compare the pressure value and preset pressure threshold;
The pressure value be more than preset pressure threshold when, judge the pressing information not with default pressing information Match;
When the pressure value is less than or equal to preset pressure threshold, the pressing information and default pressing information are judged Matching.
Preferably, the comparison pressing information includes with the step of default pressing information:
It determines the corresponding compressing time of the pressing information, and determines preset compressing time threshold value;
Compare the compressing time and preset compressing time threshold value;
When the compressing time is more than preset compressing time threshold value, the pressing information and default pressing information are judged Matching;
The compressing time be less than or equal to preset compressing time threshold value when, judge the pressing information not with preset Press information matches.
Preferably, described when the pressing information is not with default pressing information matches, the physical button of shield terminal After step, further include:
The pressing operation based on built in pressure sensor is received again;
When the pressing information of the pressing operation received again is with default pressing information matches, release to terminal object Manage the shielding of button.
Preferably, the step of physical button of the shield terminal includes:
The corresponding pressing grade of not matched pressing information described in calculating;
According to it is preset pressing grade and physical button mapping relations, match the corresponding physics of the pressing grade by Key;
The matched physical button of shielding institute.
In addition, to achieve the above object, the present invention also proposes a kind of control device of terminals physical button, including:
Receiving module, for receiving the pressing operation based on built in pressure sensor;
Acquisition module, for obtaining the corresponding pressing information of the pressing operation;
Comparing module, for comparing the pressing information and default pressing information;
Control module is used for when the pressing information is not with default pressing information matches, the physical button of shield terminal.
Preferably, the comparing module includes:
Determination unit for determining the pressing information corresponding pressure value, and determines preset pressure threshold;
Comparing unit, for comparing the pressure value and preset pressure threshold;
Judging unit, for the pressure value be more than preset pressure threshold when, judge the pressing information not in advance If pressing information matches;It is additionally operable to, when the pressure value is less than or equal to preset pressure threshold, judge the pressing information With default pressing information matches.
Preferably, the determination unit is additionally operable to determine the corresponding compressing time of the pressing information, and determination is preset Compressing time threshold value;
The comparing unit is additionally operable to compare the compressing time and preset compressing time threshold value;
The judging unit is additionally operable to, when the compressing time is more than preset compressing time threshold value, press described in judgement Press information and default pressing information matches;It is additionally operable to when the compressing time is less than or equal to preset compressing time threshold value, Judge the pressing information not with default pressing information matches.
Preferably, the receiving module is additionally operable to receive the pressing operation based on built in pressure sensor again;
The control module is additionally operable to the pressing information in the pressing operation received again and default pressing information When matching, the shielding to terminals physical button is released.
Preferably, the control module includes:
Computing unit, for calculating the corresponding pressing grade of the not matched pressing information;
Matching unit matches described pressing etc. for the mapping relations according to preset pressing grade and physical button The corresponding physical button of grade;
Control unit, the matched physical button for shielding.
It is proposed by the present invention by the pressing operation based on built in pressure sensor, pressing operation pressing information not with When default pressing information matches, the physical button of shield terminal so that when receiving the pressing operation beyond normal range (NR), screen The physical button for covering terminal provides a kind of shielding mode of physical button so that the control of terminal is more reasonable, effectively prevents The maloperation of physical button.
Description of the drawings
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 be terminals physical button of the present invention one embodiment of control in detection pressure signal circuit structure exemplary plot;
Fig. 4 be terminals physical button of the present invention one embodiment of control in pressure sensor set-up mode schematic diagram;
Fig. 5 is the flow diagram of the first embodiment of the control method of terminals physical button of the present invention;
Fig. 6 is the schematic diagram of one embodiment of pressing operation of the present invention;
Fig. 7 is the flow diagram of the second embodiment of the control method of terminals physical button of the present invention;
Fig. 8 is the flow diagram of the 3rd embodiment of the control method of terminals physical button of the present invention;
The flow diagram of the fourth embodiment of the control method of Fig. 9 terminals physical buttons of the present invention;
Figure 10 is the flow diagram that terminals physical presses one embodiment of key control process;
Figure 11 is the high-level schematic functional block diagram of the preferred embodiment of the control device of terminals physical button of the present invention;
Figure 12 is the refinement high-level schematic functional block diagram of one embodiment of comparing module in Figure 11;
Figure 13 is the refinement high-level schematic functional block diagram of one embodiment of control module in Figure 11.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for be conducive to the present invention explanation, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may 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 may include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent The broadcast singal and/or broadcast related information that the server or reception of broadcast singal and/or broadcast related information generate before And send it to the server of terminal.Broadcast singal may include TV broadcast singals, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be 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 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 may include that voice is logical Talk about 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 mobile terminal.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module may include WLAN (Wireless LAN) (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 short range communication.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module of the location information for checking or obtaining mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, to according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended using three for the method for calculating position and temporal information Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input units 120 are for receiving audio or video signal.A/V input units 120 may include 121 He of camera Microphone 1220, camera 121 in video acquisition mode or image capture mode by image capture apparatus obtain static map The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121 Picture frame after reason can be stored in memory 160 (or other storage mediums) or be carried out via wireless communication unit 110 It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case of telephone calling model For the format output of mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can implement various types Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or Person interferes.
User input unit 130 can generate key input data to control each of mobile terminal according to order input by user Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, sensitive component of detection variation of resistance, pressure, capacitance etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing unit 140 can sense The sliding-type phone is to open or close.In addition, sensing unit 140 can detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140, which may include proximity sensor 1410, to be combined below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can store to use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device with identification module can (hereinafter referred to as " identification device ") take the form of smart card therefore to know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for the transmission data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power provides to the path of mobile terminal 100 from pedestal or may be used as that the various command signals inputted from pedestal is allowed to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Download etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern Or when image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure The UI or GUI etc. of picture and correlation function.
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may 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 It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, 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 Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen, which can be used for detecting, to be touched Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loud speaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video exports, alarm unit 153 can provide output with the generation of notification event in different ways.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.It is exported by tactile as offer, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, 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 stored about when the vibration and audio signal for touching the various modes that the when of being applied to touch screen exports Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more 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 memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed detaches.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can with use such as computer software, hardware or any combination thereof calculating Machine readable medium is implemented.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), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can be stored in memory 160 and be executed by controller 180.
So far, oneself according to its function through describing mobile terminal.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping transmission data it is all if any Line and wireless communication system and satellite-based communication system operate.
The communication system that mobile terminal wherein according to the present invention can operate is described referring now to Fig. 2.
Such communication system can use different air interface 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) (particularly, 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 introduction is equally applicable to other types of system.
With reference to figure 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and 2800 MSC280 of mobile switching centre (MSC) are configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any one of several known interfaces, the interface include such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covers.Each BS270, which may be constructed such that, supports multiple frequency distribution, and each frequency distribution has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, 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 indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that, any number of satellite can be utilized to obtain useful Location information.GPS module 115 as shown in Figure 1 is generally configured to coordinate with satellite 300 to be believed with obtaining desired positioning Breath.It substitutes GPS tracking techniques or except GPS tracking techniques, the other of the position that can track mobile terminal can be used Technology.In addition, at least one GPS satellite 300 can optionally or additionally handle satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.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 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, the control method of terminals physical button of the present invention is proposed Each embodiment.
The embodiment of the present invention needs to provide pressure sensor in terminal, detects the pressure signal of pressure sensor, Ke Yili Solution, detecting the circuit structure of pressure signal can be configured according to actual needs, such as pressure sensor may be used Pressure is detected.It will be described in detail below with a specific implementation:
As shown in figure 3, the circuit structure of detection pressure signal may include pressure sensor, signal amplifier, ADC conversions Device and MCU processor.Wherein pressure sensor setting on mobile terminals, for detecting the deformation on mobile terminal, and according to The different analog voltage signal of the degree output voltage values of deformation is to signal amplifier, and signal amplifier is to the analog voltage signal It is amplified after processing to be output to ADC converters and carry out analog-to-digital conversion and obtains corresponding digital voltage signal, MCU processor is by root Determine user whether in pressing mobile terminal according to the digital voltage signal.Specifically, MCU processor can be according to the digital voltage The voltage value of signal and duration judge the pressure value and pressure compressing time of user's pressing, then allow by presetting output side The output of formula controls signal, to execute corresponding operation.Specifically, the default way of output can interrupt, GPIO universal inputs/ Output simulated switching signal, communication bus etc..Wherein the communication bus can be the interfaces such as serial ports, I2C and SPI, but not It is limited to above-mentioned interface.
Further, in the embodiment of the present invention, the quantity of pressure sensor and installation position are unlimited, such as setting one Or it is multiple, it is arranged below the shell side of mobile terminal, screen, or be arranged in the lower section at the back of mobile terminal, button Deng.
As shown in figure 4, by taking mobile phone as an example, can the side of mobile phone be arranged multiple pressure sensors (A1, A2, A3, B1, B2 and B3), interface of one or more of pressure sensors as pressure detecting can be enabled in different modes.Only When MCU processor detects on the corresponding pressure sensor of the interface for being enabled as pressure detecting there are when pressure signal, Execute corresponding operation.
As shown in figure 5, first embodiment of the invention proposes a kind of control method of terminals physical button, including:
Step S10 receives the pressing operation based on built in pressure sensor;
In the present embodiment, pressure sensor can be adjusted with touch point region according to the configuration design of terminal, for example, Touch point can be placed on to the side of terminal according to design.When terminal is opened, or during terminal operating, receive based on eventually The pressing operation of the built-in pressure sensor in end, and obtain the pressing information of the pressing operation.The pressing information include but It is not limited to compressing time, compression number or press pressure value;The pressing operation includes clicking pressing, is repeatedly pressed, or be based on Pressing (while based on A1, A2 and A3 in Fig. 4 or continuous pressing) of multiple sensors etc..
After the pressure sensor of setting terminal, the pressing operation based on built in pressure sensor, the pressing behaviour are received Work can be pressed operation or hold pressing operation, be the schematic diagram of a pressing operation with reference to figure 6, be finger to terminal The pressing of press points also can also be the pressing operation of cover type in other embodiments of the present invention, for example, for palm to end Hold the pressing operation of built in pressure sensor.
Step S20 obtains the corresponding pressing information of the pressing operation, compares the pressing information and believes with default pressing Breath;
After receiving based on the pressing operation of built in pressure sensor, the corresponding pressing letter of the pressing operation is obtained Breath compares the pressing information and default pressing information.When the pressing information includes but not limited to press pressure value, pressing Between, at least one of compression number, the quantity of press points etc., the default pressing information includes default press pressure value, pre- If the quantity etc. of compressing time, default compression number, default press points.The default pressing information is normal pressing information, The pressing information of the acquisition can be normal pressing information or the pressing information of the pressing operation triggered for maloperation.
In other embodiments of the present invention, it can also be:Receive what the pressure sensor based on terminal built-in detected After pressing operation, judges currently whether be in physical button control model, when being currently at physical button control model, obtain The pressing information of the pressure operation.Maloperation in order to prevent can also be:By built-in pressure sensor detect by It after press operation, determines whether the pressing operation corresponding pressure value is more than preset pressure value (10N or 15N etc.), is pressed described When press operation corresponding pressure value is more than preset pressure value, it is judged as effective pressing operation;It is corresponded in the pressing operation Pressure value be less than preset pressure value when, be judged as invalid pressing operation.Or judge that two adjacent sensors receive Whether the time interval of the pressing operation arrived is more than prefixed time interval (1s or 2s etc.), is more than in the time interval of pressing operation Prefixed time interval is judged as invalid pressing operation;It is less than or equal to prefixed time interval in the time interval of pressing operation, It is judged as effective pressing operation.When for invalid pressing operation, the pressing behaviour based on terminal pressure sensor is continued to Make, or after not receiving the pressing operation in preset time, stops receiving the pressing behaviour based on terminal pressure sensor Make, to save the electricity of terminal.
In other embodiments of the present invention, it is described judge the pressing operation whether be effective pressing operation process It can also be:When pressing operation is continuous pressing operation, judge whether the pressing operation reaches certain pressure value, it is described Whether certain pressure value is 10N or 20N etc., after it reaches a certain pressure, judge the pressing operation described default It is completed in compressing time, if being completed in the default compressing time, judges the pressing operation for effective pressing operation; If not completed in the default compressing time, judge the pressing operation for invalid pressing operation.Also it can also be and adopt Other modes are taken to judge whether the pressing operation is effective pressing operation, for example, by compression number and pressing operation Pressure value combines, or the pressure value of compression number, compressing time and pressing operation is combined, herein no longer one by one It repeats.
Step S30, when the pressing information is not with default pressing information matches, the physical button of shield terminal.
In the present embodiment, after comparing the pressing information and default pressing information, whether judge the pressing information Judge that the pressing operation is anti-when the pressing information is not with default pressing information matches with default pressing information matches The only pressing operation of maloperation, the physical button of shield terminal;When the pressing information is with default pressing information matches, explanation Pressing operation is normal pressing operation, is not maloperation, is not necessarily to the physical button of shield terminal.In other embodiments of the invention In, when the pressing information is not with default pressing information matches, determine the current state of terminal screen, it is current in terminal screen State when being illuminating state, shield the control operation in physical button and screen;It is to extinguish in the current state of terminal screen When state, physical button is shielded, and shields screen lighting operation or shielding physical button, screen can be lighted when double-clicking.
The present embodiment by the pressing operation based on built in pressure sensor, pressing operation pressing information not with it is default When pressing information matches, the physical button of shield terminal so that when receiving the pressing operation beyond normal range (NR), shielding is eventually The physical button at end provides a kind of shielding mode of physical button so that the control of terminal is more reasonable, effectively prevents physics The maloperation of button.
With reference to figure 7, propose that the second embodiment of the control method of terminals physical button of the present invention, the step S20 include:
Step S21 determines the pressing information corresponding pressure value, and determines preset pressure threshold;
Step S22 compares the pressure value and preset pressure threshold;
Step S23, the pressure value be more than preset pressure threshold when, judge the pressing information not with default pressing Information matches;
Step S24 judges the pressing information and presets when the pressure value is less than or equal to preset pressure threshold Press information matches.
In the present embodiment, the pressing information is described by taking pressure value as an example, and normal pressure value is arranged in advance as pre- If pressure threshold be arranged according to user's difference for example, be set as 30N or 40N etc., and be all ages and classes stage or difference The pressure threshold of the user preset of type is different.After receiving the pressing operation based on built-in pressure sensor, institute is obtained State the corresponding pressing information of pressing operation, determine the corresponding press pressure value of the pressing information, compare the pressure value with it is pre- If pressure threshold.When the pressure value is more than preset pressure threshold, judge that the pressing information is not believed with default pressing Breath matching;When the pressure value is less than or equal to preset pressure threshold, the pressing information and default pressing information are judged Matching.In other embodiments of the present invention, the comparison pressing information can also include with preset pressing information:It determines The corresponding compressing time of the pressing information, and determine preset compressing time threshold value;Compare the compressing time with it is preset Compressing time threshold value;When the compressing time is more than preset compressing time threshold value, judge that the pressing information is pressed with default Press information matches;The compressing time be less than or equal to preset compressing time threshold value when, judge the pressing information not with Default pressing information matches.The compressing time threshold value could be provided as 2s or 3s etc., need to be configured according to user, or It is configured according to the custom of the daily pressing operation to terminal of user.Also it can also be:Determine the corresponding pressing of pressing information Number, when compression number reaches preset compression number (for example, 2 times or 3 inferior), judge the pressing information not with it is default Press information matches;Or when the quantity of press points is not up to preset press points quantity (3 or 4 etc.), described in judgement Press information not with default pressing information matches.Also two in aforesaid way or above combination be can also be, full When the number of condition when sufficient, or in satisfaction reaches certain (2 or 3 etc.), judge that the pressing information is not pressed with default Press information matches, or one when meeting wherein, be judged as the pressing information not with default pressing information matches.Above-mentioned ratio Whether condition is met or whether rule of the pressing information not with default pressing information matches needs to set according to user, It is not limited to one or two kinds of mode, can be freely arranged.By the way that default pressing information is arranged so that be not each Secondary pressing operation all refers to the operation of physical button, when it is normal pressing information to press information, without physical button Shielding is intended only as common pressing operation, executes corresponding response operation.
The present embodiment controls the shielding of physical button by the pressing operation based on pressure sensor, prevents physical button Maloperation so that terminal control is more accurate and effective.
With reference to figure 8, the 3rd embodiment of the control method of terminals physical button of the present invention is proposed, after the step S30, Can also include:
Step S40 receives the pressing operation based on built in pressure sensor again;
Step S50 is released when the pressing information of the pressing operation received again is with default pressing information matches Shielding to terminals physical button.
In the present embodiment, after being masked the physical button of terminal by pressing operation, that is, pressed making physics After the disabler of key, the pressing operation based on built in pressure sensor is received again, obtains the pressing operation received again Pressing information the pressing information of the pressing operation received again and default pressing information comparison are received again described When the pressing information of the pressing operation arrived is with default pressing information matches, the shielding to terminals physical button is released;It is connecing again When the pressing information of the pressing operation received is not with default pressing information matches, continue to keep the shielding to terminals physical button. In other embodiments of the present invention, the pressing information in the pressing operation received again and default pressing also be can also be When information matches, judge whether the state of terminal screen is illuminating state, when the state of terminal screen is illuminating state, releases Shielding to terminal screen operation so that terminal screen can be operated;When the state of terminal screen is OFF state, Restore normal terminal screen lighting operation.
The present embodiment is by the pressing operation of pressure sensor, in pressing information and the preset pressing information of pressing operation When matching, the shielding of physical button is released so that the control of terminals physical button is more reasonable, improves the control efficiency of terminal.
With reference to figure 9, the fourth embodiment of the control method of terminals physical button of the present invention is proposed, the step S30 can be with Including:
Step S31, calculate described in the corresponding pressing grade of not matched pressing information;
Step S32 matches the pressing grade and corresponds to according to the mapping relations of preset pressing grade and physical button Physical button;
Step S33, the matched physical button of shielding institute.
In the present embodiment, the physical button includes but is not limited to power key, volume key or camera button.It is more existing When a physical button, the mapping relations of setting pressing in advance grade and physical button, i.e., different pressing grades correspond to different objects Button is managed, for example, pressing grade A corresponding power keys, pressing grade B corresponds to volume key, and pressing grade C corresponds to camera button.It is described Pressing grade can be divided according to pressing information difference, press information by taking pressure value as an example, then different range of pressure values pair Different pressing grades is answered, for example, the corresponding pressing grade A, 40-50N of 30-40N (including endpoint) (not including endpoint) correspondence is pressed Press the corresponding pressing grade C of grade B, 50-60N (including endpoint);Information is pressed by taking compressing time as an example, then different compressing times Corresponding different pressing grade, for example, the corresponding pressing grade A, 3s-4s of 2s-3s (including endpoint) (not including endpoint) correspondence is pressed Press the corresponding pressing grade C of grade B, 4s-5s (including endpoint).Certainly, it also can also be that each pressing grade corresponds to multiple physics Button, but be not corresponding all physical buttons.
When the pressing information received is not with preset pressing information matches, not matched pressing information pair described in calculating It is corresponding to match the pressing grade according to the mapping relations of preset pressing grade and physical button for the pressing grade answered Physical button;The matched physical button of shielding institute, for example, when pressing information reaches grade A, the non-power supply of corresponding physical button Key masks power key;Or when pressing information arrival grade B, corresponding physical button is volume key, masks volume key.
In other embodiments of the present invention, it can be the screen when the pressing information is not with preset pressing information matches Cover all physical buttons;When also can also be that pressing information reaches grade A, the corresponding physical buttons of grade A are masked; When pressing information reaches grade B, while masking grade A and the corresponding physical buttons of grade B, that is, on lower level also corresponds to Physical button corresponding to one grade.
The present embodiment corresponds to different physical buttons respectively by that will press information graduation, each different brackets, anti- Only while physical button maloperation, and so that the shielding of physical button is more orderly, reasonable, and then improves the control effect of terminal Rate.
In order to preferably describe the embodiment of the present invention, with reference to figure 10, one embodiment of key control process is pressed for terminals physical Flow diagram, including:1, bezel pressure is detected;2, whether it is more than normal curable grip;3, less than or equal to normal curable grip When, no influence (control of terminal being completed according to holding operation or without response);4, when more than normal curable grip, start anti-error Touch formula;5, the bright screens of blank screen or;6, when blank screen, shielding physical button and the bright screen of double-click;7, in bright screen, shield physical button and Operation in screen;8, when curable grip terminates or reverts to normal curable grip, terminate false-touch prevention pattern.
The each embodiment of control method based on above-mentioned terminals physical button, the present invention further provides a kind of terminals physicals The control device of button.
1, Figure 11 is the function module signal of the preferred embodiment of the control device of terminals physical button of the present invention referring to Fig.1 Figure;
The control device of terminals physical button that the present embodiment proposes includes:Receiving module 10, compares mould at acquisition module 20 Block 30 and control module 40,
The receiving module 10, for receiving the pressing operation based on built in pressure sensor;
In the present embodiment, pressure sensor can be adjusted with touch point region according to the configuration design of terminal, for example, Touch point can be placed on to the side of terminal according to design.When terminal is opened, or during terminal operating, receive based on eventually The pressing operation of the built-in pressure sensor in end, and obtain the pressing information of the pressing operation.The pressing information include but It is not limited to compressing time, compression number or press pressure value;The pressing operation includes clicking pressing, is repeatedly pressed, or be based on Pressing (while based on A1, A2 and A3 in Fig. 4 or continuous pressing) of multiple sensors etc..
After the pressure sensor of setting terminal, the pressing operation based on built in pressure sensor, the pressing behaviour are received Work can be pressed operation or hold pressing operation, be the schematic diagram of a pressing operation with reference to figure 6, be finger to terminal The pressing of press points also can also be the pressing operation of cover type in other embodiments of the present invention, for example, for palm to end Hold the pressing operation of built in pressure sensor.
The acquisition module 20, for obtaining the corresponding pressing information of the pressing operation;
The comparing module 30, for comparing the pressing information and default pressing information;
After receiving based on the pressing operation of built in pressure sensor, the corresponding pressing letter of the pressing operation is obtained Breath compares the pressing information and default pressing information.When the pressing information includes but not limited to press pressure value, pressing Between, at least one of compression number, the quantity of press points etc., the default pressing information includes default press pressure value, pre- If the quantity etc. of compressing time, default compression number, default press points.The default pressing information is normal pressing information, The pressing information of the acquisition can be normal pressing information or the pressing information of the pressing operation triggered for maloperation.
In other embodiments of the present invention, it can also be:Receive what the pressure sensor based on terminal built-in detected After pressing operation, judges currently whether be in physical button control model, when being currently at physical button control model, obtain The pressing information of the pressure operation.Maloperation in order to prevent can also be:By built-in pressure sensor detect by It after press operation, determines whether the pressing operation corresponding pressure value is more than preset pressure value (10N or 15N etc.), is pressed described When press operation corresponding pressure value is more than preset pressure value, it is judged as effective pressing operation;It is corresponded in the pressing operation Pressure value be less than preset pressure value when, be judged as invalid pressing operation.Or judge that two adjacent sensors receive Whether the time interval of the pressing operation arrived is more than prefixed time interval (1s or 2s etc.), is more than in the time interval of pressing operation Prefixed time interval is judged as invalid pressing operation;It is less than or equal to prefixed time interval in the time interval of pressing operation, It is judged as effective pressing operation.When for invalid pressing operation, the pressing behaviour based on terminal pressure sensor is continued to Make, or after not receiving the pressing operation in preset time, stops receiving the pressing behaviour based on terminal pressure sensor Make, to save the electricity of terminal.
In other embodiments of the present invention, it is described judge the pressing operation whether be effective pressing operation process It can also be:When pressing operation is continuous pressing operation, judge whether the pressing operation reaches certain pressure value, it is described Whether certain pressure value is 10N or 20N etc., after it reaches a certain pressure, judge the pressing operation described default It is completed in compressing time, if being completed in the default compressing time, judges the pressing operation for effective pressing operation; If not completed in the default compressing time, judge the pressing operation for invalid pressing operation.Also it can also be and adopt Other modes are taken to judge whether the pressing operation is effective pressing operation, for example, by compression number and pressing operation Pressure value combines, or the pressure value of compression number, compressing time and pressing operation is combined, herein no longer one by one It repeats.
The control module 40 is used for when the pressing information is not with default pressing information matches, the object of shield terminal Manage button.
In the present embodiment, after comparing the pressing information and default pressing information, whether judge the pressing information Judge that the pressing operation is anti-when the pressing information is not with default pressing information matches with default pressing information matches The only pressing operation of maloperation, the physical button of shield terminal;When the pressing information is with default pressing information matches, explanation Pressing operation is normal pressing operation, is not maloperation, is not necessarily to the physical button of shield terminal.In other embodiments of the invention In, when the pressing information is not with default pressing information matches, determine the current state of terminal screen, it is current in terminal screen State when being illuminating state, shield the control operation in physical button and screen;It is to extinguish in the current state of terminal screen When state, physical button is shielded, and shields screen lighting operation or shielding physical button, screen can be lighted when double-clicking.
The present embodiment by the pressing operation based on built in pressure sensor, pressing operation pressing information not with it is default When pressing information matches, the physical button of shield terminal so that when receiving the pressing operation beyond normal range (NR), shielding is eventually The physical button at end provides a kind of shielding mode of physical button so that the control of terminal is more reasonable, effectively prevents physics The maloperation of button.
With reference to figure 12, the comparing module 30 includes determination unit 31, comparing unit 32 and judging unit 33,
The determination unit 31 for determining the pressing information corresponding pressure value, and determines preset pressure threshold;
The comparing unit 32, for comparing the pressure value and preset pressure threshold;
The judging unit 33, for when the pressure value is more than preset pressure threshold, judging the pressing information Not with default pressing information matches;It is additionally operable to, when the pressure value is less than or equal to preset pressure threshold, press described in judgement Press information and default pressing information matches.
In the present embodiment, the pressing information is described by taking pressure value as an example, and normal pressure value is arranged in advance as pre- If pressure threshold be arranged according to user's difference for example, be set as 30N or 40N etc., and be all ages and classes stage or difference The pressure threshold of the user preset of type is different.After receiving the pressing operation based on built-in pressure sensor, institute is obtained State the corresponding pressing information of pressing operation, determine the corresponding press pressure value of the pressing information, compare the pressure value with it is pre- If pressure threshold.When the pressure value is more than preset pressure threshold, judge that the pressing information is not believed with default pressing Breath matching;When the pressure value is less than or equal to preset pressure threshold, the pressing information and default pressing information are judged Matching.In other embodiments of the present invention, the comparison pressing information can also include with preset pressing information:It determines The corresponding compressing time of the pressing information, and determine preset compressing time threshold value;Compare the compressing time with it is preset Compressing time threshold value;When the compressing time is more than preset compressing time threshold value, judge that the pressing information is pressed with default Press information matches;The compressing time be less than or equal to preset compressing time threshold value when, judge the pressing information not with Default pressing information matches.The compressing time threshold value could be provided as 2s or 3s etc., need to be configured according to user, or It is configured according to the custom of the daily pressing operation to terminal of user.Also it can also be:Determine the corresponding pressing of pressing information Number, when compression number reaches preset compression number (for example, 2 times or 3 inferior), judge the pressing information not with it is default Press information matches;Or when the quantity of press points is not up to preset press points quantity (3 or 4 etc.), described in judgement Press information not with default pressing information matches.Also two in aforesaid way or above combination be can also be, full When the number of condition when sufficient, or in satisfaction reaches certain (2 or 3 etc.), judge that the pressing information is not pressed with default Press information matches, or one when meeting wherein, be judged as the pressing information not with default pressing information matches.Above-mentioned ratio Whether condition is met or whether rule of the pressing information not with default pressing information matches needs to set according to user, It is not limited to one or two kinds of mode, can be freely arranged.By the way that default pressing information is arranged so that be not each Secondary pressing operation all refers to the operation of physical button, when it is normal pressing information to press information, without physical button Shielding is intended only as common pressing operation, executes corresponding response operation.
The present embodiment controls the shielding of physical button by the pressing operation based on pressure sensor, prevents physical button Maloperation so that terminal control is more accurate and effective.
Further, the receiving module 10 is additionally operable to receive the pressing operation based on built in pressure sensor again;
The control module 40 is additionally operable to believe with default pressing in the pressing information of the pressing operation received again When breath matching, the shielding to terminals physical button is released.
In the present embodiment, after being masked the physical button of terminal by pressing operation, that is, pressed making physics After the disabler of key, the pressing operation based on built in pressure sensor is received again, obtains the pressing operation received again Pressing information the pressing information of the pressing operation received again and default pressing information comparison are received again described When the pressing information of the pressing operation arrived is with default pressing information matches, the shielding to terminals physical button is released;It is connecing again When the pressing information of the pressing operation received is not with default pressing information matches, continue to keep the shielding to terminals physical button. In other embodiments of the present invention, the pressing information in the pressing operation received again and default pressing also be can also be When information matches, judge whether the state of terminal screen is illuminating state, when the state of terminal screen is illuminating state, releases Shielding to terminal screen operation so that terminal screen can be operated;When the state of terminal screen is OFF state, Restore normal terminal screen lighting operation.
The present embodiment is by the pressing operation of pressure sensor, in pressing information and the preset pressing information of pressing operation When matching, the shielding of physical button is released so that the control of terminals physical button is more reasonable, improves the control efficiency of terminal.
With reference to figure 13, the control module 40 includes:Computing unit 41, matching unit 42 and control unit 43,
The computing unit 41, for calculating the corresponding pressing grade of the not matched pressing information;
The matching unit 42 matches described for the mapping relations according to preset pressing grade and physical button Press the corresponding physical button of grade;
Described control unit 43, the matched physical button for shielding.
In the present embodiment, the physical button includes but is not limited to power key, volume key or camera button.It is more existing When a physical button, the mapping relations of setting pressing in advance grade and physical button, i.e., different pressing grades correspond to different objects Button is managed, for example, pressing grade A corresponding power keys, pressing grade B corresponds to volume key, and pressing grade C corresponds to camera button.It is described Pressing grade can be divided according to pressing information difference, press information by taking pressure value as an example, then different range of pressure values pair Different pressing grades is answered, for example, the corresponding pressing grade A, 40-50N of 30-40N (including endpoint) (not including endpoint) correspondence is pressed Press the corresponding pressing grade C of grade B, 50-60N (including endpoint);Information is pressed by taking compressing time as an example, then different compressing times Corresponding different pressing grade, for example, the corresponding pressing grade A, 3s-4s of 2s-3s (including endpoint) (not including endpoint) correspondence is pressed Press the corresponding pressing grade C of grade B, 4s-5s (including endpoint).Certainly, it also can also be that each pressing grade corresponds to multiple physics Button, but be not corresponding all physical buttons.
When the pressing information received is not with preset pressing information matches, not matched pressing information pair described in calculating It is corresponding to match the pressing grade according to the mapping relations of preset pressing grade and physical button for the pressing grade answered Physical button;The matched physical button of shielding institute, for example, when pressing information reaches grade A, the non-power supply of corresponding physical button Key masks power key;Or when pressing information arrival grade B, corresponding physical button is volume key, masks volume key.
In other embodiments of the present invention, it can be the screen when the pressing information is not with preset pressing information matches Cover all physical buttons;When also can also be that pressing information reaches grade A, the corresponding physical buttons of grade A are masked; When pressing information reaches grade B, while masking grade A and the corresponding physical buttons of grade B, that is, on lower level also corresponds to Physical button corresponding to one grade.
The present embodiment corresponds to different physical buttons respectively by that will press information graduation, each different brackets, anti- Only while physical button maloperation, and so that the shielding of physical button is more orderly, reasonable, and then improves the control effect of terminal Rate.
The present invention also proposes that a kind of terminal, the terminal include processor, and the processor is based on built-in pressure for receiving The pressing operation of force snesor;The corresponding pressing information of the pressing operation is obtained, the pressing information and default pressing are compared Information;When the pressing information is not with default pressing information matches, the physical button of shield terminal.The terminal includes hand The electric terminals such as machine, pad, laptop.The present embodiment is grasped by the pressing operation based on built in pressure sensor in pressing When the pressing information of work is not with default pressing information matches, the physical button of shield terminal so that exceed normal model receiving When the pressing operation enclosed, the physical button of shield terminal provides a kind of shielding mode of physical button so that the control of terminal is more Adduction is managed, and the maloperation of physical button is effectively prevented.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can 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 to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of control method of terminals physical button, which is characterized in that including step:
Receive the pressing operation based on built in pressure sensor;
The corresponding pressing information of the pressing operation is obtained, the pressing information and default pressing information are compared;
When the pressing information is not with default pressing information matches, the physical button of shield terminal;
Wherein, the step of physical button of the shield terminal includes:
The corresponding pressing grade of not matched pressing information described in calculating;
According to the mapping relations of preset pressing grade and physical button, the corresponding physical button of the pressing grade is matched;
The matched physical button of shielding institute.
2. the control method of terminals physical button as described in claim 1, which is characterized in that described to compare the pressing information Include with the step of default pressing information:
It determines the pressing information corresponding pressure value, and determines preset pressure threshold;
Compare the pressure value and preset pressure threshold;
The pressure value be more than preset pressure threshold when, judge the pressing information not with default pressing information matches;
When the pressure value is less than or equal to preset pressure threshold, the pressing information and default pressing information are judged Match.
3. the control method of terminals physical button as described in claim 1, which is characterized in that described to compare the pressing information Include with the step of default pressing information:
It determines the corresponding compressing time of the pressing information, and determines preset compressing time threshold value;
Compare the compressing time and preset compressing time threshold value;
When the compressing time is more than preset compressing time threshold value, the pressing information and default pressing information are judged Match;
The compressing time be less than or equal to preset compressing time threshold value when, judge the pressing information not with default pressing Information matches.
4. the control method of terminals physical button as described in any one of claims 1 to 3, which is characterized in that described described When pressing information not with default pressing information matches, the step of the physical button of shield terminal after, further include:
The pressing operation based on built in pressure sensor is received again;
When the pressing information of the pressing operation received again is with default pressing information matches, terminals physical is pressed in releasing The shielding of key.
5. a kind of control device of terminals physical button, which is characterized in that including:
Receiving module, for receiving the pressing operation based on built in pressure sensor;
Acquisition module, for obtaining the corresponding pressing information of the pressing operation;
Comparing module, for comparing the pressing information and default pressing information;
Control module is used for when the pressing information is not with default pressing information matches, the physical button of shield terminal;
Wherein, the control module includes:
Computing unit, for calculating the corresponding pressing grade of the not matched pressing information;
Matching unit matches the pressing grade pair for the mapping relations according to preset pressing grade and physical button The physical button answered;
Control unit, the matched physical button for shielding.
6. the control device of terminals physical button as claimed in claim 5, which is characterized in that the comparing module includes:
Determination unit for determining the pressing information corresponding pressure value, and determines preset pressure threshold;
Comparing unit, for comparing the pressure value and preset pressure threshold;
Judging unit, for when the pressure value is more than preset pressure threshold, judging that the pressing information is not pressed with default Press information matches;Be additionally operable to the pressure value be less than or equal to preset pressure threshold when, judge the pressing information and in advance If pressing information matches.
7. the control device of terminals physical button as claimed in claim 6, which is characterized in that the determination unit is additionally operable to It determines the corresponding compressing time of the pressing information, and determines preset compressing time threshold value;
The comparing unit is additionally operable to compare the compressing time and preset compressing time threshold value;
The judging unit is additionally operable to when the compressing time is more than preset compressing time threshold value, judges the pressing letter Breath and default pressing information matches;It is additionally operable to, when the compressing time is less than or equal to preset compressing time threshold value, judge The pressing information not with default pressing information matches.
8. such as the control device of claim 5 to 7 any one of them terminals physical button, which is characterized in that the reception mould Block is additionally operable to receive the pressing operation based on built in pressure sensor again;
The control module is additionally operable to the pressing information in the pressing operation received again and default pressing information matches When, release the shielding to terminals physical button.
CN201510366197.5A 2015-06-26 2015-06-26 The control method and device of terminals physical button Active CN104980586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510366197.5A CN104980586B (en) 2015-06-26 2015-06-26 The control method and device of terminals physical button

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510366197.5A CN104980586B (en) 2015-06-26 2015-06-26 The control method and device of terminals physical button

Publications (2)

Publication Number Publication Date
CN104980586A CN104980586A (en) 2015-10-14
CN104980586B true CN104980586B (en) 2018-07-13

Family

ID=54276668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510366197.5A Active CN104980586B (en) 2015-06-26 2015-06-26 The control method and device of terminals physical button

Country Status (1)

Country Link
CN (1) CN104980586B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407221B (en) * 2015-11-18 2018-11-27 广东欧珀移动通信有限公司 False-touch prevention method and system when using self-shooting bar
CN105516469B (en) * 2015-11-27 2019-04-26 小米科技有限责任公司 Alarm clock control method and device
CN105791576B (en) * 2016-03-01 2019-03-15 Oppo广东移动通信有限公司 A kind of processing method and processing device of long-pressing physical button
CN106445388B (en) * 2016-10-09 2019-05-24 Oppo广东移动通信有限公司 Report the method, apparatus and terminal of information
JP6854107B2 (en) * 2016-10-19 2021-04-07 東プレ株式会社 Keyboard device
CN106598456A (en) * 2016-11-15 2017-04-26 北京小米移动软件有限公司 Method and device for sending control instruction, and electronic equipment
CN106897599A (en) * 2017-02-28 2017-06-27 深圳天珑无线科技有限公司 A kind of method and terminal by fingerprint control screen
CN107678659A (en) * 2017-08-15 2018-02-09 深圳天珑无线科技有限公司 A kind of intelligent terminal and its control method and the device with store function
CN108040362B (en) * 2017-12-28 2021-07-13 Tcl移动通信科技(宁波)有限公司 Mobile terminal, boot key enabling control method and storage medium
CN108108601A (en) * 2018-01-26 2018-06-01 西安易朴通讯技术有限公司 Verification method and system based on pressing operation
CN108762639A (en) * 2018-05-28 2018-11-06 努比亚技术有限公司 A kind of control method of physical button, mobile terminal and storage medium
CN109067978A (en) * 2018-07-03 2018-12-21 Oppo广东移动通信有限公司 Button operation processing method, device, storage medium and electronic equipment
CN114511997A (en) * 2022-01-07 2022-05-17 青岛海尔空调器有限总公司 Control method of remote controller and remote controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2357400A (en) * 1999-12-17 2001-06-20 Nokia Mobile Phones Ltd Controlling a terminal of a communication system
KR101555511B1 (en) * 2008-10-09 2015-09-25 삼성전자주식회사 Method and apparatus for unlock of portable terminal using Piezoelectric Sensor
CN101877744A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Terminal locking and unlocking method and device
CN103019596B (en) * 2012-12-07 2016-12-21 Tcl通讯(宁波)有限公司 A kind of method and mobile terminal realizing operation of virtual key based on touch screen
CN103885604B (en) * 2014-03-27 2018-02-06 珠海市智迪科技股份有限公司 Ultrathin touch formula keyboard and its key control method

Also Published As

Publication number Publication date
CN104980586A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104980586B (en) The control method and device of terminals physical button
CN104899062B (en) Using startup method and device
CN104991819B (en) Terminal applies switching method and device
CN104994222B (en) Mobile terminal unlocking method and a device and mobile terminal
CN105094643B (en) page display control method and device
CN104866362B (en) A kind of Activiation method and system
CN106231087B (en) A kind of method and apparatus of front and back sides dual-screen display device false-touch prevention
CN104915169B (en) Terminal applies multi-screen display method and device
CN104902097B (en) Adjusting method, device and the mobile terminal of mobile terminal parameter
CN104918208B (en) Mobile terminal matching method and mobile terminal
CN105094613B (en) Terminal control mechanism and method
CN104915111B (en) terminal operation control method and device
CN105187642B (en) The device and method of fast dialing telephone in the state of the lock screen
CN104932829B (en) A kind of apparatus and method for controlling the way of output
CN104850443B (en) A kind of method and mobile terminal for closing error starting application program
CN104915119B (en) Terminal desktop icon method of adjustment and device
CN104850799B (en) The method and mobile terminal of a kind of data in hiding mobile terminal
CN105100412B (en) Terminal data sweep-out method and device
CN104917879B (en) A kind of method, device and mobile terminal for cancelling alarm clock calling
CN104850343B (en) Start the method and apparatus of one-hand operating format
CN106131274B (en) Mobile terminal control device and method
CN105278752B (en) A kind of touch-operated device and method
CN104866136B (en) A kind of method and device of determining terminal operating mode
CN104915063B (en) The method and apparatus for controlling intelligent terminal
CN105094543B (en) terminal operation instruction input method and device

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