Touch information acquisition method and device and electronic equipment

By acquiring and optimizing noise parameters in the OLED TDDI touch screen and collecting touch information, the touch noise problem caused by display noise is solved, and the accuracy and performance of touch information is improved.

CN119200881APending Publication Date: 2024-12-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411264867.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Due to the small distance between the display layer and the touch layer, the OLED TDDI touch screen causes a large touch noise caused by display noise, which reduces the touch signal-to-noise ratio and affects the touch performance.

Method used

By obtaining the total noise parameters in the image to be refreshed, determining that the target noise parameter is less than the target value, collecting touch information within the pixel time period corresponding to the target noise parameter, and optimizing the acquisition timing to reduce noise.

Benefits of technology

It improves the accuracy of touch information, can more accurately judge the user's touch behavior, and enhances touch performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200881A_ABST
    Figure CN119200881A_ABST
Patent Text Reader

Abstract

The invention discloses a touch information acquisition method and device and electronic equipment, and belongs to the technical field of touch display screens. The method comprises the steps that M total noise parameters of M rows of pixel points in an image to be refreshed are obtained, the total noise parameters are touch noise parameters existing in the process of refreshing one row of pixel points, and M is a positive integer; n target total noise parameters are determined from the M total noise parameters, the target total noise parameters are smaller than a target value, and N is a positive integer; and collecting touch information in a time period of refreshing the pixel points corresponding to the N target total noise parameters in the to-be-refreshed image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of touch display screens, and specifically relates to a touch information collection method, device and electronic equipment. Background Art

[0002] With the development of screen technology, organic light emitting diode (OLED) touch and display driver integration (TDDI) touch screens are gradually expanding their commercial use.

[0003] In the related art, the OLED TDDI screen includes a display layer and a touch layer, and the display layer and the touch layer are connected through a capacitor. As the thickness of the OLED TDDI screen becomes thinner and thinner, the distance between the display layer and the touch screen becomes smaller and smaller. Therefore, when the noise generated during the refresh of the display layer is too large, the touch layer will also generate a large touch noise, which will reduce the signal-to-noise ratio of the touch screen and affect the touch performance. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a touch information collection method, device, electronic device and readable storage medium, which can improve the accuracy of collecting touch information.

[0005] In a first aspect, an embodiment of the present application provides a touch information collection method, which includes: obtaining M total noise parameters of M rows of pixels in an image to be refreshed, where the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, where M is a positive integer; determining N target total noise parameters from the M total noise parameters, where the target total noise parameter is less than a target value, where N is a positive integer; and collecting touch information within a time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed.

[0006] In a second aspect, an embodiment of the present application provides a touch information acquisition device, which includes: an acquisition module, a processing module and a control module. The acquisition module is used to acquire M total noise parameters of M rows of pixels in an image to be refreshed, where the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, where M is a positive integer; the processing module is used to determine N target total noise parameters from the M total noise parameters, where the target total noise parameter is less than a target value, where N is a positive integer; and the control module is used to collect touch information within a time period of refreshing pixels corresponding to the N target total noise parameters in the image to be refreshed.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, the electronic device obtains M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, M is a positive integer; from the M total noise parameters, N target total noise parameters are determined, the target total noise parameters are less than the target value, N is a positive integer; during the time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed, touch information is collected. In this solution, the electronic device can select a target noise parameter less than the target value from the total noise parameters of each row of pixels in the image to be refreshed, and determine the timing of refreshing the pixels corresponding to the target noise parameter as the timing of the touch layer collecting the touch information corresponding to the Tx channel. Since the noise is small at this collection timing, the accuracy of the touch information collected by the electronic device is improved, so that the electronic device can accurately judge the user's touch behavior. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a structural schematic diagram of an OLED TDDI screen provided in an embodiment of the present application;

[0013] Figure 2 It is one of the schematic diagrams of a touch information collection method provided in an embodiment of the present application;

[0014] Figure 3 This is a second schematic diagram of a touch information collection method provided in an embodiment of the present application;

[0015] Figure 4 It is a structural schematic diagram of a touch information collection device provided in an embodiment of the present application;

[0016] Figure 5 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0017] Figure 6 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0020] The terms "at least one (item)", "at least one of" and the like in the specification and claims of this application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" means two or more, and its meaning is similar to that of "at least one (item)".

[0021] It should be noted that the touch information collection method provided in the embodiments of the present application can be executed by electronic devices such as mobile phones, tablet computers, laptop computers, PDAs, and vehicle-mounted electronic devices. In some embodiments of the present application, the touch information collection method provided in the embodiments of the present application is described by taking the electronic device as the execution subject to execute the touch information collection method.

[0022] The touch information collection method, device and electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0023] With the development of screen technology, organic light emitting diode (OLED) touch and display driver integration (TDDI) touch screens are gradually expanding their commercial use and entering people's lives. Since the display and touch use the same chip in OLED TDDI screens, the display and touch data can access each other, providing a basis for the touch to predict display noise and reasonably adjust the sampling timing to avoid display noise.

[0024] However, due to the display characteristics of the OLED TDDI screen, most of the time in a display cycle is used for refreshing, so it is impossible to avoid display noise by using the display and touch time-sharing refresh method; the current display noise mainly comes from the source signal, which indirectly interferes with the touch screen sensor layer by interfering with the display common connection (ELVSS) layer.

[0025] Specifically, Figure 1 As shown, the OLED TDDI screen includes a display Source layer 11, a display ELVSS layer 12, and a touch screen Sensor layer 13. Among them, the display Source layer 11 and the display ELVSS layer 12 form a capacitor 14. When the display layer is refreshed, the Source signal layer signal will change with the different line-by-line content of the picture, so the interference to the display ELVSS layer 12 will also change accordingly. Because there is a coupling capacitor 15 between the touch screen Sensor layer 13 and the display ELVSS12 layer, this part of the interference will be conducted to the touch screen sensor. When these interferences are collected when the electronic device controls the Tx channel to scan the touch layer, they appear as noise.

[0026] Since the display screen changes randomly, the display noise is not continuous and stable. In related technologies, the display layer and the touch layer are controlled by two independent chips. The touch chip cannot predict the display noise and can only collect the original capacitance data (rawdata) of the touch screen and then reduce the noise through software algorithms. However, software algorithm noise reduction can only avoid optimization based on existing data, and the effect is limited.

[0027] In the touch information collection method provided in the embodiment of the present application, the electronic device obtains M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, M is a positive integer; from the M total noise parameters, N target total noise parameters are determined, the target total noise parameters are less than the target value, N is a positive integer; during the time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed, the touch information is collected. In this scheme, the electronic device can select a target noise parameter less than the target value from the total noise parameters of each row of pixels in the image to be refreshed, and determine the timing of refreshing the pixels corresponding to the target noise parameter as the timing of the touch layer collecting the touch information corresponding to the Tx channel. Since the noise is small at this collection timing, the accuracy of the touch information collected by the electronic device is improved, so that the electronic device can accurately judge the user's touch behavior.

[0028] The touch information collection method provided in this embodiment may be executed by a touch information collection device, which may be an electronic device, or a control module or processing module in the electronic device. The technical solution provided in the embodiment of this application is described below using an electronic device as an example.

[0029] The present application provides a touch information collection method. Figure 2 FIG. 1 is a flow chart of a touch information collection method provided by an embodiment of the present application, which can be applied to electronic devices. Figure 2 As shown, the touch information collection method provided in the embodiment of the present application may include the following steps 201 to 203.

[0030] Step 201: The electronic device obtains M total noise parameters of M rows of pixels in an image to be refreshed.

[0031] In some embodiments of the present application, the total noise parameter is: a touch noise parameter existing in the process of refreshing a row of pixels, where M is a positive integer.

[0032] It can be understood that, referring to the above background technology description, the display layer and the touch layer are two screens connected by capacitors. When the display layer refreshes the display pixels, the display noise generated will cause the touch layer to generate touch noise.

[0033] In some embodiments of the present application, the image to be refreshed is a frame of image to be displayed.

[0034] In some embodiments of the present application, each pixel in the above-mentioned image to be refreshed includes a color parameter.

[0035] In some embodiments of the present application, the electronic device may determine the total noise parameter of a row of pixels in the image to be refreshed according to the color parameters of the row of pixels.

[0036] In some embodiments of the present application, the above color parameters include but are not limited to at least one of the following: red color value, green color value, blue color value.

[0037] For example, the red color value of the pixel point (r, c) is 241, the green color value is 10, and the blue color value is 5, where (r, c) represents the coordinates of the pixel point in the rth row and the cth column.

[0038] In some embodiments of the present application, the above-mentioned total noise parameters include but are not limited to noise value, noise amplitude, etc.

[0039] In some embodiments of the present application, the color parameter group corresponding to the above-mentioned total noise parameter is a collection of color parameters corresponding to each pixel point.

[0040] For example, assuming that the resolution of the display module in the display layer of the electronic device is w*h, it means that there are w pixels in one row of the display layer, and there are h rows in total. Then, under this display module, there are h color parameter groups, and accordingly, according to the color parameter of each pixel in each color parameter group, h total noise parameters are determined.

[0041] In some embodiments of the present application, the electronic device determines the noise parameter of each pixel based on the color parameter of each pixel in a color parameter group, and then adds all the noise parameters of a row of pixels to obtain the noise parameter of the row of pixels, that is, the above-mentioned total noise parameter.

[0042] Example 1: When the display chip of the display layer receives a frame of image to be refreshed, the color parameters of each pixel are obtained, such as the red color value of the pixel in the rth row and the cth column is Red(r, c), the green color value is Green(r, c), and the blue color value is Blue(r, c). Then, according to the color parameters of the pixel, the noise parameters corresponding to each color value are queried from the noise acquisition result table, and then the noise parameters of each pixel in a row of pixels are added according to Formula 1 to obtain the comprehensive noise parameters of a row of pixels, that is, the above-mentioned total noise parameters, so as to obtain the comprehensive noise parameters of each row of pixels.

[0043] For example, Formula 1 is:

[0044]

[0045] Among them, Noise[r] represents the noise parameter of the pixel in the rth row, w is the number of pixels in a row, c is the cth pixel, Red(r,c), Green(r,c) and Blue(r,c) represent the color values ​​of the pixel in the rth row and cth column, and Nred, Ngreen and Nblue represent the noise values ​​corresponding to different color values.

[0046] Step 202: The electronic device determines N target total noise parameters from the M total noise parameters.

[0047] In some embodiments of the present application, the above target total noise parameter is less than the target value, and N is a positive integer.

[0048] In some embodiments of the present application, the above-mentioned target total noise parameter may be a total noise parameter corresponding to several consecutive rows of pixels, or may be non-continuous.

[0049] In some embodiments of the present application, the above target value is preset, or the above target value is obtained based on M total noise parameters.

[0050] In a possible example, when the target value is obtained according to M total noise parameters, the target value may be a quantitative value, that is, a quantitative value in which several total noise parameters are grouped together.

[0051] Exemplarily, when the above-mentioned target value is obtained based on M total noise parameters, the electronic device divides the M total noise parameters into multiple noise parameter groups, and then adds the total noise parameters in each noise parameter group respectively to obtain the sum of the noise parameters corresponding to each noise parameter group, and determines the total noise parameter in the noise parameter group whose sum of noise parameters is less than the target value as the target total noise parameter.

[0052] Optionally, in some embodiments of the present application, when the target value is obtained according to M total noise parameters, before the above step 202, the touch information collection method provided in the embodiment of the present application further includes step 301:

[0053] Step 301: The electronic device determines the number N of N target noise parameters according to the first duration and the second duration.

[0054] In some embodiments of the present application, the first duration is the duration for the touch layer to collect touch information corresponding to one Tx channel.

[0055] In some embodiments of the present application, the second duration is the duration for refreshing a row of pixels.

[0056] Exemplarily, the electronic device divides the time it takes for the touch layer to collect touch information corresponding to a Tx channel by the time it takes to refresh a row of pixels, and can determine how many rows of pixels need to be refreshed to complete one Tx channel touch information collection, thereby determining the number N.

[0057] Example 2: If the touch layer needs 6 milliseconds (ms) to collect touch information corresponding to a Tx channel and it takes 2 ms to refresh a row of pixels, then when the touch layer collects touch information corresponding to a Tx channel, the display layer will refresh 3 rows of pixels, and the number N is determined to be 3. If the touch layer needs 8 milliseconds (ms) to collect touch information corresponding to a Tx channel and it takes 2 ms to refresh a row of pixels, then when the touch layer collects touch information corresponding to a Tx channel, the display layer will refresh 4 rows of pixels, and the number N is determined to be 4.

[0058] Further, in some embodiments of the present application, in combination with the above step 301, the above step 202 specifically includes step 202a and step 202b:

[0059] Step 202a: The electronic device groups the M total noise parameters according to the number N to obtain at least one noise parameter group.

[0060] For example, assuming that the number N is 4, there are a total of 8 total noise parameters, including Noise[1], Noise[2], Noise[3], Noise[4], Noise[5], Noise[6], Noise[7], and Noise[8]. After the 8 total noise parameters are calculated, the electronic device divides the 8 total noise parameters into 5 noise parameter groups according to the number N, specifically including {Noise[1], Noise[2], Noise[3], Noise[4]}, {Noise[2], Noise[3], Noise[4], Noise[5]}, {Noise[3], Noise[4], Noise[5], Noise[6]}, {Noise[4], Noise[5], Noise[6], Noise[7]}, and {Noise[5], Noise[6], Noise[7], Noise[8]}.

[0061] Step 202b: The electronic device calculates the sum of noise parameters of at least one noise parameter group respectively, and determines the total noise parameter in the noise parameter group whose sum of noise parameters is less than the target value as N target total noise parameters.

[0062] In a possible example, the N target noise parameters may be a continuous set of noise parameters.

[0063] In some embodiments of the present application, the electronic device adds all first noise parameters of each noise parameter group in the M noise parameter groups, and then determines the smallest first noise parameter as the smallest first noise parameter group.

[0064] Exemplarily, the electronic device may use Formula 2 to calculate the sum of the first noise parameters in each noise parameter group.

[0065] For example, the above formula 2 is:

[0066]

[0067] Wherein, i is the first noise parameter, and L is the number of rows correspondingly refreshed when the touch screen layer controls the Tx channel to collect touch information.

[0068] Since the Tx channel completes one touch information collection, corresponding to refreshing L rows of pixels, the Tx channel starts collecting touch information when refreshing the i-th row. At this time, not only touch information but also noise is collected. The collected noise is recorded as NoiseTx[i], which is the sum of the above-mentioned first noise parameters.

[0069] In some embodiments of the present application, the electronic device calculates the sum of each noise parameter in the M noise parameter groups respectively, and then sorts the sum of each noise parameter in the M noise parameter groups from small to large, and determines the noise parameter group corresponding to the smallest sum of noise parameters as the first noise parameter group.

[0070] Example 3, combined with Example 2, the sum of the noise parameters of each noise parameter group is calculated according to Formula 2, which are: Group 1: {Noise[1], Noise[2], Noise[3], Noise[4]} = 307, Group 2: {Noise[2], Noise[3], Noise[4], Noise[5]} = 741, Group 3: {Noise[3], Noise[4], Noise[5], Noise[6]} = 664, Group 4: {Noise[4], Noise[5], Noise[6], Noise[7]} = 405, and Group 5: {Noise[5], Noise[6], Noise[7], Noise[8]} = 345. In this order, Group 1 < Group 5 < Group 4 < Group 3 < Group 2, so Group 1 is determined as the final noise parameter group.

[0071] It should be noted that, since the time duration for the touch layer to collect touch information corresponding to one Tx channel is usually a multiple of the time duration for refreshing a row of pixels, integer multiples of N and M can generally be obtained.

[0072] Step 203: The electronic device collects touch information during a time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed.

[0073] In some embodiments of the present application, the image to be refreshed is a frame of image to be displayed.

[0074] In some embodiments of the present application, each first noise parameter in each noise parameter group corresponds to a row of pixels.

[0075] Example 4, in combination with Example 3, since the first group is the first noise parameter group, and the first noise parameter group includes the first, second, third and fourth rows of pixels, when the electronic device starts to refresh the first row of pixels of the image to be refreshed, it controls the touch layer to collect touch information corresponding to the first Tx channel.

[0076] In some embodiments of the present application, the above touch information is touch information of a user on a touch screen of an electronic device.

[0077] In some embodiments of the present application, the above touch information includes but is not limited to at least one of the following: touch position, touch pressure, touch range, and touch area.

[0078] In this way, when the display starts refreshing the i-th row, the touch screen simultaneously performs Tx channel acquisition. Therefore, by setting the acquisition time of the touch screen Tx channel, it is possible to ensure that when the touch screen acquires one frame, the total noise is minimized to avoid noise to the greatest extent.

[0079] In a possible embodiment, if the number of Tx channels is two, the electronic device determines the first noise parameter group with the minimum sum of noise parameters from the noise parameter group, and then determines the second noise parameter group with the minimum sum of noise parameters from the remaining noise parameter groups after removing the first noise parameter group. If the number of Tx channels is multiple, the above steps are repeated to sequentially determine the noise parameter group with the minimum sum of noise parameters.

[0080] In the touch information acquisition method provided in the embodiment of the present application, the electronic device obtains M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, M is a positive integer; from the M total noise parameters, N target total noise parameters are determined, the target total noise parameters are less than the target value, N is a positive integer; during the time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed, the touch information is collected. In this scheme, the electronic device can select a target noise parameter less than the target value from the total noise parameters of each row of pixels in the image to be refreshed, and determine the timing of refreshing the pixels corresponding to the target noise parameter as the timing of the touch layer collecting the touch information corresponding to the Tx channel. Since the noise is small at this acquisition timing, the accuracy of the touch information collected by the electronic device is improved, so that the electronic device can accurately judge the user's touch behavior.

[0081] Optionally, in some embodiments of the present application, combined with Figure 2 ,like Figure 3 As shown, the above step 201 "the electronic device obtains M total noise parameters of M rows of pixels in the image to be refreshed" specifically includes step 201a and step 201b:

[0082] Step 201a: The electronic device determines a first noise parameter of each pixel in the image to be refreshed from X mapping relationships.

[0083] In some embodiments of the present application, each of the above mapping relationships is a mapping relationship between a color parameter and a noise parameter, and X is a positive integer.

[0084] In some embodiments of the present application, the X mapping relationships may be customized by the electronic device or may be set by the user.

[0085] Step 201b: The electronic device determines the sum of the first noise parameters of all pixels in each row of pixels in M ​​rows of pixels as M total noise parameters.

[0086] In some embodiments of the present application, after the electronic device obtains the noise parameter corresponding to the color parameter of each pixel through a mapping relationship, all noise parameters corresponding to a row of pixels are added together to finally obtain the total noise parameter of the row of pixels.

[0087] In some embodiments of the present application, the X mapping relationships may also be obtained from a noise collection result table obtained through experiments. The specific process may refer to the following steps 401 and 402.

[0088] Furthermore, in some embodiments of the present application, before the above step 201a, the touch information collection method provided in the embodiment of the present application further includes steps 401 and 402:

[0089] Step 401: The electronic device adjusts the color parameter of each pixel in the display layer to a preset color parameter, and determines a reference noise parameter.

[0090] In some embodiments of the present application, the reference noise parameter is: a touch noise parameter existing in the process of refreshing each pixel in the electronic device.

[0091] In some embodiments of the present application, the preset color parameters can be set by the user to different color values ​​under different colors for each pixel in the display layer.

[0092] Step 402: The electronic device establishes a mapping relationship according to the preset color parameters and the reference noise parameters.

[0093] In some embodiments of the present application, each preset color parameter corresponds to a reference noise parameter, and the reference noise parameters corresponding to different preset color parameters may be the same or different.

[0094] Specifically, taking the resolution of the display module as w*h, that is, there are w pixels in one row and h rows in total as an example, the process of establishing the mapping relationship between the preset color parameters and the reference noise parameters is described in detail, including the following steps 101 to 103:

[0095] Step 101: The electronic device first sets the display screen to be completely black, performs full-screen acquisition of the touch layer, and obtains the average noise raw data (rawdata) of a single node, which is recorded as R pure .

[0096] Step 102, when the display source signal in the display layer is collected by the electronic device and the red color value of each pixel point in the display layer is different, the full screen collection of the touch layer is performed to obtain the touch noise value corresponding to the different red color values, that is, the touch noise value is the above-mentioned parameter noise parameter, and the different red color values ​​are preset color parameters.

[0097] For example, the R (red color value) in the RGB of the display screen is gradually set from (1, 0, 0) to (255, 0, 0). At different red color values, the noise raw data of the full screen are collected as (Rred[1], ... Rred

[255] ). According to formula 3, the sum of each Rred[x] and R pure After subtracting and dividing by (w*h), we get (Nred[1],…Nred

[255] ), that is, the noise value corresponding to the red color value v collected by the touch layer.

[0098] For example, the above formula 3 is:

[0099] Noisered[v]=(Rred[v]-R pure ) / (w * h) Formula 3

[0100] Step 103: Use the same method as step 102 to obtain the noise value corresponding to the green color value (Ngreen[1], ...Ngreen

[255] ) and the noise value corresponding to the blue color value (Nblue[1], ...Nblue

[255] ).

[0101] Step 201b: The electronic device determines the sum of the second noise parameters corresponding to each color parameter group as each first noise parameter.

[0102] In some embodiments of the present application, a second noise parameter corresponding to each color parameter in a color parameter group is obtained from X mapping relationships, and all second noise parameters in a color parameter group are added to obtain a first noise parameter corresponding to the color parameter group.

[0103] In this way, the electronic device can associate display noise and touch noise through the noise values ​​under different color values, so as to better predict the touch noise in advance, and then improve the accuracy of collecting touch information by controlling the sampling timing, that is, collecting touch information when the touch noise is small.

[0104] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0105] The touch information collection method provided in the embodiment of the present application can be executed by an electronic device or a touch information collection device. In the embodiment of the present application, the touch information collection device executing the touch information collection method is taken as an example to illustrate the touch information collection device provided in the embodiment of the present application.

[0106] Figure 4 FIG. 1 shows a possible structural diagram of a touch information collection device involved in an embodiment of the present application. Figure 4 As shown, the touch information acquisition device 700 may include: an acquisition module 701, a processing module 702 and a control module 703;

[0107] Among them, the above-mentioned acquisition module 701 is used to obtain M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, and M is a positive integer; the above-mentioned processing module 702 is used to determine N target total noise parameters from the M total noise parameters, and the target total noise parameter is the total noise parameter with the smallest noise value among the M total noise parameters, which is less than the target value, and N is a positive integer; the above-mentioned control module 703 is used to control the touch layer to collect touch information corresponding to the first Tx channel within a time period when the pixel points corresponding to the N target total noise parameters in the image to be refreshed start to be refreshed.

[0108] In some embodiments of the present application, the above target value is preset, or the target value is obtained based on M total noise parameters.

[0109] In some embodiments of the present application, the acquisition module 701 is specifically used to:

[0110] Determine a first noise parameter of each pixel in the image to be refreshed from the X mapping relationships;

[0111] The sum of the first noise parameters of all pixels in each row of pixels in the M rows of pixels is determined as M total noise parameters;

[0112] The first noise parameter is a noise parameter corresponding to the color parameter of each pixel in the image to be refreshed, each mapping relationship is a mapping relationship between a color parameter and a noise parameter, and X is a positive integer.

[0113] In some embodiments of the present application, the above-mentioned processing module 702 is also used to adjust the color parameter of each pixel in the display layer to a preset color parameter before determining the first noise parameter of each pixel in the image to be refreshed from X mapping relationships, and determine the reference noise parameter, where the reference noise parameter is: the touch noise parameter caused by the process of refreshing each pixel; the above-mentioned processing module 702 is also used to establish a mapping relationship according to the preset color parameter and the reference noise parameter.

[0114] In some embodiments of the present application, when the target value is obtained based on M total noise parameters, the processing module 702 is further used to determine the number N of N target noise parameters according to a first time length and a second time length before determining N target total noise parameters from the M total noise parameters, wherein the first time length is the time length for the touch layer to collect touch information corresponding to one Tx channel, and the second time length is the time length for refreshing a row of pixels;

[0115] The processing module 702 is specifically used for:

[0116] Grouping the M total noise parameters according to the number N to obtain at least one noise parameter group;

[0117] The sum of noise parameters of at least one noise parameter group is calculated respectively, and the total noise parameter in the noise parameter group whose sum of noise parameters is less than the target value is determined as N target total noise parameters.

[0118] In the touch information acquisition device provided in the embodiment of the present application, the touch information acquisition device obtains M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, M is a positive integer; from the M total noise parameters, N target total noise parameters are determined, the target total noise parameters are less than the target value, N is a positive integer; during the time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed, touch information is collected. In this scheme, the touch information acquisition device can select a target noise parameter less than the target value from the total noise parameters of each row of pixels in the image to be refreshed, and determine the timing of refreshing the pixels corresponding to the target noise parameter as the timing of the touch layer collecting the touch information corresponding to the Tx channel. Since the noise is small at this collection timing, the accuracy of the touch information collected by the touch information acquisition device is improved, so that the touch information acquisition device can accurately judge the user's touch behavior.

[0119] The touch information collection device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0120] The touch information collection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0121] The touch information collection device provided in the embodiment of the present application can implement each process implemented in the embodiment of the touch information collection method, and will not be described again here to avoid repetition.

[0122] Alternatively, if Figure 5 As shown, an embodiment of the present application further provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores programs or instructions that can be executed on the processor 801, and when the program or instructions are executed by the processor 801, the various steps of the above-mentioned touch information collection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0123] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0124] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0125] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0126] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0127] Among them, the above-mentioned processor 110 is used to obtain M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, and M is a positive integer; the above-mentioned processor 110 is used to determine N target total noise parameters from the M total noise parameters, and the target total noise parameter is the total noise parameter with the smallest noise value among the M total noise parameters, which is less than the target value, and N is a positive integer; the above-mentioned processor 110 is used to control the touch layer to collect touch information corresponding to the first Tx channel within a time period when the pixel points corresponding to the N target total noise parameters in the image to be refreshed start to be refreshed.

[0128] In some embodiments of the present application, the above target value is preset, or the target value is obtained based on M total noise parameters.

[0129] In some embodiments of the present application, the processor 110 is specifically configured to:

[0130] Determine a first noise parameter of each pixel in the image to be refreshed from the X mapping relationships;

[0131] The sum of the first noise parameters of all pixels in each row of pixels in the M rows of pixels is determined as M total noise parameters;

[0132] The first noise parameter is a noise parameter corresponding to the color parameter of each pixel in the image to be refreshed, each mapping relationship is a mapping relationship between a color parameter and a noise parameter, and X is a positive integer.

[0133] In some embodiments of the present application, the processor 110 is further used to adjust the color parameter of each pixel in the display layer to a preset color parameter and determine a reference noise parameter before determining the first noise parameter of each pixel in the image to be refreshed from X mapping relationships. The reference noise parameter is: a touch noise parameter caused in the process of refreshing each pixel. The processor 110 is further used to establish a mapping relationship based on the preset color parameter and the reference noise parameter.

[0134] In some embodiments of the present application, when the target value is obtained based on M total noise parameters, the processor 110 is further configured to determine the number N of N target noise parameters based on a first duration and a second duration before determining N target total noise parameters from the M total noise parameters, wherein the first duration is the duration for the touch layer to collect touch information corresponding to one Tx channel, and the second duration is the duration for refreshing a row of pixels;

[0135] The processor 110 is specifically configured to:

[0136] Grouping the M total noise parameters according to the number N to obtain at least one noise parameter group;

[0137] The sum of noise parameters of at least one noise parameter group is calculated respectively, and the total noise parameter in the noise parameter group whose sum of noise parameters is less than the target value is determined as N target total noise parameters.

[0138] In the electronic device provided in the embodiment of the present application, the electronic device obtains M total noise parameters of M rows of pixels in the image to be refreshed, and the total noise parameter is: the touch noise parameter existing in the process of refreshing a row of pixels, M is a positive integer; from the M total noise parameters, N target total noise parameters are determined, the target total noise parameters are less than the target value, N is a positive integer; during the time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed, touch information is collected. In this scheme, the electronic device can select a target noise parameter less than the target value from the total noise parameters of each row of pixels in the image to be refreshed, and determine the timing of refreshing the pixels corresponding to the target noise parameter as the timing of the touch layer collecting the touch information corresponding to the Tx channel. Since the noise is small at this collection timing, the accuracy of the touch information collected by the electronic device is improved, so that the electronic device can accurately judge the user's touch behavior.

[0139] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0140] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0141] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0142] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned touch information collection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0143] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0144] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned touch information collection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0145] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0146] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned touch information collection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0147] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0149] 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 the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A touch information collection method, characterized in that: The method comprises: Obtaining M total noise parameters of M rows of pixels in the image to be refreshed, where the total noise parameter is: a touch noise parameter existing in the process of refreshing a row of pixels, where M is a positive integer; Determine N target total noise parameters from the M total noise parameters, wherein the target total noise parameters are less than a target value, and N is a positive integer; During a time period of refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed, touch information is collected.

2. The method according to claim 1, characterized in that: The target value is preset, or the target value is obtained according to the M total noise parameters.

3. The method according to claim 1, characterized in that The obtaining of M total noise parameters of M rows of pixels in the image to be refreshed includes: Determine a first noise parameter of each pixel in the image to be refreshed from the X mapping relationships; Determine the sum of the first noise parameters of all pixels in each row of pixels in M ​​rows of pixels as the M total noise parameters; The first noise parameter is a noise parameter corresponding to a color parameter of each pixel in the image to be refreshed, each mapping relationship is a mapping relationship between a color parameter and a noise parameter, and X is a positive integer.

4. The method according to claim 3, characterized in that Before determining the first noise parameter of each pixel in the image to be refreshed from the X mapping relationships, the method further includes: Adjusting the color parameter of each pixel in the display layer to a preset color parameter, and determining a reference noise parameter, wherein the reference noise parameter is: a touch noise parameter existing in the process of refreshing each pixel; A mapping relationship is established according to the preset color parameter and the reference noise parameter.

5. The method according to claim 2, characterized in that: In the case where the target value is obtained according to the M total noise parameters, before determining N target total noise parameters from the M total noise parameters, the method further includes: Determine the number N of the target noise parameters according to a first duration and a second duration, wherein the first duration is the duration for the touch layer to collect touch information corresponding to a Tx channel, and the second duration is the duration for refreshing a row of pixels; Determining N target total noise parameters from the M total noise parameters includes: Grouping the M total noise parameters according to the number N to obtain at least one noise parameter group; The sum of the noise parameters of the at least one noise parameter group is calculated respectively, and the total noise parameter in the noise parameter group whose sum of the noise parameters is less than the target value is determined as the N target total noise parameters.

6. A touch information collection device, characterized in that: The touch information acquisition device comprises: an acquisition module, a processing module and a control module; The acquisition module is used to acquire M total noise parameters of M rows of pixels in the image to be refreshed, where the total noise parameter is: a touch noise parameter existing in the process of refreshing a row of pixels, where M is a positive integer; The processing module is used to determine N target total noise parameters from the M total noise parameters, where the target total noise parameter is a total noise parameter with the smallest noise value among the M total noise parameters and is less than a target value, and N is a positive integer; The control module is used to control the touch layer to collect touch information corresponding to the first Tx channel within a time period when refreshing the pixels corresponding to the N target total noise parameters in the image to be refreshed.

7. The device according to claim 6, characterized in that The target value is preset, or the target value is obtained according to the M total noise parameters.

8. The device according to claim 6, characterized in that The acquisition module is specifically used for: Determine a first noise parameter of each pixel in the image to be refreshed from the X mapping relationships; Determine the sum of the first noise parameters of all pixels in each row of pixels in M ​​rows of pixels as the M total noise parameters; The first noise parameter is a noise parameter corresponding to a color parameter of each pixel in the image to be refreshed, each mapping relationship is a mapping relationship between a color parameter and a noise parameter, and X is a positive integer.

9. The device according to claim 8, characterized in that The processing module is further configured to adjust the color parameter of each pixel in the display layer to a preset color parameter before determining the first noise parameter of each pixel in the image to be refreshed from the X mapping relationships, and determine a reference noise parameter, wherein the reference noise parameter is a touch noise parameter existing in the process of refreshing each pixel; The processing module is further used to establish a mapping relationship according to the preset color parameter and the reference noise parameter.

10. The device according to claim 7, characterized in that In the case where the target value is obtained according to the M total noise parameters, the processing module is further used to determine the number N of the N target noise parameters according to a first time length and a second time length before determining the N target total noise parameters from the M total noise parameters, wherein the first time length is the time length for the touch layer to collect touch information corresponding to one Tx channel, and the second time length is the time length for refreshing a row of pixels; The processing module is specifically used for: Grouping the M total noise parameters according to the number N to obtain at least one noise parameter group; The sum of the noise parameters of the at least one noise parameter group is calculated respectively, and the total noise parameter in the noise parameter group whose sum of the noise parameters is less than the target value is determined as the N target total noise parameters.

11. An electronic device, characterized in that: It comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the touch information acquisition method as claimed in any one of claims 1 to 5.