Screen control method, device and computer readable storage medium

By collecting the humidity value of the user's hands and updating the reference capacitance value of the capacitive screen, the problem of touch misoperation when hands are wet is solved, and the accuracy and stability of touch operation under different humidity levels are achieved.

CN114610176BActive Publication Date: 2026-05-08BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2022-03-11
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

When the user's hands are wet, touch operation on capacitive screens is prone to misoperation or failure, and existing technologies have not been able to effectively solve this problem.

Method used

By collecting the humidity value of the user's hand, the corresponding capacitance value is determined and the screen's reference capacitance value is updated to calibrate touch recognition and ensure the accuracy of touch operation under different humidity conditions.

Benefits of technology

It improves the accuracy of touch operation under different humidity conditions, reduces misoperation and failure, and enhances applicability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610176B_ABST
    Figure CN114610176B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a screen control method and device, and a computer readable storage medium, and relates to the field of device control. The method comprises: collecting a humidity value of a user's hand when the user touches a screen of an electronic device; determining a first capacitance value corresponding to the humidity value; updating a reference capacitance value of the screen according to the first capacitance value; and performing touch recognition according to the updated reference capacitance value. Touch recognition based on the updated reference capacitance value can solve the problem of misoperation or operation failure caused by a wet hand. The above solution can be applied to different humidity scenarios, thereby improving the applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of device control, and more particularly to a screen control method, apparatus, and computer-readable storage medium. Background Technology

[0002] In related technologies, when users' hands are wet (with water or sweat) after exercise, washing clothes, or in other similar scenarios, operating the device screen under these conditions can lead to touch abnormalities, easily causing misoperations or operation failures. For example, when unlocking a phone with wet fingers using the 360-grid keypad, the screen is prone to abnormal touch point reporting due to the moisture of the fingers, resulting in touch disconnections and a high probability of unlocking failure. Summary of the Invention

[0003] To overcome the problems existing in the related technologies, this disclosure provides a screen control method, apparatus and computer-readable storage medium.

[0004] According to a first aspect of the present disclosure, a screen control method is provided, applied to an electronic device, the method comprising:

[0005] The humidity level of the user's hand is collected when the user touches the screen of an electronic device;

[0006] Determine the first capacitance value corresponding to the humidity value;

[0007] The reference capacitance value of the screen is updated based on the first capacitance value, and touch recognition is performed based on the updated reference capacitance value.

[0008] Optionally, determining the first capacitance value corresponding to the humidity value includes:

[0009] Determine the humidity level corresponding to the humidity value;

[0010] Obtain the first capacitance value corresponding to the humidity level.

[0011] Optionally, the method further includes:

[0012] Upon receiving a first touch operation, the second capacitance value of the first touch operation is obtained;

[0013] Obtain the difference between the second capacitance value and the updated reference capacitance value;

[0014] When the difference is less than or equal to the first set threshold, the updated reference capacitance value remains unchanged.

[0015] If the difference is greater than a first set threshold, the updated reference capacitance value of the screen is updated according to the second capacitance value, and touch recognition is performed based on the updated reference capacitance value.

[0016] Optionally, the method further includes:

[0017] Upon receiving a second touch operation, obtain the third capacitance value of the second touch operation;

[0018] If the difference between the third capacitance value and the reference capacitance value is greater than the second set threshold, the step of collecting the humidity value of the user's hand when the user touches the screen of the electronic device is executed, wherein the reference capacitance value is the capacitance value of the user's hand when performing touch operation under dry conditions.

[0019] Optionally, determining the humidity level corresponding to the humidity value includes:

[0020] After obtaining the humidity value of the user's hand, determine the target humidity value range corresponding to the humidity value;

[0021] Based on the correspondence between humidity value range and humidity level, the humidity level corresponding to the target humidity value range is determined and used as the humidity level corresponding to the humidity value.

[0022] Optionally, obtaining the first capacitance value corresponding to the humidity level includes:

[0023] The first capacitance value corresponding to the humidity level is obtained from the memory of the touch component, wherein the memory stores multiple capacitance values ​​corresponding to humidity levels.

[0024] Optionally, updating the reference capacitance value of the screen based on the first capacitance value and performing touch recognition based on the updated reference capacitance value includes:

[0025] Write the first capacitance value into the register of the touch component to update the current reference capacitance value in the register to the first capacitance value;

[0026] Touch recognition is performed based on the updated reference capacitance value.

[0027] According to a second aspect of the present disclosure, a screen control device is provided for use in an electronic device, the device comprising:

[0028] The data acquisition module is configured to acquire the humidity value of the user's hand when the user touches the screen of an electronic device;

[0029] The determination module is configured to determine the first capacitance value corresponding to the humidity value;

[0030] The control module is configured to update the reference capacitance value of the screen based on the first capacitance value, and to perform touch recognition based on the updated reference capacitance value.

[0031] Optionally, the determining module includes:

[0032] The humidity level determination submodule is configured to determine the humidity level corresponding to the humidity value.

[0033] The capacitance acquisition submodule is configured to acquire a first capacitance value corresponding to the humidity level.

[0034] Optionally, the device further includes:

[0035] The acquisition module is configured to acquire the second capacitance value of the first touch operation upon receiving the first touch operation;

[0036] The calculation module is configured to obtain the difference between the second capacitance value and the updated reference capacitance value;

[0037] The control module is further configured to keep the updated reference capacitance value unchanged when the difference is less than or equal to the first set threshold.

[0038] The control module is further configured to update the updated reference capacitance value of the screen based on the second capacitance value when the difference is greater than a first preset threshold, and to perform touch recognition based on the updated reference capacitance value.

[0039] Optionally, the capacitance acquisition submodule is configured as follows:

[0040] The first capacitance value corresponding to the humidity level is obtained from the memory of the touch component, and the memory stores multiple capacitance values ​​corresponding to humidity levels.

[0041] Optionally, the control module is configured to:

[0042] Write the first capacitance value into the register of the touch component to update the current reference capacitance value in the register to the first capacitance value;

[0043] Touch recognition is performed based on the updated reference capacitance value.

[0044] According to a third aspect of the present disclosure, a screen control device is provided, applied to an electronic device, comprising: a processor; and a memory for storing processor-executable instructions;

[0045] The processor is configured to execute the executable instructions to implement the steps of the method described in any of the embodiments of the first aspect above.

[0046] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer program instructions thereon, which, when executed by a processor, implement the steps of the method described in the first aspect of the present disclosure.

[0047] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0048] In the above technical solution, the humidity value of the user's hand is collected when the user touches the screen of the electronic device. A first capacitance value corresponding to the humidity value is determined. The reference capacitance value of the screen is updated based on the first capacitance value, and touch recognition is performed based on the updated reference capacitance value. Through this technical solution, when faced with different humidity levels on the user's hand, the first capacitance value corresponding to that humidity is obtained to update the reference capacitance value of the screen, thereby calibrating the reference capacitance value based on humidity. Since the reference capacitance value affects the current used to locate the operation position during touch operation, after calibrating the reference capacitance value based on humidity, the current used for touch operation under that humidity level is consistent with or close to that when the hand is dry. Therefore, touch recognition using the updated reference capacitance value can solve the problem of misoperation or operation failure caused by wet hands. Furthermore, the above solution is applicable to scenarios with different humidity levels, improving its applicability.

[0049] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0050] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0051] Figure 1 This is a flowchart illustrating a screen control method according to an exemplary embodiment.

[0052] Figure 2 This is a flowchart illustrating another screen control method according to an exemplary embodiment.

[0053] Figure 3 This is a flowchart illustrating yet another screen control method according to an exemplary embodiment.

[0054] Figure 4 This is a block diagram illustrating a screen control device according to an exemplary embodiment.

[0055] Figure 5 This is a block diagram illustrating another screen control device according to an exemplary embodiment.

[0056] Figure 6This is a block diagram illustrating yet another screen control device according to an exemplary embodiment. Detailed Implementation

[0057] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0058] The electronic devices in the various embodiments of this disclosure can be electronic devices with a screen (touchscreen), such as mobile phones, tablets, wearable electronic devices (e.g., smartwatches), etc. When users are exercising, washing clothes, cooking, or in other similar scenarios, their hands may have a lot of sweat or moisture. In this case, operating the screen of an electronic device with wet fingers may result in touch operation failure or inaccuracy. For example, when there is liquid on the fingers, unlocking via the nine-grid key may result in touch disconnection, and unlocking will most likely fail.

[0059] The reason for this phenomenon is that capacitive screens are suitable for direct finger operation and support multi-touch, so most electronic devices with screens currently use capacitive screens. For a capacitive screen, when the human body is not touching the screen, the capacitance value sensed by the screen (the capacitance value borne by the capacitive electrodes) is its own capacitance value, which can be called the base capacitance value. When a user touches the capacitive screen, due to the human body's electric field, a coupling capacitance is formed between the user's finger and the screen surface. At this time, the capacitance value sensed by the screen becomes the sum of the capacitive electrodes and this coupling capacitance. Because of the change in capacitance, the operation of the human body can be sensed. Furthermore, since the screen is connected to high-frequency signals, and capacitors are direct conductors for high-frequency signals, the existence of this coupling capacitance causes the finger to absorb a small current. This current flows out from the electrodes at the four corners of the screen, and theoretically, the current flowing through the four electrodes is proportional to the distance from the finger to the four corners of the screen. The electronic device, through its controller, precisely calculates the ratio of the four currents to determine the location of the touch point. If a user operates the screen with wet hands, the capacitance value sensed by the screen differs from that sensed when the hands are dry. This difference in capacitance value leads to a discrepancy in the current absorbed by the finger during touch operation, which can easily cause operation failures or misoperations, such as inaccurate touch point positioning. Therefore, this disclosure provides a screen control method that can calibrate the screen's capacitance value by collecting the humidity value of the user's hands.

[0060] Figure 1This is a flowchart illustrating a screen control method according to an exemplary embodiment, the method being applied to an electronic device, such as... Figure 1 As shown, the method includes the following steps:

[0061] In step S101, the humidity value of the user's hand is collected when the user touches the screen of the electronic device.

[0062] For example, a humidity sensor can be installed on an electronic device to detect the humidity level of a user's hands. This humidity sensor can be one or more, positioned at a specific location on the electronic device. This location can be determined based on where the user's hands frequently hold the device. Taking a mobile phone as an example, the humidity sensor can be placed on the top, left, and / or right bezel, so that it comes into contact with the user's hand when holding the phone, facilitating subsequent detection of the user's hand humidity level. Alternatively, the humidity sensor can be placed in other easily accessible locations on the electronic device, such as on the back of the device, where the user's fingers can reach it while holding the device. This allows the user to actively contact the humidity sensor when their hands are damp, facilitating subsequent detection of the user's hand humidity level.

[0063] In step S102, the first capacitance value corresponding to the humidity value is determined.

[0064] It is understood that the screen in this embodiment is a capacitive touchscreen. Since the actual humidity value is uncertain, in order to calibrate the touchscreen under different humidity conditions, different humidity values ​​can be pre-set with corresponding capacitance values. That is, each humidity value can cover a certain humidity range, and a suitable touchscreen capacitance value is pre-set for each humidity value. These different humidity values ​​can be determined experimentally, and the correspondence between different humidity values ​​and capacitance values ​​is written into the electronic device before it leaves the factory. During the use of the electronic device, this correspondence can also be downloaded or updated from the cloud provided by the manufacturer. Furthermore, it should be noted that the values ​​in the correspondence between humidity values ​​and capacitance values ​​may differ for capacitive touchscreens of different manufacturers and specifications. The specific values ​​can be set according to the actual situation, and this disclosure does not impose any limitations.

[0065] Optionally, after collecting the humidity value of the user's hand through the humidity sensor, the humidity value can be sent to the control center of the electronic device. The control center can be the control software on the electronic device used to control the screen, or it can be the processor of the electronic device, or it can be the processing unit in the screen used to control the screen.

[0066] In one implementation, after the processor of the electronic device collects a humidity value through a humidity sensor, it can report the humidity value as a string to the control center of the electronic device. In this case, the control center can be the software of the electronic device used to control the screen, or a processing unit within the screen used to control the screen. The string contains the humidity value. After receiving the string, the control center extracts the current humidity value from it and determines the corresponding capacitance value based on the humidity value. The above-described string format is merely exemplary; any other possible information carrier or format can be used to report the humidity value to the control center of the electronic device.

[0067] In step S103, the reference capacitance value of the screen is updated according to the first capacitance value, and touch recognition is performed according to the updated reference capacitance value.

[0068] As mentioned earlier, the reference capacitance value, or base value, is the capacitance of the screen's capacitive electrodes when the human body is not in contact with the screen. It can be understood that updating the screen's reference capacitance value based on a first capacitance value can mean updating the first capacitance value to a new reference capacitance value. For example, the screen's reference capacitance value is typically stored in a register of the touch component, which can be a touch IC, a circuit, or a chip. If the first capacitance value is the calibrated reference capacitance value, it can be directly updated in this register as the updated reference capacitance value.

[0069] Alternatively, a new reference capacitance value can be determined based on the first capacitance value. For example, the first capacitance value can be a compensation value corresponding to the humidity value. After determining the first capacitance value, the current reference capacitance value in the register of the touch component can be read, and then the compensation value can be superimposed on the current reference capacitance value to obtain the updated reference capacitance value; or the average value between the first capacitance value and the reference capacitance value can be calculated, and the average value can be used as the updated reference capacitance value.

[0070] The above technical solution obtains a first capacitance value corresponding to the humidity of the user's hand to update the screen's reference capacitance value, thereby calibrating the screen's reference capacitance value based on humidity. As mentioned earlier, when a finger operates on the screen, it absorbs current, and the location of the touch point can be calculated based on the proportion of current flowing out from the electrodes at the four corners of the screen. The reference capacitance value affects the magnitude of this current. Therefore, after updating the reference capacitance value, the current absorbed by the hand during touch operation under the specified humidity is consistent with or close to the current absorbed by the hand under dry conditions. Thus, touch recognition using the updated reference capacitance value can solve the problem of misoperation or operation failure caused by wet hands. Furthermore, the above solution is applicable to scenarios with different humidity levels, improving its applicability.

[0071] Figure 2 This is a flowchart illustrating another screen control method according to an exemplary embodiment, the method being applied to an electronic device, such as... Figure 2 As shown, step S102 may include the following steps:

[0072] In step S1021, the humidity level corresponding to the humidity value is determined.

[0073] In step S1022, the first capacitance value corresponding to the humidity level is obtained.

[0074] For example, the correspondence between humidity range and humidity level, and the correspondence between humidity level and reference capacitance value can be preset in the electronic device. The correspondence between humidity range and humidity level includes different humidity levels corresponding to different humidity value ranges, and the correspondence between humidity level and reference capacitance value includes the correspondence between different humidity levels and different reference capacitance values.

[0075] This step S1021 may include:

[0076] Determine the target humidity range corresponding to the humidity value.

[0077] Based on the correspondence between humidity ranges and humidity levels, the humidity level corresponding to the target humidity range is determined. Therefore, the corresponding reference capacitance value can be determined based on the humidity level. For example, the pre-defined humidity levels may include low humidity, medium humidity, and high humidity.

[0078] In one implementation, the correspondence between the humidity range and humidity level can be stored in the control center of the electronic device, and the correspondence between the humidity level and the reference capacitance value can be stored in the memory of the touch component of the screen. Thus, under the control of the electronic device, after the humidity sensor collects a humidity value, it can send the humidity value to the control center. After obtaining the humidity value, the control center first determines the humidity range within which the humidity value falls, and then determines the corresponding humidity level based on the correspondence between the humidity range and the humidity level. The control center then sends the humidity level to the touch component of the screen, which can be the aforementioned touch IC. After receiving the humidity level sent by the control center, the touch component determines the first capacitance value corresponding to that humidity level based on the correspondence between different humidity levels and different reference capacitance values.

[0079] For example, step S1022 may include the following steps:

[0080] Electronic devices generate instructions carrying humidity levels via a control center.

[0081] The electronic device sends the instruction to the touch component through the control center, so that the touch component can obtain the first capacitance value corresponding to the humidity level from the memory of the touch component.

[0082] For example, the instruction can be a string with a specified format. The control center can send the humidity level to the touch component by sending this string containing the humidity level. For example, the string has a flag indicating the humidity level at a specified position. After receiving the string, the touch component can determine the humidity level based on the character of the flag in the string. For example, the position of the first character of the string can be designated as the flag. If the character of the flag is A, it indicates a low humidity level; if the character of the flag is B, it indicates a medium humidity level; and if the character of the flag is C, it indicates a high humidity level. Thus, after receiving the string sent by the control center, the touch component can determine the corresponding humidity value by recognizing the first character of the string. The above-described humidity level classification is merely an example. To achieve a finer granularity in the classification and a higher humidity recognition capability, the classification can be tailored to specific needs. The aforementioned identifier bits in the string can be set according to the specific format of the string. For example, if the string is in binary, two bits can be selected to indicate the humidity level. For instance, a value of 00 for these two bits indicates a low humidity level, 01 indicates a medium humidity level, and 01 indicates a high humidity level. The specific settings can be determined according to actual needs, and this disclosure does not impose any limitations.

[0083] It is worth mentioning that, in another implementation, the correspondence between humidity range and humidity level, as well as the correspondence between humidity level and reference capacitance value, can be stored in the memory of the touch component. After the humidity sensor collects a humidity value, it can directly send the humidity value to the touch component, allowing the touch component to determine the humidity level corresponding to the humidity value and the first capacitance value corresponding to the humidity level, and then execute step S103 to update the reference capacitance value. Alternatively, in another implementation, the correspondence between humidity range and humidity level, as well as the correspondence between humidity level and reference capacitance value, can be stored by the control center. After determining the humidity level based on the collected humidity value, the control center can further determine the first capacitance value corresponding to the humidity level based on the humidity level and the reference capacitance value, and send the first capacitance value to the touch component, so that the touch component executes step S103 to update the reference capacitance value based on the received first capacitance value.

[0084] Accordingly, in Figure 2 Following step 102, step S103 can be: updating the reference capacitance value of the touch component to the first capacitance value. That is, using the first capacitance value as the updated reference capacitance value.

[0085] For example, the current reference capacitance value of the screen is stored in the register of the touch component. Electronic devices typically recalibrate this reference capacitance value each time the screen is woken up. After obtaining the first capacitance value corresponding to the current humidity level, this first capacitance value is written into the register of the touch component to update the current reference capacitance value to the first capacitance value. The updated first capacitance value is the new reference capacitance value for the touch screen, allowing the new reference capacitance value of the screen to adapt to the current humidity level. This ensures that the humidity is taken into account when calibrating the screen's reference capacitance value. The updated reference capacitance value can correct the current absorbed from the screen when the finger is wet, making this current consistent with or only slightly different from the current absorbed from the screen when the finger is dry. This ensures that the touch point position calculated based on this current remains accurate, thus improving the problem of operation failure or malfunction when the user's hands are wet, thereby optimizing the user experience to a certain extent.

[0086] Optionally, Figure 3 This is a flowchart illustrating yet another screen control method according to an exemplary embodiment, the method being applied to an electronic device, such as... Figure 3 As shown, after step S103, the method may further include the following steps:

[0087] In step S104, upon receiving a first touch operation, the second capacitance value of the first touch operation is obtained.

[0088] In step S105, the difference between the second capacitance value and the updated reference capacitance value is obtained.

[0089] As described above, in step S103, the updated reference capacitance value can be determined based on the first capacitance value, or the first capacitance value can be directly used as the updated reference capacitance value. In this embodiment, the method of directly using the first capacitance value as the updated reference capacitance value is taken as an example. After step S103, the updated reference capacitance value is the first capacitance value. If the reference capacitance value has not been updated again after step S103 and before the first touch operation, the updated reference capacitance value in step S105 is the first capacitance value. Alternatively, if there are one or more update operations on the reference capacitance value after step S103 and before the first touch operation, the updated reference capacitance value in step S105 is the most recently updated reference capacitance value.

[0090] In step S106, when the difference is less than or equal to the first set threshold, the updated reference capacitance value remains unchanged, that is, touch recognition continues to be performed based on the updated reference capacitance value.

[0091] In step S107, if the difference is greater than the first set threshold, the updated reference capacitance value of the screen is updated according to the second capacitance value, and touch recognition is performed according to the updated reference capacitance value.

[0092] For example, taking the updated reference capacitance value in step S103 as the first capacitance value, and assuming that the reference capacitance value has not been updated again between step S103 and the first touch operation, the updated reference capacitance value in steps S105 to S107 is the first capacitance value. Thus, when the screen receives a user's touch operation, the second capacitance value at the start time of the current touch operation (the moment when the screen refreshes the first frame when the touch operation is received) can be collected, and the second capacitance value is compared with the current first capacitance value. If the difference between the second capacitance value and the first capacitance value is greater than the first set threshold, the current reference capacitance value needs to be updated from the first capacitance value to the second capacitance value, that is, the second capacitance value is used as the updated reference capacitance value. If the difference between the second capacitance value and the first capacitance value is less than the first set threshold, the reference capacitance value does not need to be updated again, that is, the reference capacitance value updated in step S103 is kept unchanged, i.e., the first capacitance value remains unchanged. If the reference capacitance value has been updated once or more after step S103, then the updated reference capacitance value in steps S105 to S107 is the most recently updated reference capacitance value.

[0093] Optionally, prior to step S101, the method may further include the following steps:

[0094] Upon receiving a second touch operation, obtain the third capacitance value of the second touch operation.

[0095] If the difference between the third capacitance value and the reference capacitance value is greater than the second set threshold, the step of collecting the humidity value of the user's hand when the user touches the screen of the electronic device is performed. The reference capacitance value is the capacitance value of the user's hand when the touch operation is performed under dry conditions.

[0096] Understandably, before activating the humidity sensor to collect the humidity value of the user's hands, it is possible to preliminarily determine whether the user's hands are wet. Since the humidity sensor is not yet activated at this time, identification can be based on the touch operation received on the screen. Therefore, before step 101, when the third touch operation is received, the capacitance value at the start of the third touch operation (the capacitance value resulting from the superposition of the current reference capacitance value and the coupling capacitance value generated by the current human body) can be obtained and compared with the reference capacitance value of the touch operation under dry conditions (the capacitance value resulting from the superposition of the current reference capacitance value and the coupling capacitance value generated by the human body under dry conditions). When the difference between the two capacitance values ​​is greater than the second set threshold, it can be determined that the user's hands are wet, so the humidity sensor can be activated to collect the humidity value of the user's hands to further determine the specific humidity value. When the difference in capacitance values ​​is less than or equal to the second set threshold, it can be considered that the user's hands are dry, and the humidity sensor can be deactivated, thereby saving power. The aforementioned reference capacitance value can be pre-set in the electronic device. This reference capacitance value can be determined through experimental data or empirical values. For example, in one implementation, multiple experimental personnel (since different individuals have different human electric fields, multiple personnel can be selected to participate) can be obtained by performing touch operations on the same electronic device with their hands dry. The capacitance values ​​of these multiple experimental personnel when performing touch operations are obtained (the capacitance value is the sum of the reference capacitance value of the screen and the coupling capacitance value generated by the human body at the start of the touch operation). Then, the average capacitance value is calculated based on the capacitance values ​​of these multiple experimental personnel when performing touch operations. This average capacitance value can be used as the aforementioned reference capacitance value and written into the electronic device before it leaves the factory.

[0097] Alternatively, in another possible implementation, given a fixed reference capacitance value, the coupling capacitance generated by the human body differs between touch operations performed when the hands are wet and when the hands are dry. This difference leads to a difference in the current absorbed by the hand from the screen during touch operations. Therefore, the humidity sensor can be activated to collect the humidity value of the user's hands if the difference between the current absorbed by the hand on the screen during the second touch operation and the current absorbed by the hand on the screen when the hands are dry exceeds a preset current threshold.

[0098] Optionally, the humidity sensor may be a sensor containing a humidity-sensitive element, which can be resistive or capacitive. Common humidity sensors include lithium chloride humidity sensors, alumina hygrometers, and ceramic humidity sensors. The type of humidity sensor can be selected according to actual needs, and this disclosure does not limit it.

[0099] Optionally, the humidity sensor described above in the electronic device can also be used to detect air humidity or humidity in other scenarios. For example, when the humidity sensor detects an air humidity value, it can be displayed through the electronic device's application to remind the user of the current air humidity. Alternatively, for electronic devices without waterproof functionality, if the humidity value detected by the humidity sensor exceeds a certain threshold, it can be determined that the electronic device has been dropped into water, and the power can be cut off to prevent short circuits caused by water ingress, thus protecting the electronic device.

[0100] In the above technical solution, the humidity value of the user's hand is collected when the user touches the screen of the electronic device. A first capacitance value corresponding to the humidity value is determined. The reference capacitance value of the screen is updated based on the first capacitance value, and touch recognition is performed based on the updated reference capacitance value. Through this technical solution, when faced with different humidity levels on the user's hand, the first capacitance value corresponding to that humidity is obtained to update the reference capacitance value of the screen, thereby calibrating the reference capacitance value based on humidity. Since the reference capacitance value affects the current used to locate the operation position during touch operation, after calibrating the reference capacitance value based on humidity, the current used for touch operation under that humidity level is consistent with or close to that when the hand is dry. Therefore, touch recognition using the updated reference capacitance value can solve the problem of misoperation or operation failure caused by wet hands. Furthermore, the above solution is applicable to scenarios with different humidity levels, improving its applicability.

[0101] Figure 4 This is a block diagram illustrating a screen control device 400 according to an exemplary embodiment. The screen control device 400 can be applied to an electronic device having a touchscreen. See also... Figure 4 The screen control device 400 includes:

[0102] The data acquisition module 401 is configured to acquire the humidity value of a user's hand when the user touches the screen of an electronic device;

[0103] The determination module 402 is configured to determine the first capacitance value corresponding to the humidity value;

[0104] The control module 403 is configured to update the reference capacitance value of the screen based on the first capacitance value, and to perform touch recognition based on the updated reference capacitance value.

[0105] Optionally, Figure 5 This is a block diagram illustrating another screen control device according to an exemplary embodiment, such as... Figure 5 As shown, the determining module 402 may include:

[0106] The humidity level determination submodule 4021 is configured to determine the humidity level corresponding to the humidity value.

[0107] The capacitance acquisition submodule 4022 is configured to acquire the first capacitance value corresponding to the humidity level.

[0108] Optionally, the screen control device 400 may further include:

[0109] The acquisition module is configured to acquire the second capacitance value of the first touch operation upon receiving the first touch operation;

[0110] The calculation module is configured to obtain the difference between the second capacitance value and the updated reference capacitance value;

[0111] The control module 403 is further configured to keep the updated reference capacitance value unchanged when the difference is less than or equal to the first set threshold; and to update the updated reference capacitance value of the screen according to the second capacitance value when the difference is greater than the first set threshold, and to perform touch recognition according to the updated reference capacitance value.

[0112] Optionally, the acquisition module is further configured to acquire a third capacitance value of the second touch operation when the second touch operation is received;

[0113] The control module 403 is further configured to perform the step of collecting the humidity value of the user's hand when the user touches the screen of the electronic device if the difference between the third capacitance value and the reference capacitance value is greater than the second set threshold. The reference capacitance value is the capacitance value of the user's hand when performing touch operation under dry conditions.

[0114] Optionally, this level determines submodule 4021, which is configured as follows:

[0115] After obtaining the humidity value of the user's hand, determine the target humidity value range corresponding to that humidity value;

[0116] Based on the correspondence between humidity range and humidity level, determine the humidity level corresponding to the target humidity range, and use it as the humidity level corresponding to the humidity value.

[0117] Optionally, the capacitor acquisition submodule 4022 is configured as follows:

[0118] The first capacitance value corresponding to the humidity level is obtained from the memory of the touch component, which stores multiple capacitance values ​​corresponding to humidity levels.

[0119] Optionally, the control module 403 is configured as follows:

[0120] The first capacitance value is written into the register of the touch component to update the current reference capacitance value in the register to the first capacitance value; touch recognition is performed based on the updated reference capacitance value.

[0121] Optionally, the touch component is a touch IC.

[0122] By employing the above technical solution, when faced with different humidity levels on the user's hands, a first capacitance value corresponding to that humidity is obtained to update the screen's reference capacitance value. This allows for humidity-based calibration of the screen's reference capacitance value. Since the reference capacitance value affects the current used to locate the operation position during touch operation, humidity-based calibration ensures that the current during touch operation at that humidity level is consistent with or close to that when the hands are dry. Therefore, touch recognition using the updated reference capacitance value can solve the problem of misoperation or operation failure caused by wet hands. Furthermore, the above solution is applicable to scenarios with different humidity levels, improving its applicability.

[0123] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0124] This disclosure also provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the steps of the screen control method provided in this disclosure.

[0125] Figure 6 This is a block diagram illustrating yet another device 600 for screen control according to an exemplary embodiment. For example, device 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0126] Reference Figure 6 The device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0127] Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the screen control method described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.

[0128] Memory 604 is configured to store various types of data to support the operation of device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0129] The power supply component 606 provides power to the various components of the device 600. The power supply component 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 600.

[0130] Multimedia component 608 includes a screen that provides an output interface between the device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0131] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.

[0132] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0133] Sensor assembly 614 includes one or more sensors for providing status assessments of various aspects of device 600. For example, sensor assembly 614 may detect the on / off state of device 600, the relative positioning of components such as the display and keypad of device 600, changes in the position of device 600 or a component of device 600, the presence or absence of user contact with device 600, the orientation or acceleration / deceleration of device 600, and temperature changes of device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0134] Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices. Device 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0135] In an exemplary embodiment, the device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the screen control method described above.

[0136] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of the device 600 to complete the screen control method described above. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0137] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the screen control method described above when executed by the programmable device.

[0138] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of this disclosure. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0139] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A screen control method, characterized in that, Applied to electronic devices, including: The method involves collecting the humidity value of a user's hand when the user touches the screen of an electronic device. This collection includes: detecting the current absorbed by the hand on the screen during a second touch operation; if the difference between this current and the current absorbed by the hand when the hand is dry exceeds a preset current threshold, the user's hand is determined to be damp, and a humidity sensor is activated to collect the humidity value of the user's hand. The current absorbed by the hand on the screen can be obtained from the current at the four corners of the screen via a controller within the electronic device. Based on the correspondence between different humidity values ​​and capacitance values, a first capacitance value corresponding to the humidity value is determined; wherein, the electronic device has the correspondence preset. The reference capacitance value of the screen is updated according to the first capacitance value, and touch recognition is performed according to the updated reference capacitance value; wherein, updating the reference capacitance value of the screen according to the first capacitance value includes: updating the first capacitance value to the reference capacitance value of the screen.

2. The method according to claim 1, characterized in that, Determining the first capacitance value corresponding to the humidity value includes: Determine the humidity level corresponding to the humidity value; Obtain the first capacitance value corresponding to the humidity level.

3. The screen control method according to claim 2, characterized in that, Determining the humidity level corresponding to the humidity value includes: Determine the target humidity range corresponding to the humidity value; Based on the correspondence between humidity value range and humidity level, the humidity level corresponding to the target humidity value range is determined and used as the humidity level corresponding to the humidity value.

4. The screen control method according to claim 2, characterized in that, The step of obtaining the first capacitance value corresponding to the humidity level includes: The first capacitance value corresponding to the humidity level is obtained from the memory of the touch component, wherein the memory stores multiple capacitance values ​​corresponding to humidity levels.

5. The screen control method according to claim 1, characterized in that, The method further includes: Upon receiving a first touch operation, the second capacitance value of the first touch operation is obtained; Obtain the difference between the second capacitance value and the updated reference capacitance value; When the difference is less than or equal to a first set threshold, the updated reference capacitance value remains unchanged. If the difference is greater than the first set threshold, the updated reference capacitance value of the screen is updated according to the second capacitance value, and touch recognition is performed based on the updated reference capacitance value.

6. The screen control method according to claim 1, characterized in that, The step of updating the reference capacitance value of the screen based on the first capacitance value and performing touch recognition based on the updated reference capacitance value includes: Write the first capacitance value into the register of the touch component to update the current reference capacitance value in the register to the first capacitance value; Touch recognition is performed based on the updated reference capacitance value.

7. A screen control device, characterized in that, Applied to electronic devices, the device includes: The data acquisition module is configured to acquire the humidity value of the user's hand when the user touches the screen of the electronic device. Acquiring the humidity value of the user's hand when the user touches the screen includes: detecting the current absorbed by the hand on the screen during a second touch operation; if the difference between this current and the current absorbed by the hand on the screen when the hand is dry is greater than a preset current threshold, it is determined that the user's hand is damp, and the humidity sensor is activated to acquire the humidity value of the user's hand. The current absorbed by the hand on the screen can be obtained from the current at the four corners of the screen through a controller in the electronic device. The determining module is configured to determine a first capacitance value corresponding to the humidity value based on the correspondence between different humidity values ​​and capacitance values; wherein the electronic device has the correspondence preset. The control module is configured to update the reference capacitance value of the screen according to the first capacitance value, and to perform touch recognition according to the updated reference capacitance value; wherein, updating the reference capacitance value of the screen according to the first capacitance value includes: updating the first capacitance value to the reference capacitance value of the screen.

8. The screen control device according to claim 7, characterized in that, The determining module includes: The humidity level determination submodule is configured to determine the humidity level corresponding to the humidity value. The capacitance acquisition submodule is configured to acquire a first capacitance value corresponding to the humidity level.

9. The screen control device according to claim 7, characterized in that, The device further includes: The acquisition module is configured to acquire the second capacitance value of the first touch operation upon receiving the first touch operation; The calculation module is configured to obtain the difference between the second capacitance value and the updated reference capacitance value; The control module is also configured to keep the updated reference capacitance value unchanged when the difference is less than or equal to a first set threshold. The control module is further configured to update the updated reference capacitance value of the screen based on the second capacitance value when the difference is greater than the first set threshold, and to perform touch recognition based on the updated reference capacitance value.

10. A screen control device, characterized in that, Applied to electronic devices, including: processor; Memory used to store processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 6.

11. A computer-readable storage medium storing computer program instructions thereon, characterized in that, When the program instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for preventing conductive liquid from causing misoperation of touch screen

    CN103324373A

  • Adjusting method of touch screen sensitivity, device and terminal equipment

    CN107291280A