Touch-control system control method and electronic device

By reducing the data reporting frequency and switching to asynchronous low-power consumption mode when no valid touch signal is detected, the problem of high power consumption of touch systems in the existing technology is solved, achieving lower overall power consumption and longer standby. time, while ensuring quick response capabilities.

WO2024078199A9PCT designated stage expired Publication Date: 2024-08-29HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/116947
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-10-11
Filing Date
2023-09-05
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing touch systems consume high power when no valid touch signal is detected, which affects the overall power consumption and standby time of electronic devices.

Method used

When no valid touch signal is detected, the touch chip maintains the original scanning frequency, but reduces the data reporting frequency and switches to an asynchronous low-power mode to reduce the data processing frequency of the host, thereby reducing overall power consumption.

Benefits of technology

It effectively reduces the overall power consumption of electronic equipment, extends the standby time, and maintains fast response capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023116947_29082024_PF_FP_ABST
    Figure CN2023116947_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a touch-control system control method and an electronic device. The method comprises: in an activated mode, a touch-control chip controlling a touch-control panel to perform two-dimensional data scanning at a first frequency, so as to obtain first scanning data, wherein the first scanning data is used for detecting a touch-control position; the touch-control chip sending the first scanning data to a host at the first frequency; when the host determines, according to the first scanning data, that there is no valid touch signal being detected on a screen of an electronic device, switching to an asynchronous low-power-consumption mode, and sending to the touch-control chip a first command for switching to the asynchronous low-power-consumption mode; and the touch-control chip switching to the asynchronous low-power-consumption mode according to the first command, and in the asynchronous low-power-consumption mode, the touch-control chip controlling the touch-control panel to perform two-dimensional data scanning at the first frequency, so as to obtain second scanning data, and sending the second scanning data to the host at a second frequency, wherein the second frequency is less than the first frequency, and the second scanning data is used for detecting whether there is a conductor approaching. In this way, the power consumption of a host can be reduced, thereby reducing the overall power consumption of an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Touch system control method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on October 11, 2022, with application number 202211239886.6 and application name “Touch System Control Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal devices, and in particular to a touch system control method and electronic equipment. Background Art

[0003] Currently, touch is the main mode of human-computer interaction in electronic devices. Users input information into the electronic devices by performing touch operations on the display screens of the electronic devices.

[0004] Touch systems are frequently used in electronic devices. Therefore, the power consumption of the touch system has a significant impact on the overall power consumption of the electronic device and also has a significant impact on the standby time of the electronic device.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems, the present application provides a touch system control method and electronic device, which reduces the overall power consumption of the electronic device by maintaining the original scanning frequency of the touch chip in the electronic device and reducing the data reporting frequency when no valid touch signal is detected, thereby reducing the data processing frequency of the host and reducing the host power consumption.

[0007] In a first aspect, the present application provides a touch system control method. The method is applied to an electronic device, which includes a touch chip, a touch panel, and a host. The method includes: in an active mode, the touch chip controls the touch panel to perform a two-dimensional data scan at a first frequency to obtain first scan data, and the first scan data is used to detect the touch position; the touch chip sends the first scan data to the host at the first frequency; when the host determines that no valid touch signal is detected on the screen of the electronic device based on the first scan data, the host switches to an asynchronous low-power mode and sends a first command to switch to the asynchronous low-power mode to the touch chip; the touch chip switches to the asynchronous low-power mode based on the first command. In the asynchronous low-power mode, the touch chip controls the touch panel to perform a two-dimensional data scan at the first frequency to obtain second scan data, and sends the second scan data to the host at a second frequency, the second frequency being less than the first frequency, and the second scan data is used to detect the touch position. In this way, by maintaining the original scan frequency and reducing the data reporting frequency in the electronic device when no valid touch signal is detected, the host's data processing frequency is reduced to reduce the host power consumption, thereby reducing the overall power consumption of the electronic device.

[0008] According to the first aspect, after the host switches to the asynchronous low power consumption mode, it also includes: the host sends a first notification to the touch chip, and the first notification is used to instruct the touch chip to switch to the low power consumption mode after the first time if no valid conductor signal is detected within the first time after receiving the first notification.

[0009] According to the first aspect, it also includes: in the asynchronous low power mode, if the touch chip does not detect a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the low power mode. In the low power mode, the touch chip controls the touch panel to perform low power scanning at a first frequency, obtains third scanning data, and sends the third scanning data to the host at a second frequency. The third scanning data is used to detect whether there is a conductor approaching the screen.

[0010] According to the first aspect, after the touch chip switches to the low power consumption mode, it also includes: in the low power consumption mode, when the touch chip detects a valid conductor signal, the touch chip switches to the activation mode, and sends the fourth scanning data and the activation mode identifier collected in the activation mode to the host, and the fourth scanning data is used to detect the touch position; the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

[0011] According to the first aspect, it also includes: in the asynchronous low power consumption mode, if the touch chip detects a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the activation mode, and sends the fourth scanning data and the activation mode identifier collected in the activation mode to the host, and the fourth scanning data is used to detect the touch position; the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

[0012] According to the first aspect, the low power consumption scan is a self-capacitance scan or a mutual-capacitance scan.

[0013] According to the first aspect, the first frequency is 120 Hz or 240 Hz, and the second frequency is 1 Hz.

[0014] In a second aspect, the present application provides a touch system control method, which is applied to an electronic device, wherein the electronic device includes a touch chip, a touch panel and a host, and the method includes: in an activation mode, the touch chip controls the touch panel to perform two-dimensional data scanning at a first frequency to obtain first scanning data, and the first scanning data is used to detect the touch position; the touch chip sends the first scanning data to the host at a first frequency; the touch chip receives a first command sent by the host to switch to an asynchronous low power mode, and the first command is issued when the host determines that no valid touch signal is detected on the screen of the electronic device and switches to the asynchronous low power mode based on the first scanning data; the touch chip switches to the asynchronous low power mode according to the first command, and in the asynchronous low power mode, the touch chip controls the touch panel to perform two-dimensional data scanning at the first frequency to obtain second scanning data, and sends the second scanning data to the host at a second frequency, the second frequency is less than the first frequency, and the second scanning data is used to detect the touch position.

[0015] According to the second aspect, after the touch chip sends the first scanning data to the host at the first frequency, it also includes: the touch chip receives a first notification sent by the host, and the first notification is used to instruct the touch chip to switch to a low power consumption mode after the first time if no valid conductor signal is detected within a first time after receiving the first notification.

[0016] According to the second aspect, it also includes: in the asynchronous low power mode, if the touch chip does not detect a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the low power mode. In the low power mode, the touch chip controls the touch panel to perform low power scanning at a first frequency, obtains third scanning data, and sends the third scanning data to the host at a second frequency. The third scanning data is used to detect whether there is a conductor approaching the screen.

[0017] According to the second aspect, after the touch chip switches to the low power consumption mode, it also includes: in the low power consumption mode, when the touch chip detects an effective conductor signal, the touch chip switches to the activation mode, and sends the fourth scanning data and the activation mode identifier collected in the activation mode to the host, and the fourth scanning data is used to detect the touch position, so that the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

[0018] According to the second aspect, it also includes: in the asynchronous low power consumption mode, if the touch chip detects a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the activation mode, and sends the fourth scanning data and the activation mode identifier collected in the activation mode to the host, and the fourth scanning data is used to detect the touch position, so that the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

[0019] In a third aspect, the present application provides a touch system control method, which is applied to an electronic device, wherein the electronic device includes a touch chip, a touch panel and a host, and the method includes: in an activation mode, the host receives first scanning data sent by the touch chip, the first scanning data is scanning data obtained by the touch chip controlling the touch panel to perform two-dimensional data scanning at a first frequency in the activation mode, and the first scanning data is used to detect the touch position; the host determines whether a valid touch signal is detected on the screen of the electronic device based on the first scanning data; if not, the host switches to an asynchronous low power mode; the host sends a first command to switch to the asynchronous low power mode to the touch chip, so that the touch chip switches to the asynchronous low power mode according to the first command, and in the asynchronous low power mode, the touch chip controls the touch panel to perform two-dimensional data scanning at a first frequency to obtain second scanning data, and sends the second scanning data to the host at a second frequency, the second frequency is less than the first frequency, and the second scanning data is used to detect the touch position.

[0020] According to the third aspect, after the host switches to the asynchronous low power consumption mode, it also includes: the host sends a first notification to the touch chip, and the first notification is used to instruct the touch chip to switch to the low power consumption mode after the first time if no valid conductor signal is detected within the first time after receiving the first notification.

[0021] According to the third aspect, it also includes: the host receives the fourth scanning data and activation mode identifier sent by the touch chip, the fourth scanning data and activation mode identifier are sent by the touch chip in low power consumption mode when a valid conductor signal is detected and the touch chip switches to the activation mode; the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

[0022] In a fourth aspect, the present application provides an electronic device comprising: a memory and a processor, the memory being coupled to the processor; the memory storing program instructions, which, when executed by the processor, enables the electronic device to execute any one of the touch system control methods of the second aspect, or to execute any one of the touch system control methods of the third aspect.

[0023] In a fifth aspect, the present application provides a computer-readable storage medium, comprising a computer program. When the computer program is run on an electronic device, the electronic device executes the touch system control method of any one of the second aspects, or executes the touch system control method of any one of the third aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] FIG1 is a schematic structural diagram of an exemplary electronic device 100;

[0025] FIG2 is a block diagram illustrating a software structure of the electronic device 100 according to an embodiment of the present application;

[0026] FIG3 is a schematic diagram illustrating an interaction between a touch chip and a host in an electronic device;

[0027] FIG4 is a schematic diagram showing another exemplary interaction between a touch chip and a host;

[0028] FIG5 is a schematic diagram illustrating an exemplary scanning mode switching process of a touch chip;

[0029] FIG6 is a schematic diagram showing a comparison of the operating frequencies of the touch chip and the host under various scanning modes. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0031] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0032] In the description and claims of the embodiments of this application, the terms "first" and "second" are used to distinguish different objects, rather than to describe a specific order of objects. For example, the terms "first target object" and "second target object" are used to distinguish different objects, rather than to describe a specific order of objects.

[0033] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0034] In the description of the embodiments of this application, unless otherwise specified, "multiple" means two or more. For example, "multiple processing units" means two or more processing units; "multiple systems" means two or more systems.

[0035] In this article, the touch control system includes a touch control chip (TPIC) and a touch panel. The touch control chip can be used to control the scanning mode and scanning frequency of the touch panel, obtain the scan data collected by the touch panel, and transmit the scan data to the host. The touch panel includes multiple touch sensors.

[0036] The touch control chip in the embodiment of the present application includes a touch control system control module.

[0037] The embodiments of the present application provide a touch system control method, which can reduce the power consumption of a host in an electronic device, thereby reducing the power consumption of the entire electronic device and extending the standby time of the electronic device.

[0038] The touch system control method in the embodiment of the present application can be applied to electronic devices, such as mobile phones, tablets, personal computers (PCs), wearable electronic devices, car control panels, electric vehicle control panels, etc.

[0039] The structure of the electronic device in this embodiment may be as shown in FIG1 .

[0040] FIG1 is a schematic diagram illustrating the structure of an exemplary electronic device 100. It should be understood that the electronic device 100 shown in FIG1 is merely an example of an electronic device, and that the electronic device 100 may have more or fewer components than shown, may combine two or more components, or may have a different component configuration. The various components shown in FIG1 may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.

[0041] 1 , the electronic device 100 may include: a processor 110, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, an indicator 192, a camera 193, etc.

[0042] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0043] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0044] The processor 110 may further include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory.

[0045] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0046] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0047] The sensor module 180 in the electronic device 100 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0048] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.

[0049] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the present application, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0050] FIG2 is a block diagram illustrating a software structure of the electronic device 100 according to an embodiment of the present application.

[0051] The layered architecture of electronic device 100 divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system may include an application layer, an application framework layer, a system layer, and a kernel layer.

[0052] The application layer can include a series of application packages.

[0053] As shown in FIG2 , the application package may include applications such as camera, calendar, map, WLAN, music, short message, gallery, call, navigation, Bluetooth, video, etc.

[0054] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0055] As shown in FIG2 , the application framework layer may include a resource manager, a touch input module, and the like.

[0056] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0057] The touch input module is used to receive touch position information (also called touch location information) reported by the host. The touch chip obtains the scan data collected by the touch panel and then transmits it to the host through the data transmission circuit between the touch chip and the host. The host processes the scan data using a preset algorithm to obtain touch position information (such as touch position coordinates). The host then reports the touch position information to the touch input module.

[0058] The Android Runtime consists of the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.

[0059] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0060] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0061] The kernel layer is the layer between hardware and software.

[0062] As shown in Figure 2, the kernel layer can include modules such as the algorithm processing module, coordinate reporting module, touch system control module, display driver, and sensor driver. The algorithm processing module and coordinate reporting module are modules in the host, while the touch system control module is a module in the touch chip.

[0063] It is understood that the layers in the software structure shown in FIG2 and the components contained in each layer do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer layers than shown, and each layer may include more or fewer components, and this application does not limit this.

[0064] The present application is described in detail below through examples.

[0065] In this embodiment, the touch chip has three scanning modes:

[0066] First mode: Active Mode

[0067] Second mode: Async Idle Mode

[0068] The third mode: low power mode (Idle Mode)

[0069] In this article, scan data refers to the capacitance value data obtained by scanning the touch screen.

[0070] In this article, the description is made by taking finger touch as an example. It should be understood by those skilled in the art that the description below using finger touch as an example is also applicable to the case of using a stylus pen for touch.

[0071] In the activation mode, the touch chip controls the touch sensor in the touch panel to perform a two-dimensional data scan on the touch screen at a first frequency (for example, 120 Hz or higher) to collect capacitance value data for detecting the position of the touching finger. At the same time, in the activation mode, the touch chip operates an interrupt at a first frequency to notify the host to read the scanned capacitance value data, that is, the touch chip sends the scan data to the host at a first frequency. In this way, in the activation mode, the frequency at which the host reads and processes the scan data is the first frequency. Each time the touch chip operates an interrupt, the host reads the scan data from the touch chip once. Therefore, the frequency at which the host reads the scan data from the touch chip is consistent with the frequency at which the touch chip operates an interrupt. The frequency at which the host processes the scan data is also consistent with the frequency at which the host reads the scan data from the touch chip.

[0072] In asynchronous low-power mode, the touch chip controls the touch sensors in the touch panel to continue performing two-dimensional data scanning at the first frequency to collect capacitance data used to detect the position of the touching finger. However, in asynchronous low-power mode, the touch chip interrupts the host at a second frequency to notify the host to read the scanned capacitance data. In other words, the touch chip sends the scanned data to the host at the second frequency. The second frequency is much lower than the first frequency. For example, the second frequency can be 1 Hz. Thus, in asynchronous low-power mode, the host reads and processes the scanned data at the second frequency.

[0073] In low-power mode, the touch chip controls the touch sensor in the touch panel to perform low-power scanning at a first frequency, such as low-power mutual capacitance scanning or low-power self-capacitance scanning, to collect capacitance value data for detecting whether a conductor (such as a finger) is close to the screen of the electronic device. In addition, in low-power mode, the touch chip operates the host interrupt at a second frequency to notify the host to read the scanned capacitance value data, that is, the touch chip sends the scan data to the host at the second frequency. In this way, in low-power mode, the frequency at which the host reads and processes the scan data is the second frequency.

[0074] It should be noted that the amount of capacitance data collected by the touch chip in a low-power scanning mode is less than the amount of capacitance data collected by the touch chip in a two-dimensional data scanning mode.

[0075] In the three scanning modes, the scanning method of the touch chip and the frequency of the host reading and processing the scan data are shown in Table 1 below.

[0076] Table 1

[0077] Figure 3 is a schematic diagram illustrating an interaction between a touch chip and a host in an electronic device. In this embodiment, the operation of the touch chip is performed by a touch system control module in the touch chip.

[0078] Referring to FIG3 , in an embodiment of the present application, the interaction process between the touch chip in the electronic device and the host may include the following steps:

[0079] S301 , in activation mode, the touch chip collects data 1.

[0080] In this step, the touch chip collects data 1 at a first frequency. Data 1 is capacitance data that can be used to detect the position of a touching finger. Data 1 can be a two-dimensional capacitance matrix. The capacitance values ​​in this matrix can correspond one-to-one with the position coordinates on the touch screen.

[0081] S302: The touch chip sends data 1 to the host.

[0082] In one example, the algorithm processing module of the host is used to receive data 1 sent by the touch chip and process the data 1 according to a preset algorithm.

[0083] If data 1 is collected when a finger is touching the screen, the algorithm processing module processes the data 1 as the coordinates of the finger's touch location. If data 1 is collected when no finger is touching the screen, the algorithm processing module processes the data 1 as information indicating that no valid touch signal was detected.

[0084] For example, when a finger touches the screen, the capacitance value at the finger touch location on the touch screen will exceed a preset first capacitance value threshold. Accordingly, if the algorithm processing module finds, after analyzing data 1, that the capacitance value at a certain location exceeds the capacitance value threshold, it can output the coordinates corresponding to the location where the capacitance value exceeds the first capacitance value threshold. If the algorithm processing module finds, after analyzing data 1, that the capacitance value at any location on the touch screen does not exceed the first capacitance value threshold, it can determine that no valid touch signal is detected, and output information indicating that no valid touch signal is detected.

[0085] S303: The host determines, based on data 1, that no valid touch signal is detected.

[0086] When the host's algorithm processing module processes data 1 and determines that no valid touch signal is detected, it can be determined that no valid touch signal is detected. For example, when a user touches the screen of an electronic device with a finger and then lifts the finger, the host will not detect a valid touch signal.

[0087] S304: The host enters an asynchronous low power consumption mode.

[0088] When the host does not detect a valid touch signal, it means that the user's finger or other conductor (such as a stylus pen for electronic devices) has been lifted and is not touching the screen. At this time, the host immediately switches from active mode to asynchronous low-power mode.

[0089] S305: The host sends a first command and a first notification to the touch control chip to enter an asynchronous low power consumption mode.

[0090] The first command is used to instruct the touch chip to switch to the asynchronous low power mode. The first notification is used to notify the touch chip to switch to the low power mode after the time T if no valid conductor signal is detected within the time T after receiving the first notification.

[0091] The effective conductor signal refers to a conductor signal whose signal strength is greater than a first strength threshold set by the touch chip.

[0092] S306: The touch chip enters an asynchronous low power consumption mode.

[0093] After receiving the first command, the touch chip immediately enters the asynchronous low power consumption mode according to the instruction of the first command.

[0094] S307 , the touch chip starts timing.

[0095] After receiving the first notification, the touch chip starts timing, and the timing duration is the time T in the first notification.

[0096] S308 . In the asynchronous low power consumption mode, the touch chip collects data 2 and determines, based on the data 2 , that no valid conductor signal is detected.

[0097] In asynchronous low-power mode, the touch chip collects data 2 at the aforementioned first frequency. Data 2 is also two-dimensional scanning data. The touch chip's scanning method in asynchronous low-power mode is the same as that in active mode. In asynchronous low-power mode, scan data that can be used to detect touch positions can also be collected.

[0098] In this way, if a conductor such as a finger or stylus approaches the touch screen during asynchronous low-power mode, the touch chip will detect a valid conductor signal. At this time, the touch chip can directly send the collected 2D scan data to the host without switching to active mode first, ensuring a fast response to touch.

[0099] S309 : When the timing reaches the time T in the first notification and the touch chip still does not detect a valid conductor signal, it switches to a low power consumption mode.

[0100] The touch chip performs scanning and data collection at the first frequency within a time period T after entering the asynchronous low-power mode. If it is determined based on all data collected within the time period T that no valid conductor signal is detected, it indicates that no conductor (such as a finger or stylus) has approached the touch chip within the time period T after entering the asynchronous low-power mode. At this time, the touch chip switches to the low-power mode according to the first notification.

[0101] S310: In low power mode, the touch chip collects data 3.

[0102] In the power consumption mode, the touch chip performs scanning in a low power consumption scanning manner, and the amount of the collected data 3 is less than the amount of the data 1 in step S301 and the data 2 in step S308.

[0103] S311 : The touch chip determines that a valid conductor signal is detected according to data 3 and switches to an activation mode.

[0104] In one example, the touch control chip can determine whether a valid conductor signal is detected according to the following method:

[0105] It is determined whether there is a capacitance value exceeding a second capacitance value threshold in the data 3. If yes, it is determined that a valid conductor signal is detected; otherwise, it is determined that no valid conductor signal is detected.

[0106] The second capacitance threshold is smaller than the first capacitance threshold.

[0107] S312: In the activation mode, the touch chip collects data 4.

[0108] In the active mode, the touch chip scans in a two-dimensional data scanning manner to collect capacitance value data for detecting the touch position. Data 4 is the capacitance value data that can be used to detect the touch position.

[0109] S313: The touch chip sends data 4 and an activation mode identifier to the host.

[0110] The touch chip may set a scan mode identification bit in the data structure sent to the host, so as to identify the scan mode currently adopted by the touch chip.

[0111] For example, in one example, the data structure may be as shown in Table 2 below.

[0112] Table 2

[0113] When the touch chip reports data collected in the three scanning modes (active, asynchronous, and low power) to the host, the data structure may include the scanning mode identification bit in Table 2.

[0114] In Table 2, the scan mode corresponding to data 1 indicates the scan mode currently used by the touch chip. For example, according to the data in Table 2, the scan mode currently used by the touch chip is the active mode. The scan mode flag bit of 100 indicates that the scan mode currently used by the touch chip is the active mode.

[0115] S314 : The host switches to the active mode based on the active mode identifier, and determines the coordinates of the touch position according to data 4 .

[0116] The host knows that the current scanning mode of the touch chip is the active mode according to the active mode identifier, so the host also switches to the active mode. The algorithm processing module in the host processes the data 4 to obtain the coordinates of the touch position.

[0117] S315: The algorithm processing module in the host sends the touch position coordinates to the coordinate reporting module.

[0118] S316 . The coordinate reporting module in the host reports the touch position coordinates to the touch input module (see FIG. 2 ).

[0119] In this embodiment, the touch chip completes a switching process from active mode→asynchronous low power mode→low power mode→active mode.

[0120] It should be noted that the host works in the same way in the asynchronous low power mode and the low power mode. Therefore, the host entering the asynchronous low power mode can be regarded as the host entering the low power mode.

[0121] It can be seen from the above embodiments that in this embodiment, when the host does not detect a valid touch signal (corresponding to the user lifting the finger or stylus from the touch screen), the host will immediately reduce the frequency of reading and processing the scan data, instead of waiting for a period of time before reducing the frequency. This reduces the power consumption of the host, thereby reducing the overall power consumption of the electronic device and extending the standby time of the electronic device.

[0122] The valid touch signal refers to a signal whose intensity is greater than a second intensity threshold set by the host.

[0123] At the same time, in order to cope with the situation where the user performs the next touch very quickly, in this embodiment, the touch chip still maintains the same acquisition frequency and scanning method as the activation mode, and can still quickly acquire two-dimensional scanning data in real time, ensuring a fast response capability to touch.

[0124] FIG4 is another schematic diagram illustrating another interaction between a touch chip and a host. Referring to FIG4 , in an embodiment of the present application, the interaction process between the touch chip and the host may include the following steps:

[0125] S401: In activation mode, the touch chip collects data 1.

[0126] In the active mode, the touch chip performs two-dimensional data scanning at a first frequency. Data 1 in this step is two-dimensional data scanning, that is, capacitance value data that can be used to detect the position of the touch finger.

[0127] S402: The touch chip sends data 1 to the host.

[0128] The host's algorithm processing module is used to receive data 1 sent by the touch chip and process the data 1 according to a preset algorithm. The algorithm processing module can produce two data processing results for data 1: one is the coordinates of the finger touch position, and the other is information indicating that no valid touch signal was detected.

[0129] S403: The host determines, based on data 1, that no valid touch signal is detected.

[0130] As in step S303 above, if the host's algorithm processing module processes data 1 and indicates that no valid touch signal was detected, it can be determined that no valid touch signal was detected. For example, if a user touches the screen of an electronic device with a finger and then lifts the finger, the host will not detect a valid touch signal.

[0131] S404: The host enters an asynchronous low power consumption mode.

[0132] S405: The host sends a first command and a first notification to the touch control chip to enter an asynchronous low power consumption mode.

[0133] S406: The touch chip enters an asynchronous low power consumption mode.

[0134] S407: The touch chip starts timing.

[0135] Steps S401 to S407 correspond one-to-one to the aforementioned steps S301 to S307. For detailed explanations of steps S401 to S407, please refer to the aforementioned relevant explanations of steps S301 to S307, which will not be repeated here.

[0136] S408 : In the asynchronous low power consumption mode, the touch chip collects data 5 and determines that a valid conductor signal is detected according to the data 5 .

[0137] During the asynchronous low power mode, if a conductor such as a finger or stylus approaches the touch screen, the touch chip will detect a valid conductor signal.

[0138] S409: The touch chip switches to the activation mode.

[0139] When the touch chip detects a valid conductor signal during the asynchronous low power mode, it indicates that a conductor such as a finger or a stylus is approaching the touch screen. At this time, the touch chip immediately switches to the active mode.

[0140] S410: In the activation mode, the touch chip collects data 6.

[0141] In the active mode, the touch chip performs two-dimensional data scanning at a first frequency to collect capacitance value data for detecting the touch position. Data 6 is the capacitance value data that can be used to detect the touch position.

[0142] S411 : The touch chip sends data 6 and an activation mode identifier to the host.

[0143] The data 6 and the activation mode identifier may be packaged in a data structure for transmission. The data structure may be as shown in the aforementioned Table 2, which will not be described in detail here.

[0144] S412: The host switches to the active mode based on the active mode identifier and determines the coordinates of the touch position according to data 6.

[0145] The host knows that the current scanning mode of the touch chip is the active mode according to the active mode identifier, so the host also switches to the active mode. The algorithm processing module in the host processes the data 6 to obtain the coordinates of the touch position.

[0146] S413: The algorithm processing module in the host sends the touch position coordinates to the coordinate reporting module.

[0147] S414: The coordinate reporting module in the host reports the touch position coordinates to the touch input module (see FIG. 2 ).

[0148] In this embodiment, the touch chip completes a switching process from active mode→asynchronous low power mode→active mode.

[0149] It can be seen from the above embodiments that in this embodiment, when the host does not detect a valid touch signal (corresponding to the user lifting the finger or stylus from the touch screen), the host will immediately reduce the frequency of reading and processing the scan data, instead of waiting for a period of time before reducing the frequency. This reduces the power consumption of the host, thereby reducing the overall power consumption of the electronic device and extending the standby time of the electronic device.

[0150] If the host fails to detect a valid touch signal, it immediately reduces the frequency of reading and processing scan data while maintaining the same acquisition frequency and scanning method as in the active mode. This allows the touch chip to quickly capture two-dimensional scan data containing touch position information in real time when the user lifts their finger or stylus and then performs a touch operation again within a short period of time, ensuring a rapid response to touch. Furthermore, the touch chip detects a valid conductor signal due to the proximity of a finger or stylus and immediately switches to active mode, ensuring that the two-dimensional scan data containing touch position information can be quickly processed by the host and the touch position coordinates are reported to the touch input module in the framework layer.

[0151] In order to more clearly illustrate the scanning mode switching process of the touch chip, the switching process is further described below with reference to the accompanying drawings.

[0152] FIG5 is a schematic diagram illustrating an exemplary scanning mode switching process of a touch chip. Referring to FIG5 , the scanning mode switching process of the touch chip may include:

[0153] S1. In active mode, when a finger or stylus is lifted from the touch screen, the host does not detect a valid touch signal and notifies the touch chip to immediately switch to asynchronous low-power mode.

[0154] Figure 6 shows a comparison of the operating frequencies of the touch chip and host in various scanning modes. In active mode, the touch chip scans two-dimensional data at frequency f1, interrupts are generated at frequency f1, and the host reads and processes the scanned data at frequency f1. When a finger is lifted, the touch chip immediately switches from active mode to asynchronous low-power mode.

[0155] S2. In the asynchronous low power mode, if the touch chip does not detect a valid conductor signal within the time T, it means that there is no conductor such as a finger or stylus close to the touch screen. At this time, the touch chip automatically switches to the low power mode.

[0156] Continuing with Figure 6, in asynchronous low-power mode, the touch chip performs two-dimensional data scanning at frequency f1 and interrupts at frequency f2. The host reads and processes the scanned data at frequency f2. After a period of time after the finger is lifted, the touch chip switches from asynchronous low-power mode to low-power mode.

[0157] S3. In low power mode, if the touch chip detects a valid conductor signal all the time, it means that a conductor such as a finger or stylus is close to the touch screen. At this time, the touch chip automatically switches to active mode.

[0158] Continuing with Figure 6, in low-power mode, the touch chip performs low-power scanning at frequency f1 and interrupts at frequency f2. The host reads and processes the scanned data at frequency f2. When a finger approaches, the touch chip immediately switches from low-power mode to active mode.

[0159] Referring to FIG5 , the scanning mode switching process of the touch chip may further include:

[0160] S1. In active mode, when a finger or stylus is lifted from the touch screen, the host does not detect a valid touch signal and notifies the touch chip to immediately switch to asynchronous low-power mode.

[0161] S4. In the asynchronous low power mode, if the touch chip detects a valid conductor signal within time T, it means that a conductor such as a finger or a stylus is close to the touch screen, and the touch chip automatically switches to the active mode.

[0162] An embodiment of the present application also provides an electronic device, which includes a memory and a processor. The memory is coupled to the processor, and the memory stores program instructions. When the program instructions are executed by the processor, the electronic device implements the touch system control method executed by the aforementioned electronic device.

[0163] It is understandable that, in order to implement the above functions, the electronic device includes hardware and / or software modules that perform the corresponding functions. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0164] This embodiment further provides a computer storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the touch system control method in the above-mentioned embodiment.

[0165] This embodiment further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the touch system control method in the above-mentioned embodiment.

[0166] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory to enable the chip to execute the touch system control method in the above-mentioned method embodiments.

[0167] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0168] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0169] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0170] Units described as separate components may or may not be physically separate, and components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0171] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0172] Any content of each embodiment of this application, as well as any content of the same embodiment, can be freely combined. Any combination of the above content is within the scope of this application.

[0173] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0174] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

[0175] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in a hardware manner, or can be implemented by a processor executing a software instruction. The software instruction can be composed of corresponding software modules, and the software module can be stored in a random access memory (Random Access Memory, RAM), a flash memory, a read-only memory (Read Only Memory, ROM), an erasable programmable read-only memory (Erasable Programmable ROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), a register, a hard disk, a mobile hard disk, a read-only compact disc (CD-ROM) or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

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

[0177] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A touch system control method, characterized in that: Applied to an electronic device, the electronic device includes a touch chip, a touch panel and a host, and the method includes: In the activation mode, the touch chip controls the touch panel to perform two-dimensional data scanning at a first frequency to obtain first scanning data, where the first scanning data is used to detect a touch position; The touch control chip sends the first scanning data to the host at the first frequency; When the host determines that no valid touch signal is detected on the screen of the electronic device according to the first scanning data, the host switches to an asynchronous low power consumption mode and sends a first command to the touch control chip to switch to the asynchronous low power consumption mode; The touch chip switches to the asynchronous low power consumption mode according to the first command. In the asynchronous low power consumption mode, the touch chip controls the touch panel to perform two-dimensional data scanning at the first frequency to obtain second scanning data, and sends the second scanning data to the host at a second frequency. The second frequency is less than the first frequency, and the second scanning data is used to detect the touch position.

2. The method according to claim 1, characterized in that After the host switches to the asynchronous low power consumption mode, the method further includes: The host sends a first notification to the touch control chip, where the first notification is used to instruct the touch control chip to switch to a low power consumption mode after the first time if no valid conductor signal is detected within a first time after receiving the first notification.

3. The method according to claim 2, characterized in that Also includes: In the asynchronous low power consumption mode, if the touch chip does not detect a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the low power consumption mode. In the low power consumption mode, the touch chip controls the touch panel to perform low power consumption scanning at the first frequency to obtain third scanning data, and sends the third scanning data to the host at the second frequency. The third scanning data is used to detect whether there is a conductor approaching the screen.

4. The method according to claim 3, characterized in that After the touch control chip switches to the low power consumption mode, the method further includes: In the low power consumption mode, when the touch chip detects a valid conductor signal, the touch chip switches to the activation mode, and sends the fourth scanning data collected in the activation mode and the activation mode identifier to the host, wherein the fourth scanning data is used to detect the touch position; The host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

5. The method according to claim 2, characterized in that: Also includes: In the asynchronous low power mode, if the touch chip detects a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the activation mode and sends fourth scan data and an activation mode identifier collected in the activation mode to the host, wherein the fourth scan data is used to detect a touch position; The host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

6. The method according to claim 3, characterized in that The low power consumption scan is a self-capacitance scan or a mutual-capacitance scan.

7. The method according to claim 1, characterized in that The first frequency is 120 Hz or 240 Hz, and the second frequency is 1 Hz.

8. A touch system control method, characterized in that: Applied to an electronic device, the electronic device includes a touch chip, a touch panel and a host, and the method includes: In the activation mode, the touch chip controls the touch panel to perform two-dimensional data scanning at a first frequency to obtain first scanning data, where the first scanning data is used to detect a touch position; The touch control chip sends the first scanning data to the host at the first frequency; The touch control chip receives a first command sent by the host to switch to the asynchronous low power consumption mode, wherein the first command is sent by the host when it is determined according to the first scanning data that no valid touch signal is detected on the screen of the electronic device and the host switches to the asynchronous low power consumption mode; The touch chip switches to the asynchronous low power consumption mode according to the first command. In the asynchronous low power consumption mode, the touch chip controls the touch panel to perform two-dimensional data scanning at the first frequency to obtain second scanning data, and sends the second scanning data to the host at a second frequency. The second frequency is less than the first frequency, and the second scanning data is used to detect the touch position.

9. The method according to claim 8, characterized in that After the touch control chip sends the first scanning data to the host at the first frequency, the method further includes: The touch control chip receives a first notification sent by the host, where the first notification is used to instruct the touch control chip to switch to a low power consumption mode after the first time if no valid conductor signal is detected within a first time after receiving the first notification.

10. The method according to claim 9, characterized in that Also includes: In the asynchronous low power consumption mode, if the touch chip does not detect a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the low power consumption mode. In the low power consumption mode, the touch chip controls the touch panel to perform low power consumption scanning at the first frequency to obtain third scanning data, and sends the third scanning data to the host at the second frequency. The third scanning data is used to detect whether there is a conductor approaching the screen.

11. The method according to claim 10, characterized in that After the touch control chip switches to the low power consumption mode, the method further includes: In the low power consumption mode, when the touch chip detects an effective conductor signal, the touch chip switches to the activation mode, and sends the fourth scanning data and the activation mode identifier collected in the activation mode to the host, and the fourth scanning data is used to detect the touch position, so that the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

12. The method according to claim 9, characterized in that Also includes: In the asynchronous low power consumption mode, if the touch chip detects a valid conductor signal within the first time after receiving the first notification, the touch chip switches to the activation mode, and sends the fourth scanning data and the activation mode identifier collected in the activation mode to the host, and the fourth scanning data is used to detect the touch position, so that the host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

13. A touch system control method, characterized in that: Applied to an electronic device, the electronic device includes a touch chip, a touch panel and a host, and the method includes: In the activation mode, the host receives first scanning data sent by the touch chip, wherein the first scanning data is scanning data obtained by the touch chip controlling the touch panel to perform two-dimensional data scanning at a first frequency in the activation mode, and the first scanning data is used to detect a touch position; The host determines whether a valid touch signal is detected on the screen of the electronic device according to the first scanning data; If not, the host switches to an asynchronous low power mode; The host sends a first command to the touch chip to switch to the asynchronous low power consumption mode, so that the touch chip switches to the asynchronous low power consumption mode according to the first command. In the asynchronous low power consumption mode, the touch chip controls the touch panel to perform two-dimensional data scanning at the first frequency to obtain second scanning data, and sends the second scanning data to the host at a second frequency, the second frequency is less than the first frequency, and the second scanning data is used to detect the touch position.

14. The method according to claim 13, characterized in that After the host switches to the asynchronous low power consumption mode, the method further includes: The host sends a first notification to the touch control chip, where the first notification is used to instruct the touch control chip to switch to a low power consumption mode after the first time if no valid conductor signal is detected within a first time after receiving the first notification.

15. The method according to claim 14, characterized in that Also includes: The host receives fourth scanning data and an activation mode identifier sent by the touch chip, where the fourth scanning data and the activation mode identifier are sent by the touch chip in the low power consumption mode when a valid conductor signal is detected and the touch chip switches to the activation mode; The host switches to the activation mode according to the activation mode identifier, and determines the touch position according to the fourth scanning data.

16. An electronic device, characterized in that: include: a memory and a processor, the memory being coupled to the processor; The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the touch control system control method according to any one of claims 8 to 15.

17. A computer-readable storage medium comprising a computer program, characterized in that: When the computer program runs on an electronic device, the electronic device executes the touch control system control method as described in any one of claims 8 to 15.