CN110851014A - Touch identification method and device, storage medium and terminal equipment - Google Patents

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

Info

Publication number
CN110851014A
CN110851014A CN201911035228.3A CN201911035228A CN110851014A CN 110851014 A CN110851014 A CN 110851014A CN 201911035228 A CN201911035228 A CN 201911035228A CN 110851014 A CN110851014 A CN 110851014A
Authority
CN
China
Prior art keywords
touch
area
determining
preset
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.)
Granted
Application number
CN201911035228.3A
Other languages
Chinese (zh)
Other versions
CN110851014B (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.)
JRD Communication Shenzhen Ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen 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

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
    • 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 touch identification device, a storage medium and a terminal device, 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 touches 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 placing direction, the touch area and the touch position so as to identify the touch operation, so that the touch position can still be accurately detected when the touch screen has a contact deviation phenomenon, and the detection accuracy is high.

Description

Touch identification 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 and apparatus, 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 indispensable life tools for people.
At present, a smart phone integrates various functions such as browsing a webpage, photographing and shooting, listening to music, playing games and making friends, in addition to traditional contact functions such as mobile communication and sending short messages. With the increasing level of the intelligent mobile phone, people rely on the smart mobile phone more and more, and in daily work and life of many people, the smart mobile phone almost follows the shape and the image, and in the use process of the smart mobile phone, the touch sensing function of the touch screen is important, but most of the touch screens of the smart mobile phones have a contact point deviation phenomenon in a non-horizontal direction, that is, the touch screens have certain deviation on the detection of the position of a user touch point, so that the use of the smart mobile phone is influenced.
Disclosure of Invention
The embodiment of the application provides a touch identification method, a touch identification device, a storage medium and a terminal device, which can still accurately detect the position of a contact point when the contact point of a touch screen deviates, and have a 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 a user touches a 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 placing direction, the touch area and the touch position so as to identify the touch operation.
The embodiment of the present application further provides a touch recognition device, which is applied to a terminal device, and the touch recognition device includes:
the detection module is used for detecting whether a user touches the touch screen of the terminal equipment or not;
the terminal equipment comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the current placing angle of the terminal equipment, the touch position and the touch area of the touch operation if a user touches the touch screen of the terminal equipment;
and the identification module is used for determining a touch reporting position according to the placing direction, 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 placing 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 placing angle is a preset angle;
and the second determining unit is used for determining the touch reporting position according to the placing angle and the touch area if the placing angle is not a preset angle.
Wherein the second determining unit is specifically configured to:
obtaining a deviation value range corresponding to the placing 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 the 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 central point corresponding to the touch position;
determining an estimated touch position according to the touch central point and a preset radius;
and summing the estimated touch position and the deviation value range to obtain a touch reporting position.
Wherein the touch recognition device further comprises a correction module configured to:
after determining a touch reporting position according to the placing direction, 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;
touch point correction is performed on the touch screen based on the touch point correction interface.
The embodiment of the application also provides a computer readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any one of the touch recognition methods.
The embodiment of the application further provides terminal equipment, 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 identification method.
According to the touch identification method, the touch identification device, the storage medium and the terminal device, whether a user touches the touch screen of the terminal device is detected, if the user touches the touch screen of the terminal device, the current placing angle of the terminal device, the touch position and the touch area of the touch operation are determined, and the touch reporting position is determined according to the placing direction, the touch area and the touch position to identify the touch operation.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic 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 provided in an embodiment of the present application.
Fig. 3 is another schematic 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 technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
A touch identification method 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 touches 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 placing direction, the touch area and the touch position so as to identify the touch operation.
As shown in fig. 1, fig. 1 is a schematic flow chart of a touch recognition method provided in an embodiment of the present application, where the touch recognition method is applied to a terminal device, and a specific flow may be as follows:
s101, detecting whether a user touches the touch screen of the terminal device, if so, executing the following step S102, and if not, re-detecting.
In this embodiment, the touch operation mainly includes clicking and pressing, and when the touch screen in the terminal device starts the touch function, the touch screen detects whether there is an external force operation such as clicking or pressing on the touch screen, and if so, the user is considered to have performed the touch operation. The touch screen mainly comprises two types, namely a resistance type touch screen and a capacitance type touch screen, wherein the resistance type touch screen is controlled by pressure induction, and the capacitance type touch screen works by current induction of a human body.
And 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 a three-dimensional space, and referring to fig. 2, a three-dimensional space coordinate system xyz may be established with a ground plane (i.e., a horizontal plane when the display screen is placed horizontally) as a plane where an xy axis is located, a direction where gravity and a center of the ground are located as a Z axis, and a screen center of the display screen as a coordinate origin O, and the angle of the terminal device in the xyz coordinate system is determined, that is, the placement angle.
Since the actual contact area is not a single point but an area every time the user clicks or presses on the touch screen with a finger, the touch position is usually the coordinate position of an area surrounded by a plurality of pixel points, i.e., the area of the area surrounded by the pixel points.
And S103, determining a touch reporting position according to the placing direction, 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 placing angle is a preset angle or not;
if the placing angle is a preset angle, taking the touch position as a touch reporting position;
and if the placing angle is not the preset angle, determining the touch reporting position according to the placing angle and the touch area.
In this embodiment, the preset angle may be that the z-axis is 0 °, the xy plane is an arbitrary angle, that is, the terminal device is placed horizontally, in a normal case, when the touch screen detects the contact position in the horizontal direction, the deviation phenomenon is less, and the detected touch position can be directly reported, and when the contact position in the non-horizontal direction (for example, in the vertical direction) is detected, the deviation phenomenon is more obvious, so that the touch position cannot be directly reported, and needs to be adjusted.
Further, the step of determining the touch reporting position according to the placement angle and the touch area may specifically include:
obtaining a deviation value range corresponding to the placing 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 the touch reporting position according to the touch position and the deviation value range.
In this embodiment, the offset value range may be stored in advance, for example, a user may set a corresponding offset value range for each placement angle in advance, or the offset value range may be calculated by a preset algorithm, for example, a calculation method for storing an offset value range related to a placement angle in the terminal device in advance. 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 fact that the contact area between the finger of the user and the touch screen is too small is indicated, the finger belongs to abnormal contact, and when the actual touch area is larger than or equal to the preset area, the fact that the finger of the user and the touch screen belongs to normal contact is indicated.
For example, the step of "determining the touch reporting position according to the touch position and the deviation value range" may specifically include:
determining a touch central point corresponding to the touch position;
determining an estimated touch position according to the touch central 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 predetermined radius is set by default, and is generally related to the area of the human finger. When the touch area is too small, in order to improve the detection accuracy, the touch center point of the touch position can be determined firstly, then the touch center point is used as the center of a circle, the preset radius is used as the radius to draw a circular area, and the circular area is used as the estimated touch position, so that a proper touch area can be ensured, and the identification 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 a return operation within a preset time length, acquiring the current error times, and updating the current error times;
when the updated current error frequency reaches a preset frequency, generating a contact correction interface;
touch point correction is performed on the touch screen based on the touch point correction interface.
In this embodiment, the corresponding operation mainly depends on the display content at the touch reporting position on the display interface, and the display content may be a certain application icon, a certain key, or other content. The preset time period may be 2 seconds or 3 seconds, which is generally less than the time period required for a user to normally read a page. The current error frequency refers to the accumulated frequency of triggering the return operation within the preset time length in the past, and the updating method is to increase the current error frequency once, generally, for the first detection, the current error frequency is 0.
After the terminal device executes a certain corresponding operation according to the touch reporting position, if the user triggers a return operation in a short time, it is very likely that the touch reporting position is not the position that the user wants to touch, and there is a judgment error, and once the judgment error occurs for a large number of times, for example, a preset number of times (for example, 10 times), it can be considered that the touch screen cannot normally sense and a touch point needs to be corrected. The contact point correction interface may be an interface for guiding a user to perform contact point position correction in the horizontal direction and the vertical direction, and some prompt information may be provided thereon.
Therefore, the touch identification method provided by the embodiment is applied to a terminal device, and is used for detecting whether a user touches a touch screen of the terminal device, determining the current placement angle of the terminal device, the touch position and the touch area of the touch operation if the user touches the touch screen of the terminal device, and determining the touch reporting position according to the placement direction, the touch area and the touch position to identify the touch operation, so that when a contact offset phenomenon occurs on the touch screen, the contact position detection can still be accurately performed, the detection accuracy is high, and the detection effect is good.
According to the method described in the above embodiments, the present embodiment will be further described in detail by applying the touch recognition method to a terminal device.
Referring to fig. 3, the flow of the touch recognition method includes:
s201, detecting whether a user touches the touch screen of the terminal device, if so, executing the following step S202, and if not, 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 placing angle is a preset angle, if so, taking the touch position as a touch reporting position, and if not, executing the following step S204.
And S204, acquiring a deviation value range corresponding to the placing angle, and 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.
And S205, summing the touch position and the deviation value range to obtain a touch reporting position.
S206, determining a touch central point corresponding to the touch position, determining an estimated touch position according to the touch central point and a preset radius, and then summing the estimated touch position and the deviation value range to obtain a touch reporting position.
S207, corresponding operation is executed according to the touch reporting position, then whether a user triggers a return operation within a preset time length is detected, if yes, the following step S208 is executed, and if not, no operation is executed.
S208, obtaining the current error times, updating the current error times, generating a touch point correction interface when the updated current error times reach the preset times, and performing touch point correction on the touch screen based on the touch point correction interface.
For example, when a user clicks a touch screen, the terminal device may detect a current placement angle of the terminal device, a touch position and a touch area of the user, and then determine which strategy is adopted to determine a reporting position for reporting according to the placement angle, for example, when the terminal device is detected to be horizontally placed, the touch position may be directly reported, when the terminal device is not horizontally placed, the touch position needs to be adjusted and then reported, for example, when the touch area is smaller, an estimated touch position with a proper area may be estimated first, and then the estimated touch position is reported after being corrected, and when the touch area is proper, the touch position may be directly corrected and then reported. After the terminal device executes the corresponding operation according to the reported position, it may further determine whether the reported position is the true touch position of the user, for example, by detecting whether the user triggers a return operation in a short time, and count the number of times of accumulation of the previous true touch position of the non-user, and once the number of times of accumulation is large, it indicates that the sensing error of the touch screen is large, at this time, the touch point of the touch screen is corrected, so as to ensure the normal operation of the touch sensing.
According to the methods described in the above embodiments, the present embodiment will be further described from the perspective of a touch recognition device, which may be specifically implemented as a stand-alone entity.
Referring to fig. 4, fig. 4 specifically describes that the touch recognition apparatus provided in the embodiment of the present application is applied to a terminal device, where the terminal device may include a device with a touch screen, such as a mobile phone, a tablet computer, and a personal PC, and the terminal device may include: a detection module 10, a determination module 20 and an identification module 30, wherein:
(1) detection module 10
The detecting module 10 is configured to detect whether a user touches a touch screen of the terminal device.
In this embodiment, the touch operation mainly includes clicking and pressing, and when the touch screen in the terminal device starts the touch function, the touch screen detects whether there is an external force operation such as clicking or pressing on the touch screen, and if so, the user is considered to have performed the touch operation. The touch screen mainly comprises two types, namely a resistance type touch screen and a capacitance type touch screen, wherein the resistance type touch screen is controlled by pressure induction, and the capacitance type touch screen works by current induction of a human body.
(2) Determination module 20
The determining module 20 is configured to determine, if a 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 placing angle is an angle in a three-dimensional space, please refer to fig. 2, for an xyz coordinate system of the three-dimensional space, a ground plane (i.e., a horizontal plane when the display screen is placed horizontally) may be taken as a plane where an xy axis is located, and a direction where gravity and a centroid are located is taken as a Z axis, so as to determine an angle of the terminal device in the xyz coordinate system of the three-dimensional space, that is, the placing angle.
Since the actual contact area is not a single point but an area every time the user clicks or presses on the touch screen with a finger, the touch position is usually the coordinate position of an area surrounded by a plurality of pixel points, i.e., the area of the area surrounded by the pixel points.
(3) Identification module 30
And the identification module 30 is configured to determine a touch reporting position according to the placement direction, the touch area, and the touch position, so as to identify the touch operation.
For example, referring to fig. 5, the identification module 30 specifically includes:
a judging unit 31 for judging whether the placing 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;
the second determining unit 33 is configured to determine the touch reporting position according to the placement angle and the touch area if the placement angle is not the preset angle.
In this embodiment, the preset angle may be that the z-axis is 0 °, the xy plane is an arbitrary angle, that is, the terminal device is placed horizontally, in a normal case, when the touch screen detects the contact position in the horizontal direction, the deviation phenomenon is less, and the detected touch position can be directly reported, and when the contact position in the non-horizontal direction (for example, in the vertical direction) is detected, the deviation phenomenon is more obvious, so that the touch position cannot be directly reported, and needs to be adjusted.
Further, the second determining unit 33 is specifically configured to:
obtaining a deviation value range corresponding to the placing 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 the touch reporting position according to the touch position and the deviation value range.
In this embodiment, the offset value range may be stored in advance, for example, a user may set a corresponding offset value range for each placement angle in advance, or the offset value range may be calculated by a preset algorithm, for example, a calculation method for storing an offset value range related to a placement angle in the terminal device in advance. 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 fact that the contact area between the finger of the user and the touch screen is too small is indicated, the finger belongs to abnormal contact, and when the actual touch area is larger than or equal to the preset area, the fact that the finger of the user and the touch screen belongs to normal contact is indicated.
For example, the second determining unit 33 is specifically configured to:
determining a touch central point corresponding to the touch position;
determining an estimated touch position according to the touch central 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 predetermined radius is set by default, and is generally related to the area of the human finger. When the touch area is too small, in order to improve the detection accuracy, the touch center point of the touch position can be determined firstly, then the touch center point is used as the center of a circle, the preset radius is used as the radius to draw a circular area, and the circular area is used as the estimated touch position, so that a proper touch area can be ensured, and the identification accuracy is improved.
In addition, referring to fig. 6, the touch recognition device further includes a correction module 40, configured to:
after determining the touch reporting position according to the placing direction, 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 frequency reaches a preset frequency, generating a contact correction interface;
touch point correction is performed on the touch screen based on the touch point correction interface.
In this embodiment, the corresponding operation mainly depends on the display content at the touch reporting position on the display interface, and the display content may be a certain application icon, a certain key, or other content. The preset time period may be 2 seconds or 3 seconds, which is generally less than the time period required for a user to normally read a page. The current error frequency refers to the accumulated frequency of triggering the return operation within the preset time length in the past, and the updating method is to increase the current error frequency once, generally, for the first detection, the current error frequency is 0.
After the terminal device executes a certain corresponding operation according to the touch reporting position, if the user triggers a return operation in a short time, it is very likely that the touch reporting position is not the position that the user wants to touch, and there is a judgment error, and once the judgment error occurs for a large number of times, for example, a preset number of times (for example, 10 times), it can be considered that the touch screen cannot normally sense and a touch point needs to be corrected. The contact point correction interface may be an interface for guiding a user to perform contact point position correction in the horizontal direction and the vertical direction, and some prompt information may be provided thereon.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
It can be known from the foregoing that, the touch recognition apparatus provided in this embodiment is applied to a terminal device, and detects whether a user performs a touch operation on a touch screen of the terminal device through the detection module 10, if the user performs the touch operation on the touch screen of the terminal device, the determination module 20 determines a current placement angle of the terminal device, 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 direction, the touch area and the touch position to recognize the touch operation, so that when a contact offset phenomenon occurs on the touch screen, contact position detection can still be accurately performed, detection accuracy is high, and a detection effect is good.
In addition, the embodiment of the application further provides a terminal device, and the terminal device can be a smart phone, a tablet computer and other devices. As shown in fig. 7, the terminal device 200 includes a processor 201 and 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 various parts of the entire terminal device by 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 memory partitions, the plurality of memory partitions includes a system partition and a target partition, the processor 201 in the terminal device 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
detecting whether a user touches a touch screen of the terminal equipment or not;
if the user touches 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 placing direction, the touch area and the touch position so as to identify the touch operation.
Fig. 8 is a block diagram showing a specific structure of a terminal device according to an embodiment of the present invention, where the terminal device may be used to implement the touch recognition method provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and 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 so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise 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 Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), wireless fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be configured to store software programs and modules, such as program instructions/modules corresponding to the automatic light supplement system and method for front-facing camera photographing in the foregoing embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the function of automatic light supplement for front-facing camera photographing. The 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 located remotely from 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 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 screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means 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 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by 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, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 8, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for 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 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. 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 not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, 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 (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, 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, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
detecting whether a user touches a touch screen of the terminal equipment or not;
if the user touches 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 placing direction, the touch area and the touch position so as to identify the touch operation.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the touch recognition methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any touch recognition method provided by the embodiment of the present invention, the beneficial effects that can be achieved by any touch recognition method provided by the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (10)

1. A touch identification method is applied to terminal equipment and is characterized by comprising the following steps:
detecting whether a user touches a touch screen of the terminal equipment or not;
if a user touches a 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 placing direction, the touch area and the touch position so as to identify the touch operation.
2. The touch recognition method of claim 1, wherein determining the touch reporting position according to the placement direction, the touch area, and the touch position comprises:
judging whether the placing angle is a preset angle or not;
if the placing angle is a preset angle, taking the touch position as a touch reporting position;
and if the placing angle is not a preset angle, determining the touch reporting position according to the placing angle and the touch area.
3. The touch recognition method of claim 2, wherein determining the touch reporting position according to the placement angle and the touch area comprises:
obtaining a deviation value range corresponding to the placing 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 the touch reporting position according to the touch position and the deviation value range.
4. The touch recognition method of claim 3, wherein the determining the touch reporting position according to the touch position and the deviation value range comprises:
determining a touch central point corresponding to the touch position;
determining an estimated touch position according to the touch central point and a preset radius;
and summing the estimated touch position and the deviation value range to obtain a touch reporting position.
5. The touch recognition method according to any one of claims 1 to 4, wherein after determining the touch reporting position according to the placement direction, the touch area, and the touch position, the method further comprises:
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;
touch point correction is performed on the touch screen based on the touch point correction interface.
6. A touch recognition device applied to a terminal device is characterized by comprising:
the detection module is used for detecting whether a user touches the touch screen of the terminal equipment or not;
the terminal equipment comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining the current placing angle of the terminal equipment, the touch position and the touch area of the touch operation if a user touches the touch screen of the terminal equipment;
and the identification module is used for determining a touch reporting position according to the placing direction, the touch area and the touch position so as to identify the touch operation.
7. The touch recognition device of claim 6, wherein the recognition module specifically comprises:
the judging unit is used for judging whether the placing 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 placing angle is a preset angle;
and the second determining unit is used for determining the touch reporting position according to the placing angle and the touch area if the placing angle is not a preset angle.
8. The touch recognition device according to claim 7, wherein the second determination unit is specifically configured to:
obtaining a deviation value range corresponding to the placing 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 the touch reporting position according to the touch position and the deviation value range.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the touch recognition method of any of claims 1 to 5.
10. A terminal device, comprising a processor and a memory, wherein the processor is electrically connected to the memory, and the memory is used for storing instructions and data, and the processor is used for executing the steps of the touch recognition method according to any one of claims 1 to 5.
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 true CN110851014A (en) 2020-02-28
CN110851014B 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)

Cited By (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
CN113867562A (en) * 2021-08-18 2021-12-31 荣耀终端有限公司 Touch screen point reporting correction method and device and electronic equipment

Citations (11)

* 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
US20140002395A1 (en) * 2012-06-29 2014-01-02 Canon Kabushiki Kaisha Information processing apparatus and control method
US20140354589A1 (en) * 2013-06-04 2014-12-04 Samsung Electronics Co., Ltd. Method for correcting coordinates of portable electronic device using electronic pen
CN104298412A (en) * 2014-11-10 2015-01-21 上海摩软通讯技术有限公司 Mobile terminal and operation calibrating method for touch screen of mobile terminal
US20160291760A1 (en) * 2015-03-30 2016-10-06 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

Patent Citations (12)

* 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
US20140002395A1 (en) * 2012-06-29 2014-01-02 Canon Kabushiki Kaisha Information processing apparatus and control method
US20140354589A1 (en) * 2013-06-04 2014-12-04 Samsung Electronics Co., Ltd. Method for correcting coordinates of portable electronic device using electronic pen
CN104298412A (en) * 2014-11-10 2015-01-21 上海摩软通讯技术有限公司 Mobile terminal and operation calibrating method for touch screen of mobile terminal
US20160291760A1 (en) * 2015-03-30 2016-10-06 Wacom Co., Ltd. Contact discrimination using a tilt angle of a touch-sensitive surface
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

Cited By (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
CN113867562A (en) * 2021-08-18 2021-12-31 荣耀终端有限公司 Touch screen point reporting correction method and device and electronic equipment

Also Published As

Publication number Publication date
CN110851014B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
US11868604B2 (en) Display processing method and apparatus
WO2018166204A1 (en) Method for controlling fingerprint recognition module, and mobile terminal and storage medium
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN111443803B (en) Mode switching method and device, storage medium 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
US20190245362A1 (en) Charging Protection Method, Terminal, and Charger
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
CN110958345B (en) Method and device for detecting rear cover of mobile terminal and computer readable storage medium
CN111045737A (en) Equipment identifier acquisition method and device, terminal equipment and storage medium
CN111083288B (en) Screen control method and device, terminal equipment and storage medium
CN112312542B (en) Ephemeris information collection method, device, storage medium 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
CN112367428A (en) Electric quantity display method and system, 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
CN112199050A (en) Storage method, device, storage medium and terminal equipment
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN111163223A (en) Flash lamp control method and device, storage medium and terminal equipment
CN111131614A (en) Method and system for preventing mistaken call answering of terminal equipment, storage medium and terminal equipment
CN109995441B (en) Communication information processing method, device and storage medium
CN109660664B (en) Event 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