Touch control processing method and device, electronic equipment, readable storage medium and program product

By adjusting the screen touch parameters to respond to the hand decorative touch conditions, the problem of inaccurate touch control of the fingers wearing decorative is solved, and higher touch accuracy and sensitivity are achieved.

CN120122841APending Publication Date: 2025-06-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510151757.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-11
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

Traditional touch processing methods cannot accurately respond to the fingers wearing decorations for touch control, and there is a problem of inaccurate touch processing.

Method used

By obtaining the target touch information generated by the touch operation, if the information meets the hand decorative touch conditions, the screen touch parameters are adjusted to the hand decorative touch parameter value in response to the screen touch.

Benefits of technology

Improves the accuracy of touch processing when users wear hand decorations, and enhances touch sensitivity and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120122841A_ABST
    Figure CN120122841A_ABST
Patent Text Reader

Abstract

The invention relates to a touch processing method and device, electronic equipment, a readable storage medium and a program product. The method comprises the following steps: in response to a touch operation on a screen, obtaining target touch information generated by the touch operation; and if the target touch information meets the hand decoration touch condition, adjusting a screen touch parameter to a hand decoration touch parameter value, and responding to screen touch according to the hand decoration touch parameter value. By adopting the method, the accuracy of touch processing can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of screen display, and particularly to a touch processing method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] With the popularization of smart devices, screen touch technology has become a key way of human-computer interaction and is widely used in devices such as mobile phones, tablet computers, smart watches, touch-screen computers, and various touch-based interactive terminals. Users can perform operations such as clicking, swiping, and zooming on the screen through their fingers or a stylus to control the device and interact with information.

[0003] However, with the development of the economic society, more and more people wear decorations on their fingers. When a finger with a decoration touches the screen, the traditional touch processing method cannot accurately respond, resulting in inaccurate touch processing. Summary of the Invention

[0004] Embodiments of this application provide a touch processing method, device, electronic device, and computer-readable storage medium, which can improve the accuracy of touch processing.

[0005] In a first aspect, this application provides a touch processing method, including:

[0006] In response to a touch operation on the screen, obtain target touch information generated by the touch operation;

[0007] If the target touch information meets the hand decoration touch condition, adjust the screen touch parameters to the hand decoration touch parameter value and respond to the screen touch with the hand decoration touch parameter value.

[0008] In one of the embodiments, the target touch information includes touch circuit information, and the hand decoration touch condition includes a touch circuit condition; the step of, if the target touch information meets the hand decoration touch condition, adjusting the screen touch parameters to the hand decoration touch parameter value includes:

[0009] Determine the target position of the touch operation on the screen;

[0010] If the target position is in a non-edge area of the screen, match the touch circuit information with the touch circuit condition;

[0011] If the touch circuit information meets the touch circuit condition, adjust the screen touch parameters to the hand decoration touch parameter value.

[0012] In one embodiment, the target touch information further includes touch behavior information, and the hand decoration touch condition further includes a touch behavior condition; the method further includes:

[0013] Matching the touch behavior information with the touch behavior condition;

[0014] The step of adjusting the screen touch parameters to the hand decoration touch parameter values if the touch circuit information meets the touch circuit condition includes:

[0015] If the touch circuit information meets the touch circuit condition and the touch behavior information meets the touch behavior condition, then adjust the screen touch parameters to the hand decoration touch parameter values.

[0016] In one embodiment, the step of matching the touch circuit information with the hand decoration touch condition if the target position is in a non-edge area of the screen includes:

[0017] If the target position is in a non-edge area of the screen, then obtain the touch duration of the touch operation;

[0018] If the touch duration is greater than or equal to a target duration threshold, then match the touch circuit information with the touch circuit condition.

[0019] In one embodiment, the step of adjusting the screen touch parameters to the hand decoration touch parameter values if the target touch information meets the hand decoration touch condition includes:

[0020] If the target touch information meets the hand decoration touch condition and the screen is in the hand touch mode, then obtain the hand touch parameter value corresponding to the hand touch mode for the screen touch parameters; the screen touch parameters include at least one of a screen reporting point threshold, a reference reporting point threshold, and a capacitance peak number threshold;

[0021] Reduce the hand touch parameter value to obtain the hand decoration touch parameter value.

[0022] In one embodiment, after responding to the screen touch with the hand decoration touch parameter value, it further includes:

[0023] When in a target scenario, then adjust the hand decoration touch parameter value to the target scenario touch parameter value and respond to the screen touch with the target scenario touch parameter value; the target scenario touch parameter value is greater than the hand decoration touch parameter value.

[0024] In a second aspect, the present application further provides a touch processing device, including:

[0025] A touch information acquisition module, configured to acquire target touch information generated by the touch operation in response to a touch operation on the screen;

[0026] A touch parameter value adjustment module, configured to adjust the screen touch parameters to the hand decoration touch parameter values if the target touch information meets the hand decoration touch condition, and respond to the screen touch with the hand decoration touch parameter values.

[0027] In a third aspect, the present application further provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0028] In response to a touch operation on the screen, acquire target touch information generated by the touch operation;

[0029] If the target touch information meets the hand decoration touch condition, adjust the screen touch parameters to the hand decoration touch parameter values, and respond to the screen touch with the hand decoration touch parameter values.

[0030] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0031] In response to a touch operation on the screen, acquire target touch information generated by the touch operation;

[0032] If the target touch information meets the hand decoration touch condition, adjust the screen touch parameters to the hand decoration touch parameter values, and respond to the screen touch with the hand decoration touch parameter values.

[0033] In a fifth aspect, the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0034] In response to a touch operation on the screen, acquire target touch information generated by the touch operation;

[0035] If the target touch information meets the hand decoration touch condition, adjust the screen touch parameters to the hand decoration touch parameter values, and respond to the screen touch with the hand decoration touch parameter values.

[0036] The above touch processing method, device, electronic device, computer-readable storage medium, and computer program product, in response to a touch operation on the screen, obtain target touch information generated by the touch operation. If the target touch information meets the hand decoration touch condition, indicating that there is a decoration on the user's hand, then the screen touch parameters are adjusted to the hand decoration touch parameter values, and the screen touch is responded to with the hand decoration touch parameter values, which can perform touch processing more accurately when the user is in the hand decoration touch mode. Description of the Drawings

[0037] To more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0038] Figure 1 It is an application environment diagram of the touch processing method in an embodiment;

[0039] Figure 2 It is a schematic diagram of the capacitance value of the screen in the hand touch mode in an embodiment;

[0040] Figure 3 It is a schematic diagram of the capacitance value of the screen in the hand decoration touch mode in an embodiment;

[0041] Figure 4 It is a framework diagram of the touch processing process in an embodiment;

[0042] Figure 5 It is a structural block diagram of the touch processing device in an embodiment;

[0043] Figure 6 It is an internal structure diagram of an electronic device in an embodiment. Detailed Embodiments

[0044] In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further details the present application in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0045] In one embodiment, as Figure 1As shown, a touch processing method is provided. In this embodiment, an example is given where this method is applied to an electronic device. The electronic device can be a terminal or a server. It can be understood that this method can also be applied to a system including a terminal and a server and implemented through the interaction between the terminal and the server. Among them, the terminal can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, projection devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In this embodiment, the touch processing method includes the following steps:

[0046] Step S102, in response to a touch operation on the screen, obtain target touch information generated by the touch operation.

[0047] Among them, the screen can be a capacitive screen or a resistive screen. The capacitive screen works by using the current induction of the human body. That is, there is a transparent conductive layer on the surface of the capacitive screen. When a finger touches the screen, a capacitor is formed between the finger and the conductive layer. Due to the effect of the human body electric field, the finger will absorb a very small current from the contact point. This current flows out from the electrodes at the four corners of the screen, and theoretically, the current flowing through the four electrodes is proportional to the distance from the finger to the four corners. The controller accurately calculates the ratio of these four currents to obtain the position information of the touch point. The resistive screen consists of two conductive layers separated by an insulating layer in the middle. When a finger or other object presses the screen, the two conductive layers come into contact at the pressing point, changing the resistance value, thereby generating an electrical signal. The controller calculates the position of the touch point based on this electrical signal.

[0048] The touch operation refers to the action of the user contacting and interacting with the screen through a finger, a stylus, or a hand wearing a hand decoration (such as a ring, a glove, etc.). Common touch operations include clicking, swiping, long pressing, etc. The target touch information is the data related to the touch operation collected by the screen or relevant sensors when the touch operation occurs. The target touch information can include at least one of touch circuit information and touch behavior information.

[0049] It can be understood that when the user performs a touch operation on the screen, the electronic device system will receive this operation signal and immediately respond by starting a corresponding program to collect the target touch information generated by the touch operation.

[0050] Optionally, the electronic device detects the touch signal in real time through the touch sensor on the screen. If it detects a change in the touch signal through the touch sensor, indicating that a touch operation has occurred on the screen, it acquires the target touch information generated by the touch operation.

[0051] Optionally, if it detects a change in the touch signal through the touch sensor, it sends the touch signal to the touch controller, and the touch controller analyzes the changed touch signal to obtain the target touch information generated by the touch operation.

[0052] For example, by calculating the change amount of circuit information at different positions on the screen (such as capacitance or voltage information), the position coordinates of the touch are determined; by detecting the intensity and duration of the signal, information such as the pressure and duration of the touch is acquired.

[0053] Optionally, the touch controller can also preprocess the changed touch signal and then analyze the preprocessed touch signal to obtain the target touch information generated by the touch operation. Among them, preprocessing such as amplification and filtering can improve the quality and accuracy of the signal.

[0054] Step S104, if the target touch information meets the hand decoration touch condition, the screen touch parameters are adjusted to the hand decoration touch parameter values, and the screen touch is responded to with the hand decoration touch parameter values.

[0055] Among them, the hand decoration touch condition is used to determine whether the current target touch information is generated by a touch operation with a hand decoration worn. The hand decoration touch condition can be set as needed. For example, the hand decoration touch condition can include at least one of a touch circuit condition and a touch behavior condition.

[0056] The screen touch parameters are parameters used to control the response manner of the screen to touch operations. The screen touch parameters can include at least one of a screen reporting point threshold, a reference reporting point threshold, and a capacitance peak threshold, and can also include touch sensitivity, touch threshold, sampling frequency, etc., not limited to this. Different parameter settings will affect the recognition and response effects of the screen to touch operations. The hand decoration touch parameter values are a set of screen touch parameter values set for touch operations with a hand decoration worn.

[0057] It can be understood that if the target touch information meets the hand decoration touch condition, indicating that the screen is in the hand decoration touch mode and the current touch operation is performed by the user wearing a hand decoration, the screen touch parameters are adjusted to the hand decoration touch parameter values specifically set for hand decoration touch, and then the subsequent screen touch operations are responded to according to the new parameter values to ensure accurate touch interaction can also be achieved when wearing a hand decoration. Among them, the hand decoration can be nail art, nail stickers, nail inlays, or other hand ornaments, etc., not limited to this.

[0058] Optionally, the electronic device matches the target touch information with the hand decoration touch condition; if the target touch information meets the hand decoration touch condition, indicating that the screen is in the hand decoration touch mode, the screen touch parameters are adjusted to the hand decoration touch parameter values, and the screen touch is responded with the hand decoration touch parameter values; if the target touch information does not meet the hand decoration touch condition, indicating that the screen is in the hand touch mode, the step of obtaining the target touch information generated by the touch operation in response to the touch operation on the screen is continued to be executed.

[0059] Optionally, after responding to the screen touch with the hand decoration touch parameter values, it further includes: if the touch information generated by the screen touch does not meet the hand decoration touch condition, the hand decoration touch parameter values are adjusted to the hand touch parameter values, and the screen touch is responded with the hand touch parameter values.

[0060] Among them, the hand touch parameter values are the screen touch parameters used when the hand touches the screen under normal circumstances (without wearing any special hand decorations), which are the default basic touch parameter settings of the system and meet the response requirements when an ordinary finger touches the screen. The hand touch parameter values are greater than the hand decoration touch parameter values.

[0061] The electronic device responds to the screen touch with the hand decoration touch parameter values, that is, the screen is in the hand decoration touch mode. If the touch information generated by the screen touch does not meet the hand decoration touch condition, the hand decoration touch mode is exited, the hand decoration touch parameter values are adjusted to the hand touch parameter values, and the screen touch is responded with the hand touch parameter values to control the screen to enter the hand touch mode.

[0062] Exemplarily, the hand decoration touch condition includes that the capacitance peak value is less than a preset capacitance value. If the capacitance peak value included in the touch information generated by the screen touch is greater than the preset capacitance value, indicating that a large touch signal appears during the screen touch, the hand decoration touch mode is exited.

[0063] Optionally, after responding to the screen touch with the hand decoration touch parameter values, it further includes: when in the target scenario, the hand decoration touch parameter values are adjusted to the target scenario touch parameter values, and the screen touch is responded with the target scenario touch parameter values; the target scenario touch parameter values are greater than the hand decoration touch parameter values.

[0064] Among them, the target scenario is a pre-set specific condition or environment. The target scenario can be a game scenario, a water scenario, or a noise scenario. The water scenario refers to the presence of liquid (such as water or sweat, etc.) on the screen or the hand. The target scenario touch parameter value required for the target scenario is greater than the hand decoration touch parameter value. Then, obtaining greater touch information for response in the target scenario can exclude the interference factors in the target scenario and perform touch processing more accurately. The target scenario touch parameter value can be the same as or different from the hand touch parameter value.

[0065] When in the target scenario, exit the hand decoration touch mode, adjust the hand decoration touch parameter value to the target scenario touch parameter value, and respond to the screen touch with the target scenario touch parameter value.

[0066] The electronic device obtains the scenario information through the sensor, and determines whether the electronic device is in the target scenario based on the scenario information. If so, adjust the hand decoration touch parameter value to the target scenario touch parameter value. Among them, the sensor can be various environmental sensors built in the electronic device, and the scenario information can include at least one of device status, environmental information, and user operation data, etc. For example, the power monitoring module of the electronic device monitors the power in real time, the Bluetooth module detects whether it is connected to a specific Bluetooth device, and the software operation monitoring module checks whether a game application is running.

[0067] The above touch processing method, in response to a touch operation on the screen, obtains the target touch information generated by the touch operation. If the target touch information meets the hand decoration touch condition, indicating that there is a decoration on the user's hand, then adjust the screen touch parameter to the hand decoration touch parameter value, and respond to the screen touch with the hand decoration touch parameter value, which can perform touch processing more accurately when the user is in the hand decoration touch mode, improving the touch sensitivity and accuracy. The electronic device can dynamically adjust the touch algorithm parameters and be compatible with different touch modes.

[0068] In one embodiment, the target touch information includes touch circuit information, and the hand decoration touch condition includes a touch circuit condition; if the target touch information meets the hand decoration touch condition, adjusting the screen touch parameter to the hand decoration touch parameter value includes: determining the target position of the touch operation on the screen; if the target position is in the non-edge area of the screen, then match the touch circuit information with the touch circuit condition; if the touch circuit information meets the touch circuit condition, adjust the screen touch parameter to the hand decoration touch parameter value.

[0069] Among them, the touch circuit information refers to the data related to the electrical signals generated by the touch circuit during the screen touch process. The touch circuit information can be capacitance information or voltage information. If the screen is a capacitive screen, the touch circuit information can be the capacitance information generated by the touch circuit. If the screen is a resistive screen, the touch circuit information can be the voltage information generated by the touch circuit. The touch circuit information can also be at least one of current intensity, voltage change, signal transmission time, etc. The touch circuit condition is a part of the hand decoration touch condition and is a specific judgment criterion set based on the touch circuit information.

[0070] The electronic device obtains the position information of the touch operation and determines the target position of the touch operation on the screen based on this position information; if the target position is in the edge area of the screen, it continues to return to execute the step of obtaining the target touch information generated by the touch operation in response to the touch operation on the screen; if the target position is in the non-edge area of the screen, it matches the touch circuit information with the touch circuit condition. Among them, the edge area refers to the area at the four edges of the screen, and the non-edge area refers to the area of the screen except the edge area. The edge area and the non-edge area can both be set as needed.

[0071] If the touch circuit information meets the touch circuit condition, the screen touch parameters are adjusted to the hand decoration touch parameter values; if the touch circuit information does not meet the touch circuit condition, it continues to return to execute the step of obtaining the target touch information generated by the touch operation in response to the touch operation on the screen.

[0072] It can be understood that when the user wears hand decorations on the hand, they usually touch the non-edge area of the screen. Therefore, matching the touch circuit information generated by the touch in the non-edge area with the touch circuit condition can more accurately determine whether the user wears hand decorations.

[0073] Optionally, the touch circuit information includes the number of touch capacitance peaks, the capacitance value of the touch capacitance peak is greater than the capacitance threshold, and the touch circuit condition is that the number of touch capacitance peaks is less than the target number; if the number of touch capacitance peaks is less than the target number, it means that the touch circuit information meets the touch circuit condition. Among them, both the capacitance threshold and the target number can be set as needed, the capacitance threshold is 100, and the target number is 2.

[0074] Taking the capacitive screen as an example, when the user wears nail art on the finger and slides in the middle area of the electronic device screen, the electronic device determines that the target position of the sliding operation on the screen is in the non-edge area of the screen, then obtains the capacitance values of each touch area, and counts that the number of touch capacitance peaks (peaks) with capacitance values greater than the capacitance threshold is 1. This number is less than the target number 2, indicating that the touch circuit information meets the touch circuit condition, and the screen enters the hand decoration touch mode (nail art touch mode).

[0075] Optionally, if the target position is in a non-edge area of the screen, match the touch circuit information with the hand decoration touch condition, including: if the target position is in a non-edge area of the screen, obtain the touch duration of the touch operation; if the touch duration is greater than or equal to the target duration threshold, match the touch circuit information with the touch circuit condition.

[0076] Among them, the touch duration refers to the duration of a single touch operation. For example, the duration of a single swipe by the user on the screen. The target duration threshold can be set as needed. For example, the target duration threshold is 42 ms (milliseconds). The target duration threshold represents at least three frames of screen update. Exemplarily, if the reporting rate of the screen is 70 HZ, it takes three frames of the screen update duration to ensure 42 ms, while when the reporting rate of the screen is 125 HZ, it takes five frames of the screen update duration to ensure 42 ms. If the touch duration is greater than or equal to the target duration threshold, indicating at least three frames of screen update, then, the first frame duration can be used to capture data (target touch information), the second frame duration can be used for condition judgment (whether the hand decoration touch condition is met), and the third frame duration can be used for parameter adjustment, thus more accurately implementing touch processing.

[0077] In this embodiment, the electronic device determines the target position of the touch operation on the screen. If the target position is in a non-edge area of the screen, match the touch circuit information generated by the touch in the non-edge area with the touch circuit condition, which can more accurately determine whether the user's hand wears a hand decoration. If the touch circuit information meets the touch circuit condition, adjust the screen touch parameters to the hand decoration touch parameter value.

[0078] In one embodiment, the target touch information further includes touch behavior information, and the hand decoration touch condition further includes a touch behavior condition; the above method further includes: matching the touch behavior information with the touch behavior condition; if the touch circuit information meets the touch circuit condition, adjusting the screen touch parameters to the hand decoration touch parameter value, including: if the touch circuit information meets the touch circuit condition and the touch behavior information meets the touch behavior condition, adjusting the screen touch parameters to the hand decoration touch parameter value.

[0079] Among them, the touch behavior information refers to the data that can reflect the characteristics of the user's operation behavior during the screen touch operation, such as at least one of the touch distance, touch area, and touch speed, and can also include the touch frequency, touch trajectory shape, etc. If the touch operation is a swipe operation, the touch behavior information can include at least one of the swipe distance, swipe area, and swipe speed. The touch behavior condition is a judgment criterion set based on the touch behavior information, used to measure whether the current touch behavior information conforms to the characteristics of operating with a hand decoration worn.

[0080] Taking the capacitive screen as an example, the condition of the touch circuit is that the number of touch capacitance peaks (peak) is less than 2, the condition of the touch behavior is that the sliding distance is greater than 8 sensor channel widths, the touch area is less than 30 sensor nodes, and the sliding speed is greater than 0.4 sensor pitch / frame; when the user's finger wears nail art and slides in the middle area of the electronic device screen, the touch circuit information obtained by the electronic device is that the number of touch capacitance peaks (peak) is 1, and the touch behavior information includes that the sliding distance is 9 sensor channel widths, the touch area is 25 sensor nodes, and the sliding speed is 0.5 sensor pitch / frame. It can be determined that the touch circuit information meets the touch circuit condition, and the touch behavior information meets the touch behavior condition, then enter the hand decoration touch mode and adjust the screen touch parameters to the hand decoration touch parameter values. Among them, the sensor channel width is the channel in the horizontal or vertical direction of the screen sensor, and the sensor node is the node on the channel.

[0081] In this embodiment, the electronic device matches the touch behavior information with the touch behavior condition. If the touch circuit information meets the touch circuit condition and the touch behavior information meets the touch behavior condition, it can more accurately determine that the screen is in the hand decoration touch mode, then adjust the screen touch parameters to the hand decoration touch parameter values, improving the accuracy of touch processing.

[0082] In one embodiment, if the target touch information meets the hand decoration touch condition, adjusting the screen touch parameters to the hand decoration touch parameter values includes: if the target touch information meets the hand decoration touch condition and the screen is in the hand touch mode, obtaining the hand touch parameter value corresponding to the screen touch parameter in the hand touch mode; the screen touch parameters include at least one of the screen reporting point threshold, the reference reporting point threshold, and the capacitance peak number threshold; reducing the hand touch parameter value to obtain the hand decoration touch parameter value.

[0083] Among them, the hand touch mode is the normal touch mode default of the screen, that is, the working mode of the screen when the user directly touches the screen with a finger without wearing any hand decoration. The hand decoration touch mode is the working mode of the screen when the user wears decoration on the hand and touches the screen.

[0084] As Figure 2 shown is the capacitance value schematic diagram of the screen in the hand touch mode. The screen reporting point threshold corresponding to the finger touch mode of the screen touch parameter is 1000. When the user touches the screen with an undecorated finger, in the touched area, the number of capacitance peaks is 3. As Figure 3The figure shows a schematic diagram of the capacitance value of the screen in the hand decoration touch mode. The screen touch parameter corresponding to the finger decoration touch mode has a screen reporting point threshold of 100. When the user touches the screen with a finger wearing a decoration, in the touched area, the number of capacitance peaks is 1.

[0085] The screen reporting point threshold is the critical capacitance value for the screen to determine whether a touch point is a valid reported point. When the detected capacitance value generated by a touch operation reaches or exceeds this screen reporting point threshold, the screen will process this touch operation as a valid reported point, otherwise it will be ignored. The reference reporting point threshold is the threshold used to control the update of the reference signal (base signal) of the screen sensor. The capacitance peak number threshold refers to the threshold corresponding to the number of capacitance peaks detected by the capacitive screen.

[0086] It should be noted that during the process of switching from the hand touch mode to the hand decoration touch mode, the electronic device needs to continuously control the screen sensor to report points (upload data) to the electronic device system. At the same time, the electronic device needs to perform self-capacitance inspection.

[0087] In this embodiment, if the target touch information meets the hand decoration touch condition and the screen is in the hand touch mode, the electronic device reduces the screen reporting point threshold. Then, the touch circuit information (capacitance value) generated by the hand touch wearing the hand decoration is more likely to reach this screen reporting point threshold, and thus it is easier to report the touch position to respond to the user's screen touch, improving the touch sensitivity and accuracy in the hand decoration touch mode. However, environmental factors (such as temperature and humidity changes) or slight changes in the characteristics of the screen itself may cause the reference signal to gradually drift, affecting the accuracy of touch detection. Therefore, it is necessary to update the reference signal in a timely manner. Since the touch signal generated in the hand decoration touch mode is relatively weak, reducing the reference reporting point threshold can more easily trigger the update of the reference signal, thereby improving the accuracy of touch processing. Similarly, since the touch signal generated by the hand touch wearing the hand decoration is relatively weak, the number of generated touch capacitance peaks is small. Reducing this capacitance peak number threshold can more accurately detect the hand decoration touch mode.

[0088] In one embodiment, as Figure 4As shown, the touch processing process includes a mode confirmation stage and a parameter adjustment stage; in the mode confirmation stage, the electronic device obtains target touch information generated by a touch operation, and the target touch information includes touch circuit information and touch behavior information. The touch circuit information may include at least one of a capacitance peak value, a capacitance peak value quantity, and a capacitance peak position, and the touch behavior information includes at least one of a touch speed, a touch distance, and a touch area; in the parameter adjustment stage, the electronic device matches the touch circuit information with touch circuit conditions, and matches the touch behavior information with touch behavior conditions. If the touch circuit information meets the touch circuit conditions and the touch behavior information meets the touch behavior conditions, indicating that the screen is in the hand decoration touch mode, the screen reporting point threshold, the reference reporting point threshold, and the capacitance peak value quantity threshold are reduced; if the touch circuit information does not meet the touch circuit conditions or the touch behavior information does not meet the touch behavior conditions, indicating that the screen is in the hand touch mode.

[0089] In one embodiment, a touch processing method is further provided, which is applied to an electronic device. The touch processing method includes the following steps:

[0090] Step A1, in response to a touch operation on the screen, obtain target touch information generated by the touch operation; the target touch information includes touch circuit information and touch behavior information.

[0091] Step A2, determine the target position of the touch operation on the screen; if the target position is in a non-edge area of the screen, obtain the touch duration of the touch operation; if the touch duration is greater than or equal to the target duration threshold, match the touch circuit information with the touch circuit conditions.

[0092] Step A3, match the touch behavior information with the touch behavior conditions.

[0093] Step A4, if the touch circuit information meets the touch circuit conditions, the touch behavior information meets the touch behavior conditions, and the screen is in the hand touch mode, obtain the hand touch parameter value corresponding to the hand touch mode of the screen touch parameters; the screen touch parameters include at least one of a screen reporting point threshold, a reference reporting point threshold, and a capacitance peak value quantity threshold.

[0094] Step A5, reduce the hand touch parameter value to obtain a hand decoration touch parameter value.

[0095] Step A6, respond to the screen touch with the hand decoration touch parameter value.

[0096] Step A7, when in a target scenario, adjust the hand decoration touch parameter value to the target scenario touch parameter value, and respond to the screen touch with the target scenario touch parameter value; the target scenario touch parameter value is greater than the hand decoration touch parameter value.

[0097] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless specifically stated herein, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0098] Based on the same inventive concept, an embodiment of the present application further provides a touch processing device for implementing the touch processing method described above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the touch processing device provided below can refer to the limitations on the touch processing method in the above text, and will not be repeated here.

[0099] In an exemplary embodiment, as Figure 5 shown, a touch processing device is provided, including: a touch information acquisition module 502 and a touch parameter value adjustment module 504, where:

[0100] The touch information acquisition module 502 is configured to acquire target touch information generated by a touch operation in response to a touch operation on the screen.

[0101] The touch parameter value adjustment module 504 is configured to, if the target touch information meets the hand decoration touch condition, adjust the screen touch parameters to the hand decoration touch parameter values and respond to the screen touch with the hand decoration touch parameter values.

[0102] The above touch processing device, in response to a touch operation on the screen, acquires target touch information generated by the touch operation. If the target touch information meets the hand decoration touch condition, indicating that there is a decoration on the user's hand, then the screen touch parameters are adjusted to the hand decoration touch parameter values and the screen touch is responded to with the hand decoration touch parameter values, which can perform touch processing more accurately when the user is in the hand decoration touch mode.

[0103] In one embodiment, the target touch information includes touch circuit information, and the hand decoration touch condition includes a touch circuit condition; the device further includes a position determination module and a matching module; the position determination module is configured to determine a target position of a touch operation on the screen; the matching module is configured to match the touch circuit information with the touch circuit condition if the target position is in a non-edge area of the screen; the touch parameter value adjustment module 504 is further configured to adjust the screen touch parameters to the hand decoration touch parameter value if the touch circuit information meets the touch circuit condition.

[0104] In one embodiment, the target touch information further includes touch behavior information, and the hand decoration touch condition further includes a touch behavior condition; the matching module is further configured to match the touch behavior information with the touch behavior condition; the touch parameter value adjustment module 504 is further configured to adjust the screen touch parameters to the hand decoration touch parameter value if the touch circuit information meets the touch circuit condition and the touch behavior information meets the touch behavior condition.

[0105] In one embodiment, the matching module is further configured to obtain a touch duration of the touch operation if the target position is in a non-edge area of the screen; and match the touch circuit information with the touch circuit condition if the touch duration is greater than or equal to a target duration threshold.

[0106] In one embodiment, the touch parameter value adjustment module 504 is further configured to obtain a hand touch parameter value corresponding to the hand touch mode of the screen touch parameters if the target touch information meets the hand decoration touch condition and the screen is in the hand touch mode; the screen touch parameters include at least one of a screen reporting point threshold, a reference reporting point threshold, and a capacitance peak number threshold; and reduce the hand touch parameter value to obtain the hand decoration touch parameter value.

[0107] In one embodiment, the touch parameter value adjustment module 504 is further configured to adjust the hand decoration touch parameter value to a target scene touch parameter value and respond to the screen touch with the target scene touch parameter value when in a target scene; the target scene touch parameter value is greater than the hand decoration touch parameter value.

[0108] Each module in the touch processing device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or stored in a memory of the electronic device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to the above respective modules.

[0109] In an exemplary embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as Figure 6As shown in the figure. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and external devices. The communication interface of the electronic device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a touch processing method. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the electronic device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the electronic device, or an external keyboard, touchpad, or mouse, etc.

[0110] Those skilled in the art can understand that Figure 6 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the electronic device to which the solution of this application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0111] In one embodiment, an electronic device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0112] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0113] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0114] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0115] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in this application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., and are not limited thereto.

[0116] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.

[0117] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application should be subject to the appended claims.

Claims

1. A touch processing method, characterized in that: The method comprises: In response to a touch operation on the screen, acquiring target touch information generated by the touch operation; If the target touch information meets the hand decoration touch condition, the screen touch parameter is adjusted to the hand decoration touch parameter value, and the screen touch is responded to with the hand decoration touch parameter value.

2. The method according to claim 1, characterized in that The target touch information includes touch circuit information, and the hand decoration touch condition includes a touch circuit condition; if the target touch information satisfies the hand decoration touch condition, adjusting the screen touch parameter to the hand decoration touch parameter value includes: Determining a target position of the touch operation on the screen; If the target position is in a non-edge area of ​​the screen, matching the touch circuit information with the touch circuit condition; If the touch circuit information satisfies the touch circuit condition, the screen touch parameter is adjusted to the hand decoration touch parameter value.

3. The method according to claim 2, characterized in that The target touch information further includes touch behavior information, and the hand decoration touch condition further includes touch behavior conditions; the method further includes: Matching the touch behavior information with the touch behavior condition; If the touch circuit information satisfies the touch circuit condition, adjusting the screen touch parameter to the hand decoration touch parameter value includes: If the touch circuit information satisfies the touch circuit condition, and the touch behavior information satisfies the touch behavior condition, the screen touch parameter is adjusted to the hand decoration touch parameter value.

4. The method according to claim 2, characterized in that: If the target position is in a non-edge area of ​​the screen, matching the touch circuit information with the hand decoration touch condition includes: If the target position is in a non-edge area of ​​the screen, acquiring the touch duration of the touch operation; If the touch duration is greater than or equal to the target duration threshold, the touch circuit information is matched with the touch circuit condition.

5. The method according to claim 1, characterized in that If the target touch information satisfies the hand decoration touch condition, adjusting the screen touch parameter to the hand decoration touch parameter value includes: If the target touch information satisfies the hand decoration touch condition and the screen is in the hand touch mode, then the screen touch parameter corresponding to the hand touch parameter value of the hand touch mode is obtained; the screen touch parameter includes at least one of the screen reporting threshold, the reference reporting threshold and the capacitance peak number threshold; The hand touch parameter value is reduced to obtain a hand decoration touch parameter value.

6. The method according to any one of claims 1 to 5, characterized in that: After responding to the screen touch with the hand decoration touch parameter value, the method further includes: When in the target scene, the hand decoration touch parameter value is adjusted to the target scene touch parameter value, and the screen touch is responded to with the target scene touch parameter value; the target scene touch parameter value is greater than the hand decoration touch parameter value.

7. A touch processing device, characterized in that: The device comprises: A touch information acquisition module, used for acquiring target touch information generated by a touch operation on the screen in response to the touch operation; The touch parameter value adjustment module is used to adjust the screen touch parameter to the hand decoration touch parameter value if the target touch information meets the hand decoration touch condition, and respond to the screen touch with the hand decoration touch parameter value.

8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

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

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.