CN110266876A - A kind of pressure threshold determines method, apparatus and computer readable storage medium - Google Patents

A kind of pressure threshold determines method, apparatus and computer readable storage medium Download PDF

Info

Publication number
CN110266876A
CN110266876A CN201910357394.9A CN201910357394A CN110266876A CN 110266876 A CN110266876 A CN 110266876A CN 201910357394 A CN201910357394 A CN 201910357394A CN 110266876 A CN110266876 A CN 110266876A
Authority
CN
China
Prior art keywords
pressure threshold
pressure
value
threshold
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910357394.9A
Other languages
Chinese (zh)
Other versions
CN110266876B (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 CN201910357394.9A priority Critical patent/CN110266876B/en
Publication of CN110266876A publication Critical patent/CN110266876A/en
Application granted granted Critical
Publication of CN110266876B publication Critical patent/CN110266876B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

This application involves a kind of pressure thresholds to determine method, apparatus and computer readable storage medium, wherein, pressure threshold determines method, for terminal device, at least one pressure sensor is provided on terminal device, pressure threshold determines that method includes: the pressure value and initial pressure threshold value for obtaining pressure sensor and detecting;When pressure value is greater than pressure threshold, the variation tendency of pressure value in the first preset duration is recorded;Target pressure threshold is determined according to variation tendency, and initial pressure threshold value is updated to target pressure threshold.This method provided by the embodiments of the present application, the variation tendency by recording pressure value judge whether current pressing operation is accidentally touching operation, and then the variation tendency for adjusting pressure value adjusts pressure threshold, finally realizes intelligent, accurate pressure value correction solution.

Description

A kind of pressure threshold determines method, apparatus and computer readable storage medium
Technical field
This application involves movable termination fields more particularly to a kind of pressure threshold to determine that method, apparatus and computer can Read storage medium.
Background technique
As technology develops, the function of smart phone is more and more at present.Currently, the frame in mobile phone installs a pressure Then key generates a series of featured function using pressure buttons, improves the satisfaction of user, be a good scheme. But pressure buttons are installed on frame, it is easy to by accidentally touching interference.If accidentally touching, such a function can not be solved the problems, such as Instead product can be run counter to desire.
Therefore a set of perfect pressure threshold bearing calibration is needed at present, to guarantee that any occasion can allow pressure buttons energy It is enough to work normally.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, this application provides a kind of pressures Force threshold determines method, apparatus and computer readable storage medium.
In a first aspect, this application provides a kind of pressure thresholds to determine method, it to be used for terminal device, on the terminal device It is provided at least one pressure sensor, which is characterized in that the pressure threshold determines that method includes:
Obtain the pressure value and initial pressure threshold value that the pressure sensor detects;
When the pressure value is greater than the pressure threshold, the variation for recording the pressure value in the first preset duration becomes Gesture;
Target pressure threshold is determined according to the variation tendency, and the initial pressure threshold value is updated to the goal pressure Threshold value.
Optionally, it described the step of target pressure threshold is determined according to the variation tendency, specifically includes:
In first preset duration, when the pressure value is persistently greater than preset pressure threshold, with the pressure value Sum with preset pressure adjusted value is as the target pressure threshold;
Wherein, the preset pressure threshold is greater than the initial pressure threshold value.
Optionally, described the step of target pressure threshold is determined according to the variation tendency, further includes:
In first preset duration, when the minimum value of the pressure value is less than the initial pressure threshold value, obtain extremely A few historical pressures threshold value, determines the target pressure threshold according to the historical pressures threshold value.
Optionally, it the described the step of target pressure threshold is determined according to the historical pressures threshold value, specifically includes:
Obtain the corresponding frequency of use of the historical pressures threshold value;
To be greater than the corresponding historical pressures threshold value of the frequency of use alternately historical pressures threshold of frequency threshold Value;
Relatively and determine the numerical value the smallest one alternative historical pressures threshold value in the alternative historical pressures threshold value, and It is determined as the target pressure threshold.
Optionally, the terminal device is provided with camera and gyroscope, described with the initial pressure threshold value and institute Before stating the step of difference of pressure adjusted value is as the target pressure threshold, the pressure threshold antidote includes:
Obtain the image information of the camera shooting and the posture information of gyroscope detection;
Determine whether the terminal device is in grip state according to described image information and the posture information;
When the terminal device is in the grip state, execute described with the initial pressure threshold value and the pressure The step of difference of adjusted value is as the target pressure threshold.
Optionally, described to determine whether the terminal device is in gripping according to described image information and the posture information The step of state, specifically includes:
Based in described image information include human body image, and the posture information be non-horizontal posture, determine the end End equipment is in the grip state.
Optionally, described before the described the step of initial pressure threshold value is updated to the target pressure threshold Pressure threshold antidote further include:
Judge whether the terminal device is in the lock state;
When the terminal device is in non-locking state, execution is described to be updated to the mesh for the initial pressure threshold value The step of marking pressure threshold.
Optionally, pressure threshold determines method further include:
Obtain present system time;
When the system time is in preset dormancy time section, and in the second preset duration the pressure value continue it is small When the initial pressure threshold value, controls the terminal device and enter battery saving mode to stop obtaining the pressure value.
Second aspect, this application provides a kind of pressure threshold determining devices, comprising:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step of method as described in relation to the first aspect is realized when the computer program is executed by the processor.
The third aspect is stated and is deposited on computer readable storage medium this application provides a kind of computer readable storage medium It contains pressure threshold and determines program, the pressure threshold is determined and realized as described in relation to the first aspect when program is executed by processor The step of method.
Above-mentioned technical proposal provided by the embodiments of the present application has the advantages that compared with prior art
This method provided by the embodiments of the present application, when detecting the pressure value for acting on pressure sensor, and pressure value When greater than initial pressure threshold value, the variation tendency by recording pressure value judges whether current pressing operation is accidentally touching operation. Specifically, in the first preset duration, pressure value is persistently greater than preset pressure threshold, i.e. it is steady to be maintained at a comparison for pressure value Under fixed pressure state (the pressure value curve of record is in wavy line shape), can determine that it is currently accidentally touching operation, then trigger adjustment The process of pressure threshold generates newest target pressure threshold, to avoid accidentally touching.Pressure threshold is improved in false-touch prevention simultaneously Afterwards, Restoration Mechanism is set, the case where avoiding the unlimited rising of pressure threshold, eventually lead to pressure buttons failure.Specifically, In one preset duration, the minimum value of pressure value is less than initial pressure threshold value, i.e. pressure value data variation track is similar just profound wave Shape then shows the case where user may have occurred pressing failure, needs to trigger the stream for dragging down again and resetting pressure buttons threshold value Journey is chosen more common threshold value (frequency of use is greater than frequency threshold) in multiple historical pressures threshold values at this time, and is chosen normal Use in threshold value smaller value as new target pressure threshold.Finally realize intelligent, accurate pressure value correction solution.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram for the mobile terminal that each embodiment of the application provides;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the front schematic view of the mobile phone of each embodiment of the application;
Fig. 4 is the schematic rear view of the mobile phone of each embodiment of the application;
Fig. 5 is that the pressure threshold of each embodiment of the application determines the flow chart of method;
Fig. 6 is the structural block diagram of the pressure threshold determining device of each embodiment of the application.
Specific embodiment
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.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal device can be implemented in a variety of manners.For example, terminal device described in the present invention may include such as Mobile phone, tablet computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable device, intelligent hand The fixed terminal equipments such as the mobile terminals such as ring, pedometer, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the terminal that the construction of embodiment according to the present invention can also apply to fixed type is set It is standby.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 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..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.Fig. 3 is this Shen Please each embodiment mobile phone front schematic view;Fig. 4 is the schematic rear view of the mobile phone of each embodiment of the application.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal device, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment:
As shown in figure 5, in the present embodiment, provides a kind of pressure threshold and determine method, be used for terminal device, the end At least one pressure sensor is provided in end equipment, which is characterized in that the pressure threshold determines that method includes:
S502 obtains pressure value and initial pressure threshold value that the pressure sensor detects;
S504 records the change of the pressure value in the first preset duration when the pressure value is greater than the pressure threshold Change trend;
S506 determines target pressure threshold according to the variation tendency, and the initial pressure threshold value is updated to the mesh Mark pressure threshold.
In practical applications, terminal device can be smart phone, intelligent wearable device etc., the pressure sensing being arranged thereon Device is set to pressing keys, depressible frame or the screen with pressing inducing function.In routine use, terminal device Pass through the pressing instruction of pressing keys, depressible frame or the screen reception user with pressing inducing function, Jin Ershi Existing corresponding intelligent control.And in use, the reference pressure threshold value of the triggering of pressure buttons may in some cases There is a situation where different, when than if any protective case, mobile phone two sides can be for a long time all in some pressure down state, therefore needs Correspond to adjustment initial pressure threshold value.And be placed on the situation in user's pocket in terminal device, it is also possible to due to receive squeeze and It senses pressure value, that is, occurs accidentally touching, therefore the variation tendency by recording pressure value in the first preset duration, according to pressure The variation tendency of value judges whether current press operation is accidentally touching or pressing instruction, and corresponding according to judgement and Ei toning seamless power Threshold value realizes intelligent pressure threshold correction.
Optionally, it in the first preset duration, when pressure value is persistently greater than preset pressure threshold, with pressure value and presets Pressure adjusted value sum as target pressure threshold;
Wherein, preset pressure threshold is greater than initial pressure threshold value.
In practical applications, it if the pressure value in the first preset duration is persistently greater than preset pressure threshold, is pressing The curved shape of a more stable pressure state is rendered as on force curve, then judgement produces at present accidentally touches, at this time with the pressure Force value and the sum of preset pressure adjusted value are as target pressure threshold, to update pressure threshold.Pressure adjusted value can be according to reality Border situation is freely arranged.
Optionally, in first preset duration, when the minimum value of the pressure value is less than the initial pressure threshold value, At least one historical pressures threshold value is obtained, the target pressure threshold is determined according to the historical pressures threshold value.
In practical applications, if the pressure value in the first preset duration has the minimum less than initial pressure threshold value Value, illustrates the user in press pressure sensor repeatedly, it may occur however that the case where pressing failure, needs to trigger dragging down reset again The process of pressure buttons threshold value.Wherein, when dragging down pressure buttons threshold value again, preferably according to the use feelings of user's history data Condition generates new threshold data.
Optionally, the corresponding frequency of use of the historical pressures threshold value is obtained;
To be greater than the corresponding historical pressures threshold value of the frequency of use alternately historical pressures threshold of frequency threshold Value;
Relatively and determine the numerical value the smallest one alternative historical pressures threshold value in the alternative historical pressures threshold value, and It is determined as the target pressure threshold.
In practical applications, for historical pressures threshold data, during analyzing it, distinguish common threshold and Be of little use threshold value, using the historical data of frequency of use overfrequency threshold value as common threshold, chooses in common threshold relatively Small threshold value is as target pressure threshold.
Optionally, the terminal device is provided with camera and gyroscope, described with the initial pressure threshold value and institute Before stating the step of difference of pressure adjusted value is as the target pressure threshold, the pressure threshold antidote includes:
Obtain the image information of the camera shooting and the posture information of gyroscope detection;
Determine whether the terminal device is in grip state according to described image information and the posture information;
When the terminal device is in the grip state, execute described with the initial pressure threshold value and the pressure The step of difference of adjusted value is as the target pressure threshold.
In practical applications, terminal device be smart phone or intelligent wearable device, be provided with front camera and Gyroscope obtains image information by front camera, to judge that terminal device nearby whether there is user, while passing through gyro Instrument obtains the posture information of terminal device, to judge whether terminal device is held by a user.And if only if terminal device by user When gripping, the step of adjusting threshold value is executed, guarantee only could trigger Restoration Mechanism in handheld state.
Optionally, it is based on including human body image in described image information, and the posture information is non-horizontal posture, is determined The terminal device is in the grip state.
In practical applications, when front camera gets user's human body image, while posture information is non-standard state When, determine that terminal device is in grip state.When front camera obtain image in without human body image, illustrate terminal device simultaneously It is not near user, or in user's packet/pocket.When gyroscope obtain posture information be horizontal attitude, then illustrate terminal Equipment is placed on the positions such as desktop, at this time without adjusting threshold value.
Optionally, judge whether the terminal device is in the lock state;
When the terminal device is in non-locking state, execution is described to be updated to the mesh for the initial pressure threshold value The step of marking pressure threshold.
In practical applications, when equipment is in non-locking state, pressure threshold can just be adjusted.It is intelligence with terminal device For mobile phone, when smart phone is under bright screen state, illustrate that smart phone is unlocked, and be used by a user, triggering is held at this time It goes the described the step of initial pressure threshold value is updated to the target pressure threshold, to prevent from accidentally touching.At smart phone Under black state, does not then punish and executes the described the step of initial pressure threshold value is updated to the target pressure threshold, It prevents mobile phone under blank screen to be in accidentally grip pressure state, threshold value is caused wirelessly to increase, the problem of pressing operation fails.
Optionally, pressure threshold determines method further include:
Obtain present system time;
When the system time is in preset dormancy time section, and in the second preset duration the pressure value continue it is small When the initial pressure threshold value, controls the terminal device and enter battery saving mode to stop obtaining the pressure value.
In practical applications, the setting of the battery saving mode of chip according to period and data information, can be carried out, specifically, When system time is in preset dormancy time section, if 0 point between 5:00 AM, user is in sleeping time at this time, and simultaneously The pressure value that pressure sensor obtains illustrates not carry out pressure operation to terminal device at this time continuously less than initial pressure threshold value Needs, controlling terminal equipment enters province's dot pattern at this time, no longer acquisition pressure value, to realize energy conservation, improves equipment continuation of the journey.
Optionally, above-described embodiment is divided into false-touch prevention process and accidentally Restoration Mechanism process after touch.
False-touch prevention process specifically:
One, initial data obtains;
Two, data are analyzed;
Three, it generates as a result, generating the newest threshold value that can be used;
Four, it is compared with the pressure threshold being being currently used;
Five, correction threshold is updated.
Accidentally Restoration Mechanism process after touch specifically:
One, initial data obtains;
Two, data are analyzed;
Three, it generates as a result, with the presence or absence of continuous regular pressing situation;
Four, handheld state data are obtained;
Five, the threshold value of pressure buttons is reset.
Optionally, the above-mentioned acquisition to data, the analysis to data, which are compared, is all made of algorithm completion, to guarantee the standard of data Really.
Wherein, the algorithm analysis bag of initial data is contained:
One, initial data obtains;
Two, the size and variation track of digital pressure values are analyzed;
Three, the analysis of data and the supposition of Future Data are carried out according to the size of data and variation track, to grasp The operation that user can be carried out;
If four, pressure value is maintained under a more stable pressure state (wavy line shape) in the long period, Generate newest pressure threshold, the process of triggering adjustment threshold value;
If five, data variation track is similar just profound waveform shape, show that user may have occurred the feelings of pressing failure Condition needs to trigger the process for dragging down again and resetting pressure buttons threshold value;
Six, when dragging down pressure buttons threshold value again, then according to the service condition of user's history data, new number of threshold values is generated According to;
Seven, it in historical data analysis, generates common threshold and the threshold value that is of little use, drags down again and reset pressure buttons threshold value When, a lesser threshold value is selected from common threshold;
Eight, in data analysis, according to period and data information, the setting of the battery saving mode of chip is carried out.
Second embodiment:
As shown in fig. 6, in the present embodiment, providing a kind of pressure threshold determining device 600, comprising:
Memory 602, processor 604 and it is stored in the computer that can be run on the memory and on the processor Program;
The step of method as described in relation to the first aspect is realized when the computer program is executed by the processor.
3rd embodiment:
In the present embodiment, a kind of computer readable storage medium is provided, states and is stored on computer readable storage medium There is pressure threshold to determine program, the pressure threshold determines the side realized when program is executed by processor as described in relation to the first aspect The step of method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include 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 being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of pressure threshold determines method, it is used for terminal device, is provided at least one pressure sensing on the terminal device Device, which is characterized in that the pressure threshold antidote includes:
Obtain the pressure value and initial pressure threshold value that the pressure sensor detects;
When the pressure value is greater than the pressure threshold, the variation tendency of the pressure value in the first preset duration is recorded;
Target pressure threshold is determined according to the variation tendency, and the initial pressure threshold value is updated to the goal pressure threshold Value.
2. pressure threshold according to claim 1 determines method, which is characterized in that described to be determined according to the variation tendency The step of target pressure threshold, specifically includes:
In first preset duration, when the pressure value is persistently greater than preset pressure threshold, with the pressure value and in advance If pressure adjusted value sum as the target pressure threshold;
Wherein, the preset pressure threshold is greater than the initial pressure threshold value.
3. pressure threshold according to claim 2 determines method, which is characterized in that described to be determined according to the variation tendency The step of target pressure threshold, further includes:
In first preset duration, when the minimum value of the pressure value is less than the initial pressure threshold value, at least one is obtained A historical pressures threshold value determines the target pressure threshold according to the historical pressures threshold value.
4. pressure threshold according to claim 3 determines method, which is characterized in that described according to the historical pressures threshold value The step of determining the target pressure threshold specifically includes:
Obtain the corresponding frequency of use of the historical pressures threshold value;
To be greater than the corresponding historical pressures threshold value of the frequency of use alternately historical pressures threshold value of frequency threshold;
It relatively and determines the numerical value the smallest one alternative historical pressures threshold value in the alternative historical pressures threshold value, and determines For the target pressure threshold.
5. pressure threshold according to claim 3 determines method, which is characterized in that the terminal device is provided with camera And gyroscope, described using the initial pressure threshold value and the difference of the pressure adjusted value as the step of the target pressure threshold Before rapid, the pressure threshold antidote includes:
Obtain the image information of the camera shooting and the posture information of gyroscope detection;
Determine whether the terminal device is in grip state according to described image information and the posture information;
When the terminal device is in the grip state, execute described with the initial pressure threshold value and pressure adjustment The step of difference of value is as the target pressure threshold.
6. pressure threshold according to claim 5 determines method, which is characterized in that described according to described image information and institute It states posture information determines the step of whether terminal device is in grip state, specifically includes:
Based in described image information include human body image, and the posture information be non-horizontal posture, determine that the terminal is set It is standby to be in the grip state.
7. pressure threshold according to claim 1 determines method, which is characterized in that described by the initial pressure threshold value Before the step of being updated to the target pressure threshold, the pressure threshold antidote further include:
Judge whether the terminal device is in the lock state;
When the terminal device is in non-locking state, execution is described to be updated to the target pressure for the initial pressure threshold value The step of force threshold.
8. pressure threshold according to any one of claim 1 to 7 determines method, which is characterized in that further include:
Obtain present system time;
When the system time is in preset dormancy time section, and in the second preset duration the pressure value continuously less than institute When stating initial pressure threshold value, controls the terminal device and enter battery saving mode to stop obtaining the pressure value.
9. a kind of pressure threshold determining device, which is characterized in that the pressure threshold determining device includes:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor;
The step such as method described in any item of the claim 1 to 8 is realized when the computer program is executed by the processor Suddenly.
10. a kind of computer readable storage medium, which is characterized in that be stored with pressure threshold on the computer readable storage medium It is worth and determines program, the pressure threshold is determined and realized when program is executed by processor as described in any item of the claim 1 to 8 Pressure threshold determines the step of method.
CN201910357394.9A 2019-04-29 2019-04-29 Pressure threshold determination method and device and computer readable storage medium Active CN110266876B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910357394.9A CN110266876B (en) 2019-04-29 2019-04-29 Pressure threshold determination method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910357394.9A CN110266876B (en) 2019-04-29 2019-04-29 Pressure threshold determination method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110266876A true CN110266876A (en) 2019-09-20
CN110266876B CN110266876B (en) 2020-12-29

Family

ID=67913954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910357394.9A Active CN110266876B (en) 2019-04-29 2019-04-29 Pressure threshold determination method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110266876B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796678A (en) * 2020-06-16 2020-10-20 瑞声科技(新加坡)有限公司 Interaction method, device and equipment based on tactile feedback and readable medium
CN112099661A (en) * 2020-08-17 2020-12-18 深圳市优必选科技股份有限公司 Pressure detection method and device and electronic equipment
CN112162478A (en) * 2020-10-06 2021-01-01 青岛陌尚软件信息科技有限责任公司 Control method and control system for intelligently switching control power
CN113031775A (en) * 2021-03-24 2021-06-25 Oppo广东移动通信有限公司 Gesture data acquisition method and device, terminal and storage medium
CN113076029A (en) * 2021-03-31 2021-07-06 安徽华米信息科技有限公司 Wearable device and control method thereof
CN113419640A (en) * 2021-06-07 2021-09-21 维沃移动通信有限公司 Pressure sensing channel opening method and device and electronic equipment
WO2022165733A1 (en) * 2021-02-05 2022-08-11 深圳市汇顶科技股份有限公司 Method and apparatus for determining pressure reference value, and chip and electronic device
US11868577B2 (en) * 2021-04-14 2024-01-09 Alps Alpine Co., Ltd. Input check device having a pressing force threshold based on a detected minimum pressing force and input check method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal
CN105739776A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Pressure value calibration method and apparatus, and mobile terminal
CN106681638A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method, device and mobile terminal for controlling touch screen
CN106681553A (en) * 2016-12-13 2017-05-17 深圳市金立通信设备有限公司 Method for adjusting touch pressure threshold and terminal
CN106843568A (en) * 2016-12-30 2017-06-13 珠海市魅族科技有限公司 A kind of terminal installation of false-touch prevention method and false-touch prevention
CN107450778A (en) * 2017-09-14 2017-12-08 维沃移动通信有限公司 A kind of false touch recognition methods and mobile terminal
CN107678594A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 Calibration method, device, terminal device and the storage medium of touch screen
CN108111689A (en) * 2017-12-26 2018-06-01 深圳市万普拉斯科技有限公司 Dynamic regulating method, device and the mobile terminal of pressure touch
CN108255346A (en) * 2018-01-25 2018-07-06 深圳市万普拉斯科技有限公司 The dynamic regulating method and device of pressure touch threshold value
CN108469921A (en) * 2018-03-12 2018-08-31 联想(北京)有限公司 A kind of detection method and electronic equipment of pressure
CN108646948A (en) * 2018-05-17 2018-10-12 Oppo广东移动通信有限公司 Adjusting method, device, storage medium and the electronic equipment of touch controlled key sensitivity

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal
CN105739776A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Pressure value calibration method and apparatus, and mobile terminal
CN106681553A (en) * 2016-12-13 2017-05-17 深圳市金立通信设备有限公司 Method for adjusting touch pressure threshold and terminal
CN106681638A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method, device and mobile terminal for controlling touch screen
CN106843568A (en) * 2016-12-30 2017-06-13 珠海市魅族科技有限公司 A kind of terminal installation of false-touch prevention method and false-touch prevention
CN107450778A (en) * 2017-09-14 2017-12-08 维沃移动通信有限公司 A kind of false touch recognition methods and mobile terminal
CN107678594A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 Calibration method, device, terminal device and the storage medium of touch screen
CN108111689A (en) * 2017-12-26 2018-06-01 深圳市万普拉斯科技有限公司 Dynamic regulating method, device and the mobile terminal of pressure touch
CN108255346A (en) * 2018-01-25 2018-07-06 深圳市万普拉斯科技有限公司 The dynamic regulating method and device of pressure touch threshold value
CN108469921A (en) * 2018-03-12 2018-08-31 联想(北京)有限公司 A kind of detection method and electronic equipment of pressure
CN108646948A (en) * 2018-05-17 2018-10-12 Oppo广东移动通信有限公司 Adjusting method, device, storage medium and the electronic equipment of touch controlled key sensitivity

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796678A (en) * 2020-06-16 2020-10-20 瑞声科技(新加坡)有限公司 Interaction method, device and equipment based on tactile feedback and readable medium
CN112099661A (en) * 2020-08-17 2020-12-18 深圳市优必选科技股份有限公司 Pressure detection method and device and electronic equipment
CN112099661B (en) * 2020-08-17 2024-05-03 深圳市优必选科技股份有限公司 Pressure detection method and device and electronic equipment
CN112162478A (en) * 2020-10-06 2021-01-01 青岛陌尚软件信息科技有限责任公司 Control method and control system for intelligently switching control power
WO2022165733A1 (en) * 2021-02-05 2022-08-11 深圳市汇顶科技股份有限公司 Method and apparatus for determining pressure reference value, and chip and electronic device
CN113031775A (en) * 2021-03-24 2021-06-25 Oppo广东移动通信有限公司 Gesture data acquisition method and device, terminal and storage medium
CN113076029A (en) * 2021-03-31 2021-07-06 安徽华米信息科技有限公司 Wearable device and control method thereof
CN113076029B (en) * 2021-03-31 2023-01-24 安徽华米信息科技有限公司 Wearable device and control method thereof
US11868577B2 (en) * 2021-04-14 2024-01-09 Alps Alpine Co., Ltd. Input check device having a pressing force threshold based on a detected minimum pressing force and input check method
CN113419640A (en) * 2021-06-07 2021-09-21 维沃移动通信有限公司 Pressure sensing channel opening method and device and electronic equipment
CN113419640B (en) * 2021-06-07 2023-01-10 维沃移动通信有限公司 Pressure sensing channel opening method and device and electronic equipment

Also Published As

Publication number Publication date
CN110266876B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN110266876A (en) A kind of pressure threshold determines method, apparatus and computer readable storage medium
CN109270986A (en) Flexible screen terminal and its display methods and computer readable storage medium
CN109407957A (en) Screen touch control method, terminal and computer readable storage medium
CN108304109A (en) Icon protrusion forming method, mobile terminal and computer readable storage medium
CN110007816A (en) A kind of display area determines method, terminal and computer readable storage medium
CN107748638A (en) A kind of region method of adjustment, terminal and computer-readable recording medium
CN109218527A (en) screen brightness control method, mobile terminal and computer readable storage medium
CN109587329A (en) Screen lighting method, mobile terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN107239218A (en) Control method, mobile terminal and the computer-readable recording medium of mobile terminal
CN109890072A (en) Saving power for terminal control method, device, mobile terminal and readable storage medium storing program for executing
CN110351423A (en) A kind of unread message process control method, terminal and computer readable storage medium
CN109992156A (en) A kind of false-touch prevention method, mobile terminal and computer readable storage medium
CN109491577A (en) A kind of gripping exchange method, equipment and computer readable storage medium
CN109976641A (en) Operating method, terminal and computer readable storage medium based on screenshot picture
CN109739346A (en) A kind of key simulating method, double screen terminal and computer readable storage medium
CN110052024A (en) Method of adjustment, adjustment device, mobile terminal and the storage medium of game vibration
CN109683778A (en) A kind of flexible screen control method, equipment and computer readable storage medium
CN108810262A (en) A kind of configuration method of application, terminal and computer readable storage medium
CN108287627A (en) Interface operation method, terminal based on flexible screen and computer readable storage medium
CN108538203A (en) Flexible screen abnormal curvatures alarm method, mobile terminal and readable storage medium storing program for executing
CN108227842A (en) Wearable pattern switching based reminding method, mobile terminal and readable storage medium storing program for executing
CN110096173A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110007817A (en) A kind of message treatment method and mobile terminal, computer readable storage medium
CN109683796A (en) A kind of interaction control method, equipment and computer readable storage medium

Legal Events

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