Touch response method and apparatus, device, storage medium, and product

By identifying the touch scene and applying the corresponding touch filter parameter values, filtering the user's touch operations is solved, and the problem of inaccurate touch response in the prior art is improved.

WO2025092643A1PCT designated stage expired Publication Date: 2025-05-08REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/127662
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-02
Filing Date
2024-10-28
Publication Date
2025-05-08

AI Technical Summary

Technical Problem

Existing touch response technologies are difficult to effectively identify and respond to users' touch operations in different touch scenarios, resulting in poor operating experience.

Method used

By identifying the touch scene corresponding to the user's touch operation, obtaining and applying the corresponding touch filtering parameter values, filtering the user's touch operation, thereby obtaining a more accurate touch operation type and responding accordingly.

Benefits of technology

It improves the recognition accuracy and response effect of touch operations, and enhances the user's touch operation experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024127662_08052025_PF_FP_ABST
    Figure CN2024127662_08052025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of touch response, and provides a touch response method and apparatus, a device, a storage medium, and a product. The method comprises: when a first touch operation is detected, identifying a touch scenario corresponding to the first touch operation; acquiring a touch filtering parameter value corresponding to the touch scenario, wherein the touch filtering parameter value comprises at least one of a touch point filtering parameter value and a trajectory filtering parameter value; performing filtering processing on the first touch operation on the basis of the touch filtering parameter value to obtain a second touch operation; and responding to the second touch operation. Different touch filtering parameter values corresponding to different touch scenarios are set, so that a touch filtering parameter value adaptive to the current touch scenario can be acquired, that is, the acquired touch filtering parameter value is more rational, and thus, the effect of performing filtering processing on the first touch operation on the basis of the touch filtering parameter value can be improved, and the effect of responding to the obtained second touch operation is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Touch response method, device, equipment, storage medium and product

[0001] This application claims priority to Chinese patent application number 202311455233.6, filed on November 2, 2023, entitled “Touch response method, device and apparatus”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of touch screen technology, and in particular to a touch response method, device, equipment, storage medium and product. Background Art

[0003] Currently, terminals such as mobile phones, smart watches, and tablets all have touchscreens. Users can perform touch operations on the touchscreen to trigger commands to the terminal, and the terminal responds to the user's touch operations to respond to the user's instructions. For example, when a user is browsing short videos on a mobile phone, the user can swipe on the touchscreen to trigger a switch command to the phone; the terminal then switches the short video currently being viewed based on the user's swipe operation.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a touch response method, apparatus, device, storage medium, and product, which can improve the effect of responding to touch operations. The technical solution is as follows:

[0006] In one aspect, a touch response method is provided, the method comprising:

[0007] When a first touch operation is detected, identifying a touch scene corresponding to the first touch operation;

[0008] Obtaining a touch filter parameter value corresponding to the touch scenario, the touch filter parameter value including at least one of a touch point filter parameter value and a track filter parameter value, the touch filter parameter value being used to filter the touch point of the first touch operation, and the track filter parameter value being used to filter the track of the first touch operation;

[0009] performing filtering processing on the first touch operation based on the touch filtering parameter value to obtain a second touch operation;

[0010] Respond to the second touch operation.

[0011] In another aspect, a touch response device is provided, the device comprising:

[0012] an identification module, configured to identify a touch scene corresponding to a first touch operation when a first touch operation is detected;

[0013] a first acquisition module, configured to acquire a touch filter parameter value corresponding to the touch scenario, the touch filter parameter value including at least one of a contact point filter parameter value and a track filter parameter value, the contact filter parameter value being used to filter the touch point of the first touch operation, and the track filter parameter value being used to filter the track of the first touch operation;

[0014] a filtering module, configured to filter the first touch operation based on the touch filtering parameter value to obtain a second touch operation;

[0015] The response module is configured to respond to the second touch operation.

[0016] On the other hand, a terminal is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the touch response method as described above.

[0017] On the other hand, a computer-readable storage medium is provided, wherein at least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to implement the touch response method described above.

[0018] On the other hand, a computer program product is provided. The computer program product stores at least one program code, and the at least one program code is configured to be executed by a processor to implement the above-mentioned touch response method. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] FIG1 shows a flow chart of a touch response method according to an exemplary embodiment of the present application;

[0020] FIG2 shows a flow chart of a touch response method according to an exemplary embodiment of the present application;

[0021] FIG3 shows a flow chart of a touch response method in a related art according to an exemplary embodiment of the present application;

[0022] FIG4 shows a flow chart of a touch response method according to an exemplary embodiment of the present application;

[0023] FIG5 shows a flow chart of a touch response method according to an exemplary embodiment of the present application;

[0024] FIG6 shows a flow chart of a touch response method according to an exemplary embodiment of the present application;

[0025] FIG7 shows a flow chart of a touch response method according to an exemplary embodiment of the present application;

[0026] FIG8 shows a block diagram of a touch response device according to an exemplary embodiment of the present application;

[0027] FIG9 shows a block diagram of a terminal according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0029] In this document, "plurality" refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.

[0030] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the touch scene, first touch operation, touch instruction (including first touch instruction and second touch instruction), first historical touch data, second historical touch data, touch filter parameter value, scene image and sliding distance threshold involved in this application are all obtained when fully authorized.

[0031] In the embodiments of the present application, the following technical solutions are provided:

[0032] A touch response method, the method comprising:

[0033] When a first touch operation is detected, identifying a touch scene corresponding to the first touch operation;

[0034] Obtaining a touch filter parameter value corresponding to the touch scenario, the touch filter parameter value including at least one of a touch point filter parameter value and a track filter parameter value, the touch filter parameter value being used to filter the touch point of the first touch operation, and the track filter parameter value being used to filter the track of the first touch operation;

[0035] performing filtering processing on the first touch operation based on the touch filtering parameter value to obtain a second touch operation;

[0036] Respond to the second touch operation.

[0037] In some embodiments, obtaining the touch filter parameter value corresponding to the touch scene includes:

[0038] Based on the scene identifier of the touch scene, a touch filter parameter value corresponding to the touch scene is acquired from a stored correspondence between the scene identifier and the touch filter parameter value.

[0039] In some embodiments, the method further comprises:

[0040] For any touch scene among the preset multiple touch scenes, obtaining first historical touch data of the current login account in the touch scene;

[0041] Determining a touch filter parameter value of the current login account in the touch scenario based on the first historical touch data;

[0042] The scene identifier of the touch scene and the touch filter parameter value are associated and stored in a correspondence relationship between the scene identifier and the touch filter parameter value.

[0043] In some embodiments, the acquiring, based on the scene identifier of the touch scene, the touch filter parameter value corresponding to the touch scene from a stored correspondence between the scene identifier and the touch filter parameter value includes:

[0044] In a case where the touch scene is a game scene, determining an area type of a touch area of ​​the game scene by the first touch operation;

[0045] Based on the scene identifier of the game scene and the area type, the touch filter parameter value corresponding to the game scene is obtained from the stored correspondence between the scene identifier, the area type and the touch filter parameter value.

[0046] In some embodiments, determining the area type of the touch area of ​​the game scene for the first touch operation includes:

[0047] Taking a screenshot of the game scene to obtain a scene image;

[0048] Identifying a core icon of the scene image using an image recognition model;

[0049] Determine the area type corresponding to the core icon.

[0050] In some embodiments, the method further comprises:

[0051] For any area type among a plurality of area types preset in the game scenario, obtaining second historical touch data of a touch operation triggered by the current logged-in account in an area corresponding to the area type;

[0052] Determining, based on the second historical touch data, a touch filter parameter value for triggering a touch operation in the area corresponding to the area type by the currently logged-in account;

[0053] The scene identifier of the game scene, the area type, and the touch filter parameter value are associated and stored in a correspondence relationship among the scene identifier, the area type, and the touch filter parameter value.

[0054] In some embodiments, responding to the second touch operation includes:

[0055] When the second touch operation is a sliding operation, obtaining a sliding distance threshold corresponding to the current login account;

[0056] When a sliding distance of the sliding operation exceeds the sliding distance threshold, the sliding operation is responded to.

[0057] In some embodiments, the method further comprises:

[0058] Obtain multiple historical sliding operations of the currently logged-in account;

[0059] Based on the sliding distances of the multiple historical sliding operations, a sliding distance threshold corresponding to the current login account is determined.

[0060] In some embodiments, filtering the first touch operation based on the touch filtering parameter value to obtain the second touch operation includes:

[0061] The touch filter parameter value includes a touch point filter parameter value; when the distance between the edge touch point and the center touch point of the first touch operation is less than a touch point distance threshold represented by the touch filter parameter value, the second touch operation obtained by filtering the first touch operation is a click operation;

[0062] When the distance between the edge touch point and the center touch point of the first touch operation is not less than the touch distance threshold represented by the touch filtering parameter value, the second touch operation obtained by filtering the first touch operation is a sliding operation.

[0063] In some embodiments, filtering the first touch operation based on the touch filtering parameter value to obtain the second touch operation includes:

[0064] The touch filter parameter value includes a trajectory filter parameter value; and the sliding trajectory of the first touch operation is smoothed based on the trajectory filter parameter value to obtain the second touch operation.

[0065] In an embodiment of the present application, by setting different touch filter parameter values ​​corresponding to different touch scenes, it is possible to obtain touch filter parameter values ​​that are suitable for the current touch scene, that is, the obtained touch filter parameter values ​​are more reasonable, thereby improving the effect of filtering the first touch operation based on the touch filter parameter values, thereby improving the effect of the second touch operation obtained in response.

[0066] Please refer to Figure 1, which shows a flow chart of a touch response method according to an exemplary embodiment of the present application. The method is executed by a terminal and includes:

[0067] Step 101: When a first touch operation is detected, a touch scene corresponding to the first touch operation is identified.

[0068] The first touch operation can be any touch operation acting on the touch screen of the terminal; for example, the first touch operation can be a click operation or a sliding operation. The touch scene can be a game scene and a daily scene. The game scene refers to a scene in which the application currently running in the foreground is a game application; the daily scene is a scene other than the game scene, that is, the daily scene refers to a scene in which the application currently running in the foreground is a non-game application. The daily scene is further divided into a full-screen gesture scene (also called a full-screen daily scene) and a non-full-screen gesture scene (also called a non-full-screen daily scene). The non-full-screen gesture scene refers to a scene in which an instruction is triggered to the terminal by clicking a virtual button, that is, the first touch operation in the non-full-screen gesture scene is often a click operation; the full-screen gesture scene refers to a scene in which an instruction is triggered to the terminal by a touch operation, that is, the first touch operation in the full-screen gesture scene can be a click operation or a sliding operation.

[0069] In some embodiments, the terminal identifies the touch scene corresponding to the first touch operation through the application running in the foreground; the process may be: when the application currently running in the foreground is a game application, the terminal determines that the touch scene corresponding to the first touch operation is a game scene; when the application currently running in the foreground is a non-game application, the terminal determines that the touch scene corresponding to the first touch operation is a daily scene. In addition, daily scenes are further divided into full-screen gesture scenes and non-full-screen gesture scenes; accordingly, after the terminal determines that the touch scene corresponding to the first touch operation is a daily scene, it determines whether the terminal has turned on the full-screen gesture; when the terminal has turned on the full-screen gesture, it determines that the daily scene is a full-screen gesture scene, that is, the touch scene corresponding to the first touch operation is a full-screen gesture scene; when the terminal has not turned on the full-screen gesture, it determines that the daily scene is a non-full-screen gesture scene, that is, the touch scene corresponding to the first touch operation is a non-full-screen gesture scene. The process can refer to Figure 2. Among them, the full-screen gesture refers to the use of specific gesture operations on the full-screen device to replace the traditional virtual keys or physical keys; the non-full-screen gesture refers to the operation method of the traditional virtual keys or physical keys.

[0070] In the embodiment of the present application, the touch scene corresponding to the first touch operation is identified by identifying the application currently running in the foreground. The operation is simple, thereby improving the efficiency of identifying the touch scene.

[0071] In other embodiments, the terminal may further use a scene recognition model to identify the touch scene corresponding to the first touch operation. This process may include taking a screenshot of the current display interface to obtain an interface screenshot, inputting the interface screenshot into the scene recognition model to output the touch scene corresponding to the first touch operation. Because the scene recognition model is trained based on a large amount of sample data, the scene recognition model has a high recognition accuracy. That is, identifying the touch scene corresponding to the first touch operation using the scene recognition model can improve the accuracy of touch scene recognition.

[0072] In some embodiments, when a first touch operation is detected, the terminal identifies the touch scene corresponding to the first touch operation on the spot; in other embodiments, each time the terminal detects a change in the interface, it identifies the touch scene corresponding to the current interface, and then updates the stored touch scene corresponding to the current interface; accordingly, in this step, when the first touch operation is detected, the terminal obtains the stored touch scene corresponding to the current interface.

[0073] Step 102: Acquire a touch filter parameter value corresponding to the touch scene, where the touch filter parameter value includes at least one of a contact point filter parameter value and a track filter parameter value. The contact point filter parameter value is used to filter the touch point of the first touch operation, and the track filter parameter value is used to filter the track of the first touch operation.

[0074] The contact filter parameter value represents the contact distance threshold; when the distance between the edge contact and the center contact of the first touch operation is greater than the contact distance threshold represented by the contact filter parameter value, the first touch operation is a sliding operation; when the distance between the edge contact and the center contact of the first touch operation is not greater than the contact distance threshold represented by the contact filter parameter value, the first touch operation is a click operation, that is, the contact filter parameter value is used to measure whether a touch operation is a point operation (single click operation) or a line operation (sliding operation). The first touch operation is often triggered by the user's finger, and the touch area of ​​the first touch operation is a finger-shaped area; therefore, there are multiple edge contacts for the first touch operation; the edge contact in the embodiment of the present application can be any edge contact among the multiple edge contacts, or it can be the farthest edge contact among the multiple edge contacts, and the farthest edge contact refers to the edge contact farthest from the center contact among the multiple edge contacts of the first touch operation.

[0075] In addition, the contact point filter parameter value can also be referred to as the lock point parameter value. The trajectory filter parameter value can be a smoothing parameter value, and the trajectory filter parameter value is used to smooth the sliding trajectory of the sliding operation. In addition, the trajectory filter parameter value can also be referred to as the chirality parameter value or simply the filter parameter value.

[0076] In the embodiment of the present application, by setting different touch filter parameter values ​​corresponding to different touch scenarios, touch filter parameter values ​​adapted to the current touch scenario can be obtained, thereby improving the accuracy of the obtained touch filter parameter values.

[0077] In addition, different touch scenes may also correspond to different touch filter parameters; in some embodiments, when the touch scene is a game scene, since the game scene has not only click operations but also sliding operations; for example, the user can select equipment by clicking operations, and the user can control the movement of virtual objects by sliding operations; therefore, the touch filter parameters corresponding to the game scene include contact filter parameters and trajectory filter parameters. When the touch scene is a non-full-screen gesture scene, since the user often triggers instructions to the terminal by clicking virtual buttons in the non-full-screen gesture scene, that is, the touch operation involved in the non-full-screen gesture scene is a click operation, then the touch filter parameters corresponding to the non-full-screen gesture scene are contact filter parameters. When the touch scene is a full-screen gesture scene, since the full-screen gesture scene has not only click operations but also sliding operations; for example, when the user browses a short video in the full-screen gesture scene, he can click to like, and the user can slide to switch the currently browsed short video; therefore, the touch filter parameters corresponding to the full-screen gesture scene include contact filter parameters and trajectory filter parameters.

[0078] Step 103: Filter the first touch operation based on the touch filter parameter value to obtain a second touch operation.

[0079] In some embodiments, the touch filter parameter value includes a contact point filter parameter value, and the contact filter parameter value identifies a contact point distance threshold; when the distance between the edge contact and the center contact of the first touch operation is less than the contact point distance threshold represented by the contact filter parameter value, the second touch operation obtained by filtering the first touch operation is a click operation; when the distance between the edge contact and the center contact of the first touch operation is not less than the contact distance threshold represented by the contact filter parameter value, the second touch operation obtained by filtering the first touch operation is a sliding operation. In addition, before filtering the first touch operation, the terminal first tracks the first touch operation. When it is determined that the contact point of the first touch operation is lifted (that is, the finger is lifted), the complete first touch operation is obtained at this time, and then the first touch operation is filtered to obtain the second touch operation.

[0080] In other embodiments, the touch filter parameter value includes a trajectory filter parameter value, which is a smoothing parameter value; based on the trajectory filter parameter value (smoothing parameter value), the sliding trajectory of the first touch operation is smoothed to obtain the second touch operation.

[0081] In an embodiment of the present application, for click operations, filtering the click touch operations through contact filter parameter values ​​can accurately identify the click operations; for sliding operations, filtering the sliding touch operations through trajectory filter parameter values ​​can improve the smoothness of the sliding trajectory.

[0082] Step 104: Respond to a second touch operation.

[0083] In some embodiments, the second touch operation is a click operation. Based on the touch scene and the touch point location of the click operation, a first touch instruction corresponding to the click operation is determined, and the first touch instruction is executed in response to the second touch operation. For example, if the second touch operation is clicking a return button, the return instruction is executed. In other embodiments, the second touch operation is a slide operation. Based on the touch scene, a second touch instruction corresponding to the slide operation is determined, and the second touch instruction is executed in response to the second touch operation. For example, if the touch scene is a full-screen gesture scene and the user is browsing a short video, the user triggers a second touch operation to trigger a switch instruction to the terminal, and the terminal switches the currently playing short video based on the switch instruction.

[0084] Please refer to Figure 3. The relevant technology does not distinguish between scenarios. That is, the game application end sets fixed contact filter parameters (lock point parameters) and trajectory filter parameters (handedness parameters), and transmits the contact filter parameters and trajectory filter parameters to the touch service through the system framework and the driver end. The touch service filters the first touch operation based on the contact filter parameters and trajectory filter parameters.

[0085] In an embodiment of the present application, by setting different touch filter parameter values ​​corresponding to different touch scenes, it is possible to obtain touch filter parameter values ​​that are suitable for the current touch scene, that is, the obtained touch filter parameter values ​​are more reasonable, thereby improving the effect of filtering the first touch operation based on the touch filter parameter values, thereby improving the effect of the second touch operation obtained in response.

[0086] Please refer to FIG4 , which shows a flow chart of a touch response method according to an exemplary embodiment of the present application. The method includes:

[0087] Step 401: For any touch scene among a plurality of preset touch scenes, the terminal obtains first historical touch data of the current login account in the touch scene.

[0088] Multiple touch scenes may include game scenes and daily scenes; daily scenes may be further divided into non-full-screen gesture scenes (also referred to as full-screen daily scenes) and full-screen gesture scenes (also referred to as non-full-screen daily scenes); therefore, multiple touch scenes may include game scenes, non-full-screen gesture scenes, and full-screen gesture scenes. In some embodiments, the terminal may obtain all first historical touch data of the currently logged-in account in the touch scene, thereby enriching the obtained first historical touch data. In other embodiments, the terminal does not obtain all first historical touch data, but obtains the most recently generated first historical touch data, that is, the terminal obtains the first touch data generated by the currently logged-in account in the touch scene within the preset time period closest to the current time, so that the obtained first historical touch data can reflect the user's recent preferences.

[0089] In some embodiments, when the currently logged-in account does not have the first historical touch data, steps 401-403 are not performed, and instead the correspondence between the scene identifier and the touch filter parameter value is obtained from the server. In the first implementation, the correspondence between the scene identifier and the touch filter parameter value obtained by the terminal from the server can be a universal correspondence, that is, all users use this correspondence between the scene identifier and the touch filter parameter value. For the second implementation method, the correspondence between the scene identifier and the touch filtering parameter value obtained by the terminal from the server is adapted to the user. Accordingly, the step for the terminal to obtain the correspondence between the scene identifier and the touch filtering parameter value from the server can be: the terminal sends an acquisition request to the server, and the acquisition request carries the current login account; the server receives the acquisition request, and based on the account information of the current login account, determines the target account information matching the account information from multiple account information, obtains the correspondence between the scene identifier and the touch filtering parameter value corresponding to the target account information, and sends the correspondence between the scene identifier and the touch filtering parameter value corresponding to the target account information to the terminal; the terminal receives the correspondence between the scene identifier and the touch filtering parameter value sent by the server, and then executes step 404, where the correspondence between the scene identifier and the touch filtering parameter value corresponding to the target account information is the correspondence between the scene identifier and the touch filtering parameter value determined based on the historical touch data of the target account.

[0090] In an embodiment of the present application, even if the current login account is cold started (no historical touch data), the correspondence between the scene identifier and the touch filter parameter value suitable for the current login account can be obtained from the server, enriching the application scenarios.

[0091] Step 402: The terminal determines a touch filter parameter value of the current login account in the touch scenario based on the first historical touch data.

[0092] The first historical touch data includes touch data corresponding to a click operation and touch data corresponding to a sliding operation; in some embodiments, the terminal determines a contact point filter parameter value in the touch filter parameter value based on the touch data corresponding to the click operation, and determines a track filter parameter value in the touch filter parameter value based on the touch data corresponding to the sliding operation.

[0093] The first historical touch data includes touch data corresponding to multiple click operations. For any click operation, the touch data corresponding to the click operation includes the position coordinates of the touch area. The terminal determines the distance between the center contact and the edge contact of the touch area based on the position coordinates of the touch area corresponding to the click operation, determines the average distance based on the distance between the center contact and the edge contact corresponding to multiple click operations, and determines the touch filter parameter value based on the average distance; for example, the terminal uses the average distance as the touch filter parameter value; or, the terminal floats the average distance upward by a first preset distance to obtain the touch filter parameter value, or, the terminal floats the average distance downward by a second preset distance to obtain the electric shock filter parameter value. Both the first preset distance and the second preset distance can be set and changed as needed. In the embodiment of the present application, there is no specific limitation on the first preset distance and the second preset distance.

[0094] The first historical touch data includes touch data corresponding to multiple sliding operations. For any sliding operation, the touch data corresponding to the sliding operation includes a sliding trajectory. The terminal determines the smoothness of the sliding trajectory of the sliding operation, determines the average smoothness of the smoothness corresponding to the multiple sliding operations, and determines the trajectory filtering parameter value based on the average smoothness; for example, the terminal determines the ratio of a preset smoothness to the average smoothness to obtain the trajectory filtering parameter value.

[0095] For example, please continue to refer to Figure 2. The microcontroller unit (MCU) of the terminal is used to record the touch data of each touch of the user, that is, the MCU stores the first historical touch data. The terminal obtains the first historical touch data from the MCU and determines the touch filter parameter value of the current login account in the touch scene based on the first historical touch data through the touch data algorithm library. The terminal includes a touch coordinate calculation module, which is used to calculate the position coordinates of the touch operation and filter the touch operation. After the terminal determines the correspondence between the scene identification and the touch filter parameter value, the correspondence is stored or updated in the touch coordinate calculation module. The terminal also includes a driver (kernel input) and a system framework (android input). The touch coordinate calculation module transmits the correspondence to the application end of the non-full-screen gesture scene and the application end of the full-screen gesture scene through the driver layer and the system layer; for example, the terminal transmits the contact filter parameter to the application end of the non-full-screen gesture scene, and transmits the contact filter parameter and trajectory filter parameter to the application end of the full-screen gesture scene.

[0096] In an embodiment of the present application, in daily scenarios, when the user touches the screen during daily use of the terminal, the touch can collect raw data, analyze and record it, and then debug the contact filtering parameters (lock point parameters) and trajectory filtering parameters (filtering parameters), so that the user can achieve the best click (filtering based on the lock point parameters) and hand tracking experience (filtering based on the trajectory filtering parameters).

[0097] Step 403: The terminal associates the scene identifier of the touch scene with the touch filter parameter value and stores it in a correspondence between the scene identifier and the touch filter parameter value.

[0098] The terminal determines touch filter parameter values ​​corresponding to multiple touch scenes based on the above method, and associates the scene identifiers of the multiple touch scenes with the corresponding touch filter parameter values ​​and stores them in a correspondence between the scene identifiers and the touch filter parameter values.

[0099] In some embodiments, steps 401-403 may be performed only once, and subsequently, when a first touch operation is detected, steps 404-407 may be performed directly. In other embodiments, the terminal performs steps 401-403 once every preset period, thereby timely updating the touch filter parameter values, so that the touch filter parameter values ​​can be kept up to date, and the accuracy of the touch filter parameter values ​​is improved.

[0100] Step 404: When a first touch operation is detected, the terminal identifies a touch scene corresponding to the first touch operation.

[0101] In some embodiments, this step is the same as step 101 and will not be repeated here.

[0102] Step 405: The terminal obtains a touch filter parameter value corresponding to the touch scene from a stored correspondence between the scene identifier and the touch filter parameter value based on the scene identifier of the touch scene.

[0103] For example, please continue to refer to Figure 2. When the current touch scene is a daily scene, the application end of the non-full-screen gesture scene or the application end of the full-screen gesture scene, based on the scene identifier of the touch scene, obtains the touch filter parameter value corresponding to the touch scene from the correspondence between the stored scene identifier and the touch filter parameter value.

[0104] Step 406: The terminal performs filtering processing on the first touch operation based on the touch filtering parameter value to obtain a second touch operation.

[0105] In some embodiments, this step is the same as step 103 and will not be repeated here.

[0106] Step 407: The terminal responds to the second touch operation.

[0107] In some embodiments, this step is the same as step 104 and is not described in detail here. For example, referring to FIG2 , when a first touch operation is detected, the terminal calculates the position coordinates of the first touch operation through the touch coordinate calculation module, transmits the position coordinates to the application end of the non-full-screen gesture scene or the application end of the full-screen gesture scene, and the application end of the non-full-screen gesture scene or the application end of the full-screen gesture scene performs filtering processing on the first touch operation based on the position coordinates and touch filtering parameters to obtain a second touch operation, and then responds to the second touch operation.

[0108] In other embodiments, the touch coordinate calculation module does not synchronize the correspondence between the scene identifier of the touch scene and the touch filter parameter value to the application end of the non-full-screen gesture scene or the application end of the full-screen gesture scene; when a first touch operation is received, the touch coordinate calculation module determines the touch filter parameter value corresponding to the touch scene from the correspondence between the scene identifier and the touch filter parameter value based on the scene identifier of the touch scene, and filters the first touch operation based on the touch filter parameter value to obtain a second touch operation.

[0109] In an embodiment of the present application, the terminal determines in advance the touch filter parameter values ​​of the user in multiple touch scenarios based on the user's historical touch data. The touch filter parameter values ​​determined in this way are more suitable for the user. Therefore, based on the touch scene corresponding to the first touch operation, the acquired touch filter parameter values ​​are not only suitable for the current touch scene, but also suitable for the user, thereby improving the accuracy of the acquired touch filter parameter values, thereby improving the effect of filtering the first touch operation based on the touch filter parameter values, and further improving the effect of the second touch operation obtained in response.

[0110] Please refer to FIG5 , which shows a flow chart of a touch response method according to an exemplary embodiment of the present application. The method includes:

[0111] Step 501: For any area type among a plurality of area types preset in a game scenario, the terminal obtains second historical touch data of a touch operation triggered by a currently logged-in account in an area corresponding to the area type.

[0112] The area type refers to the type of touch area; for example, area types can be game display type, function selection type, and game operation type. Game display type refers to the touch area used to display the game interface; function selection type refers to the touch area used to select equipment and other functions; game operation type refers to the touch area used to control operations such as the movement of virtual objects. The terminal records historical touch data of touch operations triggered by users, and this historical touch data includes the area type of the touch area triggered by the user. For any area type, the terminal obtains the second historical touch data of the currently logged-in account triggering an operation in the area corresponding to that area type.

[0113] Step 502: The terminal determines, based on the second historical touch data, a touch filter parameter value for triggering a touch operation in an area corresponding to the area type by the current login account.

[0114] The touch filter parameter values ​​include electric shock filter parameter values ​​and trajectory filter parameter values; accordingly, in this step, the terminal determines the contact point filter parameter value based on the touch data corresponding to the click operation in the second historical touch data, and determines the trajectory filter parameter value based on the touch data corresponding to the sliding operation in the second historical touch data.

[0115] The second historical touch data includes touch data corresponding to multiple click operations. For any click operation, the touch data corresponding to the click operation includes the position coordinates of the touch area. The terminal determines the distance between the center contact and the edge contact of the touch area based on the position coordinates of the touch area corresponding to the click operation, determines the average distance based on the distance between the center contact and the edge contact corresponding to multiple click operations, and determines the touch filter parameter value based on the average distance; for example, the terminal uses the average distance as the touch filter parameter value; or the terminal floats the average distance upward by a third preset distance to obtain the touch filter parameter value, or the terminal decreases the average distance by a fourth preset distance to obtain the electric shock filter parameter value. Both the third preset distance and the fourth preset distance can be set and changed as needed. In the embodiment of the present application, the third preset distance and the fourth preset distance are not specifically limited.

[0116] The second historical touch data includes touch data corresponding to multiple sliding operations. For any sliding operation, the touch data corresponding to the sliding operation includes a sliding trajectory. The terminal determines the smoothness of the sliding trajectory of the sliding operation, determines the average smoothness of the smoothness corresponding to the multiple sliding operations, and determines the trajectory filtering parameter value based on the average smoothness; for example, the terminal determines the ratio of a preset smoothness to the average smoothness to obtain the trajectory filtering parameter value.

[0117] In an embodiment of the present application, in a gaming scenario, the terminal identifies the current user's usage scenario based on the image, whether it is a click scenario or a sliding scenario, and adjusts our lock point and filtering parameters, and tracks each ID, thereby solving the user's experience problems of hand shaking, insensitive clicks, and sliding operations not following the hand.

[0118] Step 503: The terminal associates and stores the scene identifier, area type, and touch filter parameter value of the game scene in a corresponding relationship among the scene identifier, area type, and touch filter parameter value.

[0119] In some embodiments, steps 501-503 may be performed only once, and subsequently, when a first touch operation is detected, steps 504-507 may be performed directly. In other embodiments, the terminal performs steps 501-503 once every preset period, thereby timely updating the touch filter parameter values, so that the touch filter parameter values ​​can be kept up to date, and the accuracy of the touch filter parameter values ​​is improved.

[0120] Step 504: When a first touch operation is detected, the terminal identifies a touch scene corresponding to the first touch operation.

[0121] In some embodiments, this step is the same as step 101 and will not be repeated here.

[0122] Step 505: When the touch scene is a game scene, the terminal determines the area type of the touch area of ​​the game scene caused by the first touch operation.

[0123] The terminal takes a screenshot of the game scene to obtain a scene image; identifies the core icon of the scene image through an image recognition model; and determines the area type corresponding to the core icon. A scene image refers to an image that includes scene identification information; for example, the scene image may be a game interface; a core icon refers to an icon that includes area identification information; for example, a core icon may be a function option name, etc. The image recognition model may be a target detection model, which locates and identifies the core icon through the target detection model to determine the area type of the touch area. Different core icons correspond to different area types; for example, core icon 1 corresponds to area type 1, and core icon 2 corresponds to area type 2.

[0124] Step 506: Based on the scene identifier and area type of the game scene, the terminal obtains the touch filter parameter value corresponding to the game scene from the stored correspondence between the scene identifier, area type and touch filter parameter value.

[0125] For example, continuing to refer to Figure 2, when the terminal recognizes that the touch scene corresponding to the first touch operation is a game scene, it performs scene recognition on the game screenshot and distinguishes the scene to identify which type of game scene it is, that is, to identify the area type of the game scene. In some embodiments, the game application end in the terminal takes a screenshot of the game scene to obtain a scene image, transmits the scene image to the game engine, and the game engine determines the area type through the image recognition model; the game engine transmits the determined area type to the driver service; the driver service obtains the touch filter parameter value corresponding to the game scene from the stored correspondence between the scene identifier, area type and touch filter parameter value (touch algorithm library) based on the scene identifier and area type of the game scene. Among them, the touch algorithm library is responsible for the coordinate calculation and filtering processing of the touch operation; for example, when the MCU of the terminal detects the first touch operation, the touch algorithm library determines the position coordinates of the first touch operation and transmits the position coordinates of the first touch operation to the driver service.

[0126] Step 507: The terminal performs filtering processing on the first touch operation based on the touch filtering parameter value to obtain a second touch operation.

[0127] In some embodiments, this step is the same as step 103 and will not be repeated here.

[0128] Step 508: The terminal responds to the second touch operation.

[0129] In some embodiments, this step is the same as step 104 and will not be repeated here.

[0130] For example, please refer to Figure 6. The game engine of the terminal enters the game scene, and then takes a screenshot of the game scene to obtain a scene image. The core icon in the scene image is identified through image data processing, and the area of ​​the game scene is divided based on the core icon, thereby realizing the setting of the divided area. At this time, the terminal calls the touch service to pass in the divided area, and then starts the area division algorithm. The core icon is identified through the area division algorithm, and the area type is determined based on the core icon. When the first touch operation (touch signal special effect information) is received, the user's finger is tracked, and the corresponding touch filter parameters are determined based on the area type. When the finger is lifted, the first touch operation is filtered based on the touch filter parameters, and then the second touch operation obtained is responded to and ended.

[0131] In an embodiment of the present application, the terminal determines in advance the touch filter parameter values ​​corresponding to different area types of the user in the game scene based on the user's historical touch data. The touch filter parameter values ​​determined in this way are more suitable for the user and the current area type. Therefore, based on the game scene and the area type of the touch area corresponding to the first touch operation, the acquired touch filter parameter values ​​are not only suitable for the user, but also for the area type in the game scene, thereby improving the accuracy of the acquired touch filter parameter values, thereby improving the effect of filtering the first touch operation based on the touch filter parameter values, and further improving the effect of the second touch operation obtained in response.

[0132] Please refer to FIG7 , which shows a flow chart of a touch response method according to an exemplary embodiment of the present application. The method includes:

[0133] Step 701: The terminal obtains multiple historical sliding operations of the current login account.

[0134] The embodiment of the present application can be applied in a target scenario; the target scenario can be a game scenario or an everyday scenario. In this step, the target scenario is described as an everyday scenario as an example, and the everyday scenario is a scenario other than a game; the everyday scenario can be divided into a full-screen gesture scenario (also referred to as a full-screen everyday scenario) and a non-full-screen gesture scenario (also referred to as a non-full-screen everyday scenario), and the target scenario can be a full-screen gesture scenario. For example, please continue to refer to Figure 2, the terminal stores a UI sliding database, the UI sliding database stores multiple historical sliding operations of the current login account in the target scenario, and the terminal obtains multiple historical sliding operations from the UI sliding database.

[0135] Step 702: The terminal determines a sliding distance threshold corresponding to the current login account based on the sliding distances of multiple historical sliding operations.

[0136] The terminal determines an average sliding distance based on the sliding distances of multiple historical sliding operations, and determines a sliding distance threshold based on the average sliding distance. For example, the terminal uses the average sliding distance as the sliding distance threshold; or the terminal increases the average sliding distance by a fifth preset distance to obtain the sliding distance threshold; or the terminal decreases the average distance by a sixth preset distance to obtain the sliding distance threshold. Both the fifth preset distance and the sixth preset distance can be set and modified as needed. In the embodiments of the present application, the fifth preset distance and the sixth preset distance are not specifically limited.

[0137] In an embodiment of the present application, in a full-screen gesture scenario, the terminal records the user's daily sliding distance of full-screen multitasking, and adjusts the sliding distance applicable to multitasking in the debugging UI, so that each user can achieve a better hand tracking experience.

[0138] Step 703: When a first touch operation is detected, the terminal identifies a touch scene corresponding to the first touch operation.

[0139] In some embodiments, this step is the same as step 101 and will not be repeated here.

[0140] Step 704: The terminal obtains a touch filter parameter value corresponding to the touch scene, where the touch filter parameter value includes at least one of a contact point filter parameter value and a track filter parameter value. The contact point filter parameter value is used to filter the touch point of the first touch operation, and the track filter parameter value is used to filter the track of the first touch operation.

[0141] In some embodiments, this step is the same as step 102 and is not described in detail here. Alternatively, this step is the same as step 405 and is not described in detail here. In other embodiments, after the terminal identifies the touch scene, it determines that the touch scene is the target scene before obtaining the touch filter parameter value corresponding to the touch scene.

[0142] Step 705: The terminal performs filtering processing on the first touch operation based on the touch filtering parameter value to obtain a second touch operation.

[0143] In some embodiments, this step is the same as step 102 and will not be repeated here.

[0144] Step 706: When the second touch operation is a sliding operation, the terminal obtains a sliding distance threshold corresponding to the current login account.

[0145] When the embodiment of the present application is applied to a target scenario, this step may be: when the touch scenario is the target scenario and the second touch operation is a sliding operation, the terminal obtains the sliding distance threshold corresponding to the current login account.

[0146] Through steps 701-702, the terminal will obtain the sliding distance threshold corresponding to the current login account and store the sliding distance threshold corresponding to the current login account; in this step, the terminal directly obtains the stored sliding distance threshold corresponding to the current login account, and then executes step 707.

[0147] Step 707: When the sliding distance of the sliding operation exceeds the sliding distance threshold, the terminal responds to the sliding operation.

[0148] The terminal determines the second touch instruction corresponding to the sliding operation based on the touch scene, and executes the second touch instruction in response to the second touch operation; for example, the touch scene is a full-screen gesture scene and the user is browsing a short video. The user triggers the second touch operation to trigger a switching instruction to the terminal, and the terminal switches the currently playing short video based on the switching instruction.

[0149] In some embodiments, if the sliding distance of the sliding operation does not exceed the sliding distance threshold, the terminal does not respond to the sliding operation. In addition, the terminal may also display a prompt message, which is used to indicate the sliding distance threshold, so as to remind the user that the sliding distance must exceed the sliding distance threshold when the user wants to trigger an instruction to the terminal through the sliding operation.

[0150] In the embodiment of the present application, the terminal can not only set the contact filtering parameters (lock point parameters) and trajectory filtering parameters (following chirality parameters) according to different users, but also identify and adjust the sliding distance threshold in the full-screen case according to different scenarios. It can also identify different scenes in different games and adjust different fixed contact filtering parameters (lock point parameters) and trajectory filtering parameters (following chirality parameters) according to different areas, thereby comprehensively improving the user's touch experience.

[0151] Please refer to FIG8 , which shows a block diagram of a touch response device according to an exemplary embodiment of the present application. The device includes:

[0152] The identification module 801 is configured to identify a touch scene corresponding to the first touch operation when a first touch operation is detected;

[0153] A first acquisition module 802 is configured to acquire a touch filter parameter value corresponding to a touch scene, where the touch filter parameter value includes at least one of a contact point filter parameter value and a trajectory filter parameter value. The contact filter parameter value is used to filter the contact point of the first touch operation, and the trajectory filter parameter value is used to filter the trajectory of the first touch operation.

[0154] A filtering module 803 is configured to filter the first touch operation based on a touch filtering parameter value to obtain a second touch operation;

[0155] The response module 804 is configured to respond to the second touch operation.

[0156] In some embodiments, the first acquisition module 802 is configured to acquire, based on the scene identifier of the touch scene, a touch filter parameter value corresponding to the touch scene from a stored correspondence between the scene identifier and the touch filter parameter value.

[0157] In some embodiments, the apparatus further comprises:

[0158] A second acquisition module is configured to acquire, for any touch scene among a plurality of preset touch scenes, first historical touch data of a currently logged-in account in the touch scene;

[0159] A first determining module, configured to determine a touch filter parameter value of a currently logged-in account in a touch scenario based on the first historical touch data;

[0160] The first storage module is configured to associate the scene identifier of the touch scene with the touch filter parameter value and store them in a correspondence between the scene identifier and the touch filter parameter value.

[0161] In some embodiments, the first acquisition module 802 is used to determine the area type of the touch area of ​​the first touch operation in the game scene when the touch scene is a game scene; based on the scene identifier and area type of the game scene, obtain the touch filter parameter value corresponding to the game scene from the stored correspondence between the scene identifier, area type and touch filter parameter value.

[0162] In some embodiments, the first acquisition module 802 is configured to take a screenshot of the game scene to obtain a scene image; identify a core icon of the scene image through an image recognition model; and determine a region type corresponding to the core icon.

[0163] In some embodiments, the apparatus further comprises:

[0164] A third acquisition module is configured to acquire, for any area type among a plurality of area types preset in a game scenario, second historical touch data of a touch operation triggered by a currently logged-in account in an area corresponding to the area type;

[0165] A second determining module is configured to determine, based on the second historical touch data, a touch filter parameter value for triggering a touch operation in an area corresponding to the area type by the current login account;

[0166] The second storage module is used to associate and store the scene identifier, area type and touch filter parameter value of the game scene in a corresponding relationship among the scene identifier, area type and touch filter parameter value.

[0167] In some embodiments, the response module 804 is used to obtain a sliding distance threshold corresponding to the current login account when the second touch operation is a sliding operation; and respond to the sliding operation when the sliding distance of the sliding operation exceeds the sliding distance threshold.

[0168] In some embodiments, the apparatus further comprises:

[0169] The fourth acquisition module is used to obtain multiple historical sliding operations of the current login account;

[0170] The third determining module is configured to determine a sliding distance threshold corresponding to the current login account based on the sliding distances of multiple historical sliding operations.

[0171] In some embodiments, the filtering module 803 is used for touch filtering parameter values ​​including contact filtering parameter values; when the distance between the edge contact and the center contact of the first touch operation is less than the contact distance threshold represented by the contact filtering parameter value, the second touch operation obtained by filtering the first touch operation is a click operation; when the distance between the edge contact and the center contact of the first touch operation is not less than the contact distance threshold represented by the contact filtering parameter value, the second touch operation obtained by filtering the first touch operation is a sliding operation.

[0172] In some embodiments, the filtering module 803 is configured to smooth the sliding trajectory of the first touch operation based on the touch filtering parameter value including a trajectory filtering parameter value to obtain the second touch operation.

[0173] In an embodiment of the present application, by setting different touch filter parameter values ​​corresponding to different touch scenes, it is possible to obtain touch filter parameter values ​​that are suitable for the current touch scene, that is, the obtained touch filter parameter values ​​are more reasonable, thereby improving the effect of filtering the first touch operation based on the touch filter parameter values, thereby improving the effect of the second touch operation obtained in response.

[0174] It should be noted that the touch response device provided in the above embodiments is merely illustrated by the division of the aforementioned functional modules when performing touch response. In actual applications, the aforementioned functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal can be divided into different functional modules to perform all or part of the functions described above. Furthermore, the touch response device provided in the above embodiments and the touch response method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0175] Please refer to FIG9 , which shows a block diagram of a terminal 900 according to an exemplary embodiment of the present application. The terminal 900 in the present application includes one or more of the following components: a processor 910 , a memory 920 , and a display screen 930 .

[0176] The processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect the various parts of the entire terminal 900. It performs various functions of the terminal 900 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 920, and calling data stored in the memory 920. Optionally, the processor 910 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 910 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a neural network processing unit (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen 930; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to handle wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 910, but may be implemented by a separate chip.

[0177] The memory 920 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 920 includes a non-transitory computer-readable storage medium. The memory 920 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 900 (such as audio data, a phone book), etc.

[0178] The display screen 930 is a display component for displaying a user interface. Optionally, the display screen 930 is a display screen with a touch function, through which the user can use any suitable object such as a finger, a touch pen, etc. to perform touch operations on the display screen 930.

[0179] The display screen 930 is typically provided on the front panel of the terminal 900. The display screen 930 can be designed as a full screen, a curved screen, a special-shaped screen, a double-sided screen, or a foldable screen. The display screen 930 can also be designed as a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which are not limited in this embodiment.

[0180] In addition, those skilled in the art will understand that the structure of the terminal 900 shown in the above figures does not constitute a limitation of the terminal 900. The terminal 900 may include more or fewer components than shown, or combine certain components, or arrange the components differently. For example, the terminal 900 also includes an audio acquisition device, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wi-Fi) module, a power supply, a Bluetooth module, and other components, which will not be described in detail here.

[0181] An embodiment of the present application further provides a computer-readable medium, which stores at least one program code. The at least one program code is loaded and executed by the processor to implement the touch response method shown in the above embodiments.

[0182] An embodiment of the present application further provides a computer program product, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the touch response method shown in the above embodiments.

[0183] In some embodiments, the computer program product involved in the embodiments of the present application can be deployed and executed on one terminal, or on multiple terminals located at one location, or on multiple terminals distributed at multiple locations and interconnected through a communication network. Multiple terminals distributed at multiple locations and interconnected through a communication network can constitute a blockchain system.

[0184] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. The storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0185] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A touch response method, the method comprising: When a first touch operation is detected, identifying a touch scene corresponding to the first touch operation; Acquire a touch filter parameter value corresponding to the touch scene, the touch filter parameter value including at least one of a contact point filter parameter value and a track filter parameter value, the contact point filter parameter value is used to filter the touch point of the first touch operation, and the track filter parameter value is used to filter the track of the first touch operation; Performing filtering processing on the first touch operation based on the touch filter parameter value to obtain a second touch operation; Respond to the second touch operation.

2. According to the method of claim 1, the acquiring the touch filter parameter value corresponding to the touch scene comprises: Based on the scene identifier of the touch scene, the touch filter parameter value corresponding to the touch scene is acquired from the stored correspondence relationship between the scene identifier and the touch filter parameter value.

3. The method according to claim 2, further comprising: For any touch scene among the preset multiple touch scenes, obtaining first historical touch data of the current login account in the touch scene; Determining a touch filter parameter value of the current login account in the touch scenario based on the first historical touch data; The scene identifier of the touch scene and the touch filter parameter value are associated and stored in a correspondence relationship between the scene identifier and the touch filter parameter value.

4. The method according to claim 2, wherein based on the scene identifier of the touch scene, acquiring the touch filter parameter value corresponding to the touch scene from the stored correspondence between the scene identifier and the touch filter parameter value comprises: When the touch scene is a game scene, determining an area type of a touch area of ​​the game scene for the first touch operation; Based on the scene identifier of the game scene and the area type, the touch filter parameter value corresponding to the game scene is obtained from the stored correspondence relationship among the scene identifier, the area type and the touch filter parameter value.

5. The method according to claim 4, wherein determining the area type of the touch area of ​​the game scene in which the first touch operation is performed comprises: Taking a screenshot of the game scene to obtain a scene image; Identify the core icon of the scene image through an image recognition model; Determine the area type corresponding to the core icon.

6. The method according to claim 4, further comprising: For any area type among a plurality of area types preset in the game scenario, obtaining second historical touch data of a touch operation triggered by the current login account in an area corresponding to the area type; Determining, based on the second historical touch data, a touch filter parameter value for triggering a touch operation in the area corresponding to the area type by the current login account; The scene identifier of the game scene, the area type and the touch filter parameter value are associated and stored in a correspondence relationship among the scene identifier, the area type and the touch filter parameter value.

7. The method according to claim 1, wherein responding to the second touch operation comprises: When the second touch operation is a sliding operation, obtaining a sliding distance threshold corresponding to the current login account; When a sliding distance of the sliding operation exceeds the sliding distance threshold, responding to the sliding operation.

8. The method according to claim 7, further comprising: Obtain multiple historical sliding operations of the currently logged-in account; Based on the sliding distances of the multiple historical sliding operations, a sliding distance threshold corresponding to the current login account is determined.

9. The method according to claim 1, wherein filtering the first touch operation based on the touch filter parameter value to obtain the second touch operation comprises: The touch filter parameter value includes a touch point filter parameter value; When the distance between the edge touch point and the center touch point of the first touch operation is less than the touch distance threshold represented by the touch filter parameter value, the second touch operation obtained by filtering the first touch operation is a click operation; When the distance between the edge touch point and the center touch point of the first touch operation is not less than the touch distance threshold represented by the touch filtering parameter value, the second touch operation obtained by filtering the first touch operation is a sliding operation.

10. The method according to claim 1 or 9, wherein filtering the first touch operation based on the touch filter parameter value to obtain the second touch operation comprises: The touch filter parameter value includes a track filter parameter value; The sliding trajectory of the first touch operation is smoothed based on the trajectory filtering parameter value to obtain the second touch operation.

11. A touch response device, comprising: an identification module, configured to identify a touch scene corresponding to a first touch operation when a first touch operation is detected; a first acquisition module, configured to acquire a touch filter parameter value corresponding to the touch scene, wherein the touch filter parameter value includes at least one of a contact point filter parameter value and a track filter parameter value, wherein the contact point filter parameter value is used to filter the contact point of the first touch operation, and the track filter parameter value is used to filter the track of the first touch operation; A filtering module, configured to filter the first touch operation based on the touch filtering parameter value to obtain a second touch operation; A response module is used to respond to the second touch operation.

12. The device according to claim 11, wherein the first acquisition module is used to acquire the touch filter parameter value corresponding to the touch scene from the stored correspondence relationship between the scene identifier and the touch filter parameter value based on the scene identifier of the touch scene.

13. The device according to claim 12, further comprising: A second acquisition module is used to acquire, for any touch scene among a plurality of preset touch scenes, first historical touch data of the current login account in the touch scene; A first determination module, configured to determine a touch filter parameter value of the current login account in the touch scenario based on the first historical touch data; The first storage module is used to associate the scene identifier of the touch scene with the touch filter parameter value and store them in a corresponding relationship between the scene identifier and the touch filter parameter value.

14. According to the device of claim 12, the first acquisition module is used to determine the area type of the touch area of ​​the first touch operation in the game scene when the touch scene is a game scene; based on the scene identifier and the area type of the game scene, obtain the touch filter parameter value corresponding to the game scene from the stored correspondence between the scene identifier, the area type and the touch filter parameter value.

15. According to the device of claim 11, the response module is used to obtain a sliding distance threshold corresponding to the current login account when the second touch operation is a sliding operation; and respond to the sliding operation when the sliding distance of the sliding operation exceeds the sliding distance threshold.

16. The device according to claim 11, wherein the filtering module is used for the touch filtering parameter value to include a touch filtering parameter value; when the distance between the edge contact and the center contact of the first touch operation is less than a touch distance threshold represented by the touch filtering parameter value, the second touch operation obtained by filtering the first touch operation is a click operation; when the distance between the edge contact and the center contact of the first touch operation is not less than the touch distance threshold represented by the contact filtering parameter value, the second touch operation obtained by filtering the first touch operation is a sliding operation.

17. The device according to claim 11 or 16, wherein the filtering module is used for the touch filtering parameter value to include a trajectory filtering parameter value; based on the trajectory filtering parameter value, the sliding trajectory of the first touch operation is smoothed to obtain the second touch operation.

18. A terminal comprising one or more processors and one or more memories, wherein the one or more memories store at least one program code, and the at least one program code is loaded and executed by the one or more processors to implement the touch response method as described in any one of claims 1 to 10.

19. A computer-readable storage medium, wherein at least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to implement the touch response method according to any one of claims 1 to 10.

20. A computer program product, wherein the computer program product stores at least one program code, wherein the at least one program code is used to be executed by a processor to implement the touch response method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Touch detection method and device for touch screen and storage medium

    CN112286392A

  • Operation identification method and device, electronic equipment and storage medium

    CN113138693A

  • Method and device for adjusting parameters of touch panel, processing equipment and storage medium

    CN115756202A

  • Touch response method, device and equipment

    CN117492632A