A method and terminal device responsive to touch operations

By receiving and matching touch operation information, identifying the target control and executing instructions, the problem of user operation errors caused by changes in the virtual button position is solved, thus improving the user experience.

CN109745699BActive Publication Date: 2026-04-21VIVO MOBILE COMM CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2018-12-29
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Changes in the absolute position of virtual buttons can lead to user errors and negatively impact the user experience.

Method used

By receiving touch operations, the system determines the operation information, matches the target control, executes the corresponding touch commands, and corrects operation errors.

Benefits of technology

It improves the responsiveness to user touch operation errors, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109745699B_ABST
    Figure CN109745699B_ABST
Patent Text Reader

Abstract

This invention provides a method and terminal device for responding to touch operations. The method includes: receiving a touch operation from a target user on a current display interface; determining operation information corresponding to the touch operation if the touch operation does not match any control on the current display interface; determining a target control from the current display interface based on the operation information; and executing a touch instruction corresponding to the touch operation through the target control. This method can determine the target control (the correct touch operation) based on the operation information and respond when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of terminal device technology, and in particular to a method and terminal device for responding to touch operations. Background Technology

[0002] When running game applications on a terminal device, users can control the game using virtual buttons on the game interface. For the same game interface, the relative positions of the virtual buttons are fixed. However, due to differences in screen size and aspect ratio, the absolute positions of the virtual buttons on different terminal devices will be adaptively adjusted when the same game interface is run on different screens. For example, when switching from a small screen to a large screen, since the number of virtual buttons remains the same, the size of the virtual buttons needs to be increased, which in turn causes the position of each virtual button on the screen to change.

[0003] However, because the absolute position of the virtual buttons on the screen changes, users will habitually click the virtual buttons in the original position during use, resulting in operational errors and no response, leading to a poor user experience. Summary of the Invention

[0004] This invention provides a method and terminal device for responding to touch operations, in order to solve the problem of poor user experience caused by user operation errors when the absolute position of virtual buttons on the screen changes.

[0005] On one hand, embodiments of the present invention disclose a method for responding to touch operations, applied to a terminal device, the method comprising:

[0006] Receive touch operations from the target user on the current display interface;

[0007] If the touch operation does not match any control in the currently displayed interface, determine the operation information corresponding to the touch operation;

[0008] Based on the operation information, a target control is determined from the current display interface, and a touch command corresponding to the touch operation is executed through the target control.

[0009] On the other hand, embodiments of the present invention also disclose a terminal device, including:

[0010] The touch operation receiving module is used to receive touch operations from the target user on the current display interface;

[0011] The operation information determination module is used to determine the operation information corresponding to the touch operation when the touch operation does not match any control in the current display interface;

[0012] The touch instruction execution module is used to determine a target control from the current display interface based on the operation information, and execute touch instructions corresponding to the touch operation through the target control.

[0013] In another aspect, embodiments of the present invention also disclose a terminal device, including a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for responding to touch operations as described in any of the preceding claims.

[0014] Finally, embodiments of the present invention also disclose a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for responding to touch operations as described in any of the preceding claims.

[0015] In this embodiment of the invention, a touch operation by a target user on the current display interface is received. If the touch operation does not match any control on the current display interface, operation information corresponding to the touch operation is determined. A target control is determined from the current display interface based on the operation information, and a touch instruction corresponding to the touch operation is executed through the target control. This allows for the determination of the target control (the correct touch operation) based on the operation information and a response even when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.

[0016] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart illustrating the steps of a method for responding to touch operations according to Embodiment 1 of the present invention is shown.

[0019] Figure 2 A flowchart illustrating the steps of a method for responding to touch operations according to Embodiment 2 of the present invention is shown.

[0020] Figure 3 A structural block diagram of a terminal device according to Embodiment 3 of the present invention is shown;

[0021] Figure 4 A structural block diagram of a terminal device according to Embodiment 4 of the present invention is shown;

[0022] Figure 5 A schematic diagram of the hardware structure of a terminal device implementing various embodiments of the present invention is shown. Detailed Implementation

[0023] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] The following detailed description of a method and terminal device for responding to touch operations provided by the present invention is illustrated through several specific embodiments.

[0025] Reference Figure 1 The diagram illustrates a step flowchart of a method for responding to touch operations according to Embodiment 1 of the present invention, which may specifically include the following steps:

[0026] Step 101: Receive touch operations from the target user on the current display interface.

[0027] The currently displayed interface can be the application interface that the target user is currently using. This interface contains one or more controls that the user can interact with via touch (e.g., single click, multiple clicks, dragging, long press). The device can then process these touch interactions to achieve the user's desired action. For example, if the currently displayed interface is a game interface, it may include controls such as "Return to Town," "Attack," and "Recover," which the user can click to achieve different game objectives.

[0028] This invention applies to terminal devices such as mobile terminals and PCs (Personal Computers), where mobile terminals include mobile phones, tablets, etc. In practical applications, the application interface is usually adapted to the screen size of the mobile terminal, adjusting the absolute or relative position of controls on the application interface.

[0029] The target user can be either the user operating the terminal device or the user to whom the mobile terminal belongs. The user operating the mobile terminal can be identified through the account information used when logging into the application.

[0030] Step 102: If the touch operation does not match any control in the current display interface, determine the operation information corresponding to the touch operation.

[0031] The operation information may include, but is not limited to: operation location and operation type.

[0032] The operating position can include: horizontal coordinates and vertical coordinates.

[0033] Operation types can be categorized as: single click, multiple clicks, long press, drag, etc.

[0034] In practical applications, users can perform touch operations in the application interface. When the terminal device receives a touch operation, it needs to match it with the control. The touch operation will only be responded to if the match is successful; otherwise, the touch operation will not be responded to.

[0035] If the touch operation is within the position range of one of the controls, and the operation type (single click, multiple clicks, long press, drag) is the same as the predefined operation type of the control, then the touch operation matches the control; if the touch operation is not within the position range of the control, or the operation type of the touch operation is different from the predefined operation type of the control, then the touch operation does not match the control.

[0036] Step 103: Determine the target control from the current display interface based on the operation information, and execute the touch command corresponding to the touch operation through the target control.

[0037] In this context, the target control can be the correct operation corresponding to the incorrect touch operation. After switching between different screen sizes, users tend to touch the controls in the same positions as on the original screen, which can lead to errors. In this scenario, users usually quickly realize the touch error and perform the correct touch operation, which corresponds to the target control of the previous incorrect touch operation.

[0038] In this embodiment of the invention, when a touch operation does not match any control, a target control can be determined, and corresponding processing can be performed based on the valid operation instruction. For example, when a user is playing a game, because the user has switched from a small-screen phone to a large-screen phone, the positions of controls such as "Return to Town," "Attack," and "Recover" on the game interface change. If the user clicks a position as a touch operation, but that position does not correspond to any control, the terminal device determines that the target control corresponding to the touch operation is "Return to Town," and executes the touch instruction corresponding to "Return to Town" as a response to the touch operation.

[0039] Touch commands are pre-defined response commands for the target control.

[0040] In this embodiment of the invention, a touch operation by a target user on the current display interface is received. If the touch operation does not match any control on the current display interface, operation information corresponding to the touch operation is determined. A target control is determined from the current display interface based on the operation information, and a touch instruction corresponding to the touch operation is executed through the target control. This allows for the determination of the target control (the correct touch operation) based on the operation information and a response even when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.

[0041] Reference Figure 2 The diagram illustrates a step flowchart of a method for responding to touch operations according to a second embodiment of the present invention, which may specifically include the following steps:

[0042] Step 201: Receive the first touch operation of the target user on the candidate display interface. The operation information of the first touch operation includes the first operation position and the first operation type.

[0043] Among them, the candidate operation interface can be the application interface operated by the target user on different terminal devices. This interface and the currently displayed interface are the same application interface running on different screen sizes.

[0044] The first touch operation can be understood as the target user's touch operation at a historical time.

[0045] For details regarding the first operation position and the first operation type, please refer to the operation position and operation type in step 102, which will not be repeated here.

[0046] Step 202: If the first touch operation does not match any control in the candidate display interface, determine whether a second touch operation is received within a preset time.

[0047] The preset time can be set according to the actual application scenario, and is usually a small value, such as 60 milliseconds.

[0048] The second touch operation may include a second operation position, a second operation type, and the second operation position may be different from the first operation position, and / or the second operation type may be different from the first operation type. In the application scenario where a user changes phones, the second operation type is usually the same as the first operation type, only the operation position is different.

[0049] The second touch operation can be understood as the target user quickly discovering the error after performing the first touch operation in the past, and thus performing the correct second touch operation. Therefore, the control corresponding to the second touch operation is the target control corresponding to the first touch operation.

[0050] It is understandable that the method for matching the first touch operation with the control can refer to the method for matching the touch operation with the control in step 102, and will not be repeated here.

[0051] Step 203: Upon receiving the second touch operation and finding that the second touch operation matches one of the controls in the candidate display interface, the first operation position, the first operation type, and the one of the controls are respectively added to the target user's operation instruction model as candidate operation position, candidate operation type, and candidate control according to their corresponding relationship.

[0052] In this system, candidate touch operations are composed of candidate operation positions and candidate operation types. Candidate touch operations are erroneous touch operations, and candidate controls are the target controls corresponding to the candidate touch operations. Furthermore, candidate operation positions and candidate operation types are key information in the operation instruction model. During matching, a successful match is achieved only when both the candidate operation position and candidate operation type are consistent; if either the candidate operation position or candidate operation type is inconsistent, the match fails.

[0053] It is understandable that the method for matching the second touch operation with the control can refer to the method for matching the touch operation with the control in step 102, and will not be repeated here.

[0054] The embodiments of the present invention can identify erroneous first touch operations and correct second touch operations, and add the controls corresponding to the first touch operation and the second touch operation to the operation instruction model, establishing a correspondence between erroneous touch operations and target controls, which helps to correct erroneous touch operations and improve user experience.

[0055] Step 204: Store the target user's operation instruction model in a remote server with the target user identifier as the key information.

[0056] The target user identifier can be the user identity information used when logging into the application.

[0057] The remote server can be a storage server, communicating with the application server via wireless network, wired network, etc. The application server is the backend server for the application; for example, for a game application, the application server is the backend server that provides the game.

[0058] This invention allows the operation instruction model to be stored on a remote server. When a touch operation fails to match a control, the operation instruction model can be retrieved from the remote server to determine the target control, thus avoiding unresponsive erroneous operations and improving the user experience.

[0059] Step 205: Receive touch operations from the target user on the current display interface.

[0060] This step can be referred to in the detailed explanation of step 101, and will not be repeated here.

[0061] Step 206: If the touch operation does not match any control in the current display interface, determine the operation information corresponding to the touch operation. The operation information includes: the current operation position and the current operation type.

[0062] This step can be referred to in the detailed explanation of step 102, and will not be repeated here.

[0063] Step 207: Obtain the operation instruction model of the target user.

[0064] Specifically, for step 204, the operation instruction model can be obtained from the remote server. It can be understood that obtaining the operation instruction model requires using the target user identifier. When a record exists on the remote server whose key information is the target user identifier, the operation instruction model contained in that record is the target user's operation instruction model; when no record exists on the remote server whose key information is the target user identifier, the target user does not have an operation instruction model.

[0065] It is understandable that when the target user does not have an operation instruction model, the target control corresponding to the touch operation cannot be obtained, thus invalid touch operations are not corrected and properly responded to.

[0066] Step 208: Obtain the target control from the operation instruction model according to the operation information, and execute the touch instruction corresponding to the touch operation through the target control.

[0067] Specifically, for each candidate operation data in the operation instruction model, including candidate operation position, candidate operation type, and candidate control, the candidate operation position and candidate operation type can be compared with the current operation position and current operation type respectively, so that when a match is successful, the candidate control in the candidate operation data is used as the target control.

[0068] Optionally, in another embodiment of the present invention, step 208 above includes sub-steps 2081 to 2082:

[0069] Sub-step 2081: Obtain a candidate operation data from the operation instruction model. The candidate operation data includes: candidate operation position, candidate operation type, and candidate control.

[0070] It can be understood that the operation instruction model includes several candidate operation data. Each candidate operation data includes candidate operation position, candidate operation type, and candidate control. Among them, the candidate operation position and candidate operation type correspond to incorrect and invalid operation instructions, and the candidate control is a correct and valid target control.

[0071] Sub-step 2082: If the current operation position and the candidate operation position are the same, and the current operation type and the candidate operation type are the same, then the candidate control is taken as the target control.

[0072] It is understandable that if the current operation position and the candidate operation position are the same, and the current operation type and the candidate operation type are the same, then the candidate control is the target control; otherwise, continue to match with the next candidate operation data until a match is successfully made with one of the candidate operation data, or until the last candidate operation data fails to match.

[0073] In this embodiment of the invention, a touch operation by a target user on the current display interface is received. If the touch operation does not match any control on the current display interface, operation information corresponding to the touch operation is determined. A target control is determined from the current display interface based on the operation information, and a touch instruction corresponding to the touch operation is executed through the target control. This allows for the determination of the target control (the correct touch operation) based on the operation information and a response even when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.

[0074] Reference Figure 3 The diagram shows a structural block diagram of a terminal device according to Embodiment 3 of the present invention.

[0075] The terminal device 300 includes: a touch operation receiving module 301, an operation information determining module 302, and a touch command execution module 303.

[0076] The functions of each module and the interaction between them are described in detail below.

[0077] The touch operation receiving module 301 is used to receive touch operations from the target user on the current display interface.

[0078] The operation information determination module 302 is used to determine the operation information corresponding to the touch operation when the touch operation does not match any control in the current display interface.

[0079] The touch instruction execution module 303 is used to determine a target control from the current display interface based on the operation information, and execute a touch instruction corresponding to the touch operation through the target control.

[0080] In this embodiment of the invention, a touch operation by a target user on the current display interface is received. If the touch operation does not match any control on the current display interface, operation information corresponding to the touch operation is determined. A target control is determined from the current display interface based on the operation information, and a touch instruction corresponding to the touch operation is executed through the target control. This allows for the determination of the target control (the correct touch operation) based on the operation information and a response even when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.

[0081] Example 4 is the apparatus example corresponding to Example 1. For detailed description, please refer to Example 1, which will not be repeated here.

[0082] Reference Figure 4 The diagram shows a structural block diagram of a terminal device according to Embodiment 4 of the present invention.

[0083] The terminal device 400 includes: a first touch operation receiving module 401, a second touch operation receiving module 402, an operation instruction model updating module 403, an operation instruction model storage module 404, a touch operation receiving module 405, an operation information determining module 406, and a touch instruction execution module 407.

[0084] The functions of each module and the interaction between them are described in detail below.

[0085] The first touch operation receiving module 401 is used to receive the first touch operation of the target user on the candidate display interface, and the operation information of the first touch operation includes the first operation position and the first operation type.

[0086] The second touch operation receiving module 402 is used to determine whether a second touch operation has been received within a preset time when the first touch operation does not match any control in the candidate display interface.

[0087] The operation instruction model update module 403 is used to, when receiving the second touch operation and the second touch operation matches one of the controls in the candidate display interface, add the first operation position, the first operation type, and the one of the controls as candidate operation positions, candidate operation types, and candidate controls respectively, according to the corresponding relationship to the operation instruction model of the target user.

[0088] The operation instruction model storage module 404 is used to store the operation instruction model of the target user with the target user identifier as key information in a remote server.

[0089] The touch operation receiving module 405 is used to receive touch operations from the target user on the current display interface.

[0090] The operation information determination module 406 is used to determine the operation information corresponding to the touch operation when the touch operation does not match any control in the current display interface.

[0091] A touch instruction execution module 407 is configured to determine a target control from the current display interface based on the operation information, and execute a touch instruction corresponding to the touch operation through the target control; optionally, in this embodiment of the invention, the touch instruction execution module 407 includes:

[0092] The operation instruction model acquisition submodule 4071 is used to acquire the operation instruction model of the target user.

[0093] The target control acquisition submodule 4072 is used to acquire the target control from the operation instruction model based on the operation information.

[0094] Optionally, in another embodiment of the present invention, the operation information includes: the current operation position and the current operation type, and the target control acquisition submodule 4072 includes:

[0095] The candidate operation data acquisition unit is used to acquire a candidate operation data from the operation instruction model. The candidate operation data includes: candidate operation position, candidate operation type, and candidate control.

[0096] The valid operation instruction determination unit is used to select the candidate control as the target control when the current operation position and the candidate operation position are consistent, and the current operation type and the candidate operation type are consistent.

[0097] In this embodiment of the invention, a touch operation by a target user on the current display interface is received. If the touch operation does not match any control on the current display interface, operation information corresponding to the touch operation is determined. A target control is determined from the current display interface based on the operation information, and a touch instruction corresponding to the touch operation is executed through the target control. This allows for the determination of the target control (the correct touch operation) based on the operation information and a response even when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.

[0098] Example 5 is the apparatus example corresponding to Method Example 2. For detailed description, please refer to Example 2, which will not be repeated here.

[0099] Figure 5To illustrate the hardware structure of a terminal device according to various embodiments of the present invention, the terminal device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511, etc. Those skilled in the art will understand that... Figure 5 The terminal device structure shown does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown, or combine certain components, or have different component arrangements. In embodiments of the present invention, the terminal device includes, but is not limited to, mobile phones, tablet computers, laptop computers, PDAs, in-vehicle terminals, wearable devices, and pedometers.

[0100] The processor 510 is configured to receive a touch operation from a target user on the current display interface; if the touch operation does not match any control on the current display interface, determine operation information corresponding to the touch operation; determine a target control from the current display interface based on the operation information, and execute a touch instruction corresponding to the touch operation through the target control.

[0101] In this embodiment of the invention, a touch operation by a target user on the current display interface is received. If the touch operation does not match any control on the current display interface, operation information corresponding to the touch operation is determined. A target control is determined from the current display interface based on the operation information, and a touch instruction corresponding to the touch operation is executed through the target control. This allows for the determination of the target control (the correct touch operation) based on the operation information and a response even when a touch operation fails to match a control (operation error), thus improving the user experience during operation errors.

[0102] It should be understood that, in this embodiment of the invention, the radio frequency unit 501 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink data from the base station and processes it with the processor 510; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 501 can also communicate with networks and other devices through a wireless communication system.

[0103] The terminal device provides users with wireless broadband internet access through network module 502, such as helping users send and receive emails, browse web pages, and access streaming media.

[0104] The audio output unit 503 can convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into audio signals and output them as sound. Furthermore, the audio output unit 503 can also provide audio output related to specific functions performed by the terminal device 500 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, and a receiver, etc.

[0105] Input unit 504 is used to receive audio or video signals. Input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The GPU 5041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on display unit 506. The image frames processed by GPU 5041 can be stored in memory 509 (or other storage medium) or transmitted via radio frequency unit 501 or network module 502. Microphone 5042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via radio frequency unit 501 in telephone call mode.

[0106] The terminal device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 5061 according to the ambient light level, and the proximity sensor can turn off the display panel 5061 and / or backlight when the terminal device 500 is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used to identify the terminal device's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. The sensor 505 may also include a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described in detail here.

[0107] The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0108] User input unit 507 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of the terminal device. Specifically, user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 5071). Touch panel 5071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 510, which receives and executes commands from the processor 510. In addition, touch panel 5071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. Besides touch panel 5071, user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.

[0109] Furthermore, the touch panel 5071 can cover the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits the information to the processor 510 to determine the type of touch event. Subsequently, the processor 510 provides corresponding visual output on the display panel 5061 based on the type of touch event. Although in Figure 5 In this embodiment, the touch panel 5071 and the display panel 5061 are two independent components to realize the input and output functions of the terminal device. However, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated to realize the input and output functions of the terminal device. The specific implementation is not limited here.

[0110] Interface unit 508 serves as an interface for connecting external devices to terminal device 500. For example, external devices may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 508 can be used to receive input from external devices (e.g., data, power, etc.) and transmit the received input to one or more elements within terminal device 500, or it can be used to transmit data between terminal device 500 and external devices.

[0111] The memory 509 can be used to store software programs and various data. The memory 509 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0112] The processor 510 is the control center of the terminal device. It connects various parts of the terminal device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 509, and by calling data stored in the memory 509, it performs various functions and processes data of the terminal device, thereby providing overall monitoring of the terminal device. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 510.

[0113] The terminal device 500 may also include a power supply 511 (such as a battery) that supplies power to various components. Preferably, the power supply 511 can be logically connected to the processor 510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.

[0114] In addition, the terminal device 500 includes some functional modules not shown, which will not be described in detail here.

[0115] Preferably, the present invention also provides a terminal device, including a processor 510, a memory 509, and a computer program stored in the memory 509 and executable on the processor 510. When the computer program is executed by the processor 510, it implements the various processes of the above-described method embodiment for responding to touch operations and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0116] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, this computer program implements the various processes of the above-described method embodiments for responding to touch operations, achieving the same technical effects. To avoid repetition, these processes will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0117] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0118] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0119] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.

Claims

1. A method for responding to touch operations, applied to a terminal device, characterized in that, The method includes: Receive touch operations from the target user on the current display interface; If the touch operation does not match any control in the currently displayed interface, determine the operation information corresponding to the touch operation; Based on the operation information, a target control is determined from the current display interface, and a touch command corresponding to the touch operation is executed through the target control; Prior to the step of receiving the target user's touch operation on the current display interface, the method further includes: The system receives a first touch operation from the target user on the candidate display interface, wherein the operation information of the first touch operation includes a first operation position and a first operation type. If the first touch operation does not match any control in the candidate display interface, determine whether a second touch operation is received within a preset time. Upon receiving the second touch operation, and if the second touch operation matches one of the controls in the candidate display interface, the first operation position, the first operation type, and the one of the controls are respectively added to the target user's operation instruction model as candidate operation position, candidate operation type, and candidate control according to the corresponding relationship.

2. The method according to claim 1, characterized in that, The step of determining the target control from the currently displayed interface based on the operation information includes: Obtain the operation instruction model of the target user; The target control is obtained from the operation instruction model based on the operation information.

3. The method according to claim 2, characterized in that, The operation information includes: the current operation position and the current operation type. The step of obtaining the target control from the operation instruction model based on the operation information includes: Obtain a candidate operation data from the operation instruction model. The candidate operation data includes: candidate operation position, candidate operation type, and candidate control. If the current operation position and the candidate operation position are the same, and the current operation type and the candidate operation type are the same, then the candidate control is used as the target control.

4. The method according to claim 1, characterized in that, After the step of adding the first operation position, the first operation type, and one of the controls as candidate operation positions, candidate operation types, and candidate controls to the target user's operation instruction model according to the corresponding relationship, the method further includes: The operation instruction model of the target user is stored on a remote server with the target user identifier as the key information.

5. A terminal device, characterized in that, The terminal device includes: The touch operation receiving module is used to receive touch operations from the target user on the current display interface; The operation information determination module is used to determine the operation information corresponding to the touch operation when the touch operation does not match any control in the current display interface; A touch instruction execution module is used to determine a target control from the current display interface based on the operation information, and execute a touch instruction corresponding to the touch operation through the target control; The terminal device also includes: The first touch operation receiving module is used to receive the first touch operation of the target user on the candidate display interface, and the operation information of the first touch operation includes the first operation position and the first operation type. The second touch operation receiving module is used to determine whether a second touch operation has been received within a preset time when the first touch operation does not match any control in the candidate display interface. The operation instruction model update module is used to, upon receiving the second touch operation and when the second touch operation matches one of the controls in the candidate display interface, add the first operation position, the first operation type, and the one of the controls as candidate operation positions, candidate operation types, and candidate controls respectively, according to the corresponding relationship, to the operation instruction model of the target user.

6. The terminal device according to claim 5, characterized in that, The touch command execution module includes: The operation instruction model acquisition submodule is used to acquire the operation instruction model of the target user; The target control acquisition submodule is used to acquire the target control from the operation instruction model based on the operation information.

7. The terminal device according to claim 6, characterized in that, The operation information includes: the current operation location and the current operation type. The target control acquisition submodule includes: A candidate operation data acquisition unit is used to acquire a candidate operation data from the operation instruction model. The candidate operation data includes: candidate operation position, candidate operation type, and candidate control. The valid operation instruction determination unit is used to select the candidate control as the target control when the current operation position and the candidate operation position are consistent, and the current operation type and the candidate operation type are consistent.

8. The terminal device according to claim 5, characterized in that, The terminal device also includes: The operation instruction model storage module is used to store the operation instruction model of the target user, with the target user identifier as key information, to a remote server.

Citation Information

Patent Citations

  • Method and device for inputting position information and displaying information matching

    CN101937302A

  • Word identification method, device and system on basis of multi-word continuous input

    CN102880302A

  • Touch input identification method and electronic device

    CN103455258A

  • Touch control method and terminal based on curved-surface touch screen

    CN105528113A

  • Unlocking method and device for touch screen device

    CN105573641A