A control method, a control apparatus, an electronic device, and a storage medium

By integrating a vibration module into electronic devices and initiating vibration during touch events, the problem of false clicks caused by water droplets on capacitive touch screens is solved, and the rapid removal of water droplets and accurate identification of real touch events are achieved.

CN115933915BActive Publication Date: 2025-10-24GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310004370.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2025-10-24
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

In a humid environment, capacitive touch screens are prone to false clicks caused by water droplets, which are especially difficult to remove in time during brushing, affecting the normal use of electronic devices.

Method used

A vibration module is integrated into the electronic device. When the capacitive touch screen responds to a touch event, the vibration module is activated to vibrate the capacitive touch screen, using a combination of gravity and vibration to clear water droplets and prevent false clicks.

Benefits of technology

It effectively reduces false clicks on capacitive touch screens, ensures normal operation of the device in humid conditions, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115933915B_ABST
    Figure CN115933915B_ABST
Patent Text Reader

Abstract

The application discloses a control method, a control device, an electronic device and a computer readable storage medium. The control method is applied to an electronic device integrated with a capacitive touch screen and a vibration module. In a working state of the electronic device, an angle between the capacitive touch screen and the ground exceeds a preset angle threshold. The control method comprises the following steps: when the capacitive touch screen feeds back that a current touch event exists, starting the vibration module, and the vibration module is used for vibrating the capacitive touch screen. Through the application scheme, water drops on the capacitive touch screen can be removed in time, and the occurrence of false clicking can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of device control, and particularly relates to a control method, a control device, an electronic device, and a computer readable storage medium. BACKGROUND

[0002] A capacitive touch screen determines a click position on the screen by detecting current changes of a touch position, and has been widely applied in various electronic devices. However, in a wet state, water droplets can cause similar current responses as fingers on the screen, and thus cause a false click (ghost touch) to occur.

[0003] Most electronic devices can timely perform wiping processing on water droplets when a user finds water droplets on the screen during daily use, so as to avoid false clicks caused by the water droplets. However, for an electronic device installed in a bathroom and used to assist tooth brushing, water droplets can continuously splash onto the screen when the user uses the electronic device during tooth brushing, and the user cannot conveniently perform wiping processing on the water droplets during tooth brushing, which makes it difficult to timely clean the water droplets on the screen. SUMMARY

[0004] The present application provides a control method, a control device, an electronic device, and a computer readable storage medium, which can timely clean water droplets on a capacitive touch screen and reduce the occurrence of false clicks.

[0005] In a first aspect, the present application provides a control method, which is applied to an electronic device, and the electronic device is integrated with a capacitive touch screen and a vibration module; in a working state of the electronic device, an angle between the capacitive touch screen and the ground exceeds a preset angle threshold; and the control method comprises the following steps.

[0006] When the capacitive touch screen feeds back that a touch event currently exists, the vibration module is started, and the vibration module is used to vibrate the capacitive touch screen.

[0007] In a second aspect, the present application provides a control device, which is applied to an electronic device, and the electronic device is integrated with a capacitive touch screen and a vibration module; in a working state of the electronic device, an angle between the capacitive touch screen and the ground exceeds a preset angle threshold; and the control device comprises the following units.

[0008] A starting unit is configured to start the vibration module when the capacitive touch screen feeds back that a touch event currently exists, and the vibration module is used to vibrate the capacitive touch screen.

[0009] In a third aspect, the present application provides an electronic device, which comprises a memory, a capacitive touch screen, a vibration module, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method of the first aspect when executing the computer program.

[0010] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program implements the steps of the method of the first aspect when executed by a processor.

[0011] In a fifth aspect, the present application provides a computer program product, which comprises a computer program, and the computer program implements the steps of the method of the first aspect when executed by one or more processors.

[0012] Compared with the prior art, the present application has the beneficial effects that for the electronic device integrated with the capacitive touch screen, the structure of the electronic device is optimized, and the vibration module is newly integrated in the electronic device. Once the capacitive touch screen feeds back that there is a touch event, the electronic device can start the vibration module, so that the capacitive touch screen can vibrate under the action of the vibration module. Since the angle between the capacitive touch screen and the ground exceeds the preset angle threshold when the electronic device is in the working state, if there is a water droplet on the capacitive touch screen, the water droplet will also quickly drip due to gravity and vibration of the capacitive touch screen, so that the water droplet is removed, and the occurrence of false clicks is reduced.

[0013] It can be understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0015] Figure 1 is an example diagram of an electronic device provided by the embodiments of the present application;

[0016] Figure 2 is an implementation flowchart of the control method provided by the embodiments of the present application;

[0017] Figure 3 is another implementation flowchart of the control method provided by the embodiments of the present application;

[0018] Figure 4is a structural schematic diagram of a control device provided by an embodiment of the present application.

[0019] Figure 5 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0020] In the following description, for the purpose of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0021] An embodiment of the present application provides a control method applied to an electronic device integrated with a capacitive touch screen and a vibration module. The electronic device is explained and described as follows:

[0022] The electronic device can be a fixed electronic device. In order to enable water droplets splashed on the capacitive touch screen to drop under the action of gravity, and to facilitate the user to check, the user can try to install the electronic device vertically to ensure that the angle between the capacitive touch screen of the electronic device and the ground exceeds a preset angle threshold.

[0023] The vibration module integrated by the electronic device can be an eccentric motor or an ultrasonic device, and the embodiments of the present application do not limit the specific type of the vibration module.

[0024] In one application scenario, the electronic device can be a tooth brushing auxiliary device, which is briefly introduced as follows:

[0025] The tooth brushing auxiliary device can establish a communication connection with the intelligent toothbrush to provide the user with auxiliary functions related to tooth brushing, including but not limited to tooth brushing guidance function and tooth examination function.

[0026] For the tooth brushing guidance function, the tooth brushing auxiliary device can specifically perform the following operations: receiving posture data output by a posture sensor carried in the intelligent toothbrush; identifying a toothbrush posture according to the posture data; determining a tooth region currently located by the intelligent toothbrush according to the toothbrush posture, and outputting an indication message, the indication message being used to indicate: a next tooth region to be cleaned, and a timing for the user to change the intelligent toothbrush to the next tooth region to be cleaned.

[0027] For the tooth examination function, the tooth brushing auxiliary device can specifically perform the following operations: receiving a real-time image output by a camera carried at the bristles of the intelligent toothbrush; and displaying the real-time image on the capacitive touch screen for the user to check the state of the teeth.

[0028] The start and stop of the tooth brushing auxiliary device can be associated with the smart toothbrush; in this case, the start and stop of the smart toothbrush can be linked to control the start and stop of the tooth brushing auxiliary device. Alternatively, the start and stop of the smart toothbrush can also be not associated with the smart toothbrush; in this case, the user can independently control the start and stop of the tooth brushing auxiliary device according to his own needs. In the embodiments of the present application, the start and stop mode of the tooth brushing auxiliary device is not limited.

[0029] Please refer to Figure 1 , Figure 1 An example of the tooth brushing auxiliary device is given. As shown in Figure 1 , the tooth brushing auxiliary device includes a capacitive touch screen and a vibration module, and the tooth brushing auxiliary device can establish a communication connection with the smart toothbrush. Since the vibration module is not visible from the appearance of the tooth brushing auxiliary device, Figure 1 the vibration module is represented by a dashed rectangular box in the figure. It should be noted that Figure 1 the appearance of the tooth brushing auxiliary device is not limited, nor is the position of the vibration module in the tooth brushing auxiliary device.

[0030] Based on the electronic device proposed in the foregoing, the control method applied to the electronic device is explained and described below. Please refer to Figure 2 , the control method includes:

[0031] Step 201, when the capacitive touch screen feedbacks that there is currently a touch event, start the vibration module.

[0032] It has been described in the foregoing that the electronic device integrates a capacitive touch screen and a vibration module. For the capacitive touch screen, since the electronic device relies on the capacitive touch screen to interact with the user, the capacitive touch screen can be started along with the start of the electronic device. For the vibration module, in order to save the energy consumption of the electronic device, the vibration module is by default kept off and can be started only when needed.

[0033] It can be understood that when a finger touches the capacitive touch screen, it will cause a certain current reaction, causing the capacitance of the corresponding touch position to change; based on this, the touch event in the embodiment specifically refers to: the event that there is a change in the capacitance on the capacitive touch screen. However, when water droplets splash on the capacitive touch screen, the water droplets will cause a similar current reaction as the finger, causing the capacitive touch screen to incorrectly feedback the touch event. That is, when the capacitive touch screen feedbacks that there is currently a touch event, the touch event can be a false touch event caused by water droplets, or a real touch event caused by a finger.

[0034] To avoid the interference of the water droplet, the electronic device can start the vibration module immediately when the capacitive touch screen feeds back that a current touch event exists, regardless of whether the touch event ends or not, so that the vibration module starts to vibrate. It can be understood that, since the vibration module is integrated in the electronic device, and the volume of the electronic device is generally small, the vibration of the vibration module can drive the vibration of the entire electronic device. Therefore, as one of the components of the electronic device, the capacitive touch screen can also vibrate along with the vibration of the vibration module. That is, it can be considered that the vibration module functions to vibrate the capacitive touch screen.

[0035] It has been described above that the angle between the capacitive touch screen and the ground exceeds the preset angle threshold. In the case that the current touch event is a false touch event caused by a water droplet, the water droplet splashed on the capacitive touch screen can be caused to drop under the action of gravity through the posture of the capacitive touch screen; in combination with the vibration of the capacitive touch screen, the water droplet can be further caused to drop at a higher speed. Conversely, in the case that the current touch event is a real touch event caused by a finger, since the finger almost does not feel the small-amplitude vibration of the capacitive touch screen, the real touch event will not be affected by the vibration.

[0036] In some embodiments, the removal of the water droplet splashed on the capacitive touch screen can be achieved through the step 201 shown above; on this basis, in order to achieve accurate distinction between the false touch event and the real touch event and help the electronic device respond to the real touch event in a timely manner, please refer to Figure 3 After the step 201, the control method provided by the embodiment can further include:

[0037] In step 202, it is determined whether the touch parameter of the touch event meets the preset touch condition.

[0038] It has been described above that the water droplet can quickly drop under the influence of gravity and vibration, and the finger is basically not affected by the vibration. After analyzing this, it can be known that the real touch event caused by the finger and the false touch event caused by the water droplet can generally be distinguished in the following three dimensions: the dimension of touch response, the dimension of touch direction, and the dimension of touch duration. The three dimensions will be described in detail as follows:

[0039] In the dimension of touch response: the water droplet can quickly drop under the double influence of gravity and vibration, which makes the water droplet have a large displacement in a short time; and the finger is basically not affected by the vibration, and under normal operation of the user, the finger generally does not have a large displacement in a short time.

[0040] In the dimension of touch direction: the water droplet can drop in the direction of gravity or close to the direction of gravity under the influence of gravity; and the finger is basically not affected by the vibration, and under normal operation of the user, the moving direction of the finger is not fixed.

[0041] In the dimension of touch duration: even if the water droplet drops quickly, it still needs a certain time; and in the touch operation performed by the user, the most common operation is the single-click operation, which is specifically manifested as: the finger is immediately lifted after being placed down.

[0042] The electronic device can set a touch condition based on at least one of the three dimensions to distinguish the touch event.

[0043] In step 203, if the touch parameter meets the touch condition, the touch instruction corresponding to the touch event is determined.

[0044] In the case where the electronic device determines that the touch parameter meets the touch condition, the corresponding touch event can be considered as a real touch event, that is, the touch event is caused by the finger. The electronic device can thus determine the touch instruction corresponding to the touch event according to the touch parameter carried by the touch event. For example, the touch instructions supported by the electronic device include single-click touch instruction and sliding touch instruction, and the embodiments of the present application are not limited thereto.

[0045] In the first application scenario, to distinguish the touch event in the dimension of touch response, the touch condition set by the electronic device can include a touch response sub-condition; correspondingly, the touch parameter carried by the touch event can include the touch coordinates corresponding to each touch time. Then, the electronic device can determine whether the touch parameter meets the touch response sub-condition through the following process:

[0046] A1, determine the touch movement distance within a specified time according to the touch coordinates corresponding to each touch time.

[0047] The electronic device can calculate the touch movement distance within the specified time according to the touch coordinates corresponding to each touch time after the vibration module is started. The specified time can be set according to the vibration frequency and vibration amplitude of the vibration module. It can be understood that the greater the vibration amplitude and the higher the vibration frequency, the faster the dropping speed of the water droplet, and the specified time can be set to a smaller value accordingly. Conversely, the smaller the vibration amplitude and the lower the vibration frequency, the slower the dropping speed of the water droplet, and the specified time can be set to a smaller value accordingly. Of course, the specified time can also be set to a certain value, for example, 300 milliseconds or 500 milliseconds, etc. In the present embodiment, the setting method of the specified time is not limited.

[0048] A2, compare the touch movement distance with a preset distance threshold.

[0049] The electronic device is pre-provided with a distance threshold. In consideration of differences in vibration frequency, vibration amplitude and specified time, the electronic device can set multiple distance thresholds, each of which corresponds to a set of vibration frequency, vibration amplitude and specified time. In the application process of the electronic device, it can determine a distance threshold that is suitable for the working condition of the electronic device from the multiple distance thresholds according to the vibration frequency and vibration amplitude adopted by the current vibration module and the specified time adopted by the current electronic device. Of course, the distance threshold can also be set to a certain value. In this embodiment, the setting manner of the distance threshold is not limited.

[0050] A3, in the case that the touch moving distance is less than the distance threshold, it is determined that the touch parameter of the touch event meets the touch response sub-condition.

[0051] As can be known from the foregoing description, when the touch moving distance is less than the distance threshold, it indicates that the change of the current touch position is not drastic; that is, the response of the current touch to the vibration is weak. In this case, it can be determined that the touch parameter of the current touch event meets the touch response sub-condition; that is, from the dimension of touch response, the touch event has a certain possibility of being a real touch event.

[0052] On the contrary, when the touch moving distance is greater than or equal to the distance threshold, it indicates that the change of the current touch position is relatively drastic; that is, the response of the current touch to the vibration is strong. In this case, it can be determined that the touch parameter of the current touch event does not meet the touch response sub-condition; that is, from the dimension of touch response, the touch event has a low possibility of being a real touch event.

[0053] In the second application scenario, in order to distinguish the touch events in the dimension of touch direction, the touch condition set by the electronic device can include a touch direction sub-condition; correspondingly, the touch parameter carried by the touch event can include the touch coordinates corresponding to each touch moment. Then, the electronic device can determine whether the touch parameter meets the touch response sub-condition through the following process:

[0054] B1, determining the touch moving direction according to the touch coordinates corresponding to each touch moment.

[0055] According to the touch coordinates corresponding to each touch moment, the electronic device can basically describe the touch trajectory corresponding to the current touch event. Then, the electronic device can fit the touch trajectory. If the fitting result is a straight line, the touch moving direction can be determined according to the straight line and the touch moment corresponding to each point on the straight line.

[0056] It can be understood that the water droplet drops approximately in a straight line, and thus if the touch track cannot be fitted as a straight line, it can be directly determined that the touch parameter of the touch event satisfies the touch direction sub-condition; that is, when the touch track cannot be fitted as a straight line, the touch event has a certain possibility of being a real touch event.

[0057] B2, match the touch movement direction with the preset direction.

[0058] When the electronic device is ideally vertically installed, taking the rectangular capacitive touch screen as an example, the upper and lower boundaries of the capacitive touch screen are parallel to the ground, and the left and right boundaries are perpendicular to the ground. In this case, the preset direction is the gravity direction; that is, the preset direction is the direction from the left top vertex of the capacitive touch screen to the left bottom vertex.

[0059] However, in actual application scenarios, the electronic device may not be ideally vertically installed. Based on this, the electronic device can carry a posture sensor inside, and determine the gravity direction according to the posture sensor. On this basis, the electronic device can determine the direction with the smallest angle with the gravity direction as the preset direction in the plane where the capacitive touch screen is located.

[0060] After the touch movement direction and the preset direction are known, the electronic device can judge whether they match through the following process: calculate the angle between the touch movement direction and the preset direction; if the angle is less than a preset angle threshold, it is considered that the difference between the touch movement direction and the preset direction is small, and they match; otherwise, if the angle is greater than or equal to the angle threshold, it is considered that the difference between the touch movement direction and the preset direction is too large, and they do not match.

[0061] B3, in the case that the touch movement direction and the preset direction do not match, determine that the touch parameter of the touch event satisfies the touch direction sub-condition.

[0062] As described in the foregoing, when the touch movement direction and the preset direction do not match, it indicates that the change of the touch position this time has no correlation with gravity. In this case, it can be determined that the touch parameter of the touch event this time satisfies the touch response sub-condition; that is, from the dimension of touch direction, the touch event has a certain possibility of being a real touch event.

[0063] On the contrary, when the touch movement direction and the preset direction match, it indicates that the change of the touch position this time may have a correlation with gravity. In this case, it can be determined that the touch parameter of the touch event this time does not satisfy the touch response sub-condition; that is, from the dimension of touch direction, the touch event has a low possibility of being a real touch event.

[0064] In the third application scenario, in order to distinguish the touch event in the dimension of touch duration, the touch condition set by the electronic device can include: a touch duration sub-condition; accordingly, in the case where the touch event has ended, the touch parameter carried by the touch event can include: touch duration; in the case where the touch event has not ended, the touch parameter carried by the touch event can include: touch start time; the electronic device can calculate the touch duration by the touch start time and the current time. Then, the electronic device can determine whether the touch parameter meets the touch response sub-condition by the following process:

[0065] C1, compare the touch duration with a preset duration threshold.

[0066] The electronic device is previously provided with a duration threshold. Considering the difference between the vibration frequency and the vibration amplitude, the electronic device can set multiple duration thresholds, each of which corresponds to a set of vibration frequency and vibration amplitude. Then, in the application process of the electronic device, it can determine the duration threshold corresponding to the working condition of the current electronic device according to the vibration frequency and the vibration amplitude adopted by the current vibration module. Of course, the duration threshold can also be set to a certain value. In this embodiment, the setting method of the duration threshold is not limited.

[0067] C2, in the case where the touch duration is shorter than the preset duration threshold, it is determined that the touch parameter of the touch event meets the touch duration sub-condition.

[0068] As described above, when the touch duration is less than the preset duration threshold, it indicates that the touch event corresponds to a short-time touch operation. In this case, it can be determined that the touch parameter of the touch event meets the touch response sub-condition; that is, from the dimension of touch duration, the touch event has a certain possibility of being a real touch event.

[0069] On the contrary, when the touch duration is greater than or equal to the preset duration threshold, it indicates that the touch event corresponds to a long-time touch operation. In this case, it can be determined that the touch parameter of the touch event does not meet the touch response sub-condition; that is, from the dimension of touch duration, the touch event is less likely to be a real touch event.

[0070] In the fourth application scenario, for some extreme cases, there is a possibility that the touch performance of a finger on the capacitive touch screen is similar to the dropping performance of a water droplet, which can cause the electronic device to incorrectly identify a real touch event as a false touch event. To reduce the possibility of such misidentification, the structure of the electronic device can be further optimized, and the optimized electronic device can further integrate a pressure sensor for detecting the pressure received by each position on the capacitive touch screen. Accordingly, the touch condition set by the electronic device can include a touch pressure sub-condition, and the touch parameter can include the touch coordinates corresponding to each touch moment. Then, the electronic device can determine whether the touch parameter satisfies the touch response sub-condition through the following process:

[0071] D1, obtaining, by the pressure sensor, the pressure coordinates corresponding to each touch moment.

[0072] The electronic device can start the pressure sensor only when a touch event is detected, or the pressure sensor can be started along with the start of the electronic device, which is not limited here. During the process from the start to the end of the touch event, the electronic device can obtain the pressure coordinates corresponding to each touch moment, where the pressure coordinates refer to the coordinates of the positions in the capacitive touch screen that receive a pressure greater than a preset pressure threshold.

[0073] It should be noted that if the capacitive touch screen does not receive any position with a pressure greater than the preset pressure threshold at a certain touch moment, the pressure coordinates corresponding to the touch moment are empty.

[0074] D2, matching the pressure coordinates with the touch coordinates.

[0075] For each touch moment, the electronic device can calculate the coordinate distance between the pressure coordinates and the touch coordinates corresponding to the touch moment. If the coordinate distance is less than a preset coordinate distance threshold, it is considered that the pressure coordinates and the touch coordinates corresponding to the touch moment are matched. After traversing all touch moments, the ratio of the number of touch moments with matched pressure coordinates and touch coordinates to the total number of touch moments can be calculated. If the ratio is greater than or equal to a preset ratio threshold, it is determined that the pressure coordinates and the touch coordinates are matched as a whole. It should be noted that if the pressure coordinates corresponding to a certain touch moment are empty, it can be directly determined that the pressure coordinates and the touch coordinates corresponding to the touch moment are not matched.

[0076] Alternatively, the electronic device can also depict a touch track according to the touch coordinates corresponding to each touch moment, and depict a pressure track according to the pressure coordinates corresponding to each touch moment; then, the electronic device can calculate the similarity between the touch track and the pressure track; if the similarity is greater than a preset similarity threshold, it is also determined that the pressure coordinates and the touch coordinates are matched as a whole.

[0077] D3、in the case of matching the pressure coordinates and the touch coordinates, determining that the touch parameter of the touch event satisfies the touch pressure sub-condition.

[0078] It can be understood that when the finger performs a touch operation on the capacitive touch screen, the finger inevitably exerts a certain pressure on the capacitive touch screen, and the pressure is usually greater than a preset pressure threshold; and when the water droplet is attached to the surface of the capacitive touch screen, limited by the mass of the water droplet and the installation direction of the electronic device, the pressure exerted by the water droplet on the capacitive touch screen is almost negligible.

[0079] Based on this, in the case of matching the pressure coordinates and the touch coordinates as a whole, it is indicated that the touch operation corresponding to the touch event is accompanied by a pressing action. In this case, it can be determined that the touch parameter of the touch event satisfies the touch pressure sub-condition; that is, from the dimension of touch pressure, the touch event has a certain possibility of being a real touch event.

[0080] Conversely, in the case of not matching the pressure coordinates and the touch coordinates as a whole, it is indicated that the touch operation corresponding to the touch event is not accompanied by a pressing action. In this case, it can be determined that the touch parameter of the touch event does not satisfy the touch pressure sub-condition; that is, from the dimension of touch pressure, the touch event is not likely to be a real touch event.

[0081] It can be understood that the above four application scenarios are not mutually exclusive. That is, in the case that the electronic device does not carry a pressure sensor, the set touch condition can include at least one of the touch response sub-condition, the touch direction sub-condition and the touch duration sub-condition; in the case that the electronic device has carried a pressure sensor, the set touch condition can include at least one of the touch response sub-condition, the touch direction sub-condition, the touch duration sub-condition and the touch pressure sub-condition.

[0082] It should be noted that considering the possibility of similarity between part of the touch parameters of the real touch event and the false touch event in extreme cases, when the touch condition includes two or more sub-conditions, the touch parameter only needs to satisfy any one of the two or more sub-conditions, and it can be considered that the touch parameter satisfies the touch condition.

[0083] For example, in a case where the touch condition includes a touch response sub-condition, a touch direction sub-condition, a touch duration sub-condition, and a touch pressure sub-condition, even if the touch parameter does not satisfy the touch response sub-condition, the touch direction sub-condition, and the touch duration sub-condition, and only satisfies the touch pressure sub-condition, it can be considered that the touch parameter satisfies the touch condition, that is, the corresponding touch event is a real touch event. The electronic device can thus execute a subsequent operation to determine the touch instruction corresponding to the touch event.

[0084] In some embodiments, the detection accuracy of the capacitive touch screen can be disturbed by humidity. Based on this, the electronic device can also be integrated with a humidity sensor. Through the humidity sensor, the electronic device can determine the screen humidity of the capacitive touch screen. Once the screen humidity is greater than a preset humidity threshold, it can be considered that the working environment of the electronic device is relatively humid. In order to enable the electronic device to respond to the touch operation of the user in time in a humid working environment, and avoid affecting the interaction between the user and the electronic device due to the detection accuracy of the touch position, the electronic device can display the interactive icon in the current display page of the capacitive touch screen in an enlarged manner, and the embodiment does not limit the magnification. For example, the magnification can be the default maximum magnification of the interactive icon.

[0085] In some embodiments, considering that the user can truly interact with the electronic device through the interactive icon only when the user performs a touch operation on the capacitive touch screen, in order to save system resources of the electronic device and effectively improve the accuracy of the touch operation, the electronic device can display the interactive icon in the current display page in an enlarged manner only in a case where the capacitive touch screen feeds back that a touch event currently exists, the touch parameter of the touch event satisfies a preset touch condition, and the screen humidity determined by the humidity sensor is greater than a preset humidity threshold.

[0086] It can be understood that for any interactive icon, after the electronic device displays the interactive icon in an enlarged manner, the interactive region corresponding to the interactive icon also becomes larger. Based on this, when the user performs a touch operation on a certain interactive icon, even if the touch position recognized by the electronic device is relatively deviated from the real touch position due to the humid working environment, the recognized touch position is usually still within the interactive region corresponding to the interactive icon, which can enable the electronic device to still obtain an accurate touch instruction.

[0087] In some embodiments, in the case that a plurality of interactive icons are displayed on a display page, the display area of the display page is limited, and the plurality of interactive icons can not be displayed simultaneously in an enlarged manner. In this case, the electronic device can pre-set the priority of each interactive icon, and when it is necessary to display the interactive icons in an enlarged manner, the corresponding interactive icons are displayed in an enlarged manner according to the order from high to low of the priority until the display page is full. The user can turn the page of the display page by sliding the capacitive touch screen to view other interactive icons that fail to be displayed on the first page. Of course, these other interactive icons are still displayed in an enlarged manner, which will not be described here again.

[0088] The priority can be in a positive proportional relationship with the operation frequency of the user, and the setting process can be specifically as follows: analyzing the operation frequency of the user on each interactive icon in a preset historical time period (for example, the past month), and setting the priority of each interactive icon according to the operation frequency.

[0089] Alternatively, the priority can also be set according to the type of the interactive icon. For example, when the electronic device is a tooth brushing auxiliary device, the electronic device can set the priority of the interactive icon related to the auxiliary function to be higher, and the priority of the interactive icon unrelated to the auxiliary function to be lower.

[0090] In some embodiments, in the case that the electronic device is provided with a humidity sensor, the electronic device can also set the working parameters of the vibration module according to the screen humidity determined by the humidity sensor, and the working parameters include the vibration frequency and / or the vibration amplitude. It can be understood that, for the vibration module, the working parameter setting principle followed by the electronic device is that the greater the screen humidity, the higher the vibration frequency and / or the greater the vibration amplitude of the vibration module are set; the smaller the screen humidity, the lower the vibration frequency and / or the smaller the vibration amplitude of the vibration module are set.

[0091] For example only, the electronic device can set a plurality of non-overlapping screen humidity intervals, and set the working parameters of the vibration module for each screen humidity interval according to the working parameter setting principle proposed above. In this way, the electronic device can set the vibration module according to the target working parameters after determining the screen humidity, and the target working parameters are the working parameters of the vibration module corresponding to the screen humidity interval matching the screen humidity.

[0092] It can be seen from the above that the embodiment of the application optimizes the structure of the electronic device integrated with the capacitive touch screen, and newly integrates the vibration module in the electronic device. Once the capacitive touch screen feeds back that there is currently a touch event, the electronic device can start the vibration module, so that the capacitive touch screen can vibrate under the action of the vibration module. Since the angle between the capacitive touch screen and the ground exceeds the preset angle threshold when the electronic device is in the working state, if there is a water droplet on the capacitive touch screen, the water droplet will also quickly drip due to gravity and the vibration of the capacitive touch screen, thereby realizing the removal of the water droplet and reducing the occurrence of false clicks.

[0093] It should be understood that the size of the serial number of each step in the embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application.

[0094] Corresponding to the control method provided in the foregoing, the embodiment of the application also provides a control device integrated in an electronic device. The electronic device has been described in the foregoing, and will not be described here.

[0095] Please refer to Figure 4 The control device 4 in the embodiment of the application includes:

[0096] The starting unit 401 is configured to start the vibration module when the capacitive touch screen feeds back that there is currently a touch event, and the vibration module is configured to vibrate the capacitive touch screen.

[0097] In some embodiments, the control device 4 further includes:

[0098] The first determination unit is configured to determine whether the touch parameter of the touch event meets a preset touch condition.

[0099] The second determination unit is configured to determine a touch instruction corresponding to the touch event in the case where the touch parameter meets the touch condition.

[0100] In some embodiments, the touch condition includes a touch response sub-condition, and the touch parameter includes touch coordinates corresponding to each touch time. The first determination unit includes:

[0101] The first determination sub-unit is configured to determine a touch movement distance within a specified time according to the touch coordinates corresponding to each touch time.

[0102] The first comparison sub-unit is configured to compare the touch movement distance with a preset distance threshold.

[0103] The second determination sub-unit is configured to determine that the touch parameter of the touch event meets the touch response sub-condition in the case where the touch movement distance is less than the distance threshold.

[0104] In some embodiments, the touch condition comprises a touch direction sub-condition, the touch parameter comprises touch coordinates corresponding to each touch moment, and the first determining unit comprises:

[0105] A third determining sub-unit is configured to determine a touch movement direction according to the touch coordinates corresponding to each touch moment.

[0106] A first matching sub-unit is configured to match the touch movement direction with a preset direction, the preset direction being determined according to a gravity direction.

[0107] A fourth determining sub-unit is configured to determine that the touch parameter of the touch event satisfies the touch direction sub-condition in a case where the touch movement direction does not match the preset direction.

[0108] In some embodiments, the touch condition comprises a touch duration sub-condition, the touch parameter comprises a touch duration, and the first determining unit comprises:

[0109] A second comparing sub-unit is configured to compare the touch duration with a preset duration threshold.

[0110] A fifth determining sub-unit is configured to determine that the touch parameter of the touch event satisfies the touch duration sub-condition in a case where the touch duration is shorter than the preset duration threshold.

[0111] In some embodiments, the electronic device is further integrated with a pressure sensor, the touch condition comprises a touch pressure sub-condition, the touch parameter comprises touch coordinates corresponding to each touch moment, and the first determining unit comprises:

[0112] An obtaining sub-unit is configured to obtain, by the pressure sensor, pressure coordinates corresponding to each touch moment, the pressure coordinates being coordinates of positions in the capacitive touch screen that are subjected to pressure greater than a preset pressure threshold.

[0113] A second matching sub-unit is configured to match the pressure coordinates with the touch coordinates.

[0114] A sixth determining sub-unit is configured to determine that the touch parameter of the touch event satisfies the touch pressure sub-condition in a case where the pressure coordinates match the touch coordinates.

[0115] In some embodiments, the electronic device is further integrated with a humidity sensor, and the control device 4 further comprises:

[0116] A third determining unit is configured to determine, by the humidity sensor, a screen humidity of the capacitive touch screen.

[0117] An enlarged display unit is configured to enlarge and display an interactive icon in a current display page when the screen humidity is greater than a preset humidity threshold.

[0118] As can be seen from the above, the embodiment of the present application optimizes the structure of an electronic device that has been integrated with a capacitive touch screen, and a vibration module is newly integrated in the electronic device. Once the capacitive touch screen feedback indicates that a touch event is currently occurring, the electronic device can activate the vibration module, so that the capacitive touch screen can vibrate under the action of the vibration module. Since the angle between the capacitive touch screen and the ground exceeds a preset angle threshold when the electronic device is in working state, if there are water droplets on the capacitive touch screen, the water droplets will also drip quickly due to gravity and the vibration of the capacitive touch screen, thereby achieving the removal of the water droplets and reducing the occurrence of false clicks.

[0119] Corresponding to the control method provided above, the embodiment of the present application further provides an electronic device. Figure 5 The electronic device 5 in the embodiment of the present application includes: a memory 501, one or more processors 502 ( Figure 5 Only one is shown), capacitive touch screen 503, vibration module 504, and a computer program stored in memory 501 and executable on the processor. When the electronic device is in operation, the angle between the capacitive touch screen and the ground exceeds a preset angle threshold; and memory 501 is used to store software programs and modules. Processor 502 executes the software programs and modules stored in memory 501 to perform various functional applications and data processing to obtain resources corresponding to preset events. Specifically, processor 502 implements the following steps when executing the computer program stored in memory 501:

[0120] When the capacitive touch screen 503 feedbacks that a touch event currently occurs, the vibration module 504 is activated, and the vibration module 504 is used to vibrate the capacitive touch screen 503 .

[0121] Assuming the first possible implementation, in a second possible implementation provided based on the first possible implementation, after starting the vibration module 504, the processor 502 further implements the following steps by running the computer program stored in the memory 501:

[0122] Determining whether the touch parameters of the touch event meet the preset touch conditions;

[0123] When the touch parameters meet the touch conditions, a touch instruction corresponding to the touch event is determined.

[0124] In a third possible implementation provided as a basis for the second possible implementation, the touch condition includes: a touch response sub-condition; the touch parameters include: touch coordinates corresponding to each touch moment; and determining whether the touch parameters of the touch event meet the preset touch conditions includes:

[0125] Determine the touch movement distance within a specified time based on the touch coordinates corresponding to each touch moment;

[0126] Compare the touch movement distance with a preset distance threshold;

[0127] When the touch movement distance is less than the distance threshold, it is determined that the touch parameters of the touch event meet the touch response sub-condition.

[0128] In a fourth possible implementation provided as a basis for the second possible implementation, the touch condition includes: a touch direction sub-condition; the touch parameters include: touch coordinates corresponding to each touch moment; and determining whether the touch parameters of the touch event meet the preset touch conditions includes:

[0129] Determine the touch movement direction based on the touch coordinates corresponding to each touch moment;

[0130] Matching the touch movement direction with a preset direction, which is determined by the direction of gravity;

[0131] In the case that the touch movement direction does not match the preset direction, it is determined that the touch parameters of the touch event meet the touch direction sub-condition.

[0132] In a fifth possible implementation provided based on the second possible implementation, the touch condition includes: a touch duration sub-condition; the touch parameters include: touch duration; and determining whether the touch parameters of the touch event meet the preset touch conditions includes:

[0133] Compare the touch duration with a preset duration threshold;

[0134] When the touch duration is shorter than the preset duration threshold, it is determined that the touch parameters of the touch event meet the touch duration sub-condition.

[0135] In a sixth possible implementation provided as a basis for the second possible implementation, the electronic device further integrates a pressure sensor; the touch condition includes: a touch pressure sub-condition; the touch parameters include: touch coordinates corresponding to each touch moment; and determining whether the touch parameters of the touch event meet the preset touch conditions includes:

[0136] The pressure coordinates corresponding to each touch moment are obtained through the pressure sensor. The pressure coordinates are the coordinates of the position on the capacitive touch screen 503 where the pressure is greater than a preset pressure threshold.

[0137] Match pressure coordinates with touch coordinates;

[0138] When the pressure coordinates match the touch coordinates, it is determined that the touch parameters of the touch event meet the touch pressure sub-condition.

[0139] In a seventh possible implementation provided on the basis of the first possible implementation, or the second possible implementation, or the third possible implementation, or the fourth possible implementation, or the fifth possible implementation, or the sixth possible implementation, the electronic device is further integrated with a humidity sensor; the processor 502 further implements the following steps by running the computer program stored in the memory 501:

[0140] The screen humidity of the capacitive touch screen 503 is determined through the humidity sensor.

[0141] When the screen humidity is greater than a preset humidity threshold, the interactive icons in the current display page are enlarged and displayed.

[0142] It should be understood that, in the embodiments of the present application, the processor 502 can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0143] The memory 501 can include read-only memory and random access memory, and provide instructions and data for the processor 502. Part or all of the memory 501 can also include non-volatile random access memory. For example, the memory 501 can also store device type information.

[0144] As can be seen from the above, the embodiments of the present application optimize the structure of the electronic device integrated with the capacitive touch screen, and newly integrate the vibration module in the electronic device. Once the capacitive touch screen feeds back that there is a touch event, the electronic device can start the vibration module, so that the capacitive touch screen can vibrate under the action of the vibration module. Since the angle between the capacitive touch screen and the ground exceeds the preset angle threshold when the electronic device is in the working state, if there is a water droplet on the capacitive touch screen, the water droplet will also quickly drip due to gravity and the vibration of the capacitive touch screen, thereby realizing the removal of the water droplet and reducing the occurrence of false clicks.

[0145] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of various functional units and modules is taken as an example, and in actual application, the functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit, and the integrated unit can be realized in the form of hardware or software. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0146] In the embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can refer to the related description of other embodiments.

[0147] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of software and electronic hardware. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0148] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed mutually can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0149] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0150] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing associated hardware. The above-mentioned computer program can be stored in a computer readable storage medium, and when executed by a processor, can implement the steps of each method embodiment. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms. The computer readable storage medium can include any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer readable memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content included in the above-mentioned computer readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable storage medium does not include electrical carrier signals and telecommunication signals.

[0151] The above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A control method characterized by, The control method is applied to an electronic device integrated with a capacitive touch screen and a vibration module; in a working state of the electronic device, an angle between the capacitive touch screen and the ground exceeds a preset angle threshold; the control method comprises: starting the vibration module when the capacitive touch screen feeds back a current touch event, the vibration module being used to vibrate the capacitive touch screen; determining whether a touch parameter of the touch event meets a preset touch condition, the touch condition comprising at least one of a touch response sub-condition, a touch direction sub-condition, a touch duration sub-condition and a touch pressure sub-condition; determining a touch instruction corresponding to the touch event when the touch parameter meets the touch condition; in a case where the touch condition comprises the touch response sub-condition, the touch parameter comprises touch coordinates corresponding to each touch time; the determination of whether the touch parameter of the touch event meets the preset touch condition comprises: determining a touch moving distance within a specified time according to the touch coordinates corresponding to each touch time; comparing the touch moving distance with a preset distance threshold; determining that the touch parameter of the touch event meets the touch response sub-condition when the touch moving distance is less than the distance threshold.

2. The control method according to claim 1, characterized by, in a case where the touch condition comprises the touch direction sub-condition, the touch parameter comprises touch coordinates corresponding to each touch time; the determination of whether the touch parameter of the touch event meets the preset touch condition comprises: determining a touch moving direction according to the touch coordinates corresponding to each touch time; matching the touch moving direction with a preset direction, the preset direction being determined according to a gravity direction; determining that the touch parameter of the touch event meets the touch direction sub-condition when the touch moving direction does not match the preset direction.

3. The control method according to claim 1, characterized by, in a case where the touch condition comprises the touch duration sub-condition, the touch parameter comprises a touch duration; the determination of whether the touch parameter of the touch event meets the preset touch condition comprises: comparing the touch duration with a preset duration threshold; determining that the touch parameter of the touch event meets the touch duration sub-condition when the touch duration is shorter than the preset duration threshold.

4. The control method according to claim 1, characterized by, The electronic device is further integrated with a pressure sensor; in a case where the touch condition comprises the touch pressure sub-condition, the touch parameter comprises touch coordinates corresponding to each touch time; the determination of whether the touch parameter of the touch event meets the preset touch condition comprises: obtaining, by the pressure sensor, pressure coordinates corresponding to each touch time, the pressure coordinates being coordinates of positions in the capacitive touch screen that are subjected to a pressure greater than a preset pressure threshold; matching the pressure coordinates with the touch coordinates; determining that the touch parameter of the touch event meets the touch pressure sub-condition when the pressure coordinates match the touch coordinates.

5. The control method according to claim 1, characterized by, The electronic device is further integrated with a humidity sensor; the control method further comprises: The screen humidity of the capacitive touch screen is determined by the humidity sensor. When the screen humidity is greater than a preset humidity threshold, an interactive icon in a current display page is enlarged and displayed.

6. A control device characterized by comprising: The control device is applied to an electronic device integrated with a capacitive touch screen and a vibration module; in a working state of the electronic device, an angle between the capacitive touch screen and the ground exceeds a preset angle threshold; The control device comprises: A starting unit configured to start the vibration module when the capacitive touch screen feeds back a current touch event, the vibration module being configured to vibrate the capacitive touch screen; A first determining unit configured to determine whether a touch parameter of the touch event meets a preset touch condition, the touch condition comprising at least one of a touch response sub-condition, a touch direction sub-condition, a touch duration sub-condition and a touch pressure sub-condition; A second determining unit configured to determine a touch instruction corresponding to the touch event when the touch parameter meets the touch condition. When the touch condition comprises the touch response sub-condition, the touch parameter comprises touch coordinates corresponding to each touch time; the first determining unit comprises: A first determining sub-unit configured to determine a touch moving distance within a specified time according to the touch coordinates corresponding to each touch time; A first comparing sub-unit configured to compare the touch moving distance with a preset distance threshold; A second determining sub-unit configured to determine that the touch parameter of the touch event meets the touch response sub-condition when the touch moving distance is less than the distance threshold.

7. An electronic device, comprising a memory, a capacitive touch screen, a vibration module, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, the computer-readable storage medium comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 7. The computer program is executed by the processor to implement the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Control method for mobile terminal and mobile terminal

    CN107743169A

  • Electronic device and touch panel control method

    JP2018180745A