Touch control method and device, electronic equipment and storage medium

By adjusting processing parameters according to the touch scene, processing and displaying touch information, the problems of high randomness of touch operations and poor response effects in the prior art are solved, and the optimized display effect in different scenarios is achieved.

CN119473036APending Publication Date: 2025-02-18BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311009636.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, users have a high randomness in touch operations on touch display screens, and the response effect of touch operations is poor, especially in writing scenarios, which have poor pencil performance and low click success rate.

Method used

By obtaining the touch information collected by the touch display screen, it is processed and displayed according to the processing parameters in the touch scene to which the display interface belongs. The processing parameters include anti-shake parameters and filter parameters, which are used to optimize the display effect in writing scenes and non-writing scenes to achieve the requirements of the scene.

Benefits of technology

In each touch scene, the display effect of touch information meets the requirements of the scene, and the response effect of the display screen to touch operations is improved, such as improving the pen-like nature in writing scenes and improving the click success rate in non-writing scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473036A_ABST
    Figure CN119473036A_ABST
Patent Text Reader

Abstract

The invention relates to a touch control method and device, electronic equipment and a storage medium, and the method comprises the steps that touch information collected by a touch display screen is obtained, and the touch information comprises the touch position of a touch pen on the touch display screen; and displaying the touch information on the touch display screen according to processing parameters in a touch scene to which a display interface on the touch display screen belongs. According to the method, the display effect of the touch information can meet the requirement of the touch scene in each touch scene, and the response effect of the display screen to the touch operation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of touch control technology of touch display screens, and in particular to a touch control method, device, electronic device and storage medium. Background Art

[0002] In recent years, the functions of terminal devices have become more and more abundant, and the performance of each function has gradually improved. For example, the touch accuracy of the touch screen of the terminal device is getting higher and higher. Users can not only input click operations, sliding operations, drag operations, etc. through touching the touch screen, but also complete writing operations through touching the touch screen, that is, writing text or drawing, etc., especially with accessories such as stylus to complete writing operations. However, in the related art, the user's touch operation on the touch screen is often highly random, and the response effect of the touch operation is not good. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a touch control method, device, electronic device and storage medium to solve the defects in the related art.

[0004] According to a first aspect of an embodiment of the present disclosure, a touch control method is provided, the method comprising:

[0005] Acquire touch information collected by the touch display screen, wherein the touch information includes a touch position of the stylus on the touch display screen;

[0006] The touch information is displayed on the touch display screen according to processing parameters in a touch scene to which the display interface on the touch display screen belongs, wherein the touch scene includes a writing scene and a non-writing scene, and the processing parameters are used to make the display effect of the touch information meet the requirements of the touch scene, and the processing parameters include anti-shake parameters and / or filtering parameters, and the anti-shake parameters are used to characterize the minimum touch distance for updating the display position in the display effect, and the touch distance includes the distance between adjacent touch positions, and the filtering parameters are used to characterize the distance between the display position and the touch position in the display effect.

[0007] In one embodiment of the present disclosure, the method further includes:

[0008] In response to the application to which the display interface belongs being a writing application, and / or the display interface comprising a handwriting input hotspot of an input method, determining that the touch scene to which the display interface belongs is a writing scene;

[0009] In response to the application to which the display interface belongs being a non-writing application and the display interface not including a handwriting input hotspot of an input method, it is determined that the touch scene to which the display interface belongs is a non-writing scene.

[0010] In one embodiment of the present disclosure, displaying the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface belongs includes:

[0011] In a writing scenario, in response to the touch position being located in a writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the writing scenario;

[0012] In a writing scenario, in response to the touch position being located in a non-writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the non-writing scenario.

[0013] In one embodiment of the present disclosure, the step of acquiring the touch information collected by the touch display screen includes:

[0014] The original reporting point positions collected by the touch display screen are processed using the first processing parameter to obtain the touch information.

[0015] In one embodiment of the present disclosure, the first processing parameter is a processing parameter in a writing scenario;

[0016] The displaying the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface belongs includes:

[0017] In response to the touch scene to which the display interface belongs being a writing scene, displaying the touch information on the touch display screen; or,

[0018] In response to the touch scene to which the display interface belongs being a non-writing scene, the touch information is processed using a second processing parameter and then displayed on the touch display screen, wherein the display effect of the touch information processed using the second processing parameter is the same as the display effect of the original reporting point position processed using the processing parameter under the non-writing scene.

[0019] In one embodiment of the present disclosure, the first processing parameter includes an anti-shake parameter and a filtering parameter; and the second processing parameter includes an anti-shake parameter.

[0020] In one embodiment of the present disclosure, displaying the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface belongs includes:

[0021] The first processing parameter is corrected according to the processing parameter in the touch scene to which the display interface belongs, and the touch information is displayed on the touch display screen.

[0022] In one embodiment of the present disclosure, the correcting the first processing parameter according to the processing parameter in the touch scene to which the display interface belongs includes:

[0023] The first processing parameter is corrected to a processing parameter in a touch scene to which the display interface belongs.

[0024] According to a second aspect of an embodiment of the present disclosure, a touch control device is provided, the device comprising:

[0025] An acquisition module, used to acquire touch information collected by the touch display screen, wherein the touch information includes a touch position of the stylus on the touch display screen;

[0026] A display module is used to display the touch information on the touch display screen according to processing parameters in a touch scene to which the display interface on the touch display screen belongs, wherein the touch scene includes a writing scene and a non-writing scene, and the processing parameters are used to make the display effect of the touch information meet the requirements of the touch scene, and the processing parameters include anti-shake parameters and / or filtering parameters, and the anti-shake parameters are used to characterize the minimum touch distance for updating the display position in the display effect, and the touch distance includes the distance between adjacent touch positions, and the filtering parameters are used to characterize the distance between the display position and the touch position in the display effect.

[0027] In one embodiment of the present disclosure, the device further includes a scene module, which is used to:

[0028] In response to the application to which the display interface belongs being a writing application, and / or the display interface comprising a handwriting input hotspot of an input method, determining that the touch scene to which the display interface belongs is a writing scene;

[0029] In response to the application to which the display interface belongs being a non-writing application and the display interface not including a handwriting input hotspot of an input method, it is determined that the touch scene to which the display interface belongs is a non-writing scene.

[0030] In one embodiment of the present disclosure, the display module is used for:

[0031] In a writing scenario, in response to the touch position being located in a writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the writing scenario;

[0032] In a writing scenario, in response to the touch position being located in a non-writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the non-writing scenario.

[0033] In one embodiment of the present disclosure, the acquisition module is used to:

[0034] The original reporting point positions collected by the touch display screen are processed using the first processing parameter to obtain the touch information.

[0035] In one embodiment of the present disclosure, the first processing parameter is a processing parameter in a writing scenario;

[0036] The display module is used for:

[0037] In response to the touch scene to which the display interface belongs being a writing scene, displaying the touch information on the touch display screen; or,

[0038] In response to the touch scene to which the display interface belongs being a non-writing scene, the touch information is processed using a second processing parameter and then displayed on the touch display screen, wherein the display effect of the touch information processed using the second processing parameter is the same as the display effect of the original reporting point position processed using the processing parameter under the non-writing scene.

[0039] In one embodiment of the present disclosure, the first processing parameter includes an anti-shake parameter and a filtering parameter; and the second processing parameter includes an anti-shake parameter.

[0040] In one embodiment of the present disclosure, the display module is used for:

[0041] The first processing parameter is corrected according to the processing parameter in the touch scene to which the display interface belongs, and the touch information is displayed on the touch display screen.

[0042] In one embodiment of the present disclosure, the display module is used to correct the first processing parameter according to the processing parameter in the touch scene to which the display interface belongs, and is used to:

[0043] The first processing parameter is corrected to a processing parameter in a touch scene to which the display interface belongs.

[0044] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the touch control method described in the first aspect when executing the computer instructions.

[0045] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in the first aspect is implemented.

[0046] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0047] The touch control method provided in the embodiment of the present disclosure obtains the touch information collected by the touch display screen, such as the touch position of the stylus on the touch display screen; and displays the touch information on the touch display screen according to the processing parameters of the touch scene to which the display interface on the touch display screen belongs. The method can make the display effect of the touch information meet the requirements of the touch scene in each touch scene, and improve the response effect of the display screen to the touch operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0049] Figure 1 is a flow chart of a touch control method shown in an exemplary embodiment of the present disclosure;

[0050] Figure 2 is a flow chart of a touch control method shown in an exemplary embodiment of the present disclosure;

[0051] Figure 3 is a flow chart of a touch control method shown in an exemplary embodiment of the present disclosure;

[0052] Figure 4 is a structural schematic diagram of a touch control device shown in an exemplary embodiment of the present disclosure;

[0053] Figure 5 It is a structural block diagram of an electronic device shown in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0055] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0056] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0057] In recent years, the functions of terminal devices have become more and more abundant, and the performance of various functions has gradually improved. For example, the touch accuracy of the touch display screen of the terminal device is getting higher and higher. Users can not only input click operations, sliding operations, drag operations, etc. through touching the touch display screen, but also complete writing operations by touching the touch display screen, that is, writing text or drawing, etc., especially with accessories such as stylus pens. Complete writing operations. However, in the related art, the user's touch operation on the touch display screen is often highly random, and the response effect of the touch display screen to the touch operation needs to be improved. For example, when a user writes on the touch display screen, the writing effect displayed on the touch display screen may be quite different from the actual effect, such as poor pen tracking; when a user clicks on the touch display screen, the touch display screen recognizes it as writing, sliding, and other operations, thereby reducing the success rate of the click.

[0058] Based on this, in the first aspect, at least one embodiment of the present disclosure provides a touch control method, please refer to the attached Figure 1 , which shows the process of the method, including steps S101 to S103.

[0059] Among them, the method can be applied to a terminal device with a touch screen, which can be used for both display and touch, that is, the user can input instructions by performing touch operations on the touch screen, such as writing, clicking, etc. on the touch screen. The method aims to accurately respond to the user's touch operation, that is, when the user performs a touch operation on the touch screen, the writing effect is displayed on the touch screen, and when the user performs a click operation on the touch screen, the response interface of the click operation is displayed on the touch screen, for example, after the user clicks the icon of an APP, the touch screen displays the homepage of the APP.

[0060] In step S101, touch information collected by a touch display screen is acquired, wherein the touch information includes a touch position of a stylus on the touch display screen.

[0061] The touch screen is provided with a touch circuit, which includes pixel subcircuits distributed at different positions of the screen, and each pixel subcircuit is used to collect touch operations on the corresponding pixel of the screen, that is, the pixel subcircuit can distinguish whether the corresponding pixel is touched. For example, a capacitor is provided in the pixel subcircuit, and the capacitance of the capacitor in the pixel subcircuit is different when the corresponding pixel is touched and when it is not touched, so the pixel subcircuit can determine whether the corresponding pixel is touched by the capacitance of the capacitor.

[0062] The position determined by the touch display screen according to the capacitance value of the capacitor in each pixel sub-circuit in the touch circuit is the original reporting point position collected by the touch display screen. After one or more pixel sub-circuits of the touch display screen collect the touch operation on the corresponding pixel, the touch display screen will determine the pixel corresponding to the one or more pixel sub-circuits on the display screen as the original reporting point position, that is, the touched pixel identified by the pixel sub-circuit is used as the original reporting point position.

[0063] The stylus pen may be an active pen or a passive pen. The tip of the stylus pen is thin and delicate, and has a small deformation. Therefore, when the stylus pen touches the touch display screen, it is easy to cause the problem of not being able to distinguish between writing and clicking.

[0064] Exemplarily, this step can use the original reporting point position collected by the touch display screen as the touch information. Optionally, this step is performed by the upper layer of software (the upper layer of software can be an application layer), that is, the touch display screen reports the input event carrying the original reporting point position to the upper layer of software, and the upper layer of software can use the original reporting point position in the input event as the touch information.

[0065] Exemplarily, this step can process the original reporting point position collected by the touch display screen using the first processing parameter to obtain the touch information, wherein the first processing parameter can be a processing parameter in a writing scene, a processing parameter in a non-writing scene, or other processing parameters. Optionally, this step is performed by the upper layer of software, that is, the touch display screen can process the original reporting point position using the first processing parameter, and report the input event carrying the processing result (that is, the touch position obtained after processing) to the upper layer of software, and the upper layer of software can use the processing result in the input event as touch information.

[0066] In step S102, the touch information is displayed on the touch display screen according to processing parameters in a touch scene to which the display interface on the touch display screen belongs.

[0067] Among them, the touch scene includes a writing scene and a non-writing scene. The writing scene refers to a scene in which a user writes, draws, etc. on a touch display screen with a stylus, and the non-writing scene refers to a scene in which a user inputs clicks and other operations on the touch display screen with a stylus. Exemplarily, before executing this step, the method can also determine the touch scene to which the display interface on the touch display screen belongs in the following manner: in response to the application to which the display interface belongs being a writing application, and / or the display interface containing a handwriting input hot zone of an input method, determining that the touch scene to which the display interface belongs is a writing scene; in response to the application to which the display interface belongs being a non-writing application, and the display interface not containing a handwriting input hot zone of an input method, determining that the touch scene to which the display interface belongs is a non-writing scene.

[0068] For example, the processor of the terminal device can control the display interface on the touch screen, so the processor is aware of the content of the display interface of the touch screen, that is, it can determine the application to which the display interface belongs, and whether the display interface contains the handwriting input hotspot of the input method. For example, the terminal device is pre-configured with an application whitelist, and the applications in the whitelist are writing applications. Therefore, after determining the application to which the display interface belongs, it can be further determined whether the application to which the display interface belongs is in the above whitelist. If so, it is determined that the application to which the display interface belongs is a writing application, and if not, it is determined that the application to which the display interface belongs is a non-writing application.

[0069] The processing parameters are used to make the display effect of the touch information meet the requirements of the touch scene, and the processing parameters include anti-shake parameters (such as jitter) and / or filtering parameters. It can be understood that the smaller the anti-shake parameters and filtering parameters are, the better the pen-following performance of the display effect is, and the larger the anti-shake parameters and filtering parameters are, the worse the pen-following performance of the display effect is, but the click success rate is higher.

[0070] The anti-shake parameter may also be referred to as a point stability parameter, which is used to characterize the minimum touch distance for updating the display position in the display effect, and the touch distance includes the distance between adjacent touch positions; in other words, the display position in the display effect is updated only when the distance between the first touch point and the second touch point on the touch display screen is greater than the anti-shake parameter, and the display position in the display effect is not updated if the distance between the first touch point and the second touch point is less than or equal to the anti-shake parameter, that is, after determining the first display position according to the first touch point, if the distance between the adjacent second touch point and the first touch point is less than or equal to the anti-shake parameter, the display position continues to be determined as the first display position, thereby reducing the jitter of the display position, and if the distance between the adjacent second touch point and the first touch point is greater than the anti-shake parameter, the display position is re-determined.

[0071] The filtering parameter is used to characterize the distance between the display position and the touch position in the display effect. The filtering parameter may be an alpha filtering parameter, a Kalman filtering parameter, etc. Taking the alpha filtering parameter as an example, the filtering process is shown in the following formula:

[0072] alpha=abs(current_x-last_x) / const_alpha

[0073] Where alpha is the distance between the current frame position before filtering and the previous frame position after filtering, current_x is the current frame position before filtering, last_x is the current frame position after filtering, and const_alpha is the filtering parameter.

[0074] It can be seen from the above formula that the larger the filtering parameter, the larger the distance between the positions before and after filtering, the worse the chirality, but the trajectory will be smoother due to filtering.

[0075] In a possible embodiment, when the touch information is the original reporting point position collected by the touch display screen, this step can display the touch information on the touch display screen in a writing scenario according to the processing parameters in the writing scenario, for example, the touch information is processed using the processing parameters in the writing scenario and then displayed on the touch display screen; in a non-writing scenario, the touch information is displayed on the touch display screen according to the processing parameters in the non-writing scenario, for example, the touch information is processed using the processing parameters in the non-writing scenario and then displayed on the touch display screen.

[0076] In this embodiment, corresponding processing parameters are used to process touch information in writing scenarios and non-writing scenarios respectively, so that the display effect of touch information can meet the requirements of the scenarios in both scenarios. For example, if the writing scenario requires the display effect to have strong pen-following performance, then this method can improve the pen-following performance of the display effect in the writing scenario. For another example, if the non-writing scenario requires the display effect to have a high click success rate, then this method can improve the display effect to have a high click success rate in the non-writing scenario.

[0077] In some possible examples of this embodiment, the scene division accuracy may be low. For example, when the display interface is the interface of a writing application, the touch scene is a writing scene, and the interface has a writing hot zone (the writing hot zone is an area in the display interface belonging to the writing scene, which is used to collect writing operations) and a non-writing hot zone (the non-writing hot zone is an area in the display interface belonging to the writing scene that is not used for writing operations; generally, in a writing scene with a writing hot zone, the non-writing hot zone is an area in the display interface outside the writing hot zone). The user may perform writing operations in the writing hot zone or click operations in the non-writing hot zone. Therefore, if the writing scene is used in this scene, If the touch information is processed and displayed using the processing parameters under the writing scene, click operations in non-writing hot zones will be responded to as sliding operations, resulting in an inaccurate response effect. For another example, when the display interface includes a handwriting input hot zone of an input method, the touch scene is a writing scene, and the interface has a writing hot zone (that is, this example can be a handwriting input hot zone) and a non-writing hot zone. The user may perform writing operations in the writing hot zone or click operations in the non-writing hot zone. Therefore, if the touch information is processed and displayed using the processing parameters under the writing scene in this scene, click operations in non-writing hot zones will be responded to as sliding operations, resulting in an inaccurate response effect.

[0078] Exemplarily, based on the above-mentioned problem in this embodiment, this step can display the touch information in the writing scenario in the following manner: in the writing scenario, in response to the touch position being located in the writing hot zone of the display interface, the touch information is displayed on the touch display screen according to the processing parameters in the writing scenario, for example, the touch information is processed using the processing parameters in the writing scenario and then displayed on the touch display screen; in the writing scenario, in response to the touch position being located in the non-writing hot zone of the display interface, the touch information is displayed on the touch display screen according to the processing parameters in the non-writing scenario, for example, the touch information is processed using the processing parameters in the non-writing scenario and then displayed on the touch display screen.

[0079] It is understandable that in the above example, the writing application and the input method program can configure the position of the writing hot zone and the non-writing hot zone of each interface in the terminal device, so that the terminal device can determine whether the touch position is within the writing hot zone. In addition, the terminal device can also send the touch position to the writing application and the input method program, so that the writing application and the input method program determine whether the touch position is within the writing hot zone, and return the determination result to the terminal device.

[0080] In another possible embodiment, when the touch information is the result of processing the original reporting point position using a first processing parameter, and the first processing parameter is a processing parameter under a writing scene, this step can be in response to the touch scene to which the display interface belongs being a writing scene, and the touch information is displayed on the touch display screen; or, in response to the touch scene to which the display interface belongs being a non-writing scene, the touch information is processed using a second processing parameter and then displayed on the touch display screen, wherein the display effect of the touch information processed using the second processing parameter is the same as the display effect of the original reporting point position processed using the processing parameter under the non-writing scene.

[0081] The first processing parameter may include an anti-shake parameter and a filtering parameter; and the second processing parameter includes an anti-shake parameter.

[0082] Exemplarily, after the original reporting point positions are processed using the anti-shake parameters in the first processing parameters, 100 original reporting point positions can be made into 80 touch positions. This is because if the distance between adjacent original reporting point positions is within the anti-shake parameters (for example, 10bp), one touch position will be formed; after the touch positions in the touch information are processed using the anti-shake parameters in the second processing parameters, 80 touch positions can be made into 70 display positions. This is because if the distance between adjacent touch positions is within the anti-shake parameters (5bp), one display position will be formed.

[0083] In this embodiment, the touch display screen can pre-process the original reporting point position using the processing parameters under the writing scenario, and report the processing results as touch information to the upper layer of the software, so that the upper layer of the software can directly display the touch information in the writing scenario, and use the second processing parameters to process the touch information in the non-writing scenario before displaying it. This can reduce the workload of the upper layer of the software and improve the efficiency of the touch response.

[0084] In another possible embodiment, when the touch information is a result obtained by processing the original reporting point position using a first processing parameter, and the first processing parameter is a processing parameter in a writing scene or a non-writing scene, this step can correct the first processing parameter according to the processing parameter in the touch scene to which the display interface belongs, and display the touch information on the touch display screen.

[0085] The display of touch information mentioned in this embodiment refers to directly displaying the touch information on the touch display screen.

[0086] Exemplarily, the first processing parameter may be corrected in the following manner: the first processing parameter is corrected to the processing parameter under the touch scene to which the display interface belongs. That is, in response to the touch scene to which the display interface belongs being a writing scene, and the first processing parameter is the processing parameter under the writing scene, the first processing parameter is maintained as the processing parameter under the writing scene; in response to the touch scene to which the display interface belongs being a writing scene, and the first processing parameter is the processing parameter under the non-writing scene, the first processing parameter is updated to the processing parameter under the writing scene; in response to the touch scene to which the display interface belongs being a non-writing scene, and the first processing parameter is the processing parameter under the non-writing scene, the first processing parameter is maintained as the processing parameter under the non-writing scene; in response to the touch scene to which the display interface belongs being a non-writing scene, and the first processing parameter is the processing parameter under the writing scene, the first processing parameter is updated to the processing parameter under the non-writing scene.

[0087] In this embodiment, the touch display screen can pre-process the original reporting point position using the current first processing parameter, and report the processing result as touch information to the upper layer of the software, so that the upper layer of the software can directly display the touch information; in addition, the upper layer of the software can also verify whether the first processing parameter is consistent with the current touch scene, and correct it if it is inconsistent, so that the touch information of the next frame can be consistent with the touch scene. This is because the touch scenes of the display interface corresponding to multiple consecutive frames of touch information are often consistent. Therefore, the corrected first processing parameter can make the display effect of the touch information meet the requirements of the touch scene.

[0088] Based on the problem of low scene division accuracy described in the first embodiment above (the problem will not be repeated here), this embodiment can correct the first processing parameter in the writing scene in the following manner: in the writing scene, in response to the touch position being located in the writing hot zone of the display interface, the first processing parameter is corrected to the processing parameter in the writing scene; in the writing scene, in response to the touch position being located in the non-writing hot zone of the display interface, the first processing parameter is corrected to the processing parameter in the non-writing scene.

[0089] It is understandable that in the above example, the writing application and the input method program can configure the position of the writing hot zone and the non-writing hot zone of each interface in the terminal device, so that the terminal device can determine whether the touch position is within the writing hot zone. In addition, the terminal device can also send the touch position to the writing application and the input method program, so that the writing application and the input method program determine whether the touch position is within the writing hot zone, and return the determination result to the terminal device.

[0090] Please refer to the attached Figure 2, which shows a flow chart of a touch control method obtained by combining the above multiple embodiments, including the following steps:

[0091] Step S201: the touch screen collects the original reported point position of the touch pen on the screen.

[0092] Step S202: the touch screen uses jitter1 and filter parameter 1 (ie, the first processing parameter in this example: the processing parameter in the writing scene) to process the original reporting point position.

[0093] Step S203: reporting input event 1 to the upper software layer (in this example, the upper software layer may be an application layer), wherein input event 1 carries the touch information obtained by processing the original reported point position.

[0094] Step S204: the upper software layer determines the touch scene of input event 1.

[0095] Step S205: directly respond to input event 1, thereby improving the writing effect.

[0096] Step S206: The upper layer of the software performs secondary processing on input event 1 using jitter2 (ie, the second processing parameter in this example), thereby improving the click success rate.

[0097] In this embodiment, the handwriting input hot zone of the writing application and input method directly responds to the motion trajectory of the input event 1 with excellent pen tracking performance, with rich pen stroke details; and in some click and focus pen operation scenarios, the input events that have undergone secondary anti-shake processing can give users a better operating experience.

[0098] Please refer to the attached Figure 3 , which shows a flow chart of a touch control method obtained by combining the above multiple embodiments, including the following steps:

[0099] Step S301: the touch screen collects the original reported point position of the touch pen on the screen.

[0100] Step S302: the touch screen uses jitter1 and filter parameter 1 (ie, the first processing parameter in this example: the processing parameter in the writing scene or the non-writing scene) to process the original reporting point position.

[0101] Step S303: reporting input event 1 to the upper layer of the software, wherein input event 1 carries the touch position obtained by processing the original reported point position.

[0102] Step S304: the upper software layer determines the touch scene of input event 1.

[0103] Step S305: Determine whether the touch position is in the writing hot zone.

[0104] Step S306: directly respond to input event 1 and calibrate the first processing parameter to a processing parameter in a writing scene, so that the writing effect can be improved in the next frame of touch information.

[0105] Step S307: directly respond to input event 1 and calibrate the first processing parameter to a processing parameter in a non-writing scenario, so that the click success rate can be improved in the next frame of touch information.

[0106] In this embodiment, the processing of the original reporting point position is all completed on the touch display screen, and the upper layer of the software dynamically corrects the processing parameters of the original reporting point position according to the current scene, thereby improving the response efficiency of the touch operation and meeting the scene's requirements for display effects.

[0107] The touch control method provided by the embodiment of the present disclosure obtains the touch information collected by the touch display screen, such as the touch position of the stylus on the touch display screen; and displays the touch information on the touch display screen according to the processing parameters of the touch scene to which the display interface on the touch display screen belongs. The method uses corresponding processing parameters to display touch information in different touch scenes, so that the display effect of the touch information can meet the requirements of the touch scene in each touch scene, and improve the response effect of the display screen to the touch operation; for example, if the writing scene requires the display effect to have a strong pen-following property, then the method can improve the pen-following property of the display effect in the writing scene; for another example, if the non-writing scene requires the display effect to have a high click success rate, then the method can improve the click success rate of the display effect in the non-writing scene.

[0108] According to a second aspect of the present disclosure, a touch control device is provided. Figure 4 , the device comprises:

[0109] An acquisition module 401 is used to acquire touch information collected by the touch display screen, wherein the touch information includes a touch position of the stylus on the touch display screen;

[0110] The display module 402 is used to display the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface on the touch display screen belongs, wherein the touch scene includes a writing scene and a non-writing scene, and the processing parameters are used to make the display effect of the touch information meet the requirements of the touch scene. The processing parameters include anti-shake parameters and / or filtering parameters, and the anti-shake parameters are used to characterize the minimum touch distance for updating the display position in the display effect. The touch distance includes the distance between adjacent touch positions, and the filtering parameters are used to characterize the distance between the display position and the touch position in the display effect.

[0111] In one embodiment of the present disclosure, the device further includes a scene module, which is used to:

[0112] In response to the application to which the display interface belongs being a writing application, and / or the display interface comprising a handwriting input hotspot of an input method, determining that the touch scene to which the display interface belongs is a writing scene;

[0113] In response to the application to which the display interface belongs being a non-writing application and the display interface not including a handwriting input hotspot of an input method, it is determined that the touch scene to which the display interface belongs is a non-writing scene.

[0114] In one embodiment of the present disclosure, the display module is used for:

[0115] In a writing scenario, in response to the touch position being located in a writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the writing scenario;

[0116] In a writing scenario, in response to the touch position being located in a non-writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the non-writing scenario.

[0117] In one embodiment of the present disclosure, the acquisition module is used to:

[0118] The original reporting point positions collected by the touch display screen are processed using the first processing parameter to obtain the touch information.

[0119] In one embodiment of the present disclosure, the first processing parameter is a processing parameter in a writing scenario;

[0120] The display module is used for:

[0121] In response to the touch scene to which the display interface belongs being a writing scene, displaying the touch information on the touch display screen; or,

[0122] In response to the touch scene to which the display interface belongs being a non-writing scene, the touch information is processed using a second processing parameter and then displayed on the touch display screen, wherein the display effect of the touch information processed using the second processing parameter is the same as the display effect of the original reporting point position processed using the processing parameter under the non-writing scene.

[0123] In one embodiment of the present disclosure, the first processing parameter includes an anti-shake parameter and a filtering parameter; and the second processing parameter includes an anti-shake parameter.

[0124] In one embodiment of the present disclosure, the display module is used for:

[0125] The first processing parameter is corrected according to the processing parameter in the touch scene to which the display interface belongs, and the touch information is displayed on the touch display screen.

[0126] In one embodiment of the present disclosure, the display module is used to correct the first processing parameter according to the processing parameter in the touch scene to which the display interface belongs, and is used to:

[0127] The first processing parameter is corrected to a processing parameter in a touch scene to which the display interface belongs.

[0128] Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the first aspect related to the method, and will not be elaborated here.

[0129] According to the third aspect of the embodiment of the present disclosure, please refer to the attached Figure 5 , which exemplarily shows a block diagram of an electronic device. For example, the device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0130] Reference Figure 5 , the device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0131] The processing component 502 generally controls the overall operation of the device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0132] The memory 504 is configured to store various types of data to support operations on the device 500. Examples of such data include instructions for any application or method operating on the device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0133] Power component 506 provides power to various components of device 500. Power component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 500.

[0134] The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0135] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the device 500 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0136] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0137] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 can detect the open / closed state of the device 500, the relative positioning of components, such as the display and keypad of the device 500, the sensor assembly 514 can also detect the position change of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500 and the temperature change of the device 500. The sensor assembly 514 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0138] The communication component 516 is configured to facilitate wired or wireless communication between the device 500 and other devices. The device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0139] In an exemplary embodiment, the apparatus 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the battery management method for the electronic device described above.

[0140] In a fourth aspect, the present disclosure, in an exemplary embodiment, further provides a non-transitory computer-readable storage medium including instructions, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an apparatus 500 to complete the battery management method of the electronic device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0141] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0142] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A touch control method, characterized in that: The method comprises: Acquire touch information collected by the touch display screen, wherein the touch information includes a touch position of the stylus on the touch display screen; The touch information is displayed on the touch display screen according to processing parameters in a touch scene to which the display interface on the touch display screen belongs, wherein the touch scene includes a writing scene and a non-writing scene, and the processing parameters are used to make the display effect of the touch information meet the requirements of the touch scene, and the processing parameters include anti-shake parameters and / or filtering parameters, and the anti-shake parameters are used to characterize the minimum touch distance for updating the display position in the display effect, and the touch distance includes the distance between adjacent touch positions, and the filtering parameters are used to characterize the distance between the display position and the touch position in the display effect.

2. The touch control method according to claim 1, characterized in that: The method further comprises: In response to the application to which the display interface belongs being a writing application, and / or the display interface comprising a handwriting input hotspot of an input method, determining that the touch scene to which the display interface belongs is a writing scene; In response to the application to which the display interface belongs being a non-writing application and the display interface not including a handwriting input hotspot of an input method, it is determined that the touch scene to which the display interface belongs is a non-writing scene.

3. The touch control method according to claim 1 or 2, characterized in that: The displaying the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface belongs includes: In a writing scenario, in response to the touch position being located in a writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the writing scenario; In a writing scenario, in response to the touch position being located in a non-writing hot zone of the display interface, the touch information is displayed on the touch display screen according to processing parameters in the non-writing scenario.

4. The touch control method according to claim 1 or 2, characterized in that: The acquiring of touch information collected by the touch display screen includes: The original reporting point positions collected by the touch display screen are processed using the first processing parameter to obtain the touch information.

5. The touch control method according to claim 4, characterized in that: The first processing parameter is a processing parameter in a writing scenario; The displaying the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface belongs includes: In response to the touch scene to which the display interface belongs being a writing scene, displaying the touch information on the touch display screen; or, In response to the touch scene to which the display interface belongs being a non-writing scene, the touch information is processed using a second processing parameter and then displayed on the touch display screen, wherein the display effect of the touch information processed using the second processing parameter is the same as the display effect of the original reporting point position processed using the processing parameter under the non-writing scene.

6. The touch control method according to claim 5, characterized in that: The first processing parameters include anti-shake parameters and filtering parameters; the second processing parameters include anti-shake parameters.

7. The touch control method according to claim 4, characterized in that: The displaying the touch information on the touch display screen according to the processing parameters in the touch scene to which the display interface belongs includes: The first processing parameter is corrected according to the processing parameter in the touch scene to which the display interface belongs, and the touch information is displayed on the touch display screen.

8. The touch control method according to claim 7, characterized in that: The correcting the first processing parameter according to the processing parameter in the touch scene to which the display interface belongs includes: The first processing parameter is corrected to a processing parameter in a touch scene to which the display interface belongs.

9. A touch control device, characterized in that: The device comprises: An acquisition module, used to acquire touch information collected by the touch display screen, wherein the touch information includes a touch position of the stylus on the touch display screen; A display module is used to display the touch information on the touch display screen according to processing parameters in a touch scene to which the display interface on the touch display screen belongs, wherein the touch scene includes a writing scene and a non-writing scene, and the processing parameters are used to make the display effect of the touch information meet the requirements of the touch scene, and the processing parameters include anti-shake parameters and / or filtering parameters, and the anti-shake parameters are used to characterize the minimum touch distance for updating the display position in the display effect, and the touch distance includes the distance between adjacent touch positions, and the filtering parameters are used to characterize the distance between the display position and the touch position in the display effect.

10. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store computer instructions executable on the processor, and the processor is used to implement the touch control method according to any one of claims 1 to 8 when executing the computer instructions.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.