Terminal touch optimization method and device, electronic equipment and storage medium

By acquiring and analyzing the state parameters of the touch terminal, determining and forcibly updating the touch state, the problem of no touch when swiping after raising the hand after the screen is on was solved, and the normal touch recovery of the touch terminal was realized.

CN117742522BActive Publication Date: 2026-11-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311744178.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2026-11-27
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

When the user raises their hand after the phone screen is on, the touch terminal experiences a situation where swiping is not touching, causing the user's touch actions to fail to meet the touch standards under abnormal touch conditions.

Method used

By acquiring the status parameters of the touch terminal, it is determined whether to enter the monitoring state. After entering the monitoring state, the second status parameters are acquired to determine whether to enter the first touch state. A touch update command is generated to exit the abnormal touch state and enter the normal second touch state.

Benefits of technology

It effectively avoids the problem of touch terminals not responding to touch after the screen is lit and the hand is raised. It avoids misjudgment by judging multiple status parameters and forcibly controls the touch terminal to return to normal touch state in abnormal state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117742522B_ABST
    Figure CN117742522B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a terminal touch optimization method and device, electronic equipment and a storage medium. The present application determines whether the touch terminal enters a monitoring state by using a state parameter of the touch terminal. Only when the touch terminal enters the monitoring state, the second state parameter can be obtained, and whether the touch terminal is abnormal is determined according to the second state parameter. By obtaining different state parameters multiple times to determine whether the touch is abnormal, false positives are effectively avoided. When the touch terminal is in an abnormal touch state, the touch terminal is forced to exit the abnormal touch state, the touch state of the touch terminal is optimized, and the problem that the touch terminal does not respond after the screen is turned on and the hand is lifted is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, specifically to a terminal touch optimization method, apparatus, electronic device, and storage medium. Background Technology

[0002] When a phone screen is off, pressing your palm against the screen, then turning it on again, and finally lifting your hand, this is called a screen-on raise-to-raise. During this process, the phone enters a new touch state with a different touch standard than normal. This means that even after raising your hand, the phone remains in this abnormal touch state, causing user touch actions to fail to meet the standards of this state, resulting in situations where swiping appears as if there is no touch response. Summary of the Invention

[0003] This application provides a terminal touch optimization method, device, electronic device, and storage medium, which can effectively solve the problem of no touch when swiping after raising the hand on the screen of a touch terminal in the prior art.

[0004] In a first aspect, embodiments of this application provide a terminal touch optimization method, applied to a touch terminal, the method comprising: The system acquires a first state parameter of the touch terminal and determines whether the touch terminal has entered a monitoring state based on the first state parameter. If the touch terminal has entered a monitoring state, the system acquires a second state parameter of the touch terminal and determines whether the touch terminal has entered a first touch state based on the second state parameter. If the touch terminal has entered the first touch state, the system generates a touch update command. The system exits the first touch state and enters a second touch state based on the touch update command.

[0005] In some possible embodiments, obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered a monitoring state based on the first state parameter includes: The system detects the ambient light of the environment in which the touch terminal is located; it determines whether the touch terminal has moved from a dark environment to a bright environment based on the ambient light; if the touch terminal moves from a dark environment to a bright environment, it determines that the touch terminal has entered a monitoring state.

[0006] In some possible embodiments, if the touch terminal enters a monitoring state, obtaining a second state parameter of the touch terminal, and determining whether the touch terminal has entered a first touch state based on the second state parameter, includes: If the touch terminal enters the monitoring state, multiple touch capacitance values ​​in the touch terminal are obtained; based on the multiple touch capacitance values, it is determined whether the touch terminal has entered the first touch state.

[0007] In some possible embodiments, obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered a monitoring state based on the first state parameter includes: When the touch terminal is in a black-screen and held state, it is determined whether the touch terminal is turned on; if the touch terminal is turned on, it is determined that the touch terminal has entered the monitoring state.

[0008] In some possible embodiments, if the touch terminal enters a monitoring state, obtaining a second state parameter of the touch terminal, and determining whether the touch terminal has entered a first touch state based on the second state parameter, includes: If the touch terminal enters the monitoring state, the moment when the touch terminal enters the monitoring state is taken as the first initial moment; the current moment is determined, and the duration between the current moment and the first initial moment is determined; it is determined whether the duration meets the target duration requirement; if the duration meets the target duration requirement, multiple touch capacitance values ​​of the current touch terminal are obtained; based on the multiple touch capacitance values, it is determined whether the touch terminal enters the first touch state.

[0009] In some possible embodiments, obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered a monitoring state based on the first state parameter includes: Determine whether the touch terminal has received external information; if the touch terminal has received external information, then determine that the touch terminal has entered the monitoring state.

[0010] In some possible embodiments, obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered a monitoring state based on the first state parameter includes: When the touch terminal is in a black screen state, the touch data of the touch terminal is acquired; based on the touch data, it is determined whether the touch terminal is in a hand-held state; if the touch terminal is in a hand-held state, it is determined that the touch terminal has entered the monitoring state.

[0011] In some possible embodiments, if the touch terminal enters a monitoring state, obtaining a second state parameter of the touch terminal, and determining whether the touch terminal has entered a first touch state based on the second state parameter, includes: The moment when the touch terminal enters the monitoring state is taken as the second initial moment; Using the second initial time as the starting time, acquire two adjacent frames of data in subsequent time steps; Determine the difference between two adjacent frames of data; The difference value is used to determine whether the touch terminal has entered the first touch state.

[0012] Secondly, embodiments of this application provide a terminal touch optimization device, the device comprising: The first state parameter acquisition module is used to acquire the first state parameter of the touch terminal and determine whether the touch terminal has entered the monitoring state based on the first state parameter. The second state parameter acquisition module is used to acquire the second state parameter of the touch terminal if the touch terminal enters the monitoring state, and determine whether the touch terminal enters the first touch state based on the second state parameter. The touch update command generation module is used to generate a touch update command if the touch terminal enters the first touch state. The touch update module is used to exit the first touch state and enter the second touch state according to the touch update command.

[0013] Thirdly, this application provides an electronic device including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps in the terminal touch optimization method as described in any one of the first aspects.

[0014] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps of the terminal touch optimization method as described in any one of the first aspects.

[0015] This application provides a terminal touch optimization method, apparatus, electronic device, and storage medium, including: acquiring a first state parameter of a touch terminal, and determining whether the touch terminal has entered a monitoring state based on the first state parameter; if the touch terminal has entered a monitoring state, acquiring a second state parameter of the touch terminal, and determining whether the touch terminal has entered a first touch state based on the second state parameter; if the touch terminal has entered the first touch state, generating a touch update command; exiting the first touch state and entering a second touch state based on the touch update command. This application utilizes the state parameter of the touch terminal to determine whether the touch terminal has entered a monitoring state. Only after entering a monitoring state can the second state parameter be acquired and the touch terminal's touch abnormality be determined based on the second state parameter. By acquiring different state parameters multiple times to determine whether the touch abnormality is detected, misjudgment is effectively avoided; and when the touch terminal is in an abnormal touch state, the touch terminal is forcibly controlled to exit the abnormal touch state, thus optimizing the touch state of the touch terminal; solving the problem of no touch response after raising the touch terminal from the screen. Attached Figure Description

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

[0017] Figure 1 This is a schematic diagram of the architecture of the terminal touch optimization system provided in the embodiments of this application; Figure 2 This is a schematic flowchart of an embodiment of the terminal touch optimization method provided in this application. Figure 3 A schematic diagram illustrating an embodiment of touch optimization using ambient light provided in this application. Figure 4 A flowchart illustrating an embodiment of touch optimization using time provided in this application; Figure 5 A complete flowchart illustrating an embodiment of touch optimization using time provided in this application; Figure 6 A complete flowchart illustrating an embodiment of touch optimization using external information provided in this application. Figure 7 A flowchart illustrating an embodiment of touch optimization based on touch actions provided in this application; Figure 8 A complete flowchart illustrating an embodiment of touch data-assisted touch optimization provided by this application. Figure 9 A schematic diagram of the terminal touch optimization device provided in the embodiments of this application. Figure 10 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application; Figure 11 This is a block diagram of a portion of the structure of a mobile phone related to a terminal device provided in the embodiments of this application; Figure 12 This is a schematic diagram of a server structure provided in an embodiment of this application. Detailed Implementation

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

[0019] In the following description, specific embodiments of this application will be illustrated with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to several times as being performed by a computer, and computer execution as referred to herein includes operations by a computer processing unit representing electronic signals of data in a structured format. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of this application are described in the foregoing text, which is not intended to be limiting, and those skilled in the art will understand that many of the steps and operations described below can also be implemented in hardware.

[0020] The terms "module" or "unit" as used herein can be considered as software objects executing on the computing system. The different components, modules, engines, and services described herein can be considered as implementation objects on the computing system. The apparatus and methods described herein are preferably implemented in software, but can also be implemented in hardware, both of which are within the scope of this application.

[0021] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.

[0022] Please refer to Figure 1 This application also provides a terminal touch optimization system, such as... Figure 1 As shown, the terminal touch optimization system includes a computing device 100, which integrates the terminal touch optimization device provided in this application. In this embodiment, the computing device 100 may be a terminal device or a server.

[0023] In this embodiment, when the computing device 100 is a server, the server can be an independent server, a server network, or a server cluster. For example, the server described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing. In this embodiment, communication between the server and the client can be achieved through any communication method, including but not limited to mobile communication based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), and Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP / IP Protocol Suite (TCP / IP) and User Datagram Protocol (UDP).

[0024] It is understood that when the computing device 100 used in the embodiments of this application is a terminal device, the terminal device can be a device that includes both receiving hardware and transmitting hardware, that is, a device with receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a terminal device may include: cellular or other communication devices, which have a single-line display or a multi-line display or a cellular or other communication device without a multi-line display. Specifically, the computing device 100 may be a desktop terminal or a mobile terminal, and may specifically be one of a mobile phone, tablet computer, laptop computer, etc.

[0025] The terminal devices involved in the embodiments of this application can also be devices that provide voice and / or data connectivity to users, handheld devices with wireless connectivity, or other processing devices connected to a wireless modem. Examples include mobile phones (or "cellular" phones) and computers with mobile terminals, such as portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile devices that exchange voice and / or data with a wireless access network. Examples include Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and other devices.

[0026] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The number of computing devices shown, or the network connectivity of computing devices, for example... Figure 1 Only one computing device is shown in the diagram. It is understood that the terminal touch optimization system may also include one or more other computing devices, and / or one or more other computing devices that are network-connected to computing device 100, without being limited here.

[0027] In addition, such as Figure 1 As shown, the terminal touch optimization system may also include a storage module 200 for storing data such as status parameters.

[0028] In this embodiment, the storage module 200 can be a cloud storage device. Cloud storage is a new concept that is extended and developed from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system that uses cluster applications, grid technology and distributed storage file system functions to bring together a large number of storage devices of various types in the network (storage devices are also called storage nodes) through application software or application interfaces to work together to provide data storage and business access functions to the outside world.

[0029] Currently, the storage method in storage systems is as follows: Logical volumes are created, and during creation, physical storage space is allocated to each logical volume. This physical storage space may consist of a single storage device or the disks of several storage devices. Clients store data on a logical volume, which means storing the data on the file system. The file system divides the data into many parts, each part being an object. Each object contains not only the data but also additional information such as a data identifier (ID, ID entity). The file system writes each object to the physical storage space of that logical volume and records the storage location information of each object. Therefore, when a client requests access to data, the file system can allow the client to access the data based on the storage location information of each object.

[0030] The process by which a storage system allocates physical storage space to a logical volume is as follows: the physical storage space is pre-divided into strips according to the capacity estimate of the objects stored in the logical volume (this estimate often has a large margin relative to the actual capacity of the objects to be stored) and the grouping of Redundant Array of Independent Disks (RAID). A logical volume can be understood as a strip, thus allocating physical storage space to the logical volume.

[0031] It should be noted that, Figure 1 The schematic diagram of the terminal touch optimization system shown is merely an example. The terminal touch optimization system and scenario described in this application are for the purpose of more clearly illustrating the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of terminal touch optimization systems and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

[0032] The solutions provided in this application involve technologies such as Artificial Intelligence (AI), Computer Vision (CV), and Machine Learning (ML), which are specifically illustrated through the following embodiments: AI, or Artificial Intelligence, refers to the theories, methods, technologies, and application systems that utilize digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, Artificial Intelligence is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine capable of reacting in a manner similar to human intelligence. Artificial Intelligence studies the design principles and implementation methods of various intelligent machines, enabling them to possess the functions of perception, reasoning, and decision-making.

[0033] AI technology is a comprehensive discipline encompassing a wide range of fields, including both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies primarily include computer vision, speech processing, natural language processing, and machine learning / deep learning.

[0034] Computer vision (CV) is the science that studies how to enable machines to "see." More specifically, it refers to machine vision, which uses cameras and computers to replace human eyes for target recognition, tracking, and measurement, and then performs image processing to create images more suitable for human observation or transmission to instruments. As a scientific discipline, computer vision studies related theories and technologies, attempting to build artificial intelligence systems capable of extracting information from images or multidimensional data. Computer vision technologies typically include adversarial perturbation generation, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content / behavior recognition, 3D object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping (SLAM), and common biometric recognition technologies such as facial recognition and fingerprint recognition.

[0035] The following sections provide detailed descriptions of each example. It should be noted that the sequence numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0036] In response to the above problems, the inventors, through long-term research, have proposed a terminal touch optimization method, device, electronic device, and storage medium provided in the embodiments of this application.

[0037] The embodiments of this application can be applied to... Figure 1 As can be understood by those skilled in the art from the network architecture diagram shown, Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The number of group devices shown is more or less, for example Figure 1 Only one receiver device is shown in the diagram. It is understood that the network architecture diagram may also include one or more other receiver devices that are network-connected to the sender device, but this is not limited here.

[0038] Specifically, in this application embodiment, both the receiving device and the sending device can be electronic devices. These electronic devices can be terminals or servers, and the terminals can be mobile phones, tablets, laptops, smart TVs, desktop computers, wearable smart devices, personal computers (PCs), etc. The servers can be single servers, server clusters composed of multiple servers, or cloud servers composed of multiple servers. Cloud servers consist of a large number of computer or network servers based on cloud computing.

[0039] It should be noted that the electronic device in this application embodiment can be a device that includes both receiving and transmitting hardware, that is, a device with receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a device may include: cellular or other communication devices having a single-line display, a multi-line display, or a cellular or other communication device without a multi-line display. That is, in this application embodiment, the transmitting device and the receiving device can be devices that include both receiving and transmitting hardware, so that they both act as transmitting devices in some services and as receiving devices in others.

[0040] In addition, the embodiments of this application may also include a memory for storing data, such as separate storage device status data.

[0041] It should be noted that, Figure 1 The network architecture diagram shown is merely an example. The network architecture diagram and scenarios described in this application embodiment are for the purpose of more clearly illustrating the technical solutions of this application embodiment and do not constitute a limitation on the technical solutions provided in this application embodiment. As those skilled in the art will know, with the evolution of technology and the emergence of new business scenarios, the technical solutions provided in this application embodiment are also applicable to similar technical problems.

[0042] The following detailed description is based on specific embodiments.

[0043] In this application embodiment, it will first be described from the perspective of a terminal touch optimization device, which can be integrated into the receiving device.

[0044] Please see Figure 2 , Figure 2 The terminal touch optimization method provided in this application includes the following steps 201-204: 201. Obtain the first status parameters of the touch terminal, and determine whether the touch terminal has entered the monitoring state based on the status parameters.

[0045] 202. If the touch terminal enters the monitoring state, obtain the second state parameter of the touch terminal, and determine whether the touch terminal has entered the first touch state based on the second state parameter.

[0046] The terminal touch optimization method provided in this application mainly addresses the following situations: holding a phone while the screen is off, pressing the screen with the palm, and then lifting the hand after the screen lights up; from the user's perspective, when the screen is off and the phone is suddenly lit, swiping is unresponsive. This situation mainly occurs because the touch reference of the touch terminal is abnormal, causing subsequent touch actions to be unresponsive. The terminal touch optimization method provided in this application mainly controls the touch terminal to exit this abnormal touch reference state and enter a normal touch reference state.

[0047] First, it's necessary to determine if the touchscreen terminal is in this abnormal touch baseline state. Specifically, we can first obtain the current first state parameter of the touchscreen terminal and then determine whether the touchscreen terminal has entered the monitoring state based on the first state parameter. If the touchscreen terminal has entered the monitoring state, it is necessary to continue obtaining the second state parameter of the touchscreen state and determine whether the touchscreen terminal has entered the first touchscreen state based on the second parameter, rather than directly using the first state parameter for judgment.

[0048] The first touch state is the touch state corresponding to the abnormal touch baseline. For example, if the touch can only be achieved when the user's palm is completely covered on the touch terminal, then the touch terminal can be identified as being in the abnormal first touch state.

[0049] 203. If the touch terminal enters the first touch state, a touch update command is generated.

[0050] 204. Exit the first touch state and enter the second touch state according to the touch update command.

[0051] If the touch terminal enters the first touch state, a touch update command needs to be generated. Based on the touch command, the touch terminal is forced to exit the abnormal first touch state and enter the normal second touch state.

[0052] This application provides a terminal touch optimization method, including: acquiring a first state parameter of a touch terminal, and determining whether the touch terminal has entered a monitoring state based on the first state parameter; if the touch terminal has entered a monitoring state, acquiring a second state parameter of the touch terminal, and determining whether the touch terminal has entered a first touch state based on the second state parameter; if the touch terminal has entered the first touch state, generating a touch update command; exiting the first touch state and entering a second touch state based on the touch update command. This application utilizes the state parameter of the touch terminal to determine whether the touch terminal has entered a monitoring state. Only after entering a monitoring state can the second state parameter be acquired and the touch terminal's touch abnormality be determined based on the second state parameter. By acquiring different state parameters multiple times to determine whether the touch abnormality is detected, misjudgment is effectively avoided; and when the touch terminal is in an abnormal touch state, the touch terminal is forcibly controlled to exit the abnormal touch state, thereby optimizing the touch state of the touch terminal.

[0053] like Figure 3 The diagram shown is a schematic representation of an embodiment of touch optimization using ambient light provided in this application. Specifically, in Figure 3 The system can utilize the ambient light sensor built into the touch terminal to detect the ambient light in the environment in which the touch terminal is located, thereby determining the current environment of the touch terminal. Specifically, it can determine whether the touch terminal has moved from a dark environment to a bright environment based on the ambient light; for example, the touch terminal is taken out of a pocket, moving from a dark environment to a bright environment. In this case, the user is likely to unlock and use the touch terminal; therefore, it is necessary to control the touch terminal to enter a normal touch state. In this embodiment, the first state parameter can be the ambient light of the environment in which the touch terminal is located; by judging the ambient light, it is determined whether the touch terminal has entered a monitoring state.

[0054] If the transition from a dark to a bright environment is determined based on ambient light, the subsequent state of the touch terminal needs to be detected to confirm whether it has entered an abnormal touch state. Therefore, upon detecting the transition from a dark to a bright environment, the touch terminal is determined to have entered a monitoring state, and its second state parameters are continuously monitored in this state. In some embodiments, if the touch terminal enters a first touch state, obtaining the second state parameters of the touch terminal and determining whether the touch terminal has entered the first touch state may include: If the touch terminal enters the monitoring state, obtain multiple touch capacitance values ​​in the touch terminal; determine whether the touch terminal has entered the first touch state based on the multiple touch capacitance values.

[0055] Specifically, most existing touch terminals are capacitive touch terminals. When a touch action occurs, the capacitance value in the touch terminal changes, and different capacitance values ​​are used to achieve touch control. Therefore, the capacitance value can be used to determine whether the touch terminal is in an abnormal touch state; that is, the second state parameter can be the touch capacitance value of the touch terminal. For Figure 3 In the embodiment shown, when the touch terminal enters the first touch state, it is necessary to obtain the capacitance value of the touch terminal, which mainly involves obtaining the capacitance value of the touch screen on the touch terminal.

[0056] In the normal non-touch state, the touch capacitance value of the touch terminal is 0. In the normal touch state, the touch capacitance value changes, exhibiting both positive and negative values. However, in the normal touch state, the number of capacitors with non-zero values ​​is not large. Therefore, after obtaining the touch capacitance value of the touch terminal, this application mainly determines whether the number of non-zero touch capacitance values ​​is not less than a preset number of touch capacitance values. If the number of non-zero touch capacitance values ​​is not less than the preset number of touch capacitance values, then it can be confirmed that the touch terminal has entered the first touch state.

[0057] Right now Figure 3 The illustrated embodiment discloses the following: The touch capacitance value of the current touch terminal is verified to determine whether a large number of positive and negative values ​​appear. It should be noted that although capacitance values ​​can be positive and negative, when determining whether a large number of positive and negative values ​​appear, positive and negative touch capacitance values ​​are not judged separately; instead, the total number of non-zero touch capacitance values ​​is judged to be at least equal to a preset number of touch capacitance values. In one specific embodiment, it can be determined whether the sum of the number of positive and negative touch capacitance values ​​is not greater than 80. If the sum is not greater than 80, it can be determined that the touch terminal has not yet entered an abnormal first touch state; if it is greater than 80, it indicates that the touch terminal is already in an abnormal first touch state.

[0058] In the embodiments of this application, the main difference between an abnormal touch state and a normal touch state lies in the different touch references. Specifically, in a normal touch state, there are no objects on the touchscreen, such as fingers, styluses, or water droplets, that would change the original value of the touch capacitance. The obtained touch capacitance value is the original value when the touchscreen is in a stable state. An abnormal touch state, however, refers to situations where, during actual use, the presence of water droplets, sweaty hands, or touch during power-on can lead to incorrect touch capacitance values. This results in decreased touchscreen sensitivity or false alarms. False alarms occur when a location on the capacitive touchscreen is not actually touched, but the touch control chip calculates coordinates as being present.

[0059] A touch terminal being in an abnormal first touch state indicates a change in its touch reference. Therefore, it's necessary to restore the touch reference to normal, thus restoring the touch terminal to a normal touch state. Specifically, upon detecting an abnormal first touch state, the touch reference needs to be updated. The application processor (AP) in the touch terminal generates a touch update command and sends it to the touch chip. Upon receiving the command, the touch chip executes it, forcing the touch terminal out of the first touch state and into a normal second touch state.

[0060] like Figure 3 As shown, the touch chip executes a touch update command, and after the command is executed, the touch terminal exits the large-area state. The large-area state refers to a large-area touch action on the touchscreen, causing a change in the touch baseline and the touch terminal entering an abnormal touch state. When the touch terminal forcibly exits the abnormal touch state, it exits the large-area state.

[0061] It should be noted that in the above embodiments, the transition of the touch terminal from a dark environment to a bright environment refers to the change in the brightness of the entire ambient light, not the transition of the touch terminal itself from a black screen state to a bright screen state.

[0062] like Figure 4 The diagram shown is a flowchart illustrating an embodiment of touch optimization based on time duration provided in this application. It mainly includes the following steps: 401. Determine whether the touch terminal is lit up when the touch terminal is in a black screen state and being held.

[0063] 402. If the touch terminal screen lights up, confirm that the touch terminal has entered the monitoring state.

[0064] and Figure 3 The difference in the illustrated embodiment is that here, the determination is made regarding whether the touch terminal itself has switched from a black screen to a bright screen state, rather than determining the ambient light surrounding the touch terminal. Furthermore, this determination needs to be made while the touch terminal is being held. This is because in actual touch terminal usage scenarios, if the touch terminal switches from a black screen to a bright screen while the user is holding it, the user is more likely to use the touch terminal subsequently, necessitating maintaining the touch terminal in a normal touch state. Therefore, when the touch terminal is being held, if it switches from a black screen to a bright screen state, it can be confirmed that the touch terminal has entered a monitoring state. That is, the first state parameter can be the touch terminal's own state parameter, i.e., whether the touch terminal itself is black or bright.

[0065] In the above embodiments, it is only necessary to confirm whether the touch terminal switches from a black screen to a bright screen, regardless of the reason for the switch. In one specific embodiment, the switch could be caused by the phone receiving an incoming call while being held; in other embodiments, the switch could be caused by other reasons, and this is not limited here.

[0066] 403. If the touch terminal enters the monitoring state, the moment when the touch terminal enters the monitoring state shall be the first initial moment.

[0067] 404. Determine the current time and the duration between the current time and the first initial time.

[0068] If the touch terminal enters monitoring mode, it is necessary to monitor and obtain the second touch parameters of the touch terminal. In this embodiment, the moment when the touch terminal enters monitoring mode can be taken as the first initial moment, and the current moment can be continuously recorded to determine the duration between the current moment and the first initial moment; wherein, the current moment is a moment after the first initial moment. After the touch terminal switches from black screen to screen on, the user is likely to perform other touch actions; therefore, it is necessary to control the touch terminal to enter normal touch mode in the following period.

[0069] 405. Determine whether the duration meets the target duration requirement.

[0070] 406. If the duration meets the target duration requirement, then obtain multiple touch capacitance values ​​of the current touch terminal.

[0071] 407. Determine whether the touch terminal has entered the first touch state based on multiple touch capacitance values.

[0072] In the aforementioned embodiments, after obtaining the duration between the current moment and the first initial moment, it is also necessary to determine whether this duration meets the target duration requirement. This primarily involves determining whether the duration meets the target duration requirement. The target duration can be determined by the historical duration of the first external touch action received by the touch terminal after it switches from a black screen to a bright screen while being held. For example, based on historical data, it can be determined that when the touch terminal switches from a black screen to a bright screen while being held, the user will perform a touch action within 5-7 seconds. Therefore, it is necessary to determine whether the touch terminal is in an abnormal touch state within this 5-7 second period. If the touch terminal is in an abnormal touch state, it is also necessary to control the touch terminal to enter a normal touch state within this 5-7 second period. Both determining whether the touch terminal is in an abnormal touch state and controlling the touch terminal to enter a normal touch state must be completed within a 5-7 second period; that is, the target duration requirement can be a duration of 5-7 seconds.

[0073] Therefore, after determining that the duration meets the target duration requirement, it is necessary to obtain multiple touch capacitance values ​​of the current touch terminal and determine whether the touch terminal has entered the first touch state based on these values. The process of determining whether the touch terminal has entered the first touch state based on multiple touch capacitance values ​​can be referred to the aforementioned content and will not be repeated here. In this embodiment, the second state parameter may include the duration from the aforementioned embodiments and the touch capacitance values ​​within that duration.

[0074] like Figure 5 The diagram shown is a complete flowchart of an embodiment of touch optimization using time duration provided in this application. Figure 5 First, it determines whether the touch terminal is being held and whether the screen is black. If so, it records the moment the touch terminal switches from black to white, marking the first initial moment, and the touch terminal enters the first touch state. Starting from the first initial moment, it continuously records the current moment and determines the duration between the current moment and the first initial moment, checking if this duration meets the target duration requirement, such as whether it is within 5 seconds after the screen switches from black to white. If so, the duration meets the high-frequency time period characteristic of raising the hand immediately after screen lighting, i.e., the target duration requirement. At this point, it is necessary to obtain the touch capacitance value of the touch terminal and determine whether the touch capacitance value meets the scenario of having a large number of positive and negative values. If so, it indicates that the touch terminal is in an abnormal first touch state, requiring a forced update of the touch reference to switch to the normal touch state corresponding to the normal touch reference. Similarly, the main control processor (AP) needs to generate a touch update command and send it to the touch chip. The touch chip executes the touch update command to restore the normal touch reference, at which point the touch function is normal. In this case, determining whether the touch capacitance value meets the requirement of having a large number of positive and negative values ​​also involves checking whether the sum of the number of positive and negative touch capacitance values ​​is not less than the preset number of touch capacitance values; for details, please refer to the aforementioned content, which will not be repeated here.

[0075] In the above embodiments, the determination of whether the touch terminal has entered the first touch state is mainly based on whether the duration between any moment after the touch terminal switches from a black screen to a bright screen (excluding the moment corresponding to the instant the touch terminal switches from a black screen to a bright screen) and the first initial moment of the instant the screen switches from black to bright meets the target duration requirement. In other embodiments, it is possible to directly determine whether the moment after the touch terminal switches from a black screen to a bright screen falls within a target time period to determine whether the touch terminal has entered the first touch state. For example, after the touch terminal switches from a black screen to a bright screen, it is determined whether a subsequent moment falls within the 8:00-9:00 time period; this time period is usually when users frequently use the touch terminal; during the period when users frequently use the touch terminal, the touch terminal needs to maintain a normal touch state. Therefore, it is possible to directly determine whether a moment after the touch terminal switches from a black screen to a bright screen falls within the period when users frequently use the touch terminal; for example, the time period corresponding to the commuting rush hour. In the embodiments of this application, the target time period can be a period during which the user frequently uses the touch terminal, and can be specifically determined based on the user's historical data on touch terminal usage; the target time period can also be a specific time period set by the user. The specific time period corresponding to the target time period is not limited here.

[0076] In other embodiments of this application, obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered a monitoring state based on the first state parameter may further include: Determine whether the touch terminal has received external information; if the touch terminal has received external information, then determine that the touch terminal has entered the monitoring state.

[0077] Specifically, external information can be information sent to the touch terminal by other external terminal devices; for example, when the touch terminal is a mobile phone, the external information can be a text message or phone call from another mobile phone. When the touch terminal receives external information, it usually needs to view the message, therefore it needs to control the touch terminal to be in a normal touch state. In this embodiment, when it is determined that the touch terminal has received external information, it is determined that the touch terminal has entered a monitoring state, and the first state parameter at this time can be the external message; then, it is necessary to obtain the second state parameter of the touch terminal, and determine whether the touch terminal has entered the first touch state based on the second state parameter.

[0078] like Figure 6 The diagram shown is a complete flowchart of an embodiment of touch optimization using external information provided in this application. Figure 6Taking a phone call as an example, where the touch terminal is the phone and the external information is a incoming call, the first step is to determine if the phone has a incoming call. This can be determined by checking if the phone is in a call-connected state using the phone's phone app. If a call is connected, the phone app will notify the touch algorithm module in the phone of the call status (i.e., call connection status). After receiving the call connection status, the touch algorithm module will enter the screen-on raise-to-wake mode monitoring mode, i.e., the monitoring state.

[0079] Next, it is necessary to obtain the second state parameter of the touch terminal, which can also be the touch capacitance value of the touch terminal. The second state parameter is the touch capacitance value. When a large number of positive and negative values ​​are detected in the touch capacitance value, it is confirmed that the touch terminal is in the first touch state. Figure 6 In the illustrated embodiment, determining the presence of a large number of positive and negative values ​​involves checking if the number of non-zero touch capacitance values ​​is not less than a preset number of touch capacitance values; however, this preset number of touch capacitance values ​​can be 120. If the sum of the positive and negative touch capacitance values ​​is not less than 120, it can be confirmed that the touch terminal has entered the first touch state; at this time, the touch terminal is in a handheld, incoming call state, i.e., the first touch state. Therefore, it is necessary to forcibly update the touch reference at this time to control the touch terminal to exit the abnormal first touch state.

[0080] for Figure 6 In the aforementioned embodiment, the main control processor generates and sends a touch update command to the touch chip. After receiving the touch update command, the touch chip forcibly restores the current touch reference to the normal touch reference, and the touch state of the touch terminal returns to normal. The touch terminal, i.e., the mobile phone, can then unlock and make calls normally.

[0081] like Figure 7 The diagram shown is a flowchart illustrating an embodiment of touch optimization based on touch actions provided in this application, which mainly includes the following steps: 701. Obtain touch data from the touch terminal when the touch terminal is in a black screen state.

[0082] 702. Determine whether the touch terminal is in a hand-held state based on touch data.

[0083] Figure 7 The illustrated embodiment primarily utilizes touch data generated by user touch actions on the touch terminal to assist in touch optimization. If touch data is obtained when the touch terminal is in a black screen state, the touch data can be used to determine whether the touch terminal is being held. This is because if the touch terminal is being held, the user is likely to perform the next touch action, requiring the touch terminal to maintain a normal touch state; at the same time, it can also prevent accidental touches.

[0084] In one specific embodiment, the hand-held state can be determined based on hand-held data characteristics. When a hand holds a mobile phone, a relatively obvious palm shape will appear, thus determining that the touch terminal is in a hand-held state and entering a monitoring state. Specific methods for determining whether the touch terminal is in a hand-held state based on touch data can refer to existing technologies and are not limited here.

[0085] 703. If the touch terminal is in a hand-held state, then the touch terminal is confirmed to have entered the monitoring state.

[0086] 704. Taking the moment when the touch terminal enters the monitoring state as the second initial moment, and taking the second initial moment as the starting moment, obtain the capacitance values ​​of two adjacent frames of data in subsequent moments.

[0087] 705. Determine the capacitance difference between the capacitance values ​​of two adjacent frames of data.

[0088] 706. Determine whether the touch terminal has entered the first touch state based on the capacitance difference value.

[0089] Once it is determined that the touch terminal is in a handheld state, it is determined that the touch terminal has entered the monitoring state, and it is necessary to obtain the second state parameters of the touch terminal. In the embodiments of this application, the moment when the touch terminal enters the monitoring state can be designated as the second initial moment, and the capacitance value of each frame of data of the touch terminal can be recorded after the second initial moment; the change in capacitance value of different frames of data is used to determine whether the touch terminal has entered the first touch state.

[0090] Specifically, after setting the moment when the touch terminal enters the image monitoring state as the second initial moment, the capacitance values ​​of any two adjacent frames of data in subsequent moments can be obtained, and the capacitance difference between the two adjacent frames can be determined. The capacitance difference between the frames is then used to determine whether the touch terminal has entered the first touch state. This is because if the touch terminal enters the first touch state after raising its hand from the screen, and the user's operation causes a change in the touch terminal's capacitance value, resulting in a significant difference between the touch capacitance values ​​of the previous and subsequent frames, then the difference in touch capacitance values ​​between adjacent frames can be used to determine whether the first touch state has been entered.

[0091] In practical touch optimization scenarios, to avoid misjudgments, the differences between multiple consecutive frames are usually assessed, rather than just the differences between two adjacent frames. For example, taking the first, second, and third adjacent frames acquired after the second initial moment as an example, there is already a significant difference between the second frame and the first frame; then, the differences between the third frame and the first frame, as well as the differences between the third frame and the second frame, are also assessed. If there is also a significant difference between the third frame and the first frame, or if there are significant differences between the third frame and both the first and second frames, then the third frame can be determined to be the image after the screen is turned on and the user raises their hand, at which point the touch terminal enters the first touch state.

[0092] like Figure 8 The diagram shown is a complete flowchart of an embodiment of touch data-assisted touch optimization provided by this application, including: First, touch data is detected when the touch terminal is in a black screen state to determine whether the touch terminal is currently being held in hand. If it is being held in hand, the user is more likely to use the touch terminal next, so it is necessary to ensure that the touch terminal is in a normal touch state. Therefore, when the touch terminal is being held in hand, the touch terminal enters the hand holding state detection process, that is, enters the monitoring state.

[0093] At this point, the capacitance difference between the current frame and historical frames can be calculated in real time. Both the current and historical frames are data from a frame after the second initial moment, but the historical frame contains data prior to the current frame. If the capacitance difference between the current and historical frames is significant, it can be determined that the current frame is the frame data after the screen is turned on and the user raises their hand. At this point, the touch terminal enters the first touch state. The touch terminal then enters a forced update mode to update the touch reference and exits the first touch state. Specifically, the main control processor generates and sends a touch update command to the touch chip, which executes the command to update the touch terminal's touch reference to a normal value, thus enabling the touch terminal to enter the normal second touch state.

[0094] In the aforementioned embodiments, ambient light, time, external information, touch data, etc., can be used to assist in determining whether the touch terminal is in a monitoring state. In other embodiments, the touch terminal's own sensors can be used to detect user behavior to determine whether the touch terminal is in a monitoring state. For example, it can be determined whether the user clicks the touch terminal multiple times consecutively to determine whether the touch terminal is in a monitoring state.

[0095] In the above embodiments, the determination of whether the touch terminal is in an abnormal first touch state is mainly based on the number of touch capacitance values ​​that are not zero. In other embodiments, it can also be determined by judging the number of touch capacitors whose touch capacitance values ​​are within the target abnormal capacitance value range. For example, it can be determined whether the sum of the number of touch capacitors whose touch capacitance values ​​are in the ranges of (-200, -180) and (220, 240) exceeds a preset number of touch capacitance values; if it does, it indicates that the touch terminal is in an abnormal touch state. It should be noted that the preset number of touch capacitance values ​​here can be the same as or different from the aforementioned preset number of touch capacitance values, and the specific number can be set according to actual needs.

[0096] In other embodiments, speed characteristics can also be used to determine whether the touch terminal is in an abnormal touch state. Specifically, when the user is not operating the touch terminal, the touch terminal is likely in a stable state with little speed change; when the user operates the touch terminal, the accelerometer in the touch terminal will change drastically. Therefore, the change in accelerometer readings can be used to determine whether the touch terminal is in an abnormal touch state. Specifically, if the accelerometer readings become smoother after the screen is turned on and the user raises their hand, it indicates that there is still data residue on the touch terminal from the screen-on and hand-raising action, and the touch reference of the touch terminal is abnormal and needs to be forcibly replaced with a normal touch reference.

[0097] To facilitate better implementation of the terminal touch optimization method provided in this application, this application also provides an apparatus based on the above-described terminal touch optimization method. The meanings of the terms used are the same as in the above-described terminal touch optimization method, and specific implementation details can be found in the descriptions within the method embodiments. Please refer to... Figure 9 , Figure 9 A schematic diagram of the terminal touch optimization device provided in the embodiments of this application includes: The first state parameter acquisition module 901 is used to acquire the first state parameter of the touch terminal and determine whether the touch terminal has entered the monitoring state based on the first state parameter.

[0098] The second state parameter acquisition module 902 is used to acquire the second state parameter of the touch terminal if the touch terminal enters the monitoring state, and determine whether the touch terminal has entered the first touch state based on the second state parameter.

[0099] The touch update command generation module 903 is used to generate a touch update command if the touch terminal enters the first touch state.

[0100] The touch update module 904 is used to exit the first touch state and enter the second touch state according to the touch update command.

[0101] This application provides a terminal touch optimization method apparatus, which first acquires a first state parameter of the touch terminal and determines whether the touch terminal has entered a monitoring state based on the first state parameter; if the touch terminal has entered the monitoring state, it acquires a second state parameter of the touch terminal and determines whether the touch terminal has entered a first touch state based on the second state parameter; if the touch terminal has entered the first touch state, it generates a touch update command; and exits the first touch state and enters a second touch state based on the touch update command. This application uses the state parameter of the touch terminal to determine whether the touch terminal has entered a monitoring state. Only after entering the monitoring state can the second state parameter be acquired and the touch terminal's touch abnormality be determined based on the second state parameter. By acquiring different state parameters multiple times to determine whether the touch abnormality is detected, false judgments are effectively avoided; and when the touch terminal is in an abnormal touch state, the touch terminal is forcibly controlled to exit the abnormal touch state, thus optimizing the touch state of the touch terminal; and solving the problem of no touch response after raising the touch terminal from the screen.

[0102] In some possible embodiments, the first state parameter acquisition module 901 may specifically be used for: Detect the ambient light of the environment in which the touch terminal is located; determine whether the touch terminal has moved from a dark environment to a bright environment based on the ambient light; if the touch terminal moves from a dark environment to a bright environment, then determine that the touch terminal has entered the monitoring state.

[0103] In some possible embodiments, the second state parameter acquisition module 902 may specifically be used for: If the touch terminal enters the monitoring state, obtain multiple touch capacitance values ​​in the touch terminal; determine whether the touch terminal has entered the first touch state based on the multiple touch capacitance values.

[0104] In some possible embodiments, the first state parameter acquisition module 901 may specifically be used for: When the touch terminal is in a black screen state and is being held, determine whether the touch terminal screen is on; if the touch terminal screen is on, determine that the touch terminal has entered the monitoring state.

[0105] In some possible embodiments, the second state parameter acquisition module 902 may specifically be used for: If the touch terminal enters the monitoring state, the moment when the touch terminal enters the monitoring state is taken as the first initial moment; the current moment is determined, and the duration between the current moment and the first initial moment is determined; it is determined whether the duration meets the target duration requirement; if the duration meets the target duration requirement, multiple touch capacitance values ​​of the current touch terminal are obtained; based on the multiple touch capacitance values, it is determined whether the touch terminal has entered the first touch state.

[0106] In some possible embodiments, the first state parameter acquisition module 901 may specifically be used for: Determine whether the touch terminal has received external information; if the touch terminal has received external information, then determine that the touch terminal has entered the monitoring state.

[0107] In some possible embodiments, the first state parameter acquisition module 901 may specifically be used for: When the touch terminal is in a black screen state, acquire the touch data of the touch terminal; determine whether the touch terminal is in a hand-held state based on the touch data; if the touch terminal is in a hand-held state, determine that the touch terminal has entered the monitoring state.

[0108] In some possible embodiments, the second state parameter acquisition module 902 may specifically be used for: The moment when the touch terminal enters the monitoring state is taken as the second initial moment; the second initial moment is taken as the starting moment, and two adjacent frames of data in the subsequent moments are acquired; the difference value between the two adjacent frames of data is determined; and the touch terminal is determined to enter the first touch state based on the difference value.

[0109] This application also provides an electronic device, such as... Figure 10 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically: The electronic device may include components such as a processor 1001 with one or more processing cores, a memory 1002 with one or more computer-readable storage media, a power supply 1003, and an input unit 1004. Those skilled in the art will understand that... Figure 10 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 1001 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 1002, and by calling data stored in the memory 1002, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor and a modem processor. The application processor mainly handles the operation of the storage medium, user interface, and application programs, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 1001.

[0110] The memory 1002 can be used to store software programs and modules. The processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a program storage area and a data storage area. The program storage area may store applications required for operating the storage medium and at least one function (such as sound playback function, image playback function, etc.); the data storage area may store data created according to the use of the electronic device. In addition, the memory 1002 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 with access to the memory 1002.

[0111] The electronic device also includes a power supply 1003 that supplies power to various components. Preferably, the power supply 1003 can be logically connected to the processor 1001 through a power management storage medium, thereby enabling functions such as charging, discharging, and power consumption management through the power management storage medium. The power supply 1003 may also include one or more DC or AC power supplies, recharge storage media, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0112] The electronic device may also include an input unit 1004, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0113] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 1001 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 1002 according to the following instructions, and the processor 1001 runs the applications stored in the memory 1002, thereby realizing the steps in the above-described terminal touch optimization method embodiment.

[0114] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0115] Therefore, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to execute the steps in any of the terminal touch optimization methods provided in embodiments of this application.

[0116] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0117] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0118] Since the computer program stored in the computer-readable storage medium can execute the steps in any of the terminal touch optimization methods provided in the embodiments of this application, the beneficial effects that any of the terminal touch optimization methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0119] When the computing device in this application embodiment is a terminal device, this application embodiment also provides a terminal device, such as... Figure 11 As shown, for ease of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to the method section of the embodiments of this application. The terminal device can be any terminal device including mobile phones, tablets, personal digital assistants (PDAs), point-of-sale (POS) terminals, in-vehicle computers, etc. Taking a mobile phone as an example: Figure 11 This diagram illustrates a partial structural representation of a mobile phone related to the terminal device provided in this embodiment. (Reference) Figure 11 The mobile phone includes components such as a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1120, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, a processor 1180, and a power supply 1190. Those skilled in the art will understand that... Figure 11 The mobile phone structure shown does not constitute a limitation on the mobile phone and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0120] The following is combined Figure 11 A detailed introduction to each component of a mobile phone: RF circuit 1110 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with processor 1180; additionally, it transmits uplink data to the base station. Typically, RF circuit 310 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), a duplexer, etc. Furthermore, RF circuit 1110 can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0121] The memory 1120 can be used to store software programs and modules. The processor 1180 executes various functions and data processing of the mobile phone by running the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, phonebook, etc.). In addition, the memory 1120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0122] The input unit 1130 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the mobile phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. The touch panel 1131, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 1131), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel 1131 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1131, the input unit 1130 may also include other input devices 1132. Specifically, other input devices 1132 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.

[0123] Display unit 1120 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone. Display unit 1120 may include display panel 1121, optionally configured as a liquid crystal display (LCD), organic light-emitting diode (OLED), or similar display panel 1121. Further, touch panel 1131 may cover display panel 1121. When touch panel 1131 detects a touch operation on or near it, it transmits the information to processor 1180 to determine the type of touch event. Subsequently, processor 1180 provides corresponding visual output on display panel 1121 based on the type of touch event. Although in Figure 11 In this embodiment, the touch panel 1131 and the display panel 1121 are two separate components to realize the input and output functions of the mobile phone. However, in some embodiments, the touch panel 1131 and the display panel 1121 can be integrated to realize the input and output functions of the mobile phone.

[0124] The mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1121 according to the ambient light level, and the proximity sensor can turn off the display panel 1121 and / or backlight when the phone is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that recognize the phone's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tapping), etc. Other sensors that may be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.

[0125] Audio circuit 1160, speaker 1161, and microphone 1162 provide an audio interface between the user and the mobile phone. Audio circuit 1160 converts received audio data into electrical signals and transmits them to speaker 1161, where speaker 1161 converts them into sound signals for output. On the other hand, microphone 1162 converts collected sound signals into electrical signals, which are received by audio circuit 1160, converted into audio data, and then processed by processor 1180 before being transmitted via RF circuit 1110 to, for example, another mobile phone, or the audio data can be output to memory 1120 for further processing.

[0126] Wi-Fi is a short-range wireless transmission technology. Through the Wi-Fi module 1170, mobile phones can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 11 Wi-Fi module 1170 is shown, but it is understood that it is not an essential component of a mobile phone and can be omitted as needed without changing the nature of the invention.

[0127] The processor 1180 is the control center of the mobile phone, connecting various parts of the phone through various interfaces and lines. It executes software programs and / or modules stored in the memory 1120, and calls data stored in the memory 1120 to perform various functions and process data, thereby providing overall monitoring of the phone. Optionally, the processor 1180 may include one or more processing units; optionally, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the aforementioned modem processor may also not be integrated into the processor 1180.

[0128] The mobile phone also includes a power supply 1190 (such as a battery) that supplies power to various components. Optionally, the power supply can be logically connected to the processor 1180 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.

[0129] Although not shown, mobile phones may also include a camera, Bluetooth module, etc., which will not be described in detail here.

[0130] In this embodiment of the application, the processor 1180 included in the mobile phone also has the function of controlling the execution of the terminal touch optimization method flow executed by the video authentication device.

[0131] This application also provides a server; please refer to [link / reference]. Figure 12 , Figure 12 This is a schematic diagram of a server structure provided in an embodiment of this application. The server 1200 can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 1222 (e.g., one or more processors) and memory 1232, and one or more storage media 1230 (e.g., one or more mass storage devices) for storing application programs 1242 or data 1244. The memory 1232 and storage media 1230 can be temporary or persistent storage. The program stored in the storage media 1230 may include one or more modules (not shown in the figure), each module may include a series of instruction operations on the server. Furthermore, the CPU 1222 may be configured to communicate with the storage media 1230 and execute the series of instruction operations in the storage media 1230 on the server 1100.

[0132] Server 1200 may also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input / output interfaces 1158, and / or one or more operating systems 1241, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc.

[0133] The steps in the terminal touch optimization method in the above embodiments can be based on this. Figure 12 The structure of server 1200 is shown. For example, the central processing unit 1222 performs the following operations by calling instructions from memory 1232: The system acquires the first state parameter of the touch terminal and determines whether the touch terminal has entered the monitoring state based on the first state parameter. If the touch terminal has entered the monitoring state, the system acquires the second state parameter of the touch terminal and determines whether the touch terminal has entered the first touch state based on the second state parameter. If the touch terminal has entered the first touch state, the system generates a touch update command. The system exits the first touch state and enters the second touch state based on the touch update command.

[0134] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0135] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0136] In the embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, apparatuses, or modules, and may be electrical, mechanical, or other forms.

[0137] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0138] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0139] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0140] The computer program product includes one or more computer instructions. When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).

[0141] The present application provides a detailed description of a terminal touch optimization method, apparatus, electronic device, and storage medium. Specific examples have been used to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present application. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of the present application. Therefore, the content of this specification should not be construed as a limitation of the present application.

Claims

1. A terminal touch optimization method, characterized in that, Applied to a touch terminal, the method includes: The system acquires a first state parameter of the touch terminal and determines whether the touch terminal has entered a monitoring state based on the first state parameter. Specifically, when the touch terminal is in a black screen state, the system acquires the touch data of the touch terminal. When the touch data shows a hand shape, the system determines that the touch terminal is in a hand-held state. When the touch terminal switches from a black screen state to a bright screen state and is in a hand-held state, the system determines that the touch terminal has entered a monitoring state. If the touch terminal enters the monitoring state, the second state parameter of the touch terminal is obtained, and it is determined whether the touch terminal has entered the first touch state based on the second state parameter. The first touch state is the touch state corresponding to the abnormal touch reference. The second state parameter is the touch capacitance value of the touch terminal. When the number of non-zero touch capacitance values ​​is not less than the number of preset touch capacitance values, it is determined that the touch terminal has entered the first touch state. If the touch terminal enters the first touch state, a touch update command is generated; According to the touch update command, exit the first touch state and enter the second touch state, wherein the second touch state is the normal touch state.

2. The terminal touch optimization method according to claim 1, characterized in that, The step of obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered the monitoring state based on the first state parameter includes: Detect the ambient light of the environment in which the touch terminal is located; The system determines whether the touch terminal has transitioned from a dark environment to a bright environment based on the ambient light. If the touch terminal moves from a dark environment to a bright environment, it is determined that the touch terminal has entered the monitoring state.

3. The terminal touch optimization method according to claim 1, characterized in that, The step of obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered the monitoring state based on the first state parameter includes: When the touch terminal is in a state of black screen and being held, determine whether the touch terminal screen is turned on; If the touch terminal screen is turned on, it is determined that the touch terminal has entered the monitoring state.

4. The terminal touch optimization method according to claim 3, characterized in that, If the touch terminal enters a monitoring state, the step of acquiring the second state parameter of the touch terminal and determining whether the touch terminal has entered a first touch state based on the second state parameter includes: If the touch terminal enters the monitoring state, the moment when the touch terminal enters the monitoring state shall be taken as the first initial moment; Determine the current time and the duration between the current time and the first initial time; Determine whether the duration meets the target duration requirement; If the duration meets the target duration requirement, then obtain multiple touch capacitance values ​​of the current touch terminal; Based on the multiple touch capacitance values, it is determined whether the touch terminal has entered the first touch state.

5. The terminal touch optimization method according to claim 1, characterized in that, The step of obtaining the first state parameter of the touch terminal and determining whether the touch terminal has entered the monitoring state based on the first state parameter includes: Determine whether the touch terminal has received external information; If the touch terminal receives external information, it is determined that the touch terminal has entered the monitoring state.

6. The terminal touch optimization method according to claim 1, characterized in that, If the touch terminal enters a monitoring state, the step of acquiring the second state parameter of the touch terminal and determining whether the touch terminal has entered a first touch state based on the second state parameter includes: The moment when the touch terminal enters the monitoring state is taken as the second initial moment; Using the second initial time as the starting time, acquire two adjacent frames of data in subsequent time steps; Determine the difference between two adjacent frames of data; The difference value is used to determine whether the touch terminal has entered the first touch state.

7. A terminal touch optimization device, characterized in that, The device includes: The first state parameter acquisition module is used to acquire the first state parameters of the touch terminal and determine whether the touch terminal has entered the monitoring state based on the first state parameters. Specifically, when the touch terminal is in a black screen state, the touch data of the touch terminal is acquired; when the touch data shows a palm shape feature, it is determined that the touch terminal is in a hand-held state; when the touch terminal switches from a black screen state to a bright screen state and is in a hand-held state, it is determined that the touch terminal has entered the monitoring state. The second state parameter acquisition module is used to acquire the second state parameter of the touch terminal if the touch terminal enters the monitoring state, and determine whether the touch terminal has entered the first touch state based on the second state parameter. The first touch state is the touch state corresponding to the abnormal touch reference. The second state parameter is the touch capacitance value of the touch terminal. When the number of non-zero touch capacitance values ​​is not less than the number of preset touch capacitance values, it is determined that the touch terminal has entered the first touch state. The touch update command generation module is used to generate a touch update command if the touch terminal enters the first touch state. The touch update module is used to exit the first touch state and enter the second touch state according to the touch update command, wherein the second touch state is the normal touch state.

8. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps in the terminal touch optimization method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to execute the steps in the terminal touch optimization method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Touch calibration method and device, storage medium and electronic equipment

    CN113434055A

  • Reset control method and device for touch key and air conditioner

    CN115021741A