Electronic device, detection method and apparatus, and storage medium
By distinguishing between touch and non-touch areas in electronic devices and using different detection parameters, the increased power consumption caused by the full-screen scanning mechanism is solved, achieving energy-saving and efficient detection results.
Patent Information
- Application Number
- PCT/CN2024/108254
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2026-02-05
AI Technical Summary
In existing touch solutions, the full-screen scanning mechanism causes unnecessary scanning operations to be performed on untouched areas, increasing power consumption.
In an electronic device, the processor responds to a touch operation, distinguishes between touch areas and non-touch areas, and uses different detection parameters for detection. The touch area uses a first detection parameter, and the non-touch area uses a second detection parameter, which is lower than the first detection parameter.
By differentiating regions and adjusting detection parameters, power consumption was reduced while detection accuracy and response speed were improved.
Smart Images

Figure CN2024108254_05022026_PF_FP_ABST
Abstract
Description
Electronic device, detection method, device and storage medium TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of detection, and particularly relates to an electronic device, a detection method, a device and a storage medium. BACKGROUND
[0002] In the related art, a touch control scheme generally adopts a full-screen scanning mechanism to detect finger touch, and this mechanism involves that a sensor periodically performs a charge-discharge cycle and obtains detailed touch data through multiple sampling. However, this full-scan strategy also performs unnecessary scanning operations in the area of the screen that is not touched, thereby causing an additional power consumption burden and increasing power consumption.
[0003] SUMMARY
[0004] In one aspect, an electronic device, a detection method, a device and a storage medium are provided, which can.
[0005] The electronic device includes a display screen and a processor. The display screen is provided with a plurality of display areas. The processor is configured to determine a touch area and a non-touch area in the plurality of display areas in response to a touch operation. The processor is configured to detect a capacitance change of the touch area according to a first detection parameter and detect a capacitance change of the non-touch area according to a second detection parameter.
[0006] The second detection parameter is lower than the first scanning parameter. The capacitance value of the touch area is greater than or equal to a capacitance threshold. The capacitance value of the non-touch area is less than the capacitance threshold.
[0007] In view of this, the present application provides an electronic device. The processor in the electronic device can determine a touch area and a non-touch area in a plurality of display areas in response to a touch operation, and detect different areas using different detection parameters, that is, detect a capacitance change of the touch area according to a first detection parameter and detect a capacitance change of the non-touch area according to a second detection parameter, so as to better reduce power consumption and save detection resources.
[0008] In some embodiments, the processor is further configured to determine a first display area adjacent to the touch area in the non-touch area, and in response to a sliding operation on the display screen, detect a capacitance change of the first display area according to the first detection parameter in a case where a distance between a sliding position corresponding to the sliding operation and the first display area is less than or equal to a distance threshold.
[0009] Based on the technical solution, when the processor determines that the distance between the sliding position corresponding to the sliding operation and the first display area is less than or equal to the distance threshold, the processor can detect the capacitance change of the first display area according to the first detection parameter to ensure the response speed of the display area when the user quickly draws a line, thereby improving the user experience.
[0010] In some embodiments, the second detection parameter includes a third detection parameter and a fourth detection parameter; the fourth detection parameter is less than the third detection parameter; the processor is further configured to determine a first display area adjacent to the touch area in the non-touch area; and the processor is specifically configured to detect the capacitance change of the first display area according to the third detection parameter and detect the capacitance change of the other area in the non-touch area except the first display area according to the fourth detection parameter.
[0011] Based on the technical solution, the processor uses different detection parameters to detect different display areas, so as to save power consumption while ensuring the accuracy of detection.
[0012] In some embodiments, the detection parameter includes a detection frequency and / or a detection number.
[0013] Based on the technical solution, the embodiments of the present application consider the detection frequency and combine the detection number, which can not only save the detection power consumption of the display area, but also provide the accuracy of the detection of the display area.
[0014] In some embodiments, the first detection parameter includes a first detection frequency; and the processor is specifically configured to detect the capacitance change of the touch area according to a third detection frequency when the detection duration is less than a preset duration; and the third detection frequency is greater than the first detection frequency.
[0015] Based on the technical solution, since the second detection parameter is used to detect the capacitance change of the non-touch area, a part of the detection duration can be saved, that is, when the detection duration of the display area is less than the preset duration, the saved detection duration can be used for the detection of the touch area, that is, the third detection frequency is used to detect the capacitance change of the touch area, thereby improving the accuracy of the touch point position in the touch area and maximizing the resource utilization.
[0016] In some embodiments, the first detection parameter includes a first detection number; the sum of the display duration and the detection duration is a target duration; and the processor is specifically configured to detect the capacitance change of the touch area according to a third detection number when the display duration remains unchanged; and the third detection number is greater than the first detection number.
[0017] Based on the above technical solution, since the second detection parameter is used to detect the capacitance change of the non-touch area, a part of the detection time is saved, that is, in the case that the detection time of the display area is less than the preset time, the saved detection time can be used for the detection of the touch area, that is, the third detection number is used to detect the capacitance change of the touch area, so as to improve the accuracy of the touch point position in the touch area and maximize the resource utilization.
[0018] In some embodiments, the processor is further configured to detect the capacitance change of the plurality of display areas according to the second detection parameter in the case that no touch operation is detected.
[0019] In some embodiments, the processor is further configured to detect the capacitance change of the touch area according to the second detection parameter in the case that no touch operation is detected in the touch area within the preset time.
[0020] Based on the above technical solution, the processor can adjust different detection parameters to detect the display area according to the situation.
[0021] In some embodiments, the detection parameter further includes a detection time; the detection time of the touch area is greater than the detection time of the non-touch area.
[0022] In some embodiments, the non-touch area includes at least one display area; and the processor is specifically configured to synchronously detect the capacitance change of each sub-area in the at least one display area according to the second detection parameter.
[0023] The previous technical solution is to detect the display area one by one, and the embodiment of the present application uses a synchronous detection method to detect the non-touch area, so as to maximize the reduction of power consumption. For example, the sensor line short (Sensor line short) of the non-touch area is shorted together through a multiplexer (MUX), and then the detection of the non-touch area is completed through 1-time charging and discharging.
[0024] In another aspect, the embodiment of the present application provides a detection method, which comprises: in response to a touch operation, determining a touch area and a non-touch area in a plurality of display areas; detecting the capacitance change of the touch area according to a first detection parameter, and detecting the capacitance change of the non-touch area according to a second detection parameter.
[0025] In the above technical solution, the second detection parameter is lower than the first scanning parameter; the capacitance value of the touch area is greater than or equal to a capacitance threshold value; and the capacitance value of the non-touch area is less than the capacitance threshold value.
[0026] In some embodiments, the method further comprises: determining a first display region in the non-touch region adjacent to the touch region; and in response to the sliding operation on the display screen, detecting the capacitance change of the first display region according to the first detection parameter, in a case that a distance between a sliding position corresponding to the sliding operation and the first display region is less than or equal to the distance threshold.
[0027] In some embodiments, the second detection parameter comprises a third detection parameter and a fourth detection parameter; the fourth detection parameter is less than the third detection parameter; and the method further comprises: determining a first display region in the non-touch region adjacent to the touch region; and detecting the capacitance change of the non-touch region according to the second detection parameter, comprising: detecting the capacitance change of the first display region according to the third detection parameter, and detecting the capacitance change of other regions in the non-touch region except the first display region according to the fourth detection parameter.
[0028] In some embodiments, the detection parameter comprises a detection frequency and / or a detection times.
[0029] In some embodiments, the first detection parameter comprises a first detection frequency; and the detecting the capacitance change of the touch region according to the first detection parameter comprises: in a case that a detection duration is less than a preset duration, detecting the capacitance change of the touch region according to a third detection frequency; and the third detection frequency is greater than the first detection frequency.
[0030] In some embodiments, the first detection parameter comprises a first detection times; a sum of a display duration and the detection duration is a target duration; and the detecting the capacitance change of the touch region according to the first detection parameter comprises: in a case that the display duration remains unchanged, detecting the capacitance change of the touch region according to a third detection times; and the third detection times is greater than the first detection times.
[0031] In some embodiments, the method further comprises: in a case that no touch operation is detected, detecting the capacitance change of the plurality of display regions according to the second detection parameter.
[0032] In some embodiments, the method further comprises: in a case that no touch operation is detected in the touch region within a preset duration, detecting the capacitance change of the touch region according to the second detection parameter.
[0033] In some embodiments, the detection parameter further comprises a detection duration; and the detection duration of the touch region is greater than the detection duration of the non-touch region.
[0034] In some embodiments, the non-touch region comprises at least one display region; and the method further comprises: synchronously detecting the capacitance change of each sub-region in the at least one display region according to the second detection parameter.
[0035] In yet another aspect, a detection apparatus is provided, comprising a processor and a communication interface. The communication interface and the processor are coupled. The processor is configured to execute computer programs or instructions to implement the detection method of the first aspect or any of the embodiments of the first aspect.
[0036] In yet another aspect, a computer readable storage medium is provided. The computer readable storage medium stores computer program instructions, which, when executed on a computer (e.g., a receiving node), cause the computer to perform the detection method of any of the embodiments described above.
[0037] In yet another aspect, a computer program product is provided. The computer program product comprises computer program instructions, which, when executed on a computer (e.g., a receiving node), cause the computer to perform the detection method of any of the embodiments described above.
[0038] In yet another aspect, a computer program is provided. The computer program, when executed on a computer (e.g., a receiving node), causes the computer to perform the detection method of any of the embodiments described above. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the present disclosure, the following will briefly introduce the drawings needed to be used in some embodiments of the present disclosure. Obviously, the drawings described in the following description are only some drawings of the embodiments of the present disclosure, and other drawings can also be obtained by those skilled in the art according to these drawings. In addition, the drawings described in the following description can be regarded as schematic diagrams, and are not limited to the actual size, actual flow, actual time sequence, etc. of the products involved in the embodiments of the present disclosure.
[0040] FIG. 1 is a connection block diagram of a sensor of a touch screen according to some embodiments;
[0041] FIG. 2 is a schematic diagram of display area detection according to some embodiments;
[0042] FIG. 3 is a schematic diagram of display area detection according to some other embodiments;
[0043] FIG. 4 is a structural diagram of an electronic device according to some embodiments;
[0044] FIG. 5 is a flowchart of a detection method according to some embodiments;
[0045] FIG. 6 is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0046] FIG. 7a is a schematic diagram of touch area and non-touch area detection according to some other embodiments;
[0047] FIG. 7b is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0048] FIG. 8 is a flowchart of mode conversion according to some embodiments;
[0049] FIG. 9 is a flowchart of mode conversion according to some embodiments;
[0050] FIG. 10a is a schematic diagram of detection time and display time according to some embodiments;
[0051] FIG. 10b is a schematic diagram of detection time and display time according to some embodiments;
[0052] FIG. 10c is a schematic diagram of detection time and display time according to some embodiments;
[0053] FIG. 11 is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0054] FIG. 12 is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0055] FIG. 13 is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0056] FIG. 14 is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0057] FIG. 15 is a schematic diagram of touch area and non-touch area detection according to some embodiments;
[0058] FIG. 16 is a structural diagram of a detection device according to some embodiments;
[0059] FIG. 17 is a structural diagram of a detection device according to some embodiments. DETAILED DESCRIPTION
[0060] The technical solutions in some embodiments of the present disclosure will be clearly and completely described below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by those of ordinary skill in the art are within the scope of protection of the present disclosure.
[0061] Unless otherwise required by context, as used herein and throughout this specification, the term "comprise" and variations of the term, such as "comprises" and "comprising," are to be construed in an open, inclusive sense, that is as "including, but not limited to." In the description of the specification, the terms "one embodiment," "some embodiments," "exemplary embodiments," "example," "specific example," or "some examples" are not necessarily referring to the same embodiment or example. Furthermore, the terms "one embodiment," "some embodiments," "exemplary embodiments," "example," "specific example," or "some examples" can be referring to one or more embodiments or examples.
[0062] Hereinafter, the terms "first", "second", etc. are used only for the purpose of description and are not to be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, the meaning of "a plurality of" is two or more, unless otherwise specified.
[0063] "A, B, and C at least one of" has the same meaning as "at least one of A, B, or C", both of which include the following combinations of A, B, and C: only A, only B, only C, a combination of A and B, a combination of A and C, a combination of B and C, and a combination of A, B, and C.
[0064] "A and / or B" includes the following three combinations: only A, only B, and a combination of A and B.
[0065] As used herein, the term "if' is, optionally, interpreted as meaning "when" or "upon" or "in response to a determination" or "in response to a detection of, depending on context. Similarly, the phrase "if determined" or "if detected [a stated condition or event]" is, optionally, interpreted as meaning "upon a determination" or "in response to a determination" or "upon a detection of [a stated condition or event]" or "in response to a detection of [a stated condition or event]", depending on context.
[0066] The use of "adapted to" or "configured to" herein means open and inclusive language that does not exclude additional tasks or steps.
[0067] Additionally, the use of "based on" means open and inclusive, as a process, step, calculation, or other action "based on" one or more conditions or values can be based on additional conditions or values beyond those identified.
[0068] As used herein, "about," "approximately," or "around" includes the recited value and the average value within an acceptable range of deviation from the particular value, as determined by one of ordinary skill in the art considering the measurement in question and the error in measuring the particular quantity (i.e., the limitations of the measurement system).
[0069] As used herein, "equal" includes the recited condition and conditions that approximate the recited condition, the approximation being within an acceptable range of deviation, as determined by one of ordinary skill in the art considering the measurement in question and the error in measuring the particular quantity (i.e., the limitations of the measurement system). "Equal" includes absolute equality and approximate equality, where the acceptable range of deviation for approximate equality may, for example, be a difference between the two of less than or equal to 5% of either.
[0070] Hereinafter, terms related to embodiments of the present application are explained to facilitate understanding of the reader.
[0071] Touch Panel is also called "touch screen" or "touch control panel". It is a kind of inductive liquid crystal display device which can receive input signals from touch head. When the graphical button on the screen is touched, the tactile feedback system on the screen can drive various connected devices according to pre-programmed program, which can replace mechanical button panel and produce vivid audio and video effects through liquid crystal display screen.
[0072] A sensor connection block diagram of a Touch Panel is provided as follows. All sensors are arranged in a matrix manner on the whole panel and connected to the touch chip (Touch IC) through sensor lines (Sensor line).
[0073] Specifically, as shown in FIG. 1, taking a 16-inch Touch Panel project as an example, there are totally 48 rows * 84 columns of sensors, and the touch chip adopts a 1:6 multiplexer (MUX), that is, each multiplexer is connected with 6 sensor lines, but only one sensor signal can be processed at a time. Since there are totally 48 rows * 84 columns of sensors, the whole screen can be divided into 6 blocks (Block), each of which has 48 / 6 = 8 rows of sensors. For example, Block1, Block2, Block3, Block4, Block5 and Block6.
[0074] In the touch scanning, each multiplexer (MUX) is simultaneously switched to the same numbered channel, and 6 repeated charging and discharging are performed. The channels 1-6 are switched in turn, and the scanning of the whole touch screen is completed for 6 times. As shown in FIG. 1, since the multiplexers 1 (MUX1), 2 (MUX2), 3 (MUX3), 4 (MUX4), 5 (MUX5), 6 (MUX6), 7 (MUX7), 8 (MUX8), 9 (MUX9) and 10 (MUX10) are connected with the vias in different positions in Block 1, the plurality of multiplexers (MUX) can be switched to the respective channels 1, and the sensor charging and discharging are performed to complete the scanning of Block 1. Similarly, the plurality of multiplexers (MUX) are switched to different channels in turn to complete the scanning of the whole touch screen.
[0075] In the related art, the touch scheme generally adopts a full-screen scanning mechanism to detect finger touch. This mechanism involves that the sensor periodically performs charging and discharging cycles, and detailed touch data is obtained through multiple sampling. However, this full scanning strategy also performs unnecessary scanning operations in the area of the screen that is not touched, thereby causing the problem of increased power consumption.
[0076] That is to say, the general touch product can support multiple fingers to touch at the same time, so even in the state of having been touched, the other non-touch area of the display screen still needs to be scanned to detect whether there is a new touch point. However, the detection scanning mode of the non-touch area is the same as that of the touch area, that is, the high-frequency repeated charging and discharging mode is used for scanning, which leads to the waste of resources and the problem of increased power consumption.
[0077] Specifically, as shown in FIGS. 2 and 3, each Block adopts the 6 repeated charging and discharging mode for scanning, and the touch area and the non-touch area use the same mode, and the whole screen is at a frequency of 120 Hz.
[0078] In order to improve the above problem, two ways are currently used to scan the display screen. One is to detect the position of the finger touch. If the touch position of the finger is detected in the same area of the display screen for N consecutive times, the touch area is scanned according to a first frequency, and the non-touch area is scanned according to a second frequency. It is worth noting that the first frequency is greater than the second frequency. However, this scheme can improve the running efficiency of the electronic device and the touch response speed of the local screen, but it can only save the frequency resource, and the problem of overall power consumption increase has not been well solved.
[0079] Another solution is a touch panel, a drive circuit outputting a drive pulse pattern to a drive electrode, the pulse frequency of the drive pulse pattern being variable in units of drive electrodes, a detection circuit detecting a signal change occurring at a plurality of detection electrodes of the touch panel according to each drive pulse pattern output by the drive circuit, the sampling frequency of the aforementioned signal change being variable in units of detection electrodes. In correspondence with the touch position detected using the detection signal generated by the aforementioned detection circuit, the pulse frequency of the aforementioned drive pulse pattern in units of the aforementioned drive electrodes and the sampling frequency of the aforementioned signal change in units of the aforementioned detection electrodes are controlled to be high frequency in a range. In the same way, frequency resources can be saved, and the problem of overall power consumption increase has not been well solved.
[0080] Therefore, the electronic device provided in the embodiments of the present application can determine a touch region and a non-touch region in a plurality of display regions in response to a touch operation, and detect different regions using different detection parameters, that is, the capacitance change of the touch region is detected according to a first detection parameter, and the capacitance change of the non-touch region is detected according to a second detection parameter, so as to better reduce power consumption and save detection resources.
[0081] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0082] As shown in FIG. 4, FIG. 4 is a structural diagram of an electronic device 400 provided in the embodiments of the present application. The electronic device 400 can be a terminal device with a display screen, such as a television. The electronic device 400 can include a display screen 401, at least one processor 402, and a transceiver 403, and can further include a memory 404. The processor 402, the memory 404, and the transceiver 403 can be connected through a communication line.
[0083] In the embodiments of the present application, the display screen 401 is used to display an image, and the display screen 401 corresponds to a plurality of periods, each period includes a plurality of sub-pixels, and each period has a left region and a right region.
[0084] In the embodiments of the application, the processor 402 can be a chip. The chip can include five categories of logic chips, storage chips, sensor chips, power chips and communication chips. Among them, the processor class mainly undertakes specific computing and control tasks in the system, such as microcontroller unit (MCU), central processing unit (CPU), graphics processing unit (GPU), neural processing unit (NPU) and the like. The storage class mainly undertakes the storage of data in the system, and some storage controller class chips, such as dynamic random access memory (DRAM), static random access memory (SRAM), flash eeprom memory (Flash) and the like. The sensing class mainly undertakes the collection, presentation and interaction of information in the system, such as input and output devices, some signal processing chips and the like. The communication class (wired and wireless) mainly undertakes the communication function in the system, such as some Ethernet chips, switching chips, wide and local area networks, point-to-point and ad hoc network chips, and auxiliary communication filtering, amplification, power and the like. Devices can belong to this category. The wireless fidelity (WiFi), Bluetooth, 5th generation mobile communication technology (5G) baseband, global positioning system (GPS), narrow band internet of things (NB-IoT), network card, switch and the like known to the public can be classified into this category.
[0085] Among them, the communication line can include a path for transmitting information between the above components.
[0086] The memory 404 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
[0087] In a possible design, the memory 404 can exist independently of the processor 402, that is, the memory 404 can be a memory external to the processor 402, and in this case, the memory 404 can be connected to the processor 402 through a communication line, used to store execution instructions or application program codes and controlled by the processor 402 to perform, to implement the network quality determination method provided in the embodiments of the present application. In another possible design, the memory 404 can also be integrated with the processor 402, that is, the memory 404 can be an internal memory of the processor 402, for example, the memory 404 is a cache, which can be used to temporarily store some data and instruction information, and the like.
[0088] As a possible implementation, the processor 402 can include one or more CPUs.
[0089] It should be noted that the electronic device described in the embodiments of the present application is for more clearly explaining the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. It can be known by those skilled in the art that, with the evolution of electronic devices and the appearance of other electronic devices, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0090] The methods in the following embodiments can all be implemented in the electronic device 400 with the hardware structure described above. The methods of the embodiments of the present application are described.
[0091] The detection method provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0092] The embodiment of the present application can compensate the gray scale value of the sub-pixel to avoid the crosstalk problem. The detection method provided by the embodiment of the present application is described in detail below in combination with the drawings. The method is applied to an electronic device, and the electronic device includes a display screen and a processor, wherein the display screen is provided with a plurality of display regions. As shown in FIG. 5, the detection method can include S501-S502. S501 can also be referred to as a process of "determining a touch region and a non-touch region in the plurality of display regions", and S502 can also be referred to as a process of "detecting different regions". S501-S502 are described in detail below.
[0093] S501, in response to a touch operation, determining a touch region and a non-touch region in the plurality of display regions.
[0094] In the embodiment of the present application, the capacitance value of the touch region is greater than or equal to a capacitance threshold, and the capacitance value of the non-touch region is less than the capacitance threshold.
[0095] Exemplarily, as shown in FIG. 6, a user touches the display screen, and the electronic device can determine a touch region and a non-touch region in the plurality of display regions of the display screen in response to the touch operation of the user. For example, the touch region is Block3, and the non-touch regions are Block1, Block2, Block4, Block5 and Block6.
[0096] S502, detecting the capacitance change of the touch region according to a first detection parameter, and detecting the capacitance change of the non-touch region according to a second detection parameter.
[0097] In the embodiment of the present application, the second detection parameter is lower than the first scanning parameter, and the second detection parameter includes a third detection parameter and a fourth detection parameter. It should be noted that the fourth detection parameter is less than the third detection parameter.
[0098] In some embodiments, the detection parameter includes a detection frequency and / or a detection number. The first detection parameter includes a first detection frequency and a first detection number. The second detection parameter includes a second detection frequency and a second detection number.
[0099] As a possible implementation of S502, the electronic device can detect the capacitance change of the touch region according to the first detection frequency and the first detection number, and detect the capacitance change of the non-touch region according to the second detection frequency and the second detection number.
[0100] As shown in FIG. 7a, the electronic device can detect the touch region Block 3 according to a detection frequency of 120 HZ and a detection number of 6 (a number of times of charging and discharging of the sensor), and detect the non-touch regions Block 1, Block 2, Block 4, Block 5, and Block 6 according to a detection frequency of 1 HZ and a detection number of 1 (a number of times of charging and discharging of the sensor).
[0101] It should be noted that the non-touch region includes at least one display region. The electronic device synchronously detects a change in capacitance of each sub-region in the at least one display region according to the second detection parameter.
[0102] That is, the electronic device synchronously performs one-time scanning detection on the non-touch regions Block 1, Block 2, Block 4, Block 5, and Block 6 according to a detection frequency of 1 HZ.
[0103] Specifically, for the non-touch region, since it is not necessary to know the accurate touch point, it is only necessary to detect whether there is a touch signal, and thus the sensor lines of the non-touch region can be connected together as one sensor. That is, each sensor line of the non-touch region is pulled into the touch chip, and the touch chip can realize "short circuit" of the sensor line in the touch chip.
[0104] That is, the sensor lines of the non-touch region are shorted together by the multiplexer (MUX), and one-time charging and discharging is performed to complete detection of the non-touch region.
[0105] For example, as shown in FIG. 7b, according to a detection frequency of 120 HZ and a frame time of 8.3 ms, one-time full-screen detection is performed every frame, the electronic device maintains a scanning frequency of 120 HZ for the touch region Block 3, and performs one-time scanning detection according to a detection frequency of 1 HZ every 1 s for the non-touch regions Block 1, Block 2, Block 4, Block 5, and Block 6, so as to reduce the number of times of charging and discharging.
[0106] In some embodiments, in a case where a touch operation is not detected, the electronic device can detect a change in capacitance of the plurality of display regions according to the second detection parameter. Similarly, in a case where a touch operation is detected, the electronic device can detect a change in capacitance of the plurality of display regions according to the first detection parameter.
[0107] For example, the electronic device detects the capacitance change of the touch area according to a detection frequency of 120 HZ and a detection number of 6 times, and detects the capacitance change of the non-touch area according to a detection frequency of 1 HZ and a detection number of 1 time. If the capacitance of one of the plurality of non-touch areas is greater than or equal to the capacitance threshold value during detection, a touch point occurs, and the capacitance change of the non-touch area where the touch point occurs is detected according to a detection frequency of 120 HZ and a detection number of 6 times.
[0108] If the capacitance values of the plurality of non-touch areas do not change during detection, the detection frequency of 1 HZ and the detection number of 1 time are maintained for detection.
[0109] In one scenario, as shown in FIG. 8, the electronic device detects the capacitance change of the non-touch area according to the detection mode (detection frequency of 1 HZ and detection number of 1 time), and if the capacitance of one of the plurality of non-touch areas is greater than or equal to the capacitance threshold value during detection, it is determined whether a touch point occurs, and if so, the detection mode of the non-touch area is changed to the active mode. If not, that is, the capacitance values of the plurality of non-touch areas do not change, the detection mode is maintained for detection.
[0110] In some other embodiments, if no touch operation is detected on the touch area within a preset time length, the capacitance change of the touch area is detected according to the second detection parameter.
[0111] For example, the electronic device detects the capacitance change of the touch area according to a detection frequency of 120 HZ and a detection number of 6 times, and detects the capacitance change of the non-touch area according to a detection frequency of 1 HZ and a detection number of 1 time. If there is no touch point in the touch area for a continuous preset time length, the touch area is detected according to a detection frequency of 1 HZ and a detection number of 1 time.
[0112] If a touch point occurs in the touch area for a continuous preset time length, the touch area is continuously detected according to a detection frequency of 120 HZ and a detection number of 6 times.
[0113] In one scenario, as shown in FIG. 9, the electronic device detects the capacitance change of the touch area according to the active mode (detection frequency of 120 HZ and detection number of 6 times), that is, it is determined whether a touch point occurs in the touch area within 100 frames, and if not, that is, no touch point occurs in the touch area for a continuous 100 frames, the active mode of the touch area is changed to the detection mode (detection frequency of 1 HZ and detection number of 1 time). If yes, that is, a touch point occurs in the touch area for a continuous 100 frames, the active mode is continuously maintained.
[0114] Optionally, the first detection parameter includes a first detection number, and the sum of the display time length and the detection time length is a target time length.
[0115] As another possible implementation of S502, the electronic device can detect the capacitance change of the touch region according to a third detection frequency when the detection duration is less than the preset duration.
[0116] The third detection frequency is greater than the first detection frequency.
[0117] An example is shown in FIG. 10a. When full-screen 120HZ detection is used, the detection duration is 2ms and the display duration is 14.6ms. Since the electronic device detects the capacitance change of the non-touch region according to the second detection parameter (1HZ detection frequency and 1 detection time), a part of the detection duration is saved.
[0118] For example, when detection is performed at a detection frequency of 1HZ and a detection time of 1, the detection duration can be shortened to 0.6ms. Further, when the detection duration 0.6ms is less than the preset duration 0.7ms, the saved 1.4ms can be used for detection of the touch region. The electronic device detects the capacitance change of the touch region Block3 according to a detection frequency of 240HZ.
[0119] For another example, as shown in FIG. 10b, when detection is performed at a detection frequency of 1HZ and a detection time of 1, the detection duration can be shortened to 0.6ms. Since the detection duration is saved by 1.4ms compared with the previous one, the display duration can be increased from the previous 14.6ms to 16ms, which can be used to increase the charging time and has a significant advantage for electronic devices with high charging time requirements or high refresh rate electronic devices.
[0120] In some embodiments, the electronic device can detect the capacitance change of the touch region according to a third detection frequency and a first detection time when the detection duration is less than the preset duration.
[0121] Another example is shown in FIG. 11. When the non-touch region is detected at a detection frequency of 1HZ and a detection time of 1, the detection duration can be shortened to 0.6ms. Further, when the detection duration 0.6ms is less than the preset duration 0.7ms, the saved 1.4ms can be used for detection of the touch region. The electronic device detects the capacitance change of the touch region Block3 according to a detection frequency of 240HZ and a detection time of 6.
[0122] As another possible implementation of S502, the electronic device can detect the capacitance change of the touch region according to a third detection frequency when the detection duration is less than the preset duration.
[0123] The third detection frequency is greater than the first detection frequency.
[0124] In an example, as shown in FIG. 10a, when the detection is performed at 120HZ, the detection time is 2ms, and the display time is 14.6ms. Since the change in capacitance of the non-touch area is detected according to the second detection parameter (1HZ detection frequency and 1 detection time), a part of the detection time is saved.
[0125] For example, when the detection is performed at 1HZ detection frequency and 1 detection time, the detection time can be shortened to 0.6ms. Further, when the display time is 14.6ms, the saved 1.4ms can be used for detecting the touch area, and the electronic device detects the change in capacitance of the touch area Block 3 according to 12 detection times.
[0126] For another example, as shown in FIG. 10c, when the detection is performed at 120HZ detection frequency, the detection time is 2ms, and the display time is 6.3ms. Therefore, 2ms can complete the detection of 6 display areas, and after the detection time is reduced, that is, the non-touch area is detected only once, the detection time of the display area is saved by 1.4ms compared with the prior art. The electronic device can detect the change in capacitance of the touch area Block 3 according to 12 detection times, so as to improve the accuracy of detecting the touch area and maximize the use of resources.
[0127] In some embodiments, the electronic device can detect the change in capacitance of the touch area according to a third detection frequency and a third detection time when the display time remains unchanged.
[0128] For another example, as shown in FIG. 12, when the non-touch area is detected at 1HZ detection frequency and 1 detection time, the detection time can be shortened to 0.6ms. Further, when the detection time 0.6ms is less than the preset time 0.7ms, the saved 1.4ms can be used for detecting the touch area, and the electronic device detects the change in capacitance of the touch area Block 3 according to 240HZ detection frequency and 12 detection times.
[0129] It can be understood that the detection parameter further includes the detection time, and the detection time of the touch area is greater than the detection time of the non-touch area.
[0130] In the embodiments of the present application, the electronic device can determine the first display area adjacent to the touch area in the non-touch area.
[0131] For example, as shown in FIG. 13, the display areas adjacent to the touch area Block 3 are Block 2 and Block 4, and Block 2 and Block 4 are non-touch areas. The electronic device can determine that the non-touch area Block 2 and the non-touch area Block 4 are the first display areas adjacent to the touch area Block 3.
[0132] As another possible implementation of S502, in response to the sliding operation on the display screen, the electronic device detects the capacitance change of the first display region according to the first detection parameter, in a case where the distance between the sliding position corresponding to the sliding operation and the first display region is less than or equal to the distance threshold.
[0133] For example, as shown in FIG. 13, the user performs a sliding operation on the display screen, and the electronic device detects the capacitance change of the two display regions according to the first detection parameter in response to the sliding operation on the display screen, in a case where the sliding position corresponding to the sliding operation simultaneously spans the two display regions, and the capacitance values of the two display regions both change, the electronic device can simultaneously enable the active mode (according to the detection frequency of 120 Hz) of the two display regions.
[0134] That is, in a case where the distance between the sliding position and the non-touch region Block2 or the non-touch region Block4 is less than or equal to 1 row of sensors, in order to ensure the response speed when the user quickly draws a line, the electronic device can adjust the detection mode (the detection frequency of 1 Hz and the detection number of 1) of the non-touch region Block2 or the non-touch region Block4 to the active mode (according to the detection frequency of 120 Hz) in advance.
[0135] It should be noted that the detection number can be adaptively adjusted according to the situation.
[0136] As another possible implementation of S502, the electronic device can detect the capacitance change of the first display region according to a third detection parameter, and detect the capacitance change of the other regions in the non-touch region except the first display region according to a fourth detection parameter.
[0137] For example, as shown in FIG. 14, in order to further improve the response speed when the sliding position spans different display regions during fast line drawing, the electronic device can detect the capacitance change of the touch region Block3 according to the detection frequency of 120 Hz, detect the capacitance change of the first display region Block2 and the first display region Block4 according to the detection frequency of 60 Hz, and detect the capacitance change of Block1, Block5 and Block6 according to the detection frequency of 1 Hz.
[0138] Another example, as shown in FIG. 15, the electronic device can detect the capacitance change of the touch area Block3 according to a detection frequency of 120HZ and a detection number of 6 times, detect the capacitance change of the first display area Block2 and the first display area Block4 according to a detection frequency of 60Hz and a detection number of 3 times, and detect the capacitance change of Block1, Block5 and Block6 according to a detection frequency of 1Hz and a detection number of 1.
[0139] It should be noted that the embodiments of the present application can be mutually borrowed or referred to each other, for example, the same or similar steps, method embodiments, system embodiments and device embodiments can be mutually referred to without limitation.
[0140] The embodiments of the present application can divide the function modules or function units of the electronic device according to the above-mentioned method examples, for example, each function module or function unit can be divided according to each function, or two or more functions can be integrated in one processing module. The above-mentioned integrated module can be realized in the form of hardware or software function module or function unit. In the embodiments of the present application, the division of the module or unit is illustrative, and is only a logical function division, and another division mode can be used in actual implementation.
[0141] As shown in FIG. 16, a structure schematic diagram of a detection device provided by the embodiments of the present application is shown, the device is applied to an electronic device, the electronic device includes a display screen and a processor. The detection device includes a processing unit 1601 and an acquisition unit 1602.
[0142] The processing unit 1601 is configured to determine a touch area and a non-touch area in a plurality of display areas in response to a touch operation. The processing unit 1601 is configured to detect the capacitance change of the touch area according to a first detection parameter, and detect the capacitance change of the non-touch area according to a second detection parameter.
[0143] The second detection parameter is lower than the first scanning parameter. The capacitance value of the touch area is greater than or equal to a capacitance threshold value; the capacitance value of the non-touch area is less than the capacitance threshold value.
[0144] In a possible implementation mode, the processing unit 1601 is further configured to determine a first display area adjacent to the touch area in the non-touch area; and in response to a sliding operation on the display screen, if the distance between the sliding position corresponding to the sliding operation and the first display area is less than or equal to a distance threshold value, the processing unit 1601 detects the capacitance change of the first display area according to the first detection parameter.
[0145] In a possible implementation, the processing unit 1601 is further configured to determine a first display region in the non-touch region adjacent to the touch region. The processing unit 1601 is specifically configured to detect the capacitance change of the first display region according to the third detection parameter, and detect the capacitance change of other regions in the non-touch region except the first display region according to the fourth detection parameter.
[0146] The second detection parameter includes the third detection parameter and the fourth detection parameter, and the fourth detection parameter is less than the third detection parameter.
[0147] In a possible implementation, the detection parameter includes a detection frequency and / or a detection times.
[0148] In a possible implementation, the processing unit 1601 is specifically configured to detect the capacitance change of the touch region according to the third detection frequency in a case where the detection duration is less than a preset duration.
[0149] The third detection frequency is greater than the first detection frequency, and the first detection parameter includes the first detection frequency.
[0150] In a possible implementation, the processing unit 1601 is specifically configured to detect the capacitance change of the touch region according to the third detection times in a case where a display duration remains unchanged.
[0151] The third detection times is greater than the first detection times, the first detection parameter includes the first detection times, and a sum of the display duration and the detection duration is a target duration.
[0152] In a possible implementation, the processing unit 1601 is further configured to detect the capacitance change of the plurality of display regions according to the second detection parameter in a case where no touch operation is detected.
[0153] In a possible implementation, the processing unit 1601 is further configured to detect the capacitance change of the touch region according to the second detection parameter in a case where no touch operation is detected in the touch region within a preset duration.
[0154] In a possible implementation, the detection parameter further includes a detection duration, and the detection duration of the touch region is greater than the detection duration of the non-touch region.
[0155] In a possible implementation, the processing unit 1601 is specifically configured to synchronously detect the capacitance change of each sub-region in at least one display region according to the second detection parameter.
[0156] The non-touch region includes at least one display region.
[0157] When implemented by hardware, the obtaining unit 1602 in the embodiments of the present application can be integrated on a communication interface, and the processing unit 1601 can be integrated on a processor. The specific implementation manner is shown in FIG. 17.
[0158] FIG. 17 shows another possible structural schematic diagram of the detection apparatus involved in the above embodiments. The communication apparatus includes a processor 1702 and a communication interface 1703. The processor 1702 is configured to control and manage actions of the apparatus, for example, to perform the steps performed by the processing unit 1601 described above, and / or to perform other processes of the techniques described herein. The communication interface 1703 is configured to support communication of the apparatus with other network entities, for example, to perform the steps performed by the obtaining unit 1602 described above. The apparatus can further include a memory 1701 and a bus 1704, where the memory 1701 is configured to store program codes and data of the apparatus.
[0159] The memory 1701 can be a memory in the apparatus, and can include a volatile memory such as a random access memory, and can also include a non-volatile memory such as a read-only memory, a flash memory, a hard disk or a solid state disk, and can also include a combination of the above-mentioned memories.
[0160] The processor 1702 described above can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or other programmable logic device, transistor logic device, hardware component, or any combination thereof, which implements or executes the various exemplary logical blocks, modules and circuits described in connection with the disclosure of the present application. The processor can implement or execute the various exemplary logical blocks, modules and circuits described in connection with the disclosure of the present application. The processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0161] The bus 1704 can be an extended industry standard architecture (EISA) bus or the like. The bus 1704 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is shown in FIG. 17, but it does not mean that there is only one bus or only one type of bus.
[0162] The apparatus in FIG. 17 can also be a chip. The chip includes one or more (including two) processors 1702 and communication interfaces 1703.
[0163] Optionally, the chip further includes a memory 1705, which can include a read-only memory and a random access memory, and provides operation instructions and data for the processor 1702. Part of the memory 1705 can also include a non-volatile random access memory (NVRAM).
[0164] In some embodiments, the memory 1705 stores the following elements, execution modules or data structures, or a subset thereof, or an extended set thereof.
[0165] In the embodiments of the present application, corresponding operations are performed by calling operation instructions stored in the memory 1705 (which can be stored in an operating system).
[0166] Some embodiments of the present disclosure provide a computer readable storage medium (for example, a non-transitory computer readable storage medium) having computer program instructions stored therein, which, when executed on a computer (for example, a receiving node), cause the computer to perform the synchronization method of any of the above embodiments.
[0167] For example, the above computer readable storage medium can include, but is not limited to, a magnetic storage device (for example, a hard disk, a floppy disk or a magnetic tape, etc.), an optical disk (for example, a CD (Compact Disk, compact disk), a DVD (Digital Versatile Disk, digital versatile disk), etc.), a smart card and a flash memory device (for example, an EPROM (Erasable Programmable Read-Only Memory, erasable programmable read-only memory), a card, a stick or a key drive, etc.). The various computer readable storage media described in the present disclosure can represent one or more devices and / or other machine readable storage media for storing information. The term "machine readable storage medium" can include, but is not limited to, a wireless channel and various other media capable of storing, containing and / or carrying instructions and / or data.
[0168] Some embodiments of the present disclosure also provide a computer program product, for example, stored on a non-transitory computer readable storage medium. The computer program product includes computer program instructions, which, when executed on a computer (for example, a receiving node), cause the computer to perform the synchronization method of the above embodiments.
[0169] Some embodiments of the present disclosure also provide a computer program. When the computer program is executed on a computer (for example, a receiving node), the computer program causes the computer to perform the synchronization method of the above embodiments.
[0170] The computer readable storage medium, computer program product and computer program have the same beneficial effects as the synchronization method of some embodiments, and will not be repeated here.
[0171] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0172] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0173] In addition, the functional units in each embodiment of the present application can be integrated into a processing unit, or each unit can be physically present alone, or two or more units can be integrated into one unit.
[0174] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any person skilled in the art can think of changes or replacements within the technical range disclosed in the present disclosure, which should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. An electronic device, wherein, The electronic device includes: a display screen and a processor; the display screen is provided with multiple display areas; The processor is configured to: in response to a touch operation, determine a touch area and a non-touch area among the plurality of display areas; the capacitance value of the touch area is greater than or equal to a capacitance threshold; and the capacitance value of the non-touch area is less than the capacitance threshold. The processor is configured to: detect the capacitance change of the touch area according to a first detection parameter, and detect the capacitance change of the non-touch area according to a second detection parameter; the second detection parameter is lower than the first scanning parameter.
2. The electronic device according to claim 1, wherein, The processor is further configured to: Determine a first display area adjacent to the touch area within the non-touch area; In response to a sliding operation on the display screen, if the distance between the sliding position corresponding to the sliding operation and the first display area is less than or equal to a distance threshold, the capacitance change of the first display area is detected according to the first detection parameter.
3. The electronic device according to claim 1, wherein, The second detection parameter includes a third detection parameter and a fourth detection parameter; the fourth detection parameter is less than the third detection parameter; The processor is further configured to: Determine a first display area adjacent to the touch area within the non-touch area; The processor is specifically configured as follows: The capacitance change of the first display area is detected according to the third detection parameter, and the other areas in the non-touch area other than the first display area are detected according to the fourth detection parameter.
4. The electronic device according to any one of claims 1-3, wherein, The detection parameters include detection frequency and / or number of detections.
5. The electronic device according to claim 4, wherein, The first detection parameter includes a first detection frequency; The processor is specifically configured as follows: If the detection time is less than the preset time, the capacitance change of the touch area is detected at a third detection frequency; the third detection frequency is greater than the first detection frequency.
6. The electronic device according to claim 4, wherein, The first detection parameter includes the first number of detections; the sum of the display duration and the detection duration is the target duration; The processor is specifically configured as follows: With the display duration remaining constant, the capacitance change of the touch area is detected according to a third detection count; the third detection count is greater than the first detection count.
7. The electronic device according to any one of claims 1-6, wherein, The processor is further configured to: In the absence of a touch operation, capacitance changes in multiple display areas are detected according to the second detection parameter.
8. The electronic device according to any one of claims 1-7, wherein, The processor is further configured to: If no touch operation is detected in the touch area within a preset time period, the capacitance change of the touch area is detected according to the second detection parameter.
9. The electronic device according to any one of claims 1-8, wherein, The detection parameters also include detection duration; the detection duration for the touch area is greater than the detection duration for the non-touch area.
10. The electronic device according to any one of claims 1-9, wherein, The non-touch area includes at least one display area; The processor is specifically configured as follows: The capacitance change of each sub-region in the at least one display area is detected synchronously according to the second detection parameter.
11. A detection method, wherein, The method includes: In response to a touch operation, a touch area and a non-touch area are determined among the plurality of display areas; the capacitance value of the touch area is greater than or equal to a capacitance threshold; the capacitance value of the non-touch area is less than the capacitance threshold. The capacitance change of the touch area is detected according to the first detection parameter, and the capacitance change of the non-touch area is detected according to the second detection parameter; the second detection parameter is lower than the first scanning parameter.
12. The method according to claim 11, wherein, The method further includes: Determine a first display area adjacent to the touch area within the non-touch area; In response to a sliding operation on the display screen, if the distance between the sliding position corresponding to the sliding operation and the first display area is less than or equal to a distance threshold, the capacitance change of the first display area is detected according to the first detection parameter.
13. The method according to claim 11, wherein, The second detection parameter includes a third detection parameter and a fourth detection parameter; the fourth detection parameter is less than the third detection parameter; The method further includes: Determine a first display area adjacent to the touch area within the non-touch area; The step of detecting the capacitance change of the non-touch area according to the second detection parameter includes: The capacitance change of the first display area is detected according to the third detection parameter, and the other areas in the non-touch area other than the first display area are detected according to the fourth detection parameter.
14. The method according to any one of claims 11-13, wherein, The detection parameters include detection frequency and / or number of detections.
15. The method according to claim 14, wherein, The first detection parameter includes a first detection frequency; The step of detecting the capacitance change of the touch area according to the first detection parameter includes: If the detection time is less than the preset time, the capacitance change of the touch area is detected at a third detection frequency; the third detection frequency is greater than the first detection frequency.
16. The method of claim 14, wherein, The first detection parameter includes the first number of detections; The sum of the display duration and the detection duration is the target duration; The step of detecting the capacitance change of the touch area according to the first detection parameter includes: With the display duration remaining constant, the capacitance change of the touch area is detected according to the third detection cycle; The third test count was greater than the first test count.
17. The method according to any one of claims 11-16, wherein, The method further includes: In the absence of a touch operation, capacitance changes in multiple display areas are detected according to the second detection parameter.
18. The method according to any one of claims 11-17, wherein, The method further includes: If no touch operation is detected in the touch area within a preset time period, the capacitance change of the touch area is detected according to the second detection parameter.
19. The method according to any one of claims 11-18, wherein, The detection parameters also include detection duration; the detection duration for the touch area is greater than the detection duration for the non-touch area.
20. The method according to any one of claims 11-19, wherein, The non-touch area includes at least one display area; The method further includes: The capacitance change of each sub-region in the at least one display area is detected synchronously according to the second detection parameter.
21. A detection device, wherein, include: A processor and a communication interface; the communication interface is coupled to the processor, the processor being configured to run computer programs or instructions to implement the detection method as described in any one of claims 11-20.
22. A computer-readable storage medium, wherein, The computer-readable storage medium stores instructions that, when executed by a computer, perform the detection method according to any one of claims 11-20.
23. A computer program product, wherein, The computer program product includes instructions that, when executed on a computer, enable the computer to perform the detection method as described in any one of claims 11-20.
Citation Information
Patent Citations
Driving method, driving device and display device
CN104778009A
Touch screen scanning method and device, electronic device, and computer-readable storage medium
CN109542272A
Method and device for processing touch information, computer storage medium and terminal
CN110007811A
Touch scanning method and device, chip, storage medium and display device
CN111240529A
Driving method and device of touch panel, equipment and medium
CN116027925A