Touch screen control method and device, electronic equipment and storage medium

By obtaining touch information on the touch screen and determining whether the target area is touched based on it, the scanning frequency of the target area is improved, the problem of insufficient touch response speed is solved, the user experience is improved and power consumption is controlled.

CN119576193APending Publication Date: 2025-03-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311143530.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-05
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, the touch screen's touch response speed is insufficient, which affects the user's touch experience.

Method used

By acquiring the touch screen touch information, if it is determined that the target touch area is touched, the scanning frequency of the area is increased to improve the touch response speed.

Benefits of technology

The scanning frequency is increased for the user's touch area, the touch response speed is improved, thereby improving the user's touch experience and effectively controlling the increase in power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576193A_ABST
    Figure CN119576193A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of a touch screen, electronic equipment and a storage medium, the control method of the touch screen is applied to the electronic equipment, the electronic equipment comprises the touch screen, and the control method of the touch screen comprises the steps that touch information of the touch screen is obtained; if it is determined that a target touch area is touched based on the touch information, the scanning frequency of the target touch area is increased. According to the method, the touch response speed can be increased, so that the touch experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and more specifically, to a touch screen control method, device, electronic device and storage medium. Background Art

[0002] With the rapid advancement of science and technology and living standards, electronic devices (such as smart phones, tablet computers, etc.) have become one of the commonly used electronic products in people's lives. Current electronic devices are usually equipped with a touch screen, and users can interact with the electronic device by touching the touch screen to realize various functions of the electronic device. However, the touch response speed of the touch screen in the related art is insufficient, which affects the user's touch experience. Summary of the invention

[0003] The present application proposes a touch screen control method, device, electronic device and storage medium, which can improve the touch response speed and thus improve the user's touch experience.

[0004] In a first aspect, an embodiment of the present application provides a touch screen control method, which is applied to an electronic device, wherein the electronic device includes a touch screen, and the method includes: acquiring touch information of the touch screen; if it is determined based on the touch information that a target touch area is touched, increasing the scanning frequency of the target touch area.

[0005] In a second aspect, an embodiment of the present application provides a control device for a touch screen, which is applied to an electronic device, wherein the electronic device includes a touch screen, and the device includes: a touch information acquisition module and a scanning frequency control module, wherein the touch information acquisition module is used to acquire touch information of the touch screen; and the scanning frequency control module is used to increase the scanning frequency of the target touch area if it is determined based on the touch information that the target touch area is touched.

[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a memory; a touch screen; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the touch screen control method provided in the first aspect above.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored. The program code can be called by a processor to execute the touch screen control method provided in the first aspect.

[0008] The solution provided by the present application obtains touch information of the touch screen; if the target touch area is determined to be touched based on the touch information, the scanning frequency of the target touch area is increased. Thus, the scanning frequency of the user's touch area can be increased, thereby increasing the touch response speed of the touch area and further improving the user's touch experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 A flow chart of a method for controlling a touch screen according to an embodiment of the present application is shown.

[0011] Figure 2 A flow chart of a method for controlling a touch screen according to another embodiment of the present application is shown.

[0012] Figure 3 A flow chart of a method for controlling a touch screen according to yet another embodiment of the present application is shown.

[0013] Figure 4 A flow chart of a method for controlling a touch screen according to another embodiment of the present application is shown.

[0014] Figure 5 A block diagram of a touch screen control device according to an embodiment of the present application is shown.

[0015] Figure 6 4 is a block diagram of an electronic device for executing a touch screen control method according to an embodiment of the present application.

[0016] Figure 7 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing a method for controlling a touch screen according to an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0018] With the development of electronic technology, the functions of electronic devices are becoming more and more abundant. For example, current electronic devices can usually realize user control of electronic devices through touch screens. The reporting rate of a touch screen refers to the maximum number of valid reporting data that the touch screen can provide per unit time, which represents the response speed of the touch screen to touch events. In the prior art, electronic devices all use a fixed reporting rate, for example: the reporting rate of low-end devices is 60Hz, and the reporting rate of mid-to-high-end devices is 120Hz, 180Hz or 240Hz. When realizing the fixed reporting rate of the touch screen, the touch screen chip usually scans the touch screen at a fixed frequency, that is, the capacitance in the entire touch area of ​​the touch screen is input with a scanning square wave at a fixed frequency, thereby realizing a fixed reporting rate. However, in the related art, the reporting rate of the touch screen will affect the speed of the electronic device's response to touch. If a higher reporting rate is always used for the entire area of ​​the touch screen, it will bring greater power consumption.

[0019] In view of the above problems, the inventors have proposed a touch screen control method, device, electronic device and storage medium provided in the embodiments of the present application, which can improve the scanning frequency of the user's touch area, thereby improving the touch response speed of the touch area, thereby improving the user's touch experience, and can. The specific touch screen control method is described in detail in the subsequent embodiments.

[0020] The control method of the touch screen provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0021] See also Figure 1 , Figure 1 The following is a schematic diagram of a method for controlling a touch screen provided by an embodiment of the present application. In a specific embodiment, the method for controlling a touch screen is applied to an electronic device, and the electronic device includes a touch screen. The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device applied to this embodiment can be a smart phone, a tablet computer, a smart watch, an e-book, etc., which is not limited here. Figure 1 The process shown is described in detail, and the control method of the touch screen may specifically include the following steps:

[0022] Step S110: Acquire touch information of the touch screen.

[0023] In an embodiment of the present application, the electronic device can obtain touch information of the touch screen, wherein the touch information can be reported by the touch screen chip of the touch screen to the application processor (AP), and the touch information can include press events, lift events, screen coordinates, pressing pressure event information, approximate event information of the diameter of the finger contacting the touch screen, and approximate event information of the diameter of the finger, etc. Of course, the specific touch information may not be limited.

[0024] In some embodiments, the operating system of the electronic device may include a kernel layer, a core class library layer, a framework layer, and an application layer. Among them, the kernel layer provides core system services, including security, memory management, process management, network protocol stack, and hardware driver, etc.; the hardware driver in the kernel layer can be recorded as the driver layer, and the driver layer includes a touch screen driver, a camera driver, etc. The core class library layer includes the Android runtime environment (Android Runtime) and class libraries (Libraries). The Android runtime environment provides most of the functions available in the core class library of the Java programming language, including core libraries (CoreLibraries) and Dalvik virtual machines (Dalvik VM). Each Android application is an instance in the Dalvik virtual machine, running in its own process. The class library is used by various components of the Android system, including the following functions: Media Framework, Surface Manager, SQLite (relational database engine) and Free Type (bitmap and vector font rendering), etc., and its various functions are exposed to developers through the framework layer of the Android system. The framework layer provides a series of class libraries required for developing Android applications, allowing developers to quickly develop applications, reuse components, and achieve personalized extensions through inheritance. The services it provides include component management services, window management services, system data source components, space frameworks, resource management services, and installation package management services. The application layer includes various applications that interact directly with users, or service programs written in Java and running in the background, including desktop applications, contact applications, call applications, camera applications, picture browsers, games, maps, web browsers, and other applications developed by developers.

[0025] Furthermore, input events in electronic devices (such as events of peripherals such as touch screens) can be uniformly mounted in the input system (input system) of the kernel layer, and the input system can include a touch screen system, etc. The input system is divided into different event types (type), event codes (code) and event attributes (value). The operating system processes input events in the following principle: the application layer is at the upper layer of the system, and the application layer is mainly used to monitor, receive and process event information of input events reported from the bottom layer of the system. When the above input system is a touch screen system, the event information of the touch screen event monitored by the touch screen system (i.e., touch information) can include press events, lift events, coordinate event information, hand pressure event information, approximate event information of the diameter of the finger contacting the touch screen, and approximate event information of the diameter of the finger, and the coordinate event information can be divided into event information of the horizontal coordinate and event information of the vertical coordinate. When the touch screen system reports the event information of the touch event, the event information that must be reported may include press events, lift events and coordinate event information, and the optional event information may include hand pressure event information, approximate event information of the diameter of the finger contacting the touch screen, and approximate event information of the diameter of the finger. Thus, the underlying touch screen system can obtain the above touch information.

[0026] Step S120: If it is determined based on the touch information that the target touch area is touched, then the scanning frequency of the target touch area is increased.

[0027] In the embodiment of the present application, after the electronic device acquires the touch information of the touch screen, it can determine whether the target touch area is touched according to the acquired touch information. If the target touch area is touched, it means that the touch area of ​​the current user is the target touch area, so the scanning frequency of the target touch area can be increased. The target touch area is a touch area set to increase the scanning frequency, and the target touch area can be any touch area of ​​the touch screen; the scanning frequency refers to the frequency of the scanning signal input by the touch screen chip to the driving electrode TX of the sensing capacitor of the touch screen. It can be understood that after the touch screen chip inputs the scanning signal to the driving electrode TX, the receiving electrode RX receives it. The touch screen chip can report the touch event according to the receiving signal of the RX electrode. Therefore, when the scanning frequency of the target touch area is improved, the reporting rate of the touch screen for the target touch area will also increase, so that the application layer can more quickly identify the user's touch on the target touch area, and then respond to the touch more quickly. In addition, since the scanning frequency is specifically improved for the user's touch area, the touch response speed can be improved while avoiding the increase in power consumption caused by the scanning frequency improvement of all touch areas of the touch screen. In addition, the scanning frequency can be improved only for the target touch area, so when the scanning frequency is improved for the user's touch area, it can be avoided that if all touch areas can be improved, the scanning frequency cannot be improved, resulting in the inability to reduce power consumption. For example, if the user touches all touch areas of the touch screen in a short period of time, the scanning frequency of the touch area of ​​the entire touch screen may be increased, thereby causing greater power consumption. Therefore, by improving the scanning frequency only for the target touch area, the power consumption increased by improving the scanning frequency can be effectively controlled. It should be noted that there are multiple target touch areas, and when any target touch area is touched, the scanning frequency of the touched target touch area can be increased.

[0028] In some embodiments, the touch information obtained above may include multiple event information, such as press events, lift events, screen coordinate information, pressing pressure event information, approximate event information of the diameter of the finger contacting the touch screen, and approximate event information of the diameter of the finger, etc. Based on the screen coordinate information in the touch information, the touch coordinates of the touch event are determined, and then it can be determined whether the target touch area is touched.

[0029] In some embodiments, after determining whether the target touch area is touched based on the touch information, if it is determined that the target touch area is not touched, the scanning frequency of each touch area of ​​the touch screen can be kept unchanged. Optionally, the scanning frequency of each touch area of ​​the touch screen can be controlled to be a default scanning frequency, for example, 100 Hz.

[0030] In a possible implementation, when the target touch area is determined to be touched based on the touch information, when the scanning frequency of the target touch area is increased, the scanning frequency of the target touch area can be increased from the default scanning frequency to the target frequency, and the target frequency can be 120Hz, 150Hz, 200Hz, etc., and the specific value of the target frequency can be not limited. In addition, before executing the acquisition of touch information of the touch screen and determining whether the target touch area is touched based on the touch information, that is, before executing the touch screen control method provided in the embodiment of the present application, the electronic device can also determine whether the scanning frequency of the target touch area is the default scanning frequency. If it is the default scanning frequency, it means that the scanning frequency of the target touch area has not been increased, so the touch screen control method provided in the embodiment of the present application can be executed to increase the reporting rate of the target touch area, thereby improving the touch response speed; if it is not the default scanning frequency, it means that the scanning frequency of the target touch area has been increased, so the touch screen control method provided in the embodiment of the present application can be not executed, thereby saving the power consumption caused by determining whether the target touch area is touched according to the touch information.

[0031] In some embodiments, if it is determined based on the touch information that the target touch area is touched, the electronic device can keep the scanning frequency of the touch area other than the target touch area unchanged when increasing the scanning frequency of the target touch area. Thus, only increasing the scanning frequency of the target touch area can improve the touch response speed without greatly increasing the power consumption of the touch screen.

[0032] In some embodiments, the electronic device can record the touch information of the touch screen. After the duration of recording the touch information reaches the target duration, or the number of times the touch screen is touched reaches the target number of times, the touch area that meets the first touch condition in the touch area of ​​the touch screen can be determined based on the recorded historical touch information, and the touch area is used as the target touch area. The first touch condition can be one or more of the number of touches meeting the first number condition and the touch frequency meeting the first frequency condition. The first touch condition can be the number of touches greater than the first number, or the number of touches is the largest, etc. The first frequency condition can be the touch frequency greater than the first frequency, or the touch frequency is the largest, etc. In this way, touch detection can be performed on the area that the user often touches, and when the area that is often touched is touched, its scanning frequency is increased, thereby improving the touch response speed.

[0033] In a possible implementation, when the electronic device records the touch information of the touch screen, it can also record the touch information for different applications running on the electronic device; based on the touch information recorded for the same application, a touch area that meets the first touch condition can be determined for each application, and used as the target touch area corresponding to each application. When the electronic device executes the touch screen control method provided in the embodiment of the present application, it can determine whether the target touch area corresponding to the application is touched based on the currently running application and the currently acquired touch information; if the target touch area corresponding to the application is touched, the scanning frequency of the target touch area corresponding to the application can be increased.

[0034] The touch screen control method provided in the embodiment of the present application acquires the touch information of the touch screen; if it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased. Thus, the scanning frequency of the user's touch area can be increased to increase the reporting rate of the target touch area, thereby increasing the touch response speed of the touch area, and further improving the user's touch experience. Moreover, since the scanning frequency is increased specifically for the user's touch area, the touch response speed can be increased while avoiding the increase in power consumption caused by the scanning frequency increase of all touch areas of the touch screen.

[0035] See also Figure 2 , Figure 2 A schematic diagram of a control method for a touch screen according to another embodiment of the present application is shown. The control method for a touch screen is applied to the above-mentioned electronic device, which includes a touch screen. Figure 2 The process shown is described in detail, and the control method of the touch screen may specifically include the following steps:

[0036] Step S210: determining a target button area from the current display interface of the electronic device as a target touch area.

[0037] In an embodiment of the present application, the target touch area for increasing the scanning frequency may include a target key area in the current display interface of the electronic device. The electronic device may determine the target key area as the target touch area for the current display interface, so that when the target key area is touched during the display of the current display interface, the scanning frequency may be increased to increase the reporting rate of the target touch area. The target key area may be a key area in the current display interface that meets the corresponding touch conditions, for example, a key area that is frequently touched. Therefore, through subsequent steps S220 and S230, when the target button area is touched, only the scanning frequency of the target button area can be increased, thereby avoiding the possibility of large power consumption due to the increase in the scanning frequency of all touch areas, and effectively controlling the power consumption increased by increasing the scanning frequency of the touch screen. Since the target touch area is the target button area determined according to the current display interface, it can meet the user's demand for touch response speed when the user touches the target button area. For example, if the user touches each touch area of ​​the touch screen in a short period of time, the scanning frequency of the touch area of ​​the entire touch screen may be increased, thereby causing large power consumption. Therefore, by increasing the scanning frequency only for the target touch area, the power consumption increased by increasing the scanning frequency can be effectively controlled.

[0038] In some embodiments, when the electronic device determines the target key area in the current display interface, it can obtain the historical touch data of different key areas in the current display interface in the current time period; based on the historical touch data, determine the key area that meets the target touch condition from the current display interface as the target key area. The historical touch data can be the touch data recorded in the process of the electronic device displaying the current display interface, or the touch data recorded in the process of displaying the current display interface before; the target touch condition can be one or more of the number of touches meeting the target number condition and the touch frequency meeting the target frequency condition. The target touch condition can be the number of touches greater than the target number, or the number of touches being the largest, etc. The target frequency condition can be the touch frequency greater than the target frequency, or the touch frequency being the largest, etc. Thus, touch detection can be performed on the key area that is often touched by the user when the electronic device displays the current display interface, and when the often touched key area is touched, its scanning frequency is increased, thereby improving the touch response speed of the key area.

[0039] In a possible implementation, before determining the target key area based on the above historical touch data, it is also possible to determine whether the above historical touch data meets the target data condition. If the historical touch data meets the target data condition, the key area that meets the target touch condition can be determined from the current display interface based on the historical touch data as the target key area. The target data condition can be that the data volume of the historical touch data reaches the target data volume. It can be understood that only when the historical touch data meets the target data condition, the target key area is determined based on the historical touch data, so that the key area that the user often touches can be determined more accurately.

[0040] Optionally, when the historical touch data does not meet the target data condition, the touch area meeting the target touch condition can be determined based on all historical touch data when the electronic device runs the application corresponding to the current application interface, and used as the above target touch area.

[0041] In some embodiments, the electronic device may also pre-record the above target key area, that is, the electronic device may pre-determine the above target key area based on the touch data when the above current display interface is historically displayed. Wherein, when the electronic device pre-determines the above target touch area based on the historical touch information recorded by the electronic device, it may also determine the key area that meets the target touch condition from the current display interface based on the historical touch data as the target key area. Wherein, the target touch condition may be one or more of the number of touches meeting the target number condition and the touch frequency meeting the target frequency condition. The target touch condition may be the number of touches greater than the target number, or the number of touches being the largest, etc. The target frequency condition may be the touch frequency greater than the target frequency, or the touch frequency being the largest, etc. Thus, touch detection may be performed on the key area that is often touched by the user when the electronic device displays the current display interface, and when the often-touched key area is touched, its scanning frequency may be increased to increase the reporting rate of the target touch area, thereby increasing the touch response speed of the key area.

[0042] Step S220: Acquire touch information of the touch screen.

[0043] Step S230: If it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased.

[0044] In the embodiment of the present application, step S220 and step S230 can refer to the contents of the aforementioned embodiment and will not be described in detail here.

[0045] The control method of the touch screen provided in the embodiment of the present application determines the target button area as the target touch area for increasing the scanning frequency with respect to the current display interface. When the target touch area is touched, only the scanning frequency of the target button area is increased, thereby avoiding the possibility of large power consumption due to the increase in the scanning frequency of all touch areas, thereby effectively controlling the increased power consumption due to the increase in the scanning frequency of the touch screen. Moreover, since the target touch area is the target button area determined with respect to the current display interface, the user's demand for touch response speed can be met when the user touches the target button area.

[0046] See also Figure 3 , Figure 3 A schematic diagram of a control method for a touch screen according to another embodiment of the present application is shown. The control method for a touch screen is applied to the above-mentioned electronic device, the electronic device including the touch screen. Figure 3 The process shown is described in detail, and the control method of the touch screen may specifically include the following steps:

[0047] Step S310: Acquire touch information of the touch screen.

[0048] In the embodiment of the present application, step S310 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0049] Step S320: if it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased, and the scanning frequencies of other touch areas in the touch screen except the target touch area are reduced.

[0050] In the embodiment of the present application, after the electronic device determines whether the target touch area is touched, if it is determined that the target touch area is touched, the scanning frequency of the target touch area can be increased while the scanning frequency of other touch areas in the touch screen except the target touch area can be reduced. It can be understood that since the touch area of ​​the current user is the target touch area, the touch response speed of other touch areas is not required much, so the scanning frequency of the target touch area can be increased while the scanning frequency of other touch areas in the touch screen except the target touch area can be reduced, thereby reducing the power consumption of the touch screen.

[0051] In some embodiments, since the scanning frequency of other touch areas except the target touch area in the touch screen is reduced, the time for the touch screen chip to input scanning signals to other touch areas of the touch screen except the target touch area will be reduced, and considering that the capacitive touch screen will inevitably generate system noise during the data acquisition process, in order to improve the accuracy of touch recognition, the recognized touch data is usually filtered to remove noise, so the time for the touch screen chip to input scanning signals for the other touch areas can be used for the touch screen chip to filter the touch data to increase the time for filtering the touch data, thereby improving the signal-to-noise ratio (SNR) of the touch data, and then improving the accuracy of touch recognition, so that users can have a better touch experience in game scenes, typing scenes, using active pens, etc. Among them, the algorithm used to filter the recognized touch data can be a median average, a difference average, a Kalman filter, etc., and the specific filtering algorithm may not be limited.

[0052] Step S330: reducing the scanning voltage of other touch areas of the touch screen except the target touch area.

[0053] In the embodiment of the present application, after the electronic device determines whether the target touch area is touched, if it is determined that the target touch area is touched, the scanning voltage of other touch areas in the touch screen except the target touch area can be reduced. It can be understood that since the touch area of ​​the current user is the target touch area, the touch recognition accuracy of other touch areas is not required much, so the scanning voltage of other touch areas in the touch screen except the target touch area can also be reduced, thereby reducing the power consumption of the touch screen.

[0054] In some embodiments, when the electronic device determines that the target touch area is touched, it can reduce the scanning voltage of other touch areas in the touch screen except the target touch area, and can also increase the scanning voltage of the target touch area, thereby improving the touch recognition accuracy of the target touch area.

[0055] The control method of the touch screen provided in the embodiment of the present application obtains touch information of the touch screen; if it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased, and the scanning frequency of other touch areas of the touch screen except the target touch area is reduced. This can achieve an increase in the scanning frequency of the user's touch area to increase the reporting rate of the target touch area, thereby increasing the touch response speed of the touch area, and further improving the user's touch experience. In addition, the scanning frequency of other touch areas is reduced, which can reduce the power consumption of the touch screen. In addition, when it is determined based on the touch information that the target touch area is touched, the scanning voltage of other touch areas in the touch screen except the target touch area is also reduced, thereby further reducing the power consumption of the touch screen.

[0056] See also Figure 4 , Figure 4 A schematic diagram of a control method for a touch screen according to another embodiment of the present application is shown. The control method for a touch screen is applied to the above electronic device. Figure 4 The process shown is described in detail, and the control method of the touch screen may specifically include the following steps:

[0057] Step S410: Acquire touch information of the touch screen.

[0058] In the embodiment of the present application, step S410 can refer to the contents of the aforementioned embodiment and will not be described again here.

[0059] Step S420: if it is determined based on the touch information that the target touch area is touched, then the scanning frequency of the target touch area is increased, and the frequency of the scanning frequency of the target touch area before being increased is the first frequency.

[0060] In an embodiment of the present application, after the electronic device determines whether the target touch area is touched, if it is determined that the target touch area is touched, the scanning frequency of the target touch area can be increased on the basis of the first frequency, that is, before the scanning frequency of the target touch area is increased, the scanning frequency of the target touch area is the first frequency. Among them, the above first frequency is the default scanning frequency, for example, it can be 100Hz. Optionally, when increasing the scanning frequency of the target touch area, the scanning frequency of the target touch area can be increased from the first frequency to a second frequency, and the second frequency can be 120Hz, 150Hz, 200Hz, etc., and the specific values ​​of the first frequency and the second frequency may not be limited.

[0061] Step S430: if the target touch area is not touched within the target time period, reducing the scanning frequency of the target touch area to the first frequency.

[0062] In an embodiment of the present application, when it is determined based on the touch information that the target touch area is touched, after the scanning frequency of the target touch area is increased, the touch information of the touch screen can be continued to be obtained to determine whether the target touch area is touched. If the target touch area is not touched within the target duration, that is, the duration of the target touch area not being touched reaches the target duration, the scanning frequency of the target touch area can be reduced to the first frequency, that is, the scanning frequency of the target touch area is restored to the scanning frequency before the increase. It can be understood that after the scanning frequency of the target touch area is increased, if the target touch area is not touched, the current user does not have the need to increase the touch response speed of the target touch area, so the scanning frequency of the target touch area can be restored to the previous frequency to reduce the power consumption of the touch screen. Among them, the above target duration can be 10 seconds, 15 seconds, 30 seconds, 1 minute, 3 minutes, etc., and the specific value of the target duration can be not limited.

[0063] The touch screen control method provided in the embodiment of the present application obtains the touch information of the touch screen; if it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased. In this way, the scanning frequency of the user's touch area can be increased to increase the reporting rate of the target touch area, thereby increasing the touch response speed of the touch area, and further improving the user's touch experience. In addition, since the scanning frequency is specifically increased for the user's touch area, the touch response speed can be increased while avoiding the increase in power consumption caused by the scanning frequency increase of all touch areas of the touch screen. In addition, after increasing the scanning frequency of the target touch area, the scanning frequency of the target touch area is reduced to the previous frequency when the target touch area is not touched within the target time length, thereby reducing the power consumption of the touch screen.

[0064] See also Figure 5 , which shows a structural block diagram of a touch screen control device 500 provided in an embodiment of the present application. The touch screen control device 500 applies the above-mentioned electronic device, which includes a touch screen, and the touch screen control device 500 includes: a touch information acquisition module 510 and a scanning frequency control module 520. The touch information acquisition module 510 is used to acquire touch information of the touch screen; the scanning frequency control module 520 is used to increase the scanning frequency of the target touch area if it is determined that the target touch area is touched based on the touch information.

[0065] In some implementations, the target touch area includes a target button area in a current display interface of the electronic device.

[0066] In a possible implementation, the touch screen control device 500 may further include a touch area determination module. The touch area determination module is used to determine the target key area from the current display interface of the electronic device before increasing the scanning frequency of the target touch area if it is determined based on the touch information that the target touch area is touched.

[0067] Optionally, the touch area determination module can be specifically used to obtain historical touch data of different button areas in the current display interface within the current time period; based on the historical touch data, determine the button area that meets the target touch condition from the current display interface as the target button area.

[0068] In some embodiments, the scanning frequency control module 520 can be specifically used to increase the scanning frequency of the target touch area and reduce the scanning frequency of other touch areas in the touch screen except the target touch area if it is determined based on the touch information that the target touch area is touched.

[0069] In some embodiments, the touch screen control device 500 may further include a scanning voltage control module configured to reduce the scanning voltage of other touch areas of the touch screen except the target touch area if the touch information indicates that the target touch area is touched.

[0070] In a possible implementation manner, the scanning voltage control module may be specifically configured to reduce the scanning voltages of other touch control areas except the target touch control area in the touch screen, while increasing the scanning voltage of the target touch control area.

[0071] In some embodiments, the frequency of the scanning frequency of the target touch area before being increased is the first frequency, and the scanning frequency control module 520 can also be used to reduce the scanning frequency of the target touch area to the first frequency if the target touch area is not touched within the target time length after it is determined that the target touch area is touched based on the touch information.

[0072] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0073] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0074] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0075] In summary, the solution provided by the present application obtains touch information of the touch screen; if the target touch area is determined to be touched based on the touch information, the scanning frequency of the target touch area is increased. Thus, the scanning frequency of the user's touch area can be increased, thereby increasing the touch response speed of the touch area and further improving the user's touch experience.

[0076] Please refer to Figure 6 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, a smart watch, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a touch screen 130, and one or more applications, wherein one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more applications are configured to execute the method described in the aforementioned method embodiment.

[0077] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.

[0078] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.

[0079] The touch screen 130 can collect user touch operations on or near it (such as operations performed by the user using a finger, a stylus, or any other suitable object or accessory on or near the touch screen 130 ), and drive corresponding connection devices according to a pre-set program.

[0080] Please refer to Figure 7 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0081] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for controlling a touch screen, characterized in that: Applied to an electronic device, the electronic device includes a touch screen, and the method includes: Acquiring touch information of the touch screen; If it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased.

2. The method according to claim 1, characterized in that The target touch area includes a target button area in the current display interface of the electronic device.

3. The method according to claim 2, characterized in that Before increasing the scanning frequency of the target touch area if it is determined based on the touch information that the target touch area is touched, the method further includes: The target key area is determined from the current display interface of the electronic device.

4. The method according to claim 3, characterized in that The determining the target key area from the current display interface of the electronic device includes: Acquire historical touch data of different key areas in the current display interface within a current time period; Based on the historical touch data, a key area that meets the target touch condition is determined from the current display interface as the target key area.

5. The method according to claim 1, characterized in that: If it is determined based on the touch information that the target touch area is touched, increasing the scanning frequency of the target touch area includes: If it is determined based on the touch information that the target touch area is touched, the scanning frequency of the target touch area is increased, and the scanning frequencies of other touch areas in the touch screen except the target touch area are reduced.

6. The method according to claim 1, characterized in that If it is determined based on the touch information that the target touch area is touched, the method further includes: The scanning voltage of other touch control areas in the touch screen except the target touch control area is reduced.

7. The method according to claim 6, characterized in that The step of reducing the scanning voltage of other touch control areas in the touch screen except the target touch control area includes: The scanning voltage of the target touch area is increased while the scanning voltage of the other touch areas except the target touch area in the touch screen is reduced.

8. The method according to any one of claims 1 to 7, characterized in that: The frequency of the target touch area before the scanning frequency is increased is the first frequency. After increasing the scanning frequency of the target touch area if it is determined based on the touch information that the target touch area is touched, the method further includes: If the target touch area is not touched within the target time period, the scanning frequency of the target touch area is reduced to the first frequency.

9. A touch screen control device, characterized in that: Applied to electronic equipment, the electronic equipment includes a touch screen, the device includes: a touch information acquisition module and a scanning frequency control module, wherein: The touch information acquisition module is used to acquire touch information of the touch screen; The scanning frequency control module is used to increase the scanning frequency of the target touch area if it is determined based on the touch information that the target touch area is touched.

10. An electronic device, characterized in that: include: one or more processors; Memory; touchscreen; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Touch screen scanning method and device, electronic device, and computer-readable storage medium

    CN109542272A

  • Driving method and device of touch panel, equipment and medium

    CN116027925A

  • Power saving touch apparatus and power saving method thereof

    TW201518929A

  • Touch apparatus and touch detecting method thereof

    TW201642091A