CN108287611B - Screen touch response method, terminal and computer storage medium - Google Patents

Screen touch response method, terminal and computer storage medium Download PDF

Info

Publication number
CN108287611B
CN108287611B CN201810375766.6A CN201810375766A CN108287611B CN 108287611 B CN108287611 B CN 108287611B CN 201810375766 A CN201810375766 A CN 201810375766A CN 108287611 B CN108287611 B CN 108287611B
Authority
CN
China
Prior art keywords
terminal
preset
screen
acceleration
sensor
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
CN201810375766.6A
Other languages
Chinese (zh)
Other versions
CN108287611A (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.)
Shenzhen Deweipusi Technology Co ltd
Original Assignee
Shenzhen Deweipusi 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 Shenzhen Deweipusi Technology Co ltd filed Critical Shenzhen Deweipusi Technology Co ltd
Priority to CN201810375766.6A priority Critical patent/CN108287611B/en
Publication of CN108287611A publication Critical patent/CN108287611A/en
Application granted granted Critical
Publication of CN108287611B publication Critical patent/CN108287611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/0412Digitisers structurally integrated in a display
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a screen touch response method, which is applied to a terminal, wherein the terminal is provided with a sensor; the screen touch response method comprises the following steps: starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter; if the acceleration parameter is matched with the preset parameter, determining application software corresponding to the current display interface of the terminal, and judging whether the application software is preset sensitive software or not; if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter; receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity; and if the operation pressure exceeds the pressure threshold, responding to the corresponding instruction of the touch operation. The invention also discloses a terminal and a computer storage medium. The invention prevents the mistaken touch by adjusting the screen sensitivity of the terminal.

Description

Screen touch response method, terminal and computer storage medium
Technical Field
The invention relates to the technical field of intelligent terminals, in particular to a screen touch response method, a terminal and a computer storage medium.
Background
Along with the rapid development of the intelligent terminal, the intelligent terminal is more sensitive in order to meet the use requirements of users.
However, the sensitivity of the terminal cannot bring corresponding benefits in some special situations, for example, when taking a vehicle, especially a bus, a user likes to play a mobile phone while taking the bus, the driving state of the bus is unstable, a situation of sudden acceleration or deceleration often occurs, if the user chats or pays at the moment of acceleration or deceleration, the user may mistakenly touch the mobile phone to input unwanted content due to sudden acceleration or deceleration, in a severe case, unedited content may occur, a possible embarrassment situation may occur due to mistaken touch of a sending button, or unwanted payment operation may occur in a payment interface without message, and how to consider the sensitivity of the intelligent terminal and meet the special state of the intelligent terminal becomes an urgent technical problem to be solved.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a screen touch response method, a terminal and a computer storage medium, aiming at preventing mistaken touch in a special environment and enabling operation of a user to be more convenient and faster.
In order to achieve the above object, the present invention provides a screen touch response method, which is applied to a terminal, where the terminal is provided with a sensor;
the screen touch response method comprises the following steps:
starting a sensor preset by the terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter;
if the acceleration parameter is matched with a preset parameter, determining application software corresponding to a current display interface of the terminal, and judging whether the application software is preset sensitive software or not;
if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter;
receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity;
and if the operating pressure exceeds the pressure threshold, responding to a corresponding instruction of touch operation.
Optionally, the sensor comprises an acceleration sensor comprising an angular accelerometer and a linear accelerometer;
the method comprises the following steps of starting a sensor preset by the terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter, wherein the steps of:
starting the preset angular accelerometer and linear accelerometer of the terminal to acquire angular acceleration acquired by the angular accelerometer and linear acceleration acquired by the linear accelerometer;
and comparing the angular acceleration and the linear acceleration with an angular acceleration threshold and a linear acceleration threshold in preset parameters to judge whether the terminal meets preset screen sensitivity adjustment conditions.
Optionally, if the application software is preset sensitive software, the step of adjusting the screen sensitivity according to the acceleration parameter includes:
if the application software is preset sensitive software, judging whether the terminal starts a sensitivity adjustment mode;
and if the terminal starts a sensitivity adjustment mode, acquiring a pressure value in a preset screen sensitivity table, which is in accordance with the acceleration parameter, and taking the pressure value as a new pressure threshold value of the screen sensitivity to complete the adjustment of the screen sensitivity.
Optionally, if the acceleration parameter matches a preset parameter, determining application software corresponding to a current display interface of the terminal, and determining whether the application software is preset sensitive software, further including:
if the acceleration parameter is matched with a preset parameter, judging that the terminal meets a preset screen sensitivity adjustment condition, and acquiring display information of a current display interface of a terminal screen;
starting a task manager of the terminal to determine a current running program of the terminal;
determining application software corresponding to the current display interface of the terminal according to the display information of the current display interface and the current running program thereof;
judging whether a preset software set contains the application software or not;
and if the preset software set comprises the application software, judging that the application software is preset sensitive software.
Optionally, the step of responding to the touch operation corresponding instruction if the operation pressure exceeds the pressure threshold includes:
if the operating pressure exceeds the pressure threshold, starting a camera, acquiring image information acquired by the camera, and identifying whether the image information is facial image information;
if the image information is facial image information, responding to a touch operation corresponding instruction;
and if the image information is not the face image information, not responding to the touch operation corresponding instruction.
Optionally, the step of responding to the touch operation corresponding instruction if the operation pressure exceeds the pressure threshold further includes:
if the operating pressure exceeds the pressure threshold, acquiring a distance value between the terminal and the user once every preset time interval based on the distance sensor;
acquiring the distance values acquired twice continuously, and comparing the difference between the two distance values with a preset variation;
if the difference between the two distance values exceeds the preset variable quantity, the touch operation corresponding instruction is not responded;
and responding to a corresponding instruction of touch operation if the difference between the two distance values does not exceed the preset variation.
Optionally, after the step of receiving the touch operation, obtaining the operation pressure of the touch operation, and comparing the operation pressure with the pressure threshold corresponding to the current screen sensitivity, the method includes:
if the operation pressure does not exceed the pressure threshold, acquiring the operation frequency of touch operation;
and if the operation frequency exceeds the preset frequency, responding to the user operation and adjusting the screen sensitivity back to the initial screen sensitivity.
Optionally, after the step of starting a sensor preset in the terminal, acquiring an acceleration parameter collected by the sensor, and comparing the acceleration parameter with a preset parameter, the method includes:
and if the acceleration parameter is not matched with a preset parameter, not starting the screen adjustment mode.
In addition, in order to realize the above purpose, the invention also provides a terminal;
the terminal includes: a sensor, a memory, a processor, and a screen touch response program stored on the memory and executable on the processor, wherein:
the sensor is used for acquiring terminal operation data;
when being executed by the processor, the screen touch response program realizes the steps of the screen touch response method.
In addition, in order to achieve the above object, the present invention also provides a computer storage medium;
the computer storage medium stores a screen touch response program, and the screen touch response program realizes the steps of the screen touch response method when being executed by a processor.
The screen touch response method, the terminal and the computer storage medium provided by the embodiment of the invention; the screen touch response method is applied to a terminal, and the terminal is provided with a sensor; the screen touch response method comprises the following steps: starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter; if the acceleration parameter is matched with a preset parameter, determining application software corresponding to a current display interface of the terminal, and judging whether the application software is preset sensitive software or not; if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter; receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity; and if the operation pressure exceeds the pressure threshold, responding to the corresponding instruction of the touch operation. According to the acceleration parameter detected by the sensor, the terminal judges whether the terminal is in a conventional state or not according to the acceleration parameter of the terminal, and when the terminal is not in the conventional state, the screen sensitivity of the terminal is automatically adjusted to prevent the user from mistakenly touching.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram illustrating a communication network architecture according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a touch response method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a detailed process of step S20 in the screen touch response method of FIG. 3;
FIG. 5 is a schematic diagram illustrating a detailed flow chart of step S30 in the screen touch response method in FIG. 3;
FIG. 6 is a detailed flowchart of a first implementation manner of step S50 of the screen touch response method in FIG. 3;
FIG. 7 is a detailed flowchart of a second implementation manner of step S50 of the screen touch response method in FIG. 3;
FIG. 8 is a diagram illustrating a specific scenario of an operation command response according to a first embodiment of a screen touch response method of the present invention;
fig. 9 is a schematic view of a specific scene of terminal photographing in the screen touch response method of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly. The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes. Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, without limitation.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby integrally monitoring the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Furthermore, in the terminal shown in fig. 1, the memory 109 stores a screen touch response program running on the processor 110, and the terminal calls the screen touch response program stored in the memory 109 through the processor 110 and performs the following operations:
starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter;
if the acceleration parameter is matched with a preset parameter, determining application software corresponding to a current display interface of the terminal, and judging whether the application software is preset sensitive software or not;
if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter;
receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity;
and if the operation pressure exceeds the pressure threshold, responding to the corresponding instruction of the touch operation.
Further, the step of calling, by the terminal through the processor 110, the screen touch response program stored in the memory 109 to start a sensor preset in the terminal, obtain an acceleration parameter acquired by the sensor, and compare the acceleration parameter with the preset parameter includes:
starting an angular accelerometer and a linear accelerometer preset by a terminal, and acquiring angular acceleration acquired by the angular accelerometer and linear acceleration acquired by the linear accelerometer;
and comparing the angular acceleration and the linear acceleration with an angular acceleration threshold and a linear acceleration threshold in the preset parameters to judge whether the terminal meets the preset screen sensitivity adjustment condition.
Further, the step of the terminal calling a screen touch response program stored in the memory 109 through the processor 110 to adjust the screen sensitivity according to the acceleration parameter if the application software is a preset sensitive software includes:
if the application software is preset sensitive software, judging whether a terminal starts a sensitivity adjustment mode;
and if the terminal starts a sensitivity adjustment mode, acquiring a pressure value which is in accordance with the acceleration parameter in a preset screen sensitivity table, and taking the pressure value as a new pressure threshold value of the screen sensitivity to finish the adjustment of the screen sensitivity.
Further, the step of calling, by the terminal through the processor 110, a screen touch response program stored in the memory 109 to determine application software corresponding to the current display interface of the terminal and determine whether the application software is preset sensitive software if the acceleration parameter is matched with a preset parameter includes:
if the acceleration parameter is matched with the preset parameter, judging that the terminal meets the preset screen sensitivity adjustment condition, and acquiring the display information of the current display interface of the terminal screen;
starting a terminal task manager to determine a current running program of a terminal;
determining application software corresponding to the current display interface of the terminal according to the display information of the current display interface and the current running program of the current display interface;
judging whether a preset software set contains application software or not;
and if the preset software set comprises the application software, judging whether the application software is preset sensitive software or not.
Further, the terminal calls a screen touch response program stored in the memory 109 through the processor 110 to implement a step of responding to a corresponding instruction of the touch operation if the operation pressure exceeds the pressure threshold, including:
if the operating pressure exceeds the pressure threshold, starting a camera, acquiring image information acquired by the camera, and identifying whether the image information is facial image information;
if the image information is face image information, responding to a touch operation corresponding instruction;
and if the image information is not the face image information, not responding to the touch operation corresponding instruction.
Further, the terminal calls a screen touch response program stored in the memory 109 through the processor 110 to implement a step of responding to a corresponding instruction of the touch operation if the operation pressure exceeds the pressure threshold, and further includes:
if the operating pressure exceeds the pressure threshold, acquiring a distance value between the terminal and the user once every preset time interval based on the distance sensor;
acquiring distance values acquired twice continuously, and comparing the difference between the two distance values with a preset variation;
if the difference between the two distance values exceeds the preset variation, the touch operation corresponding instruction is not responded;
and responding to the touch operation corresponding instruction if the difference between the two distance values does not exceed the preset variable quantity.
Further, after the steps of receiving the touch operation, obtaining the operation pressure of the touch operation, and comparing the operation pressure with the pressure threshold corresponding to the current screen sensitivity, the terminal calls the screen touch response program stored in the memory 109 through the processor 110, so as to implement the following steps:
if the operation pressure does not exceed the pressure threshold, acquiring the operation frequency of touch operation;
and if the operation frequency exceeds the preset frequency, responding to the user operation and adjusting the screen sensitivity back to the initial screen sensitivity.
Further, after the steps of starting a sensor preset in the terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter, the terminal calls a screen touch response program stored in the memory 109 through the processor 110 to implement the following steps:
and if the acceleration parameter is not matched with the preset parameter, not starting the screen adjustment mode.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Although not shown in fig. 1, the terminal 100 may further include a bluetooth module, etc., which will not be described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node for processing signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, and the like.
Based on the terminal hardware structure and the communication network system, various embodiments of the screen touch response method are provided.
In this embodiment, the screen touch response method may be optionally applied to a terminal, where the terminal may be the terminal illustrated in fig. 1, and the screen touch response method includes:
starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter;
if the acceleration parameter is matched with a preset parameter, determining application software corresponding to a current display interface of the terminal, and judging whether the application software is preset sensitive software or not;
if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter;
receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity;
and if the operation pressure exceeds the pressure threshold, responding to the corresponding instruction of the touch operation.
In this embodiment, the terminal is provided with sensors of different types, the sensors detect acceleration parameters of the terminal, determine the current environment of the user and the acceleration change information of the terminal according to the acceleration parameters of the terminal, and perform false touch protection when the user suddenly accelerates or decelerates. The method comprises the following specific steps: by utilizing the acceleration sensor, the terminal detects acceleration change information, if the acceleration value at the current moment is detected to be instantaneously increased or decreased to exceed a threshold value (suddenly accelerated and decelerated), the terminal reduces the sensitivity of the touch screen and provides protection of a pressing pressure value, and if a user needs to input information at the moment, the user needs to use more strength, and the pressure value exceeds the threshold value to input the information. Or providing a confirmation mode of user input, and finishing input after the user confirms.
It should be added that the touch screen includes three major types, namely, a resistive touch screen, a surface acoustic wave touch screen, and a capacitive touch screen. Taking a projected mutual capacitance touch screen as an example, an upper and a lower conductive films (ITO) are present inside the mutual capacitance touch screen. Between these two films, a lot of charge is stored. Because a large amount of electrolytes are contained in a human body, weak current can be safely conducted under specific conditions; therefore, when the user touches the screen at this point with his finger, a part of the charge will be lost at this point of the two films and transferred to the human body. After the weak current is generated, the positions of charge loss can be positioned by the two conductive films. This is because the capacitive touch screen has electrodes distributed on one layer to represent the horizontal axis and electrodes distributed on the other layer to represent the vertical axis, and the electrodes are stacked together to form an accurate two-dimensional coordinate system. Any point touched by the user's finger on the screen, i.e. the point where the charge is lost, falls in this coordinate system and corresponds to the uniquely determined abscissa and ordinate. Therefore, the processing system can accurately judge the position of the touch point and help to touch and click the icon, so as to start a program execution command.
In order to make the terminal more sensitive in general, as long as the terminal is detected to be touched by a user, a current is formed, and the requirement of the sensitivity of the user for smaller electric charge amount corresponding to the screen sensitivity is met, that is, the user can trigger a corresponding instruction only by contacting, in this embodiment, when the screen sensitivity is adjusted according to the terminal acceleration parameter, the screen sensitivity is reduced and the electric charge amount is increased, and a certain relation exists between the electric charge amount and the touch of the user, in this embodiment, a pressure threshold corresponding to the screen sensitivity is increased.
Referring to fig. 3, fig. 3 is a flowchart illustrating a touch response method according to a first embodiment of the present invention.
In a first embodiment of the screen touch response method of the present invention, the screen touch response method includes:
and step S10, starting a sensor preset by the terminal, acquiring the acceleration parameter acquired by the sensor, and comparing the acceleration parameter with the preset parameter.
The user opens the instruction through triggering specific sensor, and the terminal opens predetermined sensor according to user's instruction, perhaps the user sets up the opening condition of sensor on the terminal, and when the terminal detected that the current condition accords with the opening condition of the sensor that the user set up, the terminal was automatic to be opened and is predetermine the sensor, and wherein, predetermined sensor includes in the terminal: a gravity sensor, an acceleration sensor and the like for detecting the self state of the terminal; the system also comprises an infrared sensor, a distance sensor, a photosensitive sensor and the like for detecting the external conditions of the terminal by a user, wherein the terminal receives acceleration parameters acquired by the sensors, and the acceleration parameters are acquired by a gravity sensor and an acceleration sensor and used for analyzing whether the stress of the terminal is balanced or not and whether the terminal has acceleration or not.
The terminal compares the acceleration parameter acquired by the sensor with a preset parameter, wherein the preset parameter is a terminal false touch prevention parameter pre-stored in the terminal, the preset parameter is set according to different use scenes of the terminal, the terminal can determine that the terminal is unbalanced in stress according to the preset parameter, the terminal is in a variable motion state, for example, the terminal acceleration is-10 m/s 2 in the preset parameter, the terminal can be in a state of sudden braking of a vehicle, the preset parameter can be a data range formed by two critical values, the terminal compares the acquired acceleration parameter with the preset parameter, wherein the normal state refers to a state that the terminal is balanced in stress, and the terminal is in a static or constant motion state, for example, a user uses the terminal at an office desk, and the abnormal state or the special state corresponds to the normal state, for example, the user's state when the vehicle suddenly brakes in the vehicle, the force applied to the terminal is unbalanced in a special state, and the terminal has an acceleration.
Specifically, this embodiment provides a specific implementation of acquiring an acceleration parameter by an acceleration sensor and determining whether a terminal is in a normal state, where the acceleration sensor includes an angular accelerometer and a linear accelerometer;
step a, starting an angular accelerometer and a linear accelerometer preset by a terminal, and acquiring angular acceleration acquired by the angular accelerometer and linear acceleration acquired by the linear accelerometer;
and b, comparing the angular acceleration and the linear acceleration with angular acceleration thresholds and linear acceleration thresholds in preset parameters to judge whether the terminal meets preset screen sensitivity adjustment conditions or not.
That is, the acceleration sensor is a sensor for measuring acceleration. The damper is generally composed of a mass block, a damper, an elastic element, a sensitive element, an adjusting circuit and the like. In the acceleration process, the sensor obtains an acceleration value by measuring the inertial force borne by the mass block and utilizing Newton's second law. Common acceleration sensors include capacitive, inductive, strain, piezoresistive, piezoelectric, etc. acceleration sensors, which measure acceleration force, i.e. the force acting on an object during acceleration, such as gravity. The acceleration force may be a constant, such as g, or a variable. Starting an angular accelerometer and a linear accelerometer preset by a terminal, and acquiring angular acceleration acquired by the angular accelerometer and linear acceleration acquired by the linear accelerometer; and the terminal compares the angular acceleration and the linear acceleration with an angular acceleration threshold and a linear acceleration threshold in preset parameters to determine whether the terminal is stressed in balance so as to judge whether the terminal meets the preset screen sensitivity adjustment condition.
In the embodiment, the terminal compares the acceleration parameters acquired by the sensor with the preset parameters to accurately determine whether the stress of the terminal is balanced or not or whether the terminal has acceleration, and the sensitivity of the screen of the terminal is adjusted to avoid the condition of error adjustment when the stress of the terminal is unbalanced or the acceleration of the terminal is determined according to the acceleration parameters.
Step S20, if the acceleration parameter is matched with a preset parameter, determining the application software corresponding to the current display interface of the terminal, and judging whether the application software is a preset sensitive software.
If the acceleration parameter is matched with a preset parameter (the preset parameter refers to a parameter when the preset terminal is unbalanced in stress), that is, the terminal compares the acceleration parameter acquired by the sensor with the preset parameter, if the acceleration parameter is matched with the preset parameter, the current stress of the terminal is unbalanced, the terminal processes a special state, and the terminal adjusts the screen sensitivity according to the acceleration parameter, wherein the mode of adjusting the screen sensitivity according to the acceleration parameter is to increase a pressure threshold corresponding to the terminal sensitivity, so that when a user touches the operation terminal, the user needs to add a larger force to the terminal to respond to a user operation instruction, further acquiring application software currently displayed on the terminal screen, and judging whether the application software is the preset sensitive software.
After step S20, the method further includes:
if the acceleration parameter is not matched with the preset parameter and the terminal is in a conventional state, the screen adjustment mode is not started, and the terminal is judged not to accord with the preset screen sensitivity adjustment condition; and responding to the touch operation corresponding instruction if the touch operation of the user is received.
Step S30, if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter;
if the application software is preset sensitive software, the adjusting value of the screen sensitivity can be set according to a specific scene according to the acceleration parameter, and the terminal selects parameters in the adjusting parameter set according to the acceleration parameter and adjusts the parameters according to the corresponding adjusting parameters.
And step S40, receiving the touch operation, acquiring the operation pressure of the touch operation, and comparing the operation pressure with the pressure threshold corresponding to the current screen sensitivity.
The user touches the terminal screen, and with reference to fig. 8, the terminal receives a touch operation of the user, the pressure sensor of the terminal detects an operation pressure of the user, the terminal receives the operation pressure of the touch operation acquired by the pressure sensor, and compares the operation pressure with a pressure threshold corresponding to the current screen sensitivity, where the pressure threshold corresponding to the screen sensitivity is a pressure value after the screen sensitivity is adjusted according to the acceleration parameter.
In step S50, if the operation pressure exceeds the pressure threshold, a touch operation corresponding instruction is responded.
If the operation pressure exceeds the pressure threshold value, namely, the user touches the terminal screen with larger force, the display screen of the terminal receives stronger electric signals, the terminal judges that the user has operation intention, and the terminal responds to the corresponding instruction of the touch operation.
In the embodiment, the terminal determines the stress of the terminal according to the acceleration parameter detected by the sensor, determines whether the terminal is in a special state according to the stress of the terminal, and correspondingly adjusts the screen sensitivity of the terminal according to the acceleration parameter if the terminal is in the special state.
It should be added that, after the sensitivity of the screen is adjusted, after a preset recovery time interval, the terminal may recover the screen sensitivity to the initial value, that is, the terminal may not be in an acceleration or deceleration state for a long time under normal conditions, and after the terminal sensitivity is adjusted for about 10 seconds, the terminal may automatically recover the sensitivity to the initial value.
Further, the present embodiment is the present embodiment proposed on the basis of the first embodiment, and the present embodiment is a refinement of step S20 in the first embodiment.
Referring to fig. 4, in the screen touch response method, step S20 includes:
and step S21, if the acceleration parameter is matched with the preset parameter, judging that the terminal meets the preset screen sensitivity adjustment condition, acquiring the display information of the current display interface of the terminal screen, and starting the terminal task manager to determine the current running program of the terminal.
And step S22, determining the application software corresponding to the current display interface of the terminal according to the display information of the current display interface and the current running program thereof.
If the acceleration parameter is matched with the preset parameter, the terminal is judged not to be in a normal state, the terminal is in a special state and accords with the preset screen sensitivity adjustment condition, display information of a current display interface of a terminal screen is obtained, a terminal task manager is started to determine a current operation program of the terminal, and the terminal determines application software corresponding to the current display interface of the terminal according to the display information of the current display interface and the current operation program of the current display interface, for example, the current display interface of the terminal screen is a WeChat chat interface, the terminal task manager determines that music software, video software and WeChat software are currently operated by the terminal, and then the WeChat software currently displayed by a terminal channel screen.
Step S23, determine whether the preset software set includes application software.
Step S24, if the preset software set includes the application software, it is determined that the application software is the preset sensitive software.
The method comprises the steps that a terminal judges whether a preset software set contains application software or not, wherein the preset software set is sensitive software preset by a user, and after the user of the software touches the software by mistake, the user can be affected, such as WeChat, Paibao and the like; and if the preset software set comprises the application software, judging that the application software is the preset sensitive software.
In the embodiment, the mistaken touch prevention of the terminal is combined with software running on a screen of the terminal, so that the mistaken touch prevention of the terminal is more intelligent.
Further, referring to fig. 5, the present embodiment is the present embodiment proposed on the basis of the first embodiment, and the present embodiment is a refinement of step S30 in the first embodiment.
And step S31, if the application software is preset sensitive software, judging whether the terminal starts a sensitivity adjustment mode.
And step S32, if the terminal starts a sensitivity adjustment mode, acquiring a pressure value in a preset screen sensitivity table, wherein the pressure value is in accordance with the acceleration parameter, and taking the pressure value as a new pressure threshold value of the screen sensitivity to complete the adjustment of the screen sensitivity.
If the application software is preset sensitive software, whether the terminal starts a sensitivity adjustment mode is further judged, namely, a user can set the sensitivity adjustment mode on the terminal, so that the terminal can avoid mistaken touch in a special state. If the terminal starts a sensitivity adjustment mode, acquiring a pressure value which is in accordance with the acceleration parameter in a preset screen sensitivity table (the preset screen sensitivity table refers to a preset screen sensitivity and acceleration parameter table, a sensitivity pressure threshold value in the preset screen sensitivity table is correlated with the acceleration parameter, and the sensitivity pressure threshold value can be determined according to the acceleration parameter), and taking the pressure value as a new pressure threshold value of the screen sensitivity to finish the adjustment of the screen sensitivity.
The embodiment specifically describes that whether the adjustment of the terminal screen sensitivity is started or not is selected according to the setting of a user, so that the adjustment of the terminal screen sensitivity is more humanized, and further, the pressure threshold corresponding to the terminal screen sensitivity is adjusted according to the selection of the preset screen sensitivity table and the adjustment of the terminal sensitivity is more in line with the requirement.
Further, the present embodiment is the present embodiment proposed on the basis of the first embodiment, and the present embodiment is a refinement of step S50 in the first embodiment.
In this embodiment, two specific response modes of the terminal for the instruction when the operation pressure of the user exceeds the pressure threshold are specifically described, in the first mode, the terminal further determines whether to respond to the touch operation by combining an image acquired by the camera according to the acquired image information, and in the second mode, when the terminal is in the variable-speed motion state, the distance between the terminal and the user changes relatively, that is, the terminal determines whether to respond to the touch operation according to the distance between the obstacle and the terminal. Specifically, the method comprises the following steps:
referring to fig. 6, the screen touch response method includes the following steps:
and step S51, if the operating pressure exceeds the pressure threshold, the camera is started, the image information collected by the camera is obtained, and whether the image information is facial image information is identified.
In step S52, if the image information is face image information, a touch operation correspondence instruction is responded.
In step S53, if the image information is not face image information, the touch operation correspondence instruction is not responded.
If the operation pressure exceeds the pressure threshold, the terminal determines that the operation pressure of the user is large, the terminal touch screen receives large electric signals, in order to avoid other stress conditions in a special state, referring to fig. 9, the terminal starts a camera to acquire image information acquired by the camera, identifies the image information by adopting an image identification technology, and judges whether the identified image information is facial image information. And if the image information is face image information, namely the terminal determines that the user uses the terminal, responding to the touch operation corresponding instruction. And if the image information is not the face image information, namely the terminal determines that the user has mistakenly touched, the touch operation corresponding instruction is not responded.
In this embodiment, when the operating pressure exceeds the pressure threshold, after the terminal adjusts the screen sensitivity, the terminal acquires an operating signal of the user, and then the terminal further starts the camera to acquire image information, and the terminal determines whether the user is using the terminal according to the acquired image information, so that the terminal is more accurate in false touch prevention.
Referring to fig. 7, the screen touch response method includes, in a second mode:
and step S54, if the operation pressure exceeds the pressure threshold, acquiring the distance value between the terminal and the user once every preset time interval based on the distance sensor.
Step S55, obtaining two consecutive collected distance values, and comparing the difference between the two distance values with a preset variation.
If the operation pressure exceeds the pressure threshold value, the terminal screen collects operation signals of the user, and the terminal collects the distance value between the terminal and the user once every preset time interval based on the distance sensor. Acquiring distance values acquired twice continuously, and comparing the difference between the two distance values with a preset variation (the preset variation refers to preset distance variation, such as 20cm), for example, the distance value between a terminal and a user acquired by a distance sensor is the distance value between the terminal and the user, the distance value between the terminal and the user is acquired once every 0.1 second by the terminal, and the terminal compares the acquired distance values, wherein the distance between the terminal and the head of the user is 40cm in 0.0 second; 0.1 second, the distance between the terminal and the head of the user is 40 cm; 0.2 second, the distance between the terminal and the head of the user is 5 cm; 0.1 second to 0.2 second, the distance between the terminal and the user head changes by 35cm, and the terminal compares the difference between the two collected distance values with a preset change (the preset change is the preset distance change between the terminal and the user in the normal use state of the terminal), for example, when the vehicle brakes suddenly, the distance between the user and the terminal may change suddenly.
In step S56, if the difference between the two distance values exceeds the preset variation, the touch operation corresponding instruction is not responded.
In step S57, if the difference between the two distance values does not exceed the preset variation, a touch operation corresponding instruction is responded.
And if the difference between the two distance values exceeds the preset variable quantity, not responding to the corresponding instruction of the touch operation. For example, when a bus is suddenly braked, the distance between the terminal and a user has a large variation, and the terminal does not respond to a command corresponding to a touch operation; and if the difference between the two distance values does not exceed the preset variation, responding to a corresponding instruction of the touch operation, namely determining whether the stress on the terminal is abnormal or not according to the distance change between the terminal and the user, and further judging whether the operation instruction of the user is responded or not.
In this embodiment, whether a touch operation is performed is determined according to a distance between the terminal and the user, so that the terminal operation is more intelligent, and it needs to be described in addition that two implementation manners provided in this embodiment may be combined, that is, a specific combination manner may be implemented by a person skilled in the art according to image information acquired by the camera and a distance acquired by the distance sensor, and here, no refinement is performed.
It should be added that the two implementation manners provided in this embodiment may be combined, that is, according to the image information acquired by the terminal and the distance between the terminal and the user, a specific combination manner may be implemented by those skilled in the art, and is not detailed here.
In addition, the embodiment of the invention also provides a computer storage medium.
The computer storage medium stores a screen touch response program, and the screen touch response program realizes the following operations when executed by the processor:
starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter;
if the acceleration parameter is matched with a preset parameter, determining application software corresponding to a current display interface of the terminal, and judging whether the application software is preset sensitive software or not;
if the application software is preset sensitive software, adjusting the screen sensitivity according to the acceleration parameter;
receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity;
and if the operation pressure exceeds the pressure threshold, responding to the corresponding instruction of the touch operation.
Further, when executed by the processor, the screen touch response program further implements the following operations:
the method comprises the following steps of starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter, wherein the steps of:
starting an angular accelerometer and a linear accelerometer preset by a terminal, and acquiring angular acceleration acquired by the angular accelerometer and linear acceleration acquired by the linear accelerometer;
and comparing the angular acceleration and the linear acceleration with an angular acceleration threshold and a linear acceleration threshold in preset parameters to judge whether the terminal meets preset screen sensitivity adjustment conditions.
Further, when executed by the processor, the screen touch response program further implements the following operations:
if the application software is preset sensitive software, the step of adjusting the screen sensitivity according to the acceleration parameter comprises the following steps:
if the application software is preset sensitive software, judging whether the terminal starts a sensitivity adjustment mode;
and if the terminal starts a sensitivity adjustment mode, acquiring a pressure value which is in accordance with the acceleration parameter in a preset screen sensitivity table, and taking the pressure value as a new pressure threshold value of the screen sensitivity to finish the adjustment of the screen sensitivity.
Further, the screen touch response program when executed by the processor further implements the following operations:
if the acceleration parameter is matched with a preset parameter, determining application software corresponding to the current display interface of the terminal, and judging whether the application software is preset sensitive software, wherein the method further comprises the following steps:
if the acceleration parameter is matched with a preset parameter, judging that the terminal meets a preset screen sensitivity adjustment condition, and acquiring display information of a current display interface of a terminal screen;
starting a task manager of the terminal to determine a current running program of the terminal;
determining application software corresponding to the current display interface of the terminal according to the display information of the current display interface and the current running program of the current display interface;
judging whether a preset software set contains the application software or not;
and if the preset software set comprises the application software, judging that the application software is preset sensitive software.
Further, when executed by the processor, the screen touch response program further implements the following operations:
if the operation pressure exceeds the pressure threshold, responding to a corresponding instruction of the touch operation, and the method comprises the following steps:
if the operating pressure exceeds the pressure threshold, starting a camera, acquiring image information acquired by the camera, and identifying whether the image information is facial image information;
if the image information is face image information, responding to a touch operation corresponding instruction;
and if the image information is not the face image information, not responding to the touch operation corresponding instruction.
Further, when executed by the processor, the screen touch response program further implements the following operations:
if the operating pressure exceeds the pressure threshold, responding to the corresponding instruction of the touch operation, further comprising:
if the operating pressure exceeds the pressure threshold, acquiring a distance value between the terminal and the user once every preset time interval based on the distance sensor;
acquiring distance values acquired twice continuously, and comparing the difference between the two distance values with a preset variation;
if the difference between the two distance values exceeds the preset variation, the touch operation corresponding instruction is not responded;
and responding to the corresponding instruction of the touch operation if the difference between the two distance values does not exceed the preset variation.
Further, the screen touch response program when executed by the processor further implements the following operations:
after the steps of receiving the touch operation, obtaining the operation pressure of the touch operation, and comparing the operation pressure with the pressure threshold corresponding to the current screen sensitivity, the method includes:
if the operation pressure does not exceed the pressure threshold, acquiring the operation frequency of touch operation;
and if the operation frequency exceeds the preset frequency, responding to the user operation and adjusting the screen sensitivity back to the initial screen sensitivity.
Further, when executed by the processor, the screen touch response program further implements the following operations:
the method comprises the following steps of starting a sensor preset by a terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter, wherein the method comprises the following steps:
and if the acceleration parameter is not matched with the preset parameter, not starting the screen adjustment mode.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (8)

1. A screen touch response method is characterized in that the screen touch response method is applied to a terminal, and the terminal is provided with a sensor; the screen touch response method comprises the following steps:
starting a sensor preset by the terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter;
if the acceleration parameter is matched with a preset parameter, determining application software corresponding to the current display interface of the terminal, and judging whether the application software is preset sensitive software or not;
if the application software is preset sensitive software, judging whether the terminal starts a sensitivity adjustment mode;
if the terminal starts a sensitivity adjustment mode, acquiring a pressure value in a preset screen sensitivity table, wherein the pressure value is in accordance with the acceleration parameter, and taking the pressure value as a new pressure threshold value of the screen sensitivity to complete the adjustment of the screen sensitivity;
receiving touch operation, acquiring operation pressure of the touch operation, and comparing the operation pressure with a pressure threshold corresponding to the current screen sensitivity;
if the operation pressure exceeds the pressure threshold, judging whether face image information is identified and/or judging whether the difference between the distance value between the first terminal and the user and the distance value between the second terminal and the user, which is acquired based on the distance sensor, exceeds a preset variation;
if the face image information is identified and/or the difference between the distance value between the first terminal and the user and the distance value between the second terminal and the user, which is acquired based on the distance sensor, does not exceed the preset variation, responding to the touch operation corresponding instruction;
if the face image information is not identified and/or the difference between the distance value between the first terminal and the user and the distance value between the second terminal and the user, which is acquired based on the distance sensor, exceeds the preset variation, the touch operation corresponding instruction is not responded;
if the operation pressure does not exceed the pressure threshold, acquiring the operation frequency of touch operation;
and if the operation frequency exceeds the preset frequency, responding to the user operation and adjusting the screen sensitivity back to the initial screen sensitivity.
2. The screen touch response method of claim 1, wherein the sensor comprises an acceleration sensor comprising an angular accelerometer and a linear accelerometer;
the method comprises the following steps of starting a sensor preset by the terminal, acquiring an acceleration parameter acquired by the sensor, and comparing the acceleration parameter with a preset parameter:
starting the preset angular accelerometer and linear accelerometer of the terminal to obtain the angular acceleration acquired by the angular accelerometer and the linear acceleration acquired by the linear accelerometer;
and comparing the angular acceleration and the linear acceleration with an angular acceleration threshold and a linear acceleration threshold in preset parameters to judge whether the terminal meets the preset screen sensitivity adjustment condition.
3. The screen touch response method according to claim 1, wherein the step of determining application software corresponding to a current display interface of the terminal and determining whether the application software is preset sensitive software if the acceleration parameter matches a preset parameter further comprises:
if the acceleration parameter is matched with a preset parameter, judging that the terminal meets a preset screen sensitivity adjustment condition, and acquiring display information of a current display interface of a terminal screen;
starting a task manager of the terminal to determine a current running program of the terminal;
determining application software corresponding to the current display interface of the terminal according to the display information of the current display interface and the current running program thereof;
judging whether a preset software set contains the application software or not;
if the application software is contained in the preset software set, judging that the application software is preset sensitive software.
4. The screen touch response method of claim 1, wherein the step of determining whether facial image information is identified comprises:
and starting a camera, acquiring image information acquired by the camera, and identifying whether the image information is facial image information.
5. The screen touch response method according to claim 1, wherein the step of determining whether the difference between the distance value between the first terminal and the user and the distance value between the second terminal and the user, which is acquired based on the distance sensor, exceeds a preset variation amount further comprises:
acquiring a distance value between the terminal and a user once every preset time interval based on the distance sensor;
and obtaining a distance value between the first terminal and the user and a distance value between the second terminal and the user, comparing the difference between the two distance values with the preset variable quantity, and judging whether the difference between the distance value between the first terminal and the user and the distance value between the second terminal and the user exceeds the preset variable quantity.
6. The screen touch response method according to claim 1, wherein the step of turning on a sensor preset in the terminal, acquiring an acceleration parameter collected by the sensor, and comparing the acceleration parameter with a preset parameter comprises:
and if the acceleration parameter is not matched with a preset parameter, not starting the screen adjustment mode.
7. A terminal, characterized in that the terminal comprises: a sensor, a memory, a processor, and a screen touch response program stored on the memory and executable on the processor, wherein:
the sensor is used for acquiring terminal operation data;
the screen touch response program when executed by the processor implements the steps of the screen touch response method of any one of claims 1 to 6.
8. A computer storage medium, wherein a screen touch response program is stored thereon, and when executed by a processor, the screen touch response program implements the steps of the screen touch response method according to any one of claims 1 to 6.
CN201810375766.6A 2018-04-24 2018-04-24 Screen touch response method, terminal and computer storage medium Active CN108287611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810375766.6A CN108287611B (en) 2018-04-24 2018-04-24 Screen touch response method, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810375766.6A CN108287611B (en) 2018-04-24 2018-04-24 Screen touch response method, terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN108287611A CN108287611A (en) 2018-07-17
CN108287611B true CN108287611B (en) 2022-07-22

Family

ID=62834598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810375766.6A Active CN108287611B (en) 2018-04-24 2018-04-24 Screen touch response method, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN108287611B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144327B (en) * 2018-09-19 2020-12-18 自然资源部第二海洋研究所 Special terminal for ocean function zoning evaluation
CN109657922B (en) * 2018-11-20 2024-03-01 自然资源部第二海洋研究所 Marine ecology suitability evaluation assembly device
CN109865280A (en) * 2018-11-30 2019-06-11 努比亚技术有限公司 A kind of game touch-control key control method, terminal and computer readable storage medium
CN109782944A (en) 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen
CN109828687A (en) * 2019-01-22 2019-05-31 北京汽车股份有限公司 Touch device and its control method, vehicle
CN110058729B (en) * 2019-03-19 2022-05-31 荣耀终端有限公司 Method and electronic device for adjusting sensitivity of touch detection
CN110650248A (en) * 2019-09-27 2020-01-03 Oppo(重庆)智能科技有限公司 Anti-false touch control method and device for key and storage medium
CN112698743A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Touch control method and device of touch screen
CN111124173B (en) * 2019-11-22 2023-05-16 Oppo(重庆)智能科技有限公司 Working state switching method and device of touch screen, mobile terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011048762A (en) * 2009-08-28 2011-03-10 Sony Corp Apparatus and method for processing information and program
CN102937868A (en) * 2012-11-21 2013-02-20 东莞宇龙通信科技有限公司 Terminal and method for adjusting sensitivity of touch key
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN106293199A (en) * 2016-07-26 2017-01-04 广东小天才科技有限公司 A kind of method and device controlling touch screen
WO2017030229A1 (en) * 2015-08-19 2017-02-23 엘지전자 주식회사 Watch-type mobile terminal
CN106502470A (en) * 2016-12-16 2017-03-15 广东欧珀移动通信有限公司 Prevent method, device and the terminal of touch key-press false triggering
CN106650383A (en) * 2016-12-30 2017-05-10 深圳天珑无线科技有限公司 Terminal control method and terminal control device
CN106775053A (en) * 2016-11-11 2017-05-31 广州视源电子科技股份有限公司 The determination method and device of sensitivity of touch screen

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011048762A (en) * 2009-08-28 2011-03-10 Sony Corp Apparatus and method for processing information and program
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN102937868A (en) * 2012-11-21 2013-02-20 东莞宇龙通信科技有限公司 Terminal and method for adjusting sensitivity of touch key
WO2017030229A1 (en) * 2015-08-19 2017-02-23 엘지전자 주식회사 Watch-type mobile terminal
CN106293199A (en) * 2016-07-26 2017-01-04 广东小天才科技有限公司 A kind of method and device controlling touch screen
CN106775053A (en) * 2016-11-11 2017-05-31 广州视源电子科技股份有限公司 The determination method and device of sensitivity of touch screen
CN106502470A (en) * 2016-12-16 2017-03-15 广东欧珀移动通信有限公司 Prevent method, device and the terminal of touch key-press false triggering
CN106650383A (en) * 2016-12-30 2017-05-10 深圳天珑无线科技有限公司 Terminal control method and terminal control device

Also Published As

Publication number Publication date
CN108287611A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN108287611B (en) Screen touch response method, terminal and computer storage medium
CN108540358B (en) Control method of household appliance, mobile terminal and computer readable storage medium
CN109151169B (en) Camera authority management method, mobile terminal and computer readable storage medium
CN108479066B (en) False touch prevention method, mobile terminal and computer readable storage medium
CN110035176B (en) Brightness adjusting method of mobile terminal, mobile terminal and storage medium
CN109146463B (en) Mobile payment method, mobile terminal and computer readable storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN108833690B (en) Authority control method, terminal and computer readable storage medium
CN109788423B (en) Voice receiving method, device and computer readable storage medium
CN109271227B (en) False touch prevention method and device and computer readable storage medium
CN109375846B (en) Method and device for displaying breathing icon, mobile terminal and readable storage medium
CN108234751B (en) Automatic danger detection method, mobile terminal and computer readable storage medium
CN112306366A (en) Operation method, mobile terminal and storage medium
CN108226880B (en) Method and device for preventing interference in ultrasonic distance detection and storage medium
CN110096213B (en) Terminal operation method based on gestures, mobile terminal and readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN107580106B (en) Call control method, mobile terminal and computer readable storage medium
CN108876387B (en) Payment verification method, payment verification equipment and computer-readable storage medium
CN107728789B (en) Starting method of one-hand operation mode, terminal and storage medium
CN107734147B (en) Step recording method, mobile terminal and computer readable storage medium
CN110755840A (en) Game control method, key structure, mobile terminal and readable storage medium
CN107613108B (en) Operation processing method and device 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220623

Address after: Room 802, building h, chuangyungu factory building, No.48, battery Road, No.1 Industrial Zone, Li Songyao community, Gongming street, Guangming District, Shenzhen, Guangdong 518000

Applicant after: SHENZHEN DEWEIPUSI TECHNOLOGY Co.,Ltd.

Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant