CN107390931B - Response control method and device for touch operation, storage medium and mobile terminal - Google Patents

Response control method and device for touch operation, storage medium and mobile terminal Download PDF

Info

Publication number
CN107390931B
CN107390931B CN201710618437.5A CN201710618437A CN107390931B CN 107390931 B CN107390931 B CN 107390931B CN 201710618437 A CN201710618437 A CN 201710618437A CN 107390931 B CN107390931 B CN 107390931B
Authority
CN
China
Prior art keywords
touch operation
preset
trigger area
preset touch
touch
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.)
Expired - Fee Related
Application number
CN201710618437.5A
Other languages
Chinese (zh)
Other versions
CN107390931A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710618437.5A priority Critical patent/CN107390931B/en
Publication of CN107390931A publication Critical patent/CN107390931A/en
Application granted granted Critical
Publication of CN107390931B publication Critical patent/CN107390931B/en
Expired - Fee Related 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/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a response control method and device for touch operation, a storage medium and a mobile terminal. The method comprises the following steps: detecting a preset touch operation, wherein the preset touch operation comprises a click operation or a long-time press operation; acquiring a touch position of a preset touch operation; if the touch position is determined to be in the non-trigger area corresponding to the preset touch operation, determining a target trigger area closest to the touch position from the trigger area corresponding to the preset touch operation; and controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area. By adopting the technical scheme, the embodiment of the invention can carry out intelligent correction on the trigger object when the touch operation of the specified type is in the wrong input position.

Description

Response control method and device for touch operation, storage medium and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of touch control, in particular to a response control method and device for touch operation, a storage medium and a mobile terminal.
Background
Currently, a touch screen is a standard configuration of most mobile terminals, and a terminal user can easily and quickly implement various operations on the terminal through the touch screen.
There are many common touch operations based on a touch screen, such as a click operation, a long-press operation, a slide operation, a drag operation, and the like, and different events or display contents can be triggered by different touch operations. However, there may be a case where a user inputs an erroneous touch operation due to the user's own reason or external action in the process of using the mobile terminal, thereby affecting the response of the mobile terminal to the user's true intention. Therefore, the existing touch operation response scheme needs to be further optimized.
Disclosure of Invention
The embodiment of the invention provides a response control method and device for touch operation, a storage medium and a mobile terminal, which can optimize a touch operation response scheme based on a touch screen.
In a first aspect, an embodiment of the present invention provides a response control method for touch operations, including:
detecting a preset touch operation, wherein the preset touch operation comprises a click operation or a long-time press operation;
acquiring a touch position of the preset touch operation;
if the touch position is determined to be in a non-trigger area corresponding to the preset touch operation, determining a target trigger area closest to the touch position from the trigger area corresponding to the preset touch operation;
and controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area.
In a second aspect, an embodiment of the present invention provides a response control apparatus for touch operations, including:
the operation detection module is used for detecting preset touch operation, and the preset touch operation comprises click operation or long-time press operation;
the position acquisition module is used for acquiring a touch position of a preset touch operation when the operation detection module detects the preset touch operation;
a target trigger area obtaining module, configured to determine, when it is determined that the touch position is in a non-trigger area corresponding to the preset touch operation, a target trigger area closest to the touch position from a trigger area corresponding to the preset touch operation;
and the response control module is used for controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a response control method for a touch operation according to an embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements a response control method for a touch operation according to an embodiment of the present invention when executing the computer program.
According to the response control scheme of the touch operation provided by the embodiment of the invention, when the preset touch operation is detected, the touch position of the preset touch operation is obtained, if the touch position is determined to be in the non-trigger area corresponding to the preset touch operation, the target trigger area corresponding to the preset touch operation closest to the touch position is obtained, and the target trigger area is controlled to respond to the preset touch operation so as to trigger the event corresponding to the target trigger area. The user generally does not input the preset touch operation in the non-trigger area of the preset touch operation, if the input of the user is detected, the input is indicated to be possible for the user to miss the position, and by adopting the technical scheme, the intelligent correction of the trigger object can be carried out when the touch operation of the specified type misses the position.
Drawings
Fig. 1 is a schematic flowchart of a response control method for touch operations according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a display interface according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another response control method for touch operations according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another response control method for touch operations according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating another response control method for touch operations according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a desktop according to an embodiment of the present invention;
fig. 8 is a block diagram of a touch response control apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart illustrating a method for controlling a response to a touch operation according to an embodiment of the present invention, where the method may be performed by a control device for an on-screen display, where the device may be implemented by software and/or hardware, and may be generally integrated in a mobile terminal. As shown in fig. 1, the method includes:
step 101, detecting a preset touch operation.
The preset touch operation comprises a click operation or a long-time press operation.
For example, the mobile terminal in the embodiment of the present invention may include a mobile device provided with a touch screen, such as a mobile phone, a tablet computer, and a media player.
The touch screen adopted by the existing mobile terminal comprises a resistance type touch screen, a capacitance type touch screen, a piezoelectric type touch screen and the like, when a user touches the touch screen, the touch screen can detect touch information, and then the touch operation of the user is identified. Taking a capacitive touch screen as an example, before the mobile terminal leaves a factory, is started or at other time when the touch screen needs to be calibrated, the mobile terminal records reference capacitance values of all positions of the touch screen when the touch screen is not touched, when a user touches the touch screen, the touch screen senses the change of capacitance, and when a change value (a difference value between a current capacitance value and the reference capacitance value, which is usually an absolute value) exceeds a touch determination threshold value, it indicates that the touch operation of the user is detected, a touch point is reported, and a screen touch event is reported. The touch event may include various types, such as an ACTION _ DOWN, an ACTION _ MOVE, and an ACTION _ UP, etc., wherein the DOWN event is a start event of a touch operation, and a specific type of the touch operation, such as a click operation, a long press operation, a slide operation, and a drag operation, etc., can be analyzed according to the touch events.
For example, when a user inputs an erroneous touch operation due to the user's own reason or external action during using the mobile terminal, for example, the user's finger is thick or in a bumpy environment when inputting the touch operation, the actual touch position of the finger on the touch screen may deviate from the position that the user really wants to touch, so that the mobile terminal cannot accurately trigger an event that the user wants to trigger. The touch operations which are easy to occur in the above situations include at least a click operation and a long-time press operation, and the touch positions of the two touch operations are unique and fixed relative to the touch operations such as sliding and the like, so that the intelligent correction can be performed by adopting the mode provided by the embodiment of the invention. Generally, for the click operation, a press-down event and a lift-up event are detected in sequence, and the interval between the press-down event and the lift-up event is less than a first time length, the click operation is considered to be detected, and an event corresponding to the click operation is triggered after the lift-up event is detected; for the long-press operation, when the press-down event is detected and the press-down duration is longer than the second duration, the long-press operation is considered to be detected, and an event corresponding to the long-press operation is triggered after the lift-up event is detected.
And 102, acquiring a touch position of a preset touch operation.
For example, when a user touches the screen, the touch information recognized by the touch screen at least includes a horizontal (x) coordinate and a vertical (y) coordinate of a touch point, and may further include a size (including a length, a width, and the like) of a contact surface, a number of touched fingers, and the like. The touch position may be represented by coordinate information, for example, where the vertex at the lower left corner of the touch screen display area is taken as the origin of coordinates, the width direction is taken as the horizontal axis, the length direction is taken as the vertical axis, and the coordinate information is represented by the numerical values of the horizontal and vertical coordinates.
And 103, if the touch position is determined to be in the non-trigger area corresponding to the preset touch operation, determining a target trigger area closest to the touch position from the trigger area corresponding to the preset touch operation.
For example, display contents such as icons or text links displayed on a touch screen generally correspond to events that can be triggered by touch operations, and these display contents may be marked as trigger objects, the same trigger object may correspond to multiple events, and different events may be triggered by different touch operations. For example, the event corresponding to the desktop icon may be an application program starting event (which may be triggered by a click operation) or an application program editing entering event (which may be triggered by a long-press operation), the event corresponding to the playing icon in the player may be an audio and video file playing, and the event corresponding to the news title link may be an event entering a news detail page. When the event is triggered by a touch operation, the touch operation needs to be applied to the trigger area corresponding to the trigger object, for example, the trigger area corresponding to the icon is generally an area surrounded by an outer frame of the icon (or a rectangular area capable of surrounding the icon), and the trigger area corresponding to the text link is generally an area where the text is located. In other words, the trigger area is an area including a trigger object, and the trigger area corresponding to the preset touch operation is the trigger area including the trigger object, on which the preset touch operation acts when triggering one trigger object. For the preset touch operation, the number of the corresponding trigger areas in the same display interface is generally multiple, some interval areas for isolating the trigger areas may exist among the multiple trigger areas, and the interval areas may be marked as non-trigger areas corresponding to the preset touch operation, that is, when the preset touch operation acts on the non-trigger areas, an event corresponding to the preset touch operation is not triggered.
In the process of using the mobile terminal, a user generally knows that it is meaningless to input a touch operation in the non-trigger area, so that the user does not intentionally input a preset touch operation in the non-trigger area of the preset touch operation, and if the preset touch operation input by the user is detected in the area, it can be said that the user has not intentionally input a wrong position, and the touch position can be corrected. The reason for the user's wrong position may be that the current touch position should be closer to the position where the user really wants to input the touch operation because the finger is relatively thick or in a bumpy environment when inputting the touch operation, and the trigger area corresponding to the preset touch operation closest to the touch position may be determined as the target trigger area.
Exemplarily, fig. 2 is a schematic diagram of a display interface according to an embodiment of the present invention. As shown in fig. 2, the display interface is a video playing interface, the lower portion of the display interface is a playing control area, which includes a fast-rewinding key, a playing key 201, a fast-forwarding key 202, and a pause key, these keys are used as triggering objects to trigger corresponding events by clicking operations, and the area where the icon of each key is located is a triggering area. A non-trigger area exists between every two keys, for example, a non-trigger area 203 exists between the play key 201 and the fast forward key 202, and it is assumed that the touch position 204 of the click operation is in the non-trigger area 203, and therefore, no event is triggered, and the user does not intentionally click on the non-trigger area 203, so that the possible click position deviates from the position that the user really wants to click on, and it can be seen from the figure that the trigger area corresponding to the click operation closest to the touch position 204 is the area where the play key 201 is located, and therefore, the area where the play key 201 is located is determined to be the target trigger area.
And 104, controlling the target trigger area to respond to a preset touch operation so as to trigger an event corresponding to the target trigger area.
In the embodiment of the invention, the position where the user really wants to input the preset touch operation can be found by determining the target trigger area, and the target trigger area is controlled to respond to the preset touch operation so as to trigger the event corresponding to the target trigger area. As shown in fig. 2, the area of the play button 201 may be controlled to respond to the clicking operation to trigger the play event.
According to the response control scheme of the touch operation provided by the embodiment of the invention, when the preset touch operation is detected, the touch position of the preset touch operation is obtained, if the touch position is determined to be in the non-trigger area corresponding to the preset touch operation, the target trigger area corresponding to the preset touch operation closest to the touch position is obtained, and the target trigger area is controlled to respond to the preset touch operation so as to trigger the event corresponding to the target trigger area. The user generally does not input the preset touch operation in the non-trigger area of the preset touch operation, if the input of the user is detected, the input is indicated to be possible for the user to miss the position, and by adopting the technical scheme, the intelligent correction of the trigger object can be carried out when the touch operation of the specified type misses the position.
In one embodiment, determining a target trigger area closest to the touch position from among the trigger areas corresponding to the preset touch operations includes: and judging whether a trigger area corresponding to the preset touch operation exists in a first preset range with the touch position as the center, if so, acquiring a target trigger area corresponding to the preset touch operation closest to the touch position. For example, the boundary of the first preset range may be a rectangle with a first preset length and width, or a circle with a first preset radius, and the touch position is located at the center of the rectangle or the circle. The position where the user really wants to touch should be closer to the current touch position, if the trigger areas are all far away from the touch position, the user may touch the screen unintentionally, and in this case, if a target trigger area closest to the touch position is found from the trigger areas far away from the touch position, misoperation may be caused. Therefore, the embodiment of the invention can limit the range of searching the target trigger area, and can improve the efficiency of determining the target trigger area while preventing misoperation.
In an embodiment, the detecting of the preset touch operation may specifically include: and detecting a preset touch operation when the mobile terminal is in a motion state. That is, when the mobile terminal is in a motion state, whether the preset touch operation is detected or not is judged, and if yes, the touch position of the preset touch operation is obtained. When the mobile terminal is in a motion state, the possibility of occurrence of a touch position deviation situation is higher, and further optimization can be performed for the situation. For example, the measurement data of the gravity sensor, the acceleration sensor, the gyroscope, and the like may be used to determine whether the mobile terminal is in a motion state and determine a motion direction of the mobile terminal.
For example, the embodiment of the invention is particularly suitable for an application scenario of two-hand operation, namely, a user holds the mobile terminal with one hand and inputs touch operation with the other hand. Optionally, when the user is used to operate with two hands, the intelligent correction function corresponding to the technical scheme of the embodiment of the present invention may be automatically turned on, and after the function is turned on, the mobile terminal may execute the method of the embodiment of the present invention.
Illustratively, the range for determining the target trigger area can be further reduced according to the motion condition of the mobile terminal. Optionally, determining the target trigger area corresponding to the preset touch operation closest to the touch position may include: determining a moving direction of the mobile terminal when a preset touch operation is received; and determining a target trigger area corresponding to the preset touch operation closest to the touch position in the motion direction. When a user is in a bumpy vehicle or the like, the user moves the mobile terminal in a short time when the finger of the user is about to contact the touch screen, the user is difficult to actively adjust the touch position in a short time, so that the actual touch position and the position which the user really wants to touch can be deviated, and the mobile terminal is usually still in motion when a mobile phone of the user touches the touch screen, and some trigger areas which cannot be target trigger areas can be eliminated according to the motion direction. For example, fig. 3 is a schematic diagram of a motion of a mobile terminal according to an embodiment of the present invention, where the determined motion direction is a direction from the top to the bottom of the mobile terminal, and then the actual touch position is higher than the user's expectation, as shown in fig. 3, an expectation position 302 that the user wants to touch is located below an actual touch position 301 when the user touches the screen, and when the touch position 301 is located in a non-trigger area 304, a trigger area closest to the touch position 301 is a first trigger area 303, but since it is determined that the trigger area should be found below the touch position 302 according to the motion direction, the target trigger area is a second trigger area 305. The embodiment of the invention can improve the accuracy of determining the target trigger area through the optimization.
In one embodiment, in order to determine the target trigger area more accurately, the selection of the target trigger area may be performed with reference to the relative displacement of the mobile terminal and the wrist of the user. When a user inputs a click or a long-time pressing operation, the wrist generally has a very small movement amplitude, but the wrist may move with a large amplitude together with the mobile terminal under an external acting force due to jolt of a vehicle or other reasons, so that the displacement factor of the wrist needs to be taken into consideration when a target trigger area is determined. Specifically, first motion data of a mobile terminal and second motion data of a wrist-worn device in a preset time period before a preset touch operation is received can be acquired, and the wrist-worn device is in wireless communication connection with the mobile terminal; determining the relative displacement of the mobile terminal and the wrist wearable device according to the first motion data and the second motion data; determining a range of the alternative area according to the relative displacement and the touch position; and determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operation in the range of the candidate area.
For example, the wrist-worn device may be a smart band or a smart watch, and the user may wear the wrist-worn device on the wrist of the hand where the touch operation is frequently input, and then make the wrist-worn device establish a wireless communication connection with the mobile terminal through a wireless communication manner such as bluetooth or infrared. The following description will be given taking a smart watch as an example.
For example, the mobile terminal and the smart watch can acquire motion data in real time through sensors such as a gravity sensor, an acceleration sensor and a gyroscope, and the mobile terminal acquires respective motion data in a preset time period before receiving a preset touch operation, so as to analyze relative displacement of the mobile terminal and the smart watch. The process from the time the user brings the finger close to the touch screen to the time the user touches the touch screen is typically relatively short, so the preset time period can be set to be shorter, such as 0.5 seconds. For example, the motion data may include velocity, acceleration, and the like. The displacement of the mobile terminal and the displacement of the smart watch can be calculated according to the first motion data and the second motion data respectively, the displacements can be expressed by vectors, the mobile terminal corresponds to the first vector, the smart watch corresponds to the second vector, and then the vector difference obtained by subtracting the second vector from the first vector represents the relative displacement of the mobile terminal and the smart watch.
Illustratively, the relative displacement is expressed by a vector, and the determining the range of the candidate region according to the relative displacement and the touch position includes: and superposing the relative displacement on the basis of the touch position to obtain a target central point, and determining a second preset range taking the target central point as a center as a range of the alternative area. After the touch position is preliminarily corrected according to the relative displacement, the expected position which the user wants to touch can be determined to be near the target central point, and then the target trigger area closest to the touch position is continuously determined within the second preset range of the target central point. The boundary of the second preset range may be a rectangle with a second preset length and width, or a circle with a second preset radius, and the target center point is located at the center of the rectangle or the circle.
The optimization has the advantages that the candidate range of the target trigger area is preliminarily determined according to the relative displacement of the mobile terminal and the wrist wearable device, and then the area which the user really wants to trigger is determined, so that the accuracy of intelligently correcting the trigger object can be further improved.
In one embodiment, the detecting of the preset touch operation may include: the method comprises the steps that when a display interface of the mobile terminal is a desktop, preset touch operation is detected, a target trigger area corresponding to the preset touch operation comprises desktop icon display areas, and a non-trigger area corresponding to the preset touch operation comprises a wallpaper area between the desktop icon display areas. Specifically, when the display interface of the mobile terminal is detected to be the desktop, whether a preset touch operation is detected or not is judged, and if yes, the touch position of the preset touch operation is obtained. Generally, a user can start a corresponding application program by clicking a desktop icon, and if the user is in a bumpy environment for a long time, the user may need to try several times to successfully start the application program which the user really wants to start, which seriously affects the operation efficiency. When the mobile terminal displays the desktop, the technical scheme of the embodiment of the invention can enable the user to quickly and accurately start the application program and enhance the intellectualization of the mobile terminal.
Fig. 4 is a schematic flow chart of another response control method for touch operation according to an embodiment of the present invention, where the method includes the following steps:
step 401, detecting that the mobile terminal is in a motion state.
Step 402, judging whether a preset touch operation is detected, if so, executing step 403; otherwise, step 402 is repeated.
And step 403, acquiring a touch position of the preset touch operation.
And step 404, determining the motion direction of the mobile terminal when the preset touch operation is received.
And 405, determining a target trigger area which is closest to the touch position in the motion direction from the trigger areas corresponding to the preset touch operation.
And step 406, controlling the target trigger area to respond to a preset touch operation so as to trigger an event corresponding to the target trigger area.
The embodiment of the invention can accurately determine the trigger object which the user really wants to trigger when presetting the touch operation mistake input position, realize the intelligent correction of the trigger object and ensure that the event which the user really wants to be triggered can be timely and accurately triggered.
Fig. 5 is a schematic flowchart of another response control method for touch operation according to an embodiment of the present invention, where the method is applied to an application scenario in which a desktop icon is triggered by intelligent modification, and specifically includes the following steps:
step 501, detecting that the mobile terminal is in a motion state and a display interface of the mobile terminal is a desktop.
Step 502, judging whether a click operation is detected, if so, executing step 503; otherwise, step 502 is repeated.
And step 503, acquiring a touch position of the click operation.
And step 504, determining the motion direction of the mobile terminal when the click operation is received.
And step 505, determining a target icon display area closest to the touch position in the motion direction from the icon display areas.
Step 506, controlling the target icon display area to respond to the preset touch operation so as to start the application program corresponding to the target icon display area.
According to the embodiment of the invention, when a user clicks a wallpaper area outside an icon display area in a desktop, the icon which the user really wants to click is intelligently determined, and then the application program which the user really wants to start is started.
Fig. 6 is a schematic flow chart of another response control method for touch operation according to an embodiment of the present invention, where the method is particularly suitable for intelligently correcting an application scenario of a trigger desktop icon in a bumpy environment such as a vehicle, and specifically includes the following steps:
step 601, starting a function of the modified trigger object under a two-hand operation mode according to user operation.
Step 602, establishing a wireless communication connection with the smart watch.
Illustratively, the smart watch and the mobile terminal establish wireless communication connection through bluetooth.
Step 603, detecting that the mobile terminal is in a motion state and a display interface of the mobile terminal is a desktop.
Step 604, judging whether a click operation is detected, if so, executing step 605; otherwise, step 604 is repeated.
And step 605, acquiring a touch position of the click operation.
Step 606, obtaining first motion data of the mobile terminal and second motion data of the smart watch in a preset time period before the click operation is received.
And step 607, determining the relative displacement of the mobile terminal and the smart watch according to the first motion data and the second motion data.
And 608, superposing the relative displacement represented by the vector on the basis of the touch position to obtain a target central point, and determining a second preset range taking the target central point as a center as a range of the candidate area.
And 609, determining a target icon display area closest to the touch position from the icon display areas in the range of the candidate areas.
And step 610, controlling the target icon display area to respond to the click operation so as to start the application program corresponding to the target icon display area.
Fig. 7 is a schematic diagram of a desktop according to an embodiment of the present invention, as shown in fig. 7, a touch position 701 of a click operation is located in a non-trigger area between two icon display areas of WeChat and QQ, a target central point 702 is obtained after superimposing a relative displacement vector between a mobile terminal and a smart watch on the basis of the touch position 701, a circular area with a radius R and a center of the target central point 702 as a circle center is used as an alternative area range 703, two icon display areas of an album and a phone fall within the alternative area range 703, and the album is closer to the touch position 701, so that the icon display area 704 of the album is determined as the target icon display area to indicate an album that a user really wants to click, and the area is controlled to respond to the click operation, and an album application is started.
Fig. 8 is a block diagram of a touch response control apparatus according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and is generally integrated in a mobile terminal, and may control a response of a touch operation by executing a touch response control method. As shown in fig. 8, the apparatus includes:
an operation detection module 801, configured to detect a preset touch operation, where the preset touch operation includes a click operation or a long-time press operation;
a position obtaining module 802, configured to obtain a touch position of a preset touch operation when the operation detection module detects the preset touch operation;
a target trigger area obtaining module 803, configured to determine, when it is determined that the touch position is in a non-trigger area corresponding to the preset touch operation, a target trigger area closest to the touch position from a trigger area corresponding to the preset touch operation;
the response control module 804 is configured to control the target trigger area to respond to the preset touch operation, so as to trigger an event corresponding to the target trigger area.
The touch operation response control device provided in the embodiment of the present invention obtains a touch position of a preset touch operation when the preset touch operation is detected, and if it is determined that the touch position is in a non-trigger area corresponding to the preset touch operation, obtains a target trigger area corresponding to the preset touch operation closest to the touch position, and controls the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area. The user generally does not input the preset touch operation in the non-trigger area of the preset touch operation, if the input of the user is detected, the input is indicated to be possible for the user to miss the position, and by adopting the technical scheme, the intelligent correction of the trigger object can be carried out when the touch operation of the specified type misses the position.
Optionally, the determining, from the trigger areas corresponding to the preset touch operation, a target trigger area closest to the touch position includes: and judging whether a trigger area corresponding to the preset touch operation exists in a first preset range with the touch position as the center, if so, determining a target trigger area closest to the touch position in the first preset range.
Optionally, the detecting of the preset touch operation includes:
and detecting a preset touch operation when the mobile terminal is in a motion state.
Optionally, the determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operations includes:
determining the motion direction of the mobile terminal when the preset touch operation is received;
and determining a target trigger area which is closest to the touch position in the motion direction from the trigger areas corresponding to the preset touch operation.
Optionally, the determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operations includes:
acquiring first motion data of a mobile terminal and second motion data of a wrist wearable device in a preset time period before the preset touch operation is received, wherein the wrist wearable device is in wireless communication connection with the mobile terminal;
determining the relative displacement of the mobile terminal and the wrist-worn device according to the first motion data and the second motion data;
determining a range of the alternative area according to the relative displacement and the touch position;
and determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operation in the range of the candidate area.
Optionally, the relative displacement is represented by a vector, and determining a candidate area range according to the relative displacement and the touch position includes:
superposing the relative displacement on the basis of the touch position to obtain a target central point;
and determining a second preset range taking the target central point as a center as a range of the candidate region.
Optionally, the detecting of the preset touch operation includes:
the method comprises the steps that when a display interface of the mobile terminal is a desktop, preset touch operation is detected, a target trigger area corresponding to the preset touch operation comprises desktop icon display areas, and a non-trigger area corresponding to the preset touch operation comprises a wallpaper area between the desktop icon display areas.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a response control method for touch operations, the method including:
detecting a preset touch operation, wherein the preset touch operation comprises a click operation or a long-time press operation;
acquiring a touch position of the preset touch operation;
if the touch position is determined to be in a non-trigger area corresponding to the preset touch operation, determining a target trigger area closest to the touch position from the trigger area corresponding to the preset touch operation;
and controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present invention is not limited to the response control operation of the touch operation described above, and may also perform related operations in the response control method of the touch operation provided in any embodiment of the present invention.
The embodiment of the invention provides a mobile terminal, and a response control device of touch operation provided by the embodiment of the invention can be integrated in the mobile terminal. Fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 9, the mobile terminal may include: a housing (not shown), a memory 901, a Central Processing Unit (CPU) 902 (also called a processor, hereinafter referred to as CPU), a touch panel 912, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU902 and the memory 901 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 901 is used for storing executable program codes; the CPU902 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 901, so as to implement the following steps:
detecting a preset touch operation, wherein the preset touch operation comprises a click operation or a long-time press operation;
acquiring a touch position of the preset touch operation;
if the touch position is determined to be in a non-trigger area corresponding to the preset touch operation, determining a target trigger area closest to the touch position from the trigger area corresponding to the preset touch operation;
and controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area.
The mobile terminal further includes: peripheral interface 903, RF (Radio Frequency) circuitry 905, audio circuitry 906, speakers 911, power management chip 908, input/output (I/O) subsystems 909, touch screen 912, other input/control devices 910, and external port 904, which communicate via one or more communication buses or signal lines 907.
It should be understood that the illustrated mobile terminal 900 is merely one example of a mobile terminal and that the mobile terminal 900 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the mobile terminal for touch operation response control provided in this embodiment, which is exemplified by a mobile phone.
Memory 901, the memory 901 being accessible by the CPU902, the peripheral interface 903, etc., the memory 901 may comprise high speed random access memory, and may also comprise non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 903, the peripheral interface 903 may connect input and output peripherals of the device to the CPU902 and the memory 901.
An I/O subsystem 909, which I/O subsystem 909 may connect input and output peripherals on the device, such as a touch screen 912 and other input/control devices 910, to the peripheral interface 903. The I/O subsystem 909 may include a display controller 9091 and one or more input controllers 9092 for controlling other input/control devices 910. Where one or more input controllers 9092 receive electrical signals from or send electrical signals to other input/control devices 910, the other input/control devices 910 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 9092 may be connected with any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 912, which is an input interface and an output interface between the user's mobile terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 9091 in the I/O subsystem 909 receives electrical signals from the touch screen 912 or transmits electrical signals to the touch screen 912. The touch screen 912 detects a contact on the touch screen, and the display controller 9091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 912, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 912 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 905 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 905 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 905 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. The RF circuitry 905 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 906 is mainly used to receive audio data from the peripheral interface 903, convert the audio data into an electric signal, and transmit the electric signal to the speaker 911.
The speaker 911 is used to convert the voice signal received by the mobile phone from the wireless network through the RF circuit 905 into sound and play the sound to the user.
And the power management chip 908 is used for supplying power and managing power to the hardware connected with the CPU902, the I/O subsystem and the peripheral interfaces.
According to the mobile terminal provided by the embodiment of the invention, when the input error position is caused by inputting the preset type of touch operation into the non-trigger area, the intelligent correction of the trigger object can be carried out.
The touch operation response control device, the storage medium and the mobile terminal provided in the above embodiments can execute the touch operation response control method provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a response control method of a touch operation provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A response control method for a touch operation, comprising:
detecting a preset touch operation, wherein the preset touch operation comprises a click operation or a long-time press operation;
acquiring a touch position of the preset touch operation;
if the touch position is determined to be in a non-trigger area corresponding to the preset touch operation, determining a target trigger area closest to the touch position from the trigger area corresponding to the preset touch operation;
controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area;
the determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operation includes:
acquiring first motion data of a mobile terminal and second motion data of a wrist wearable device in a preset time period before the preset touch operation is received, wherein the wrist wearable device is in wireless communication connection with the mobile terminal;
determining the relative displacement of the mobile terminal and the wrist wearable device according to the first motion data and the second motion data, wherein the first motion data and the second motion data are the speed and the acceleration acquired in real time;
determining a range of the alternative area according to the relative displacement and the touch position;
and determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operation in the range of the candidate area.
2. The method according to claim 1, wherein the determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operations comprises:
and judging whether a trigger area corresponding to the preset touch operation exists in a first preset range with the touch position as the center, if so, determining a target trigger area closest to the touch position in the first preset range.
3. The method according to claim 1, wherein the detecting of the preset touch operation comprises:
and detecting a preset touch operation when the mobile terminal is in a motion state.
4. The method according to claim 3, wherein the determining a target trigger area closest to the touch position from the trigger areas corresponding to the preset touch operations comprises:
determining the motion direction of the mobile terminal when the preset touch operation is received;
and determining a target trigger area which is closest to the touch position in the motion direction from the trigger areas corresponding to the preset touch operation.
5. The method of claim 1, wherein the relative displacement is represented as a vector, and wherein determining the candidate area range based on the relative displacement and the touch location comprises:
superposing the relative displacement on the basis of the touch position to obtain a target central point;
and determining a second preset range taking the target central point as a center as a range of the candidate region.
6. The method according to any one of claims 1 to 5, wherein the detecting of the preset touch operation comprises:
the method comprises the steps that when a display interface of the mobile terminal is a desktop, preset touch operation is detected, a target trigger area corresponding to the preset touch operation comprises desktop icon display areas, and a non-trigger area corresponding to the preset touch operation comprises a wallpaper area between the desktop icon display areas.
7. A touch-operated response control apparatus, comprising:
the operation detection module is used for detecting preset touch operation, and the preset touch operation comprises click operation or long-time press operation;
the position acquisition module is used for acquiring a touch position of a preset touch operation when the operation detection module detects the preset touch operation;
a target trigger area obtaining module, configured to determine, when it is determined that the touch position is in a non-trigger area corresponding to the preset touch operation, a target trigger area closest to the touch position from a trigger area corresponding to the preset touch operation, where the target trigger area obtaining module is configured to:
acquiring first motion data of a mobile terminal and second motion data of a wrist wearable device in a preset time period before the preset touch operation is received, wherein the wrist wearable device is in wireless communication connection with the mobile terminal;
determining the relative displacement of the mobile terminal and the wrist wearable device according to the first motion data and the second motion data, wherein the first motion data and the second motion data are the speed and the acceleration acquired in real time;
determining a range of the alternative area according to the relative displacement and the touch position;
determining a target trigger area closest to the touch position from a trigger area corresponding to the preset touch operation in the range of the candidate area;
and the response control module is used for controlling the target trigger area to respond to the preset touch operation so as to trigger an event corresponding to the target trigger area.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a response control method for a touch operation according to any one of claims 1 to 6.
9. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements a response control method for a touch operation according to any one of claims 1 to 6 when executing the computer program.
CN201710618437.5A 2017-07-26 2017-07-26 Response control method and device for touch operation, storage medium and mobile terminal Expired - Fee Related CN107390931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710618437.5A CN107390931B (en) 2017-07-26 2017-07-26 Response control method and device for touch operation, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710618437.5A CN107390931B (en) 2017-07-26 2017-07-26 Response control method and device for touch operation, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107390931A CN107390931A (en) 2017-11-24
CN107390931B true CN107390931B (en) 2021-05-18

Family

ID=60341704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710618437.5A Expired - Fee Related CN107390931B (en) 2017-07-26 2017-07-26 Response control method and device for touch operation, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107390931B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108008893A (en) * 2017-12-01 2018-05-08 北京小米移动软件有限公司 Image processing method and device
CN111752444A (en) * 2019-03-29 2020-10-09 杭州海康威视数字技术股份有限公司 Knocking event detection method and device
CN110007800B (en) * 2019-04-10 2020-11-10 广州视源电子科技股份有限公司 Control method, device and equipment of touch operation mode and storage medium
CN111079727B (en) * 2019-06-09 2023-12-22 广东小天才科技有限公司 Click-to-read control method and electronic equipment
CN111966237B (en) * 2020-08-06 2023-06-20 Tcl通讯(宁波)有限公司 Touch compensation method and device for open screen and terminal
CN116540862B (en) * 2022-01-26 2023-12-01 荣耀终端有限公司 Touch operation response method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0279117A (en) * 1988-09-16 1990-03-19 Toshiba Corp Touch panel controller
CN103492987A (en) * 2011-02-19 2014-01-01 大众汽车有限公司 Method and apparatus for providing a user interface, in particular in a vehicle
CN105260044A (en) * 2014-07-18 2016-01-20 国基电子(上海)有限公司 Electronic equipment and touch operation recognition method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8681093B2 (en) * 2008-02-11 2014-03-25 Apple Inc. Motion compensation for screens
US8237665B2 (en) * 2008-03-11 2012-08-07 Microsoft Corporation Interpreting ambiguous inputs on a touch-screen
JP5707745B2 (en) * 2010-06-08 2015-04-30 ソニー株式会社 Image stabilization apparatus, image stabilization method, and program
CN102053754A (en) * 2010-12-31 2011-05-11 东莞宇龙通信科技有限公司 Method and device for processing key area on touch screen
CN103294232A (en) * 2012-02-22 2013-09-11 华为终端有限公司 Touch operation processing method and terminal
CN105094440B (en) * 2015-08-18 2018-10-26 惠州Tcl移动通信有限公司 A kind of touch screen anti-fluttering method, system and mobile terminal based on mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0279117A (en) * 1988-09-16 1990-03-19 Toshiba Corp Touch panel controller
CN103492987A (en) * 2011-02-19 2014-01-01 大众汽车有限公司 Method and apparatus for providing a user interface, in particular in a vehicle
CN105260044A (en) * 2014-07-18 2016-01-20 国基电子(上海)有限公司 Electronic equipment and touch operation recognition method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
防止触摸屏移动设备误操作的新方法及装置研究;戴志强;《电子商务》;20140430;第51-53页 *

Also Published As

Publication number Publication date
CN107390931A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN107390931B (en) Response control method and device for touch operation, storage medium and mobile terminal
US10969903B2 (en) Method, device and mobile terminal for preventing false-touch on touch screen
EP3567478B1 (en) Method for preloading application, storage medium, and terminal
EP3336678B1 (en) Method and electronic device for preventing touch button from being false triggered
CN107294522B (en) Response method and device based on touch key, storage medium and electronic equipment
EP3570163B1 (en) Method for launching application, storage medium, and terminal
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
EP3336679B1 (en) Method and terminal for preventing unintentional triggering of a touch key and storage medium
WO2018107898A1 (en) Method and device for preventing false triggering of touch button, terminal and storage medium
CN106775087B (en) Touch screen control method and device of mobile terminal and mobile terminal
CN110045878B (en) Response control method and device for touch screen, storage medium and terminal
CN107340910B (en) Touch key response method and device, storage medium and electronic equipment
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CN107463290B (en) Response control method and device for touch operation, storage medium and mobile terminal
KR102446587B1 (en) Task switching method and terminal
EP3435211B1 (en) Method and appartus for responding to touch operation, storage medium and terminal
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
CN108076223B (en) Task switching method and device, terminal equipment and storage medium
CN107003758B (en) Ghost point processing method and user equipment
CN106502819B (en) Control method and device based on proximity sensor and mobile terminal
CN106598461B (en) Touch response method and device of mobile terminal and mobile terminal
CN109885249A (en) A kind of split screen processing method, intelligent terminal and readable storage medium storing program for executing
KR101104730B1 (en) Terminal and method for control object into video content thereof
KR101429581B1 (en) User interface controlling method by detecting user's gesture and terminal therefor
KR20120134398A (en) Method for controlling menu display of mobile termianl using movement sensing device and apparatus therefof

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210518