CN110851014B - Touch recognition method and device, storage medium and terminal equipment - Google Patents

Touch recognition method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN110851014B
CN110851014B CN201911035228.3A CN201911035228A CN110851014B CN 110851014 B CN110851014 B CN 110851014B CN 201911035228 A CN201911035228 A CN 201911035228A CN 110851014 B CN110851014 B CN 110851014B
Authority
CN
China
Prior art keywords
touch
area
determining
preset
placement angle
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
CN201911035228.3A
Other languages
Chinese (zh)
Other versions
CN110851014A (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.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201911035228.3A priority Critical patent/CN110851014B/en
Publication of CN110851014A publication Critical patent/CN110851014A/en
Application granted granted Critical
Publication of CN110851014B publication Critical patent/CN110851014B/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/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/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
    • 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/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

The application discloses a touch identification method, a device, a storage medium and terminal equipment, wherein the touch identification method comprises the following steps: detecting whether a user touches a touch screen of the terminal equipment or not; if the user performs touch operation on the touch screen of the terminal equipment, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation; the touch reporting position is determined according to the placement angle, the touch area and the touch position so as to identify the touch operation, so that when the touch point offset phenomenon occurs on the touch screen, the touch point position can still be accurately detected, and the detection accuracy is high.

Description

Touch recognition method and device, storage medium and terminal equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a touch recognition method, a device, a storage medium, and a terminal device.
Background
With the development of electronic technology and mobile communication technology, mobile terminals such as smart phones have become an indispensable living tool for people.
At present, the smart phone has the traditional mobile phone communication and short message sending and other contact functions, and also integrates various functions of browsing web pages, photographing, music listening, game entertainment, friend making and the like. Along with the increasing level of intelligent mobile phones, people are increasingly dependent on the intelligent mobile phones, in daily work and life, the intelligent mobile phones are almost shaped and shadow-like, and in the use process of the intelligent mobile phones, the touch sensing function of the touch screen is very important, however, the touch screen of most intelligent mobile phones can have a contact offset phenomenon in a non-horizontal direction, namely, the touch screen has a certain deviation on the detection of the position of a touch point of a user, so that the use of the intelligent mobile phones is affected.
Disclosure of Invention
The embodiment of the application provides a touch recognition method, a touch recognition device, a storage medium and terminal equipment, which can still accurately detect the contact position when the contact point deviation phenomenon occurs in a touch screen, and have good detection effect.
The embodiment of the application provides a touch identification method, which is applied to terminal equipment and comprises the following steps:
detecting whether a user touches a touch screen of the terminal equipment or not;
if the user performs touch operation on the touch screen of the terminal equipment, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation;
and determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation.
The embodiment of the application also provides a touch recognition device which is applied to the terminal equipment and comprises:
the detection module is used for detecting whether a user touches a touch screen of the terminal equipment or not;
the determining module is used for determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation if the user performs the touch operation on the touch screen of the terminal equipment;
and the identification module is used for determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation.
Wherein, the identification module specifically includes:
the judging unit is used for judging whether the placement angle is a preset angle or not;
the first determining unit is used for taking the touch position as a touch reporting position if the placement angle is a preset angle;
and the second determining unit is used for determining a touch reporting position according to the placement angle and the touch area if the placement angle is not a preset angle.
Wherein the second determining unit is specifically configured to:
acquiring a deviation value range corresponding to the placement angle, and judging whether the touch area is not smaller than a preset area;
if the touch area is not smaller than the preset area, summing the touch position and the deviation value range to obtain a touch reporting position;
and if the touch area is smaller than the preset area, determining a touch reporting position according to the touch position and the deviation value range.
Wherein the second determining unit is specifically configured to:
determining a touch center point corresponding to the touch position;
determining a predicted touch position according to the touch center point and a preset radius;
and summing the estimated touch position and the deviation value range to obtain a touch reporting position.
Wherein, touch recognition device still includes correction module for:
after the touch reporting position is determined according to the placement angle, the touch area and the touch position, corresponding operation is executed according to the touch reporting position;
after the corresponding operation is executed, detecting whether a user triggers a return operation within a preset time length;
if the user triggers a return operation within a preset time length, acquiring the current error times and updating the current error times;
when the updated current error times reach preset times, generating a contact correction interface;
and carrying out contact correction on the touch screen based on the contact correction interface.
Embodiments of the present application also provide a computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the touch recognition methods described above.
The embodiment of the application also provides a terminal device, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the touch recognition method.
According to the touch identification method, the touch identification device, the storage medium and the terminal equipment, whether the user performs touch operation on the touch screen of the terminal equipment is detected, if the user performs touch operation on the touch screen of the terminal equipment, the current placement angle of the terminal equipment, the touch position and the touch area of the touch operation are determined, and the touch reporting position is determined according to the placement angle, the touch area and the touch position so as to identify the touch operation, so that when the touch screen has a contact offset phenomenon, the contact position can still be accurately detected, the detection accuracy is high, and the detection effect is good.
Drawings
The technical solution and other advantageous effects of the present application will be made apparent by the following detailed description of the specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart of a touch recognition method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of an xyz coordinate system according to an embodiment of the present application.
Fig. 3 is another flow chart of a touch recognition method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a touch recognition device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an identification module according to an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a touch recognition device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The touch recognition method is applied to the terminal equipment and comprises the following steps: detecting whether a user touches a touch screen of the terminal equipment or not; if the user performs touch operation on the touch screen of the terminal equipment, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation; and determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation.
As shown in fig. 1, fig. 1 is a flowchart of a touch recognition method according to an embodiment of the present application, where the touch recognition method is applied to a terminal device, and the specific flow may be as follows:
s101, detecting whether a user touches the touch screen of the terminal equipment, if so, executing the following step S102, and if not, re-detecting.
In this embodiment, the touch operation mainly includes clicking and pressing, when the touch screen in the terminal device opens the touch function, it detects whether there is an external force operation such as clicking or pressing on the touch screen, and if there is an external force operation, the user is considered to perform the touch operation. The touch screen mainly comprises a resistive touch screen and a capacitive touch screen, wherein the resistive touch screen is controlled by using pressure induction, and the capacitive touch screen is operated by using current induction of a human body.
S102, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation.
In this embodiment, the placement angle is an angle in three-dimensional space, referring to fig. 2, a plane where the xy axis is located may be a ground plane (i.e., a horizontal plane when the display screen is placed horizontally), a direction where gravity and the earth center are located is a Z axis, a screen center of the display screen is taken as an origin O of coordinates, a three-dimensional space coordinate system xyz is established, and an angle of the terminal device in the xyz coordinate system is determined to be the placement angle.
Since the actual contact area is not a single point but an area each time a user clicks or presses with a finger on the touch screen, the touch position is typically the coordinate position of an area surrounded by a plurality of pixel points, that is, the area of the area surrounded by the pixel points.
S103, determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation.
For example, the step S103 may specifically include:
judging whether the placement angle is a preset angle or not;
if the placement angle is a preset angle, the touch position is used as a touch reporting position;
if the placement angle is not the preset angle, determining a touch reporting position according to the placement angle and the touch area.
In this embodiment, the preset angle may be that the z-axis is 0 °, and the xy-plane is an arbitrary angle, that is, the terminal device is placed horizontally, in general, when the touch screen detects the contact position in the horizontal direction, the offset phenomenon is less, and the detected touch position can be directly reported, and when the contact position in the non-horizontal direction (such as the vertical direction) is detected, because the offset phenomenon is obvious, the touch position cannot be directly reported, and adjustment is required.
Further, the step of determining the touch report position according to the placement angle and the touch area may specifically include:
acquiring a deviation value range corresponding to the placement angle, and judging whether the touch area is not smaller than a preset area;
if the touch area is not smaller than the preset area, summing the touch position and the deviation value range to obtain a touch reporting position;
and if the touch area is smaller than the preset area, determining a touch reporting position according to the touch position and the deviation value range.
In this embodiment, the deviation value range may be stored in advance, for example, the user may set a corresponding deviation value range for each placement angle in advance, or may be calculated by a preset algorithm, for example, a calculation method of a deviation value range related to a placement angle may be stored in advance in the terminal device. The preset area is mainly used for defining whether the touch area is normal or not, when the actual touch area is smaller than the preset area, the contact area between the user finger and the touch screen is too small, abnormal contact is caused, and when the actual touch area is larger than or equal to the preset area, normal contact is caused between the user finger and the touch screen.
For example, the step of determining the touch report position according to the touch position and the deviation value range may specifically include:
determining a touch center point corresponding to the touch position;
determining a predicted touch position according to the touch center point and a preset radius;
and summing the estimated touch position and the deviation value range to obtain a touch reporting position.
In this embodiment, the preset radius is set by human default, which is generally related to the area of the human finger. When the touch area is too small, in order to improve the detection accuracy, a touch center point of the touch position can be determined first, then a circular area is drawn by taking the touch center point as a circle center and the preset radius as a radius, and the circular area is taken as a predicted touch position, so that a proper touch area can be ensured, and the recognition accuracy is improved.
Further, after the above step S103, the touch recognition method may further include:
executing corresponding operation according to the touch reporting position;
after the corresponding operation is executed, detecting whether a user triggers a return operation within a preset time length;
if the user triggers the return operation within the preset time, the current error times are obtained, and the current error times are updated;
when the updated current error times reach preset times, generating a contact correction interface;
and carrying out contact correction on the touch screen based on the contact correction interface.
In this embodiment, the corresponding operation mainly depends on the display content at the touch report position on the display interface, where the display content may be a certain application icon, a certain key, or other content. The preset duration may be 2 seconds or 3 seconds, which is typically less than the duration required for the user to read a page normally. The current error frequency refers to the accumulated frequency of triggering the return operation within the preset time in the past, the update method is to increase once based on the current error frequency, and the current error frequency is usually 0 for the first detection.
When the terminal device performs a corresponding operation according to the touch reporting position, if the user triggers a return operation in a short time, it is highly likely that the touch reporting position is not the position that the user wants to touch, and a judgment error exists, and once the number of times of the judgment error is large, for example, when the number of times reaches a preset number of times (for example, 10 times), it can be considered that the touch screen cannot normally sense, and contact correction is required. The contact correction interface may be an interface for guiding the user to perform contact position correction in the horizontal direction and the vertical direction, and some prompt information may be provided thereon.
As can be seen from the foregoing, the touch recognition method provided in this embodiment is applied to a terminal device, and is used to detect whether a user performs a touch operation on a touch screen of the terminal device, if the user performs a touch operation on the touch screen of the terminal device, determine a current placement angle of the terminal device, and a touch position and a touch area of the touch operation, and determine a touch reporting position according to the placement angle, the touch area and the touch position, so as to recognize the touch operation, thereby, when a contact offset phenomenon occurs on the touch screen, the contact position detection can still be accurately performed, and the detection accuracy is high and the detection effect is good.
The present embodiment will be further described in detail with the application of the touch recognition method to a terminal device according to the method described in the above embodiment.
Referring to fig. 3, the touch recognition method includes the following steps:
s201, detecting whether a user performs touch operation on the touch screen of the terminal equipment, if the user performs touch operation on the touch screen of the terminal equipment, executing the following step S202, and if the user does not perform touch operation on the touch screen of the terminal equipment, re-detecting.
S202, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation.
S203, judging whether the placement angle is a preset angle, if the placement angle is the preset angle, taking the touch position as a touch reporting position, and if the placement angle is not the preset angle, executing the following step S204.
S204, acquiring a deviation value range corresponding to the placement angle, judging whether the touch area is not smaller than a preset area, if so, executing the following step S205, and if not, executing the following step S206.
S205, summing the touch position and the deviation value range to obtain a touch reporting position.
S206, determining a touch center point corresponding to the touch position, determining an estimated touch position according to the touch center point and a preset radius, and then summing the estimated touch position and the deviation value range to obtain a touch reporting position.
S207, executing corresponding operation according to the touch reporting position, detecting whether a user triggers a return operation within a preset time period, if so, executing the following step S208, and if not, not executing any operation.
S208, acquiring current error times, updating the current error times, generating a contact correction interface when the updated current error times reach preset times, and carrying out contact correction on the touch screen based on the contact correction interface.
For example, when the user clicks the touch screen, the terminal device may detect the current placement angle, and the touch position and the touch area of the user, and then determine, according to the placement angle, what strategy is adopted to determine the reporting position for reporting, for example, when the terminal device is detected to be placed horizontally, the reporting may be directly performed on the touch position, and when the terminal device is not placed horizontally, the reporting may be performed after the touch position needs to be adjusted, for example, when the touch area is smaller, an estimated touch position with a suitable area may be estimated first, and then the estimated touch position may be corrected and then reported, and when the touch area is suitable, the reporting may be performed directly after the touch position is corrected. After the terminal device executes the corresponding operation according to the reporting position, it can further determine whether the reporting position is the real touch position of the user, for example, by detecting whether the user triggers the return operation in a short time, and counting the accumulated times of the real touch positions of the non-user in the past, once the accumulated times are more, it indicates that the induction error of the touch screen is larger, and at this time, the touch point correction is performed on the touch screen to ensure the normal operation of the touch induction.
According to the method described in the above embodiments, the present embodiment will be further described from the perspective of a touch recognition device, which may be embodied as a separate entity.
Referring to fig. 4, fig. 4 specifically describes a touch recognition device provided by an embodiment of the present application, where the touch recognition device is applied to a terminal device, and the terminal device may include a device with a touch screen, such as a mobile phone, a tablet computer, a personal PC, and the like, and may include: a detection module 10, a determination module 20 and an identification module 30, wherein:
(1) Detection module 10
And the detection module 10 is used for detecting whether the user performs touch operation on the touch screen of the terminal equipment.
In this embodiment, the touch operation mainly includes clicking and pressing, when the touch screen in the terminal device opens the touch function, it detects whether there is an external force operation such as clicking or pressing on the touch screen, and if there is an external force operation, the user is considered to perform the touch operation. The touch screen mainly comprises a resistive touch screen and a capacitive touch screen, wherein the resistive touch screen is controlled by using pressure induction, and the capacitive touch screen is operated by using current induction of a human body.
(2) Determination module 20
The determining module 20 is configured to determine, if the user performs a touch operation on the touch screen of the terminal device, a current placement angle of the terminal device, and a touch position and a touch area of the touch operation.
In this embodiment, the placement angle is an angle in three-dimensional space, referring to fig. 2, for a three-dimensional space coordinate system xyz, a ground plane (i.e., a horizontal plane when the display screen is placed horizontally) may be taken as a plane in which an xy axis is located, and a direction in which gravity and a centroid are located may be taken as a Z axis, so as to determine an angle of the terminal device in the xyz space coordinate system, i.e., the placement angle.
Since the actual contact area is not a single point but an area each time a user clicks or presses with a finger on the touch screen, the touch position is typically the coordinate position of an area surrounded by a plurality of pixel points, that is, the area of the area surrounded by the pixel points.
(3) Identification module 30
And the recognition module 30 is configured to determine a touch reporting position according to the placement angle, the touch area and the touch position, so as to recognize the touch operation.
For example, referring to fig. 5, the identification module 30 specifically includes:
a judging unit 31 for judging whether the placement angle is a preset angle;
a first determining unit 32, configured to take the touch position as a touch reporting position if the placement angle is a preset angle;
and a second determining unit 33, configured to determine a touch reporting position according to the placement angle and the touch area if the placement angle is not a preset angle.
In this embodiment, the preset angle may be that the z-axis is 0 °, and the xy-plane is an arbitrary angle, that is, the terminal device is placed horizontally, in general, when the touch screen detects the contact position in the horizontal direction, the offset phenomenon is less, and the detected touch position can be directly reported, and when the contact position in the non-horizontal direction (such as the vertical direction) is detected, because the offset phenomenon is obvious, the touch position cannot be directly reported, and adjustment is required.
Further, the second determining unit 33 is specifically configured to:
acquiring a deviation value range corresponding to the placement angle, and judging whether the touch area is not smaller than a preset area;
if the touch area is not smaller than the preset area, summing the touch position and the deviation value range to obtain a touch reporting position;
and if the touch area is smaller than the preset area, determining a touch reporting position according to the touch position and the deviation value range.
In this embodiment, the deviation value range may be stored in advance, for example, the user may set a corresponding deviation value range for each placement angle in advance, or may be calculated by a preset algorithm, for example, a calculation method of a deviation value range related to a placement angle may be stored in advance in the terminal device. The preset area is mainly used for defining whether the touch area is normal or not, when the actual touch area is smaller than the preset area, the contact area between the user finger and the touch screen is too small, abnormal contact is caused, and when the actual touch area is larger than or equal to the preset area, normal contact is caused between the user finger and the touch screen.
For example, the second determining unit 33 is specifically configured to:
determining a touch center point corresponding to the touch position;
determining a predicted touch position according to the touch center point and a preset radius;
and summing the estimated touch position and the deviation value range to obtain a touch reporting position.
In this embodiment, the preset radius is set by human default, which is generally related to the area of the human finger. When the touch area is too small, in order to improve the detection accuracy, a touch center point of the touch position can be determined first, then a circular area is drawn by taking the touch center point as a circle center and the preset radius as a radius, and the circular area is taken as a predicted touch position, so that a proper touch area can be ensured, and the recognition accuracy is improved.
In addition, referring to fig. 6, the touch recognition apparatus further includes a correction module 40 for:
after the touch reporting position is determined according to the placement angle, the touch area and the touch position, corresponding operation is executed according to the touch reporting position;
after the corresponding operation is executed, detecting whether a user triggers a return operation within a preset time length;
if the user triggers the return operation within the preset time, the current error times are obtained, and the current error times are updated;
when the updated current error times reach preset times, generating a contact correction interface;
and carrying out contact correction on the touch screen based on the contact correction interface.
In this embodiment, the corresponding operation mainly depends on the display content at the touch report position on the display interface, where the display content may be a certain application icon, a certain key, or other content. The preset duration may be 2 seconds or 3 seconds, which is typically less than the duration required for the user to read a page normally. The current error frequency refers to the accumulated frequency of triggering the return operation within the preset time in the past, the update method is to increase once based on the current error frequency, and the current error frequency is usually 0 for the first detection.
When the terminal device performs a corresponding operation according to the touch reporting position, if the user triggers a return operation in a short time, it is highly likely that the touch reporting position is not the position that the user wants to touch, and a judgment error exists, and once the number of times of the judgment error is large, for example, when the number of times reaches a preset number of times (for example, 10 times), it can be considered that the touch screen cannot normally sense, and contact correction is required. The contact correction interface may be an interface for guiding the user to perform contact position correction in the horizontal direction and the vertical direction, and some prompt information may be provided thereon.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing, the touch recognition device provided in this embodiment is applied to a terminal device, and the detection module 10 detects whether a user performs a touch operation on a touch screen of the terminal device, if the user performs a touch operation on the touch screen of the terminal device, the determination module 20 determines a current placement angle of the terminal device, and a touch position and a touch area of the touch operation, and the recognition module 30 determines a touch reporting position according to the placement angle, the touch area and the touch position to recognize the touch operation, so that when a contact offset phenomenon occurs on the touch screen, the detection of the contact position can still be accurately performed, and the detection accuracy is high and the detection effect is good.
In addition, the embodiment of the application also provides terminal equipment which can be equipment such as a smart phone, a tablet personal computer and the like. As shown in fig. 7, the terminal device 200 includes a processor 201, a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the terminal device 200, connects respective parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the terminal device.
In this embodiment, the terminal device 200 is provided with a plurality of storage partitions, where the plurality of storage partitions include a system partition and a target partition, and the processor 201 in the terminal device 200 loads instructions corresponding to the processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 executes the application programs stored in the memory 202, thereby implementing various functions:
detecting whether a user touches a touch screen of the terminal equipment or not;
if the user performs touch operation on the touch screen of the terminal equipment, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation;
and determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation.
Fig. 8 shows a specific block diagram of a terminal device according to an embodiment of the present application, which may be used to implement the touch recognition method provided in the above embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The RF circuitry 310 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The wireless network may use various communication standards, protocols, and technologies including, but not limited to, global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), wireless fidelity technology (Wireless Fidelity, wi-Fi) (e.g., institute of electrical and electronics engineers standards IEEE 802.11a,IEEE 802.11b,IEEE802.11g and/or IEEE802.11 n), internet telephony (Voice over Internet Protocol, voIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wi-Max), other protocols for mail, instant messaging, and short messaging, as well as any other suitable communication protocols, even including those not currently developed.
The memory 320 may be used for storing software programs and modules, such as program instructions/modules corresponding to the front-end camera photographing automatic light filling system and method in the above embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, that is, implements the front-end camera photographing automatic light filling function. Memory 320 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 320 may further include memory remotely located relative to processor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 331 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 380, and can receive and execute commands sent from the processor 380. In addition, the touch-sensitive surface 331 may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 331, the input unit 330 may also comprise other input devices 332. In particular, other input devices 332 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, mouse, joystick, etc.
The display unit 340 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal device 300, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 340 may include a display panel 341, and optionally, the display panel 341 may be configured in the form of an LCD (Liquid Crystal Display ), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch sensitive surface 331 may overlay the display panel 341 and, upon detection of a touch operation thereon or thereabout by the touch sensitive surface 331, is communicated to the processor 380 to determine the type of touch event, and the processor 380 then provides a corresponding visual output on the display panel 341 based on the type of touch event. Although in fig. 8 the touch sensitive surface 331 and the display panel 341 are implemented as two separate components, in some embodiments the touch sensitive surface 331 may be integrated with the display panel 341 to implement the input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the terminal device 300 are not described in detail herein.
Audio circuitry 360, speaker 361, and microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the received electrical signal converted from audio data to the speaker 361, and the electrical signal is converted into a sound signal by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signals into electrical signals, receives the electrical signals from the audio circuit 360, converts the electrical signals into audio data, outputs the audio data to the processor 380 for processing, and transmits the audio data to, for example, another terminal via the RF circuit 310, or outputs the audio data to the memory 320 for further processing. Audio circuitry 360 may also include an ear bud jack to provide communication of the peripheral ear bud with terminal device 300.
The terminal device 300 may facilitate user email, web browsing, streaming media access, etc. via the transmission module 370 (e.g., wi-Fi module), which provides wireless broadband internet access to the user. Although fig. 8 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope of not changing the essence of the application.
Processor 380 is a control center of terminal device 300 that connects the various parts of the overall handset using various interfaces and lines, performs various functions of terminal device 300 and processes data by running or executing software programs and/or modules stored in memory 320, and invoking data stored in memory 320, thereby performing overall monitoring of the handset. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 380.
The terminal device 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components, and in some embodiments, may be logically coupled to the processor 380 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The power supply 190 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (such as a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
detecting whether a user touches a touch screen of the terminal equipment or not;
if the user performs touch operation on the touch screen of the terminal equipment, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation;
and determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present application provides a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the touch recognition methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium can execute the steps in any touch recognition method provided by the embodiment of the present application, so that the beneficial effects that any touch recognition method provided by the embodiment of the present application can achieve can be achieved, and detailed descriptions of the foregoing embodiments are omitted herein.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
In summary, although the present application has been described in terms of the preferred embodiments, the preferred embodiments are not limited to the above embodiments, and various modifications and changes can be made by one skilled in the art without departing from the spirit and scope of the application, and the scope of the application is defined by the appended claims.

Claims (8)

1. A touch recognition method applied to a terminal device, the touch recognition method comprising:
detecting whether a user touches a touch screen of the terminal equipment or not;
if the user performs touch operation on the touch screen of the terminal equipment, determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation;
determining a touch reporting position according to the placement angle, the touch area and the touch position to identify the touch operation, wherein the method specifically comprises the following steps: acquiring a deviation value range corresponding to the placement angle, and judging whether the touch area is not smaller than a preset area; if the touch area is not smaller than the preset area, summing the touch position and the deviation value range to obtain a touch reporting position; and if the touch area is smaller than the preset area, determining a touch reporting position according to the touch position and the deviation value range.
2. The method for touch recognition according to claim 1, wherein the determining the touch reporting position according to the placement angle, the touch area, and the touch position comprises:
judging whether the placement angle is a preset angle or not;
if the placement angle is a preset angle, the touch position is used as a touch reporting position;
and if the placement angle is not the preset angle, determining a touch reporting position according to the placement angle and the touch area.
3. The method of claim 2, wherein determining a touch report location based on the touch location and the range of bias values comprises:
determining a touch center point corresponding to the touch position;
determining a predicted touch position according to the touch center point and a preset radius;
and summing the estimated touch position and the deviation value range to obtain a touch reporting position.
4. The touch recognition method according to any one of claims 1 to 3, further comprising, after determining a touch report position according to the placement angle, the touch area, and the touch position:
executing corresponding operation according to the touch reporting position;
after the corresponding operation is executed, detecting whether a user triggers a return operation within a preset time length;
if the user triggers a return operation within a preset time length, acquiring the current error times and updating the current error times;
when the updated current error times reach preset times, generating a contact correction interface;
and carrying out contact correction on the touch screen based on the contact correction interface.
5. A touch recognition device applied to a terminal device, comprising:
the detection module is used for detecting whether a user touches a touch screen of the terminal equipment or not;
the determining module is used for determining the current placement angle of the terminal equipment, and the touch position and the touch area of the touch operation if the user performs the touch operation on the touch screen of the terminal equipment;
the identification module is used for determining a touch reporting position according to the placement angle, the touch area and the touch position so as to identify the touch operation
The identification module is specifically used for: acquiring a deviation value range corresponding to the placement angle, and judging whether the touch area is not smaller than a preset area; if the touch area is not smaller than the preset area, summing the touch position and the deviation value range to obtain a touch reporting position; and if the touch area is smaller than the preset area, determining a touch reporting position according to the touch position and the deviation value range.
6. The touch recognition device of claim 5, wherein the recognition module specifically comprises:
the judging unit is used for judging whether the placement angle is a preset angle or not;
the first determining unit is used for taking the touch position as a touch reporting position if the placement angle is a preset angle;
and the second determining unit is used for determining a touch reporting position according to the placement angle and the touch area if the placement angle is not a preset angle.
7. A computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the touch recognition method of any one of claims 1 to 4.
8. A terminal device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being for storing instructions and data, the processor being for performing the steps of the touch recognition method of any one of claims 1 to 4.
CN201911035228.3A 2019-10-29 2019-10-29 Touch recognition method and device, storage medium and terminal equipment Active CN110851014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911035228.3A CN110851014B (en) 2019-10-29 2019-10-29 Touch recognition method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911035228.3A CN110851014B (en) 2019-10-29 2019-10-29 Touch recognition method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN110851014A CN110851014A (en) 2020-02-28
CN110851014B true CN110851014B (en) 2023-08-18

Family

ID=69598383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911035228.3A Active CN110851014B (en) 2019-10-29 2019-10-29 Touch recognition method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110851014B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381545A (en) * 2020-11-20 2021-02-19 惠州Tcl移动通信有限公司 Identity authentication method, device, equipment and storage medium
CN113867562B (en) * 2021-08-18 2022-11-15 荣耀终端有限公司 Touch screen point reporting correction method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349955A (en) * 2008-09-03 2009-01-21 嘉兴闻泰通讯科技有限公司 Method for mapping touch screen based on five points calibration
CN101887323A (en) * 2009-05-14 2010-11-17 爱特梅尔公司 Two-dimensional touch sensors
CN102799350A (en) * 2012-06-13 2012-11-28 优视科技有限公司 Method and device for determining focal element
CN104298412A (en) * 2014-11-10 2015-01-21 上海摩软通讯技术有限公司 Mobile terminal and operation calibrating method for touch screen of mobile terminal
CN106406736A (en) * 2016-09-20 2017-02-15 深圳市金立通信设备有限公司 A touch control method and a terminal
CN106775084A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of false-touch prevention method of touch-screen, device and mobile terminal
US9785275B2 (en) * 2015-03-30 2017-10-10 Wacom Co., Ltd. Contact discrimination using a tilt angle of a touch-sensitive surface
WO2018112803A1 (en) * 2016-12-21 2018-06-28 华为技术有限公司 Touch screen-based gesture recognition method and device
WO2019052551A1 (en) * 2017-09-15 2019-03-21 惠州Tcl移动通信有限公司 Terminal device interaction method, storage medium and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6103835B2 (en) * 2012-06-29 2017-03-29 キヤノン株式会社 Information processing apparatus and control method thereof
KR102109649B1 (en) * 2013-06-04 2020-05-13 삼성전자 주식회사 Method for correcting coordination of electronic pen and potable electronic device supporting the same

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349955A (en) * 2008-09-03 2009-01-21 嘉兴闻泰通讯科技有限公司 Method for mapping touch screen based on five points calibration
CN101887323A (en) * 2009-05-14 2010-11-17 爱特梅尔公司 Two-dimensional touch sensors
CN102799350A (en) * 2012-06-13 2012-11-28 优视科技有限公司 Method and device for determining focal element
CN104298412A (en) * 2014-11-10 2015-01-21 上海摩软通讯技术有限公司 Mobile terminal and operation calibrating method for touch screen of mobile terminal
US9785275B2 (en) * 2015-03-30 2017-10-10 Wacom Co., Ltd. Contact discrimination using a tilt angle of a touch-sensitive surface
CN106406736A (en) * 2016-09-20 2017-02-15 深圳市金立通信设备有限公司 A touch control method and a terminal
CN106775084A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of false-touch prevention method of touch-screen, device and mobile terminal
WO2018112803A1 (en) * 2016-12-21 2018-06-28 华为技术有限公司 Touch screen-based gesture recognition method and device
WO2019052551A1 (en) * 2017-09-15 2019-03-21 惠州Tcl移动通信有限公司 Terminal device interaction method, storage medium and terminal device

Also Published As

Publication number Publication date
CN110851014A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN111290794B (en) Screen awakening method and device, storage medium and mobile terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
WO2018166204A1 (en) Method for controlling fingerprint recognition module, and mobile terminal and storage medium
CN111443803B (en) Mode switching method and device, storage medium and mobile terminal
CN111654902B (en) Method and device for reducing GPS signal interference of mobile terminal and mobile terminal
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN110851014B (en) Touch recognition method and device, storage medium and terminal equipment
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN109639370B (en) Near field communication antenna detection method and device, mobile terminal and storage medium
CN108388400B (en) Operation processing method and mobile terminal
CN111596793B (en) Anti-misoperation method and system, storage medium and terminal equipment
CN111651030B (en) Sensor detection method and device, storage medium and mobile terminal
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN111049510B (en) Touch key, control method and electronic equipment
CN112312542B (en) Ephemeris information collection method, device, storage medium and mobile terminal
CN110908586A (en) Keyboard display method and device and terminal equipment
CN111083288B (en) Screen control method and device, terminal equipment and storage medium
CN111966206B (en) Power saving control method and device for fingerprint sensor and mobile terminal
CN109672242B (en) Terminal charging control method and device and storage medium
CN111654577A (en) Emergency call method, device, storage medium and mobile terminal
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN109995441B (en) Communication information processing method, device and 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