Screen touch method and device, equipment and storage medium

By refreshing and adjusting the refresh frequency of the screen reference data, the problem of abnormal screen sensing volume under the virtual distance sensing function is solved, and touch problems such as ghost points are eliminated, which improves the user experience.

CN120010683APending Publication Date: 2025-05-16BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311525391.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-15
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the scenario where the virtual distance sensing function is enabled, the screen sensing volume is prone to abnormalities, resulting in touch problems such as ghost points, affecting the user experience.

Method used

By refreshing the reference data of the screen and determining the difference between the reference data before and after this refresh, in response to the difference meeting the setting conditions, adjust the refresh frequency of the reference data to be updated, and eliminate abnormal screen sensing amount in a timely manner.

Benefits of technology

Dynamically adjust the refresh frequency of the reference data, effectively eliminate abnormal screen sensing, avoid touch problems such as ghost points, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010683A_ABST
    Figure CN120010683A_ABST
Patent Text Reader

Abstract

The invention relates to a screen touch control method and device, equipment and a storage medium, and the method comprises the steps: refreshing reference data of a screen, the reference data being data established based on sensing data of which the flatness of one frame of the screen meets a set requirement when a touch event does not occur on the screen, the reference data is used as a reference for detecting a touch event on the screen; determining the difference of the reference data before and after the current refreshing; and adjusting the reference data refresh frequency in response to the condition that the difference meets a set condition. The screen sensing amount abnormity can be eliminated in time by controlling the refresh frequency of the reference data, the touch problem that ghost points are generated on the screen is avoided, and then the use experience of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to a screen touch control method, device, equipment and storage medium. Background Art

[0002] With the development of the Internet of Everything technology, the functions of terminal devices such as mobile phones are becoming increasingly rich, integrating entertainment, social functions and other functions, and people's requirements for terminal devices are getting higher and higher. In order to meet people's needs for cost-effectiveness and energy saving of terminal devices, virtual distance sensing came into being. Among them, virtual distance sensing is a technology that combines the sensing amount of the touch panel with the sensing data of the acceleration sensor (G-sensor) to determine whether the terminal device is in a state of being close to the ear, and then controls the screen to light up or turn off. However, in some scenarios in the related technology (such as the scenario where the virtual distance sensing function is turned on), the screen sensing amount is prone to abnormality, which will cause touch problems such as ghost points on the screen, seriously affecting the user experience. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the embodiments of the present disclosure provide a screen touch method, device, equipment and storage medium to solve the defects in the related art.

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

[0005] Refreshing the reference data of the screen, the reference data being data established based on sensing data of a frame of the screen that the flatness meets the set requirements when no touch event occurs on the screen, and the reference data being used as a reference for detecting touch events on the screen;

[0006] Determine the difference between the benchmark data before and after the current refresh;

[0007] In response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.

[0008] In some embodiments, in response to the difference satisfying a set condition, adjusting the reference data refresh frequency includes:

[0009] In response to the difference being greater than a preset difference threshold, the reference data refresh frequency is increased.

[0010] In some embodiments, the method further comprises:

[0011] Refreshing the reference data of the screen based on the increased reference data refresh frequency;

[0012] After the reference data of the screen is refreshed based on the increased reference data refresh frequency, the operation of determining the difference between the reference data before and after the current refresh is performed again.

[0013] In some embodiments, the method further comprises:

[0014] In response to the difference being less than or equal to a preset difference threshold, the increased reference data refresh frequency is restored to an initially set frequency, wherein the initially set frequency includes an initially set value of the reference data refresh frequency.

[0015] In some embodiments, the method further comprises:

[0016] In response to detecting a touch operation on the screen, the operation of adjusting the refresh frequency of the reference data is performed.

[0017] In some embodiments, the method further comprises:

[0018] In response to the touch panel of the screen switching from a first state to a second state, the operation of refreshing the baseline data of the screen is performed, the first state includes a state of turning on a target function, the second state includes a state of turning off a target function, and the target function includes a function of controlling the screen to light up or turn off according to the sensing amount of the touch panel.

[0019] In some embodiments, in response to the difference satisfying a set condition, adjusting the reference data refresh frequency includes:

[0020] In response to the difference being less than or equal to a preset difference threshold, the reference data refresh frequency is restored to an initially set frequency, where the initially set frequency includes an initially set value of the reference data refresh frequency.

[0021] According to a second aspect of an embodiment of the present disclosure, a screen touch control device is provided, the device comprising:

[0022] A reference data refresh module, used to refresh the reference data of the screen, wherein the reference data is data established based on sensing data of a frame of the screen whose flatness meets a set requirement when no touch event occurs on the screen, and the reference data is used as a reference for detecting touch events on the screen;

[0023] A data difference determination module, used to determine the difference between the reference data before and after the current refresh;

[0024] The refresh frequency adjustment module is used to adjust the refresh frequency of the reference data in response to the difference satisfying a set condition.

[0025] In some embodiments, the refresh frequency adjustment module is further configured to increase the refresh frequency of the reference data in response to the difference being greater than a preset difference threshold.

[0026] In some embodiments, the reference data refresh module is further used to refresh the reference data of the screen based on the increased reference data refresh frequency;

[0027] The data difference determination module is further configured to, after refreshing the benchmark data of the screen based on the increased benchmark data refresh frequency, again perform the operation of determining the difference between the benchmark data before and after this refresh.

[0028] In some embodiments, the refresh frequency adjustment module is further used to restore the increased baseline data refresh frequency to an initial setting frequency in response to the difference being less than or equal to a preset difference threshold, wherein the initial setting frequency includes an initial setting value of the baseline data refresh frequency.

[0029] In some embodiments, the refresh frequency adjustment module is further configured to, in response to detecting a touch operation on the screen, execute the operation of adjusting the refresh frequency of the reference data.

[0030] In some embodiments, the baseline data refresh module is also used to execute the operation of refreshing the baseline data of the screen in response to the touch panel of the screen switching from a first state to a second state, wherein the first state includes a state of turning on a target function, and the second state includes a state of turning off a target function, and the target function includes a function of controlling the screen to light up or turn off according to the sensing amount of the touch panel.

[0031] In some embodiments, the refresh frequency adjustment module is further used to restore the reference data refresh frequency to an initial setting frequency in response to the difference being less than or equal to a preset difference threshold, wherein the initial setting frequency includes an initial setting value of the reference data refresh frequency.

[0032] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, the device comprising:

[0033] a processor and a memory for storing a computer program;

[0034] Wherein, the processor is configured to implement, when executing the computer program:

[0035] Refreshing the reference data of the screen, the reference data being data established based on sensing data of a frame of the screen that the flatness meets the set requirements when no touch event occurs on the screen, and the reference data being used as a reference for detecting touch events on the screen;

[0036] Determine the difference between the benchmark data before and after the current refresh;

[0037] In response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.

[0038] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the following is implemented:

[0039] Refreshing the reference data of the screen, the reference data being data established based on sensing data of a frame of the screen that the flatness meets the set requirements when no touch event occurs on the screen, and the reference data being used as a reference for detecting touch events on the screen;

[0040] Determine the difference between the benchmark data before and after the current refresh;

[0041] In response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.

[0042] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0043] The present disclosure refreshes the baseline data of the screen and determines the difference between the baseline data before and after the current refresh, and then adjusts the refresh frequency of the baseline data in response to the difference satisfying the set conditions. This can dynamically adjust the refresh frequency of the baseline data based on the difference between the baseline data before and after the current refresh, so as to timely eliminate screen sensing abnormalities by controlling the refresh frequency of the baseline data, thereby avoiding touch problems such as ghost spots on the screen, and thus improving the user experience.

[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 is a flow chart of a screen touch control method according to an exemplary embodiment of the present disclosure;

[0047] Figure 2 is a flow chart of a screen touch control method according to another exemplary embodiment of the present disclosure;

[0048] Figure 3A is a schematic diagram showing a finger touch position according to an exemplary embodiment of the present disclosure;

[0049] Figure 3Bis a schematic diagram showing a signal lift-off at a finger touch position according to an exemplary embodiment of the present disclosure;

[0050] Figure 3C is a schematic diagram showing a negative pit in signal quantity generated at a finger touch position according to an exemplary embodiment of the present disclosure;

[0051] Figure 3D is a flow chart of a screen touch control method according to another exemplary embodiment;

[0052] Figure 4 is a block diagram of a screen touch device according to an exemplary embodiment of the present disclosure;

[0053] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0055] Figure 1 is a flow chart of a screen touch method according to an exemplary embodiment; the method of this embodiment can be executed by a screen touch device, which can be configured in an electronic device, such as a server, a workstation, a personal computer, a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as glasses, a watch, etc.), etc. For example, Figure 1 As shown, the method includes the following steps S101-S103:

[0056] In step S101 , the reference data of the screen is refreshed.

[0057] In this embodiment, the above-mentioned baseline data can be data established based on sensing data of a frame of the screen that meets set requirements for flatness when no touch event occurs on the screen. The baseline data is used as a benchmark for detecting touch events on the screen.

[0058] For example, the electronic device may refresh the reference data of the screen based on the current reference data refresh frequency, or may also refresh the reference data of the screen when the touch panel of the screen switches states.

[0059] As an example, the current reference data refresh frequency may be an initial setting frequency, such as an initial setting value of the reference data refresh frequency. Alternatively, the current reference data refresh frequency may be an adjusted reference data refresh frequency (such as an increased reference data refresh frequency) obtained after the reference data was last refreshed. In other words, the electronic device may continue to refresh the reference data of the screen based on the increased reference data refresh frequency.

[0060] In other embodiments, the electronic device may also refresh the baseline data of the screen when the touch panel of the screen switches state. For this situation, please refer to the following Figure 2 The illustrated embodiment will not be described in detail here.

[0061] In step S102, the difference between the reference data before and after the current refresh is determined.

[0062] In this embodiment, after each refresh of the benchmark data of the screen, the difference between the benchmark data before and after the current refresh may be determined.

[0063] The method for determining the data difference may be based on business requirements and may select a data difference measurement algorithm in related technologies, such as mean absolute error MAE, mean square error MSE, etc., which is not limited in this embodiment.

[0064] In step S103, in response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.

[0065] In this embodiment, after determining the difference between the reference data before and after the current refresh, it is possible to detect whether the difference satisfies a set condition, and then the refresh frequency of the reference data can be adjusted in response to the difference satisfying the set condition.

[0066] In some embodiments, the setting conditions satisfied by the above differences can be set based on the requirements of the application scenario, such as being set to a threshold value that the difference needs to reach, etc., which is not limited in this embodiment. Alternatively, the setting conditions satisfied by the above differences can also refer to the following Figure 2 The illustrated embodiment will not be described in detail here.

[0067] In other embodiments, when the difference does not satisfy the set condition, the current refresh frequency of the reference data of the screen may be maintained unchanged.

[0068] From the above description, it can be seen that the method of this embodiment refreshes the baseline data of the screen and determines the difference between the baseline data before and after the current refresh, and then adjusts the refresh frequency of the baseline data in response to the difference satisfying the set conditions. It can dynamically adjust the refresh frequency of the baseline data based on the difference between the baseline data before and after the current refresh, so as to timely eliminate the abnormal screen sensing amount by controlling the refresh frequency of the baseline data, thereby avoiding touch problems such as ghost spots on the screen, thereby improving the user experience.

[0069] Figure 2 is a flow chart of a screen touch method according to another exemplary embodiment of the present disclosure; the method of this embodiment can be executed by a screen touch device, which can be configured in an electronic device, such as a server, a workstation, a personal computer, a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as glasses, a watch, etc.), etc. For example, Figure 2 As shown, the method includes the following steps S201-S206:

[0070] In step S201 , in response to the touch panel of the screen switching from a first state to a second state, the baseline data of the screen is refreshed.

[0071] In this embodiment, the above-mentioned benchmark data can be data established based on sensing data of a frame of the screen that meets set requirements for flatness when no touch event occurs on the screen. The benchmark data is used as a benchmark for detecting touch events on the screen.

[0072] For example, the electronic device can refresh the baseline data of the screen in response to the touch panel of the screen switching from the first state to the second state. The first state may include a state in which the target function is turned on, such as a proximity state (i.e., proximity state) in a virtual distance sensing function is turned on, and the second state may include a state in which the target function is turned off, such as a normal state (i.e., normal state) in a virtual distance sensing function is turned off. The target function may include a function of controlling the screen to light up or turn off according to the sensing amount of the touch panel, for example, judging whether the terminal device is in an ear-attached state according to the sensing amount, and then controlling the screen to turn off in the ear-attached state, and controlling the screen to light up in a non-ear-attached state.

[0073] In step S202, the difference between the reference data before and after the current refresh is determined.

[0074] In this embodiment, after each refresh of the benchmark data of the screen, the difference between the benchmark data before and after the current refresh may be determined.

[0075] The method for determining the data difference may be based on business requirements and may select a data difference measurement algorithm in related technologies, such as mean absolute error MAE, mean square error MSE, etc., which is not limited in this embodiment.

[0076] In step S203, it is determined whether the difference is greater than a preset difference threshold.

[0077] In this embodiment, after determining the difference between the benchmark data before and after this refresh, the difference can be compared with a preset difference threshold to determine whether the difference is greater than the preset difference threshold: if so, execute step S204; if not, execute step S205.

[0078] In step S204, the refresh frequency of the reference data is increased.

[0079] In this embodiment, when it is determined that the difference is greater than a preset difference threshold, the refresh frequency of the reference data can be increased, such as increasing the refresh frequency based on a set ratio. Exemplarily, assuming that the current refresh frequency of the reference data of the screen is frequency b, when it is detected that the difference is greater than the preset difference threshold, it can be considered that the difference meets the set condition, so that the current refresh frequency of the reference data of the screen can be adjusted from frequency b to 1.2b (that is, the set ratio is 120%).

[0080] It is worth noting that the root cause of the ghost point problem is that the signal quantity is raised (that is, the screen sensing quantity is abnormal). By controlling the refresh frequency of the benchmark data to timely eliminate the abnormal screen sensing quantity, it is possible to eliminate touch problems such as ghost points on the screen, and thus avoid problems such as disconnection. Among them, the causes of touch problems such as ghost points and disconnection can be referred to as follows FIG. 3A to FIG. 3C The illustrated embodiment will not be described in detail here.

[0081] In step S205, the increased reference data refresh frequency is restored to the initial setting frequency.

[0082] In this embodiment, when it is determined that the difference is less than or equal to the preset difference threshold, the increased reference data refresh frequency can be restored to the initial setting frequency. For example, assuming that the current reference data refresh frequency of the screen is frequency 1.2b (where b can be the initial setting frequency), when it is detected that the difference is less than or equal to the preset difference threshold, it can also be regarded that the difference meets the setting condition, so that the current reference data refresh frequency of the screen can be restored from frequency 1.2b to the initial setting frequency b.

[0083] It is worth noting that when it is determined that the difference is less than or equal to the preset difference threshold, it indicates that there are no residual contacts or contacts that need to be processed at this time, so the increased baseline data refresh frequency can be restored to the initial set frequency to avoid the problem of increased power consumption of electronic devices due to the high baseline data refresh frequency.

[0084] In step S206, the reference data of the screen is refreshed based on the increased reference data refresh frequency.

[0085] In this embodiment, after the step S204 is executed to increase the refresh frequency of the benchmark data, the benchmark data of the screen can be refreshed based on the increased refresh frequency of the benchmark data, and then after the benchmark data of the screen is refreshed based on the increased refresh frequency of the benchmark data, the operation of determining the difference between the benchmark data before and after this refresh (i.e., step S202) can be performed again, and then step S204 or S205 is executed according to the judgment result of S203, and the cycle is continued.

[0086] As can be seen from the above description, the method of this embodiment refreshes the baseline data of the screen in response to the touch panel of the screen switching from the first state to the second state, and determines the difference between the baseline data before and after the current refresh, and then determines whether the difference is greater than the preset difference threshold, so as to increase the refresh frequency of the baseline data when the difference is greater than the preset difference threshold, and restore the increased baseline data refresh frequency to the initial setting frequency when the difference is less than or equal to the preset difference threshold, and refresh the baseline data of the screen based on the increased baseline data refresh frequency, so as to achieve timely elimination of screen sensing quantity abnormalities by controlling the refresh frequency of the baseline data, thereby avoiding touch problems such as ghost points that are easily generated during the process of the touch panel of the screen switching from the first state to the second state, and by restoring the initial setting frequency after eliminating touch problems such as ghost points on the screen, it is possible to avoid an increase in power consumption of the electronic device, improve the battery life of the electronic device, and further improve the user experience.

[0087] The following is a description of the causes of touch problems such as ghost points and disconnected touch in electronic devices with reference to the exemplary figures. Figure 3A is a schematic diagram showing a finger touch position according to an exemplary embodiment of the present disclosure; Figure 3B is a schematic diagram showing a signal lift-off at a finger touch position according to an exemplary embodiment of the present disclosure; Figure 3C It is a schematic diagram showing a negative pit in signal quantity generated at a finger touch position according to an exemplary embodiment of the present disclosure.

[0088] In scenarios where users are using mobile phones or other electronic devices to make calls, when the user puts the call on the background (i.e., the user switches the call interface to the interface of other applications) and touches the screen with a finger, ghost dots will appear on the screen. The reason for this is that after the call is put on the background, the working mode of the touch panel will switch from a first state (e.g., the proximity state with the virtual distance sensing function turned on) to a second state (e.g., the normal state with the virtual distance sensing function turned off). In the proximity state, the phone screen is black, and the screen's baseline data will not be refreshed at this time. After switching to the normal state, the baseline data will not be re-established until all the residual contact points are released. During this period of time (i.e., the time period of waiting for all the residual points to be released), if a finger is touching the touch panel of the screen (the touch point is such as Figure 3A The data generated by the current touch will be reported together with the residual contact data that has not been released in the proximity state, and a ghost point will be formed on the screen area where the unreleased data is located (the position where the signal is raised is shown in Figure 3B Furthermore, if the touch panel frequently switches between the proximity state and the normal state, the ghost point problem will be further aggravated.

[0089] In the related art, by forcibly refreshing the screen's reference data, the problem of ghost dots on the screen can be solved when there is no finger touch. However, if the screen reference data is forcibly refreshed when there is a finger touch, a negative pit (such as Figure 3C As shown in the figure, when a finger passes over the negative pit, the induction amount generated by the finger touch will offset the negative pit, causing the remaining induction amount to fail to reach the reporting threshold, thereby forming a broken touch.

[0090] In view of this, Figure 3D is a flow chart of a screen touch method according to another exemplary embodiment; the method of this embodiment can be executed by a screen touch device, which can be configured in an electronic device, such as a server, a workstation, a personal computer, a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as glasses, a watch, etc.), etc. For example, Figure 3D As shown, the method includes the following steps S301-S303:

[0091] In step S301, the reference data of the screen is refreshed.

[0092] The reference data is data established based on sensing data of a frame of the screen whose flatness meets set requirements when no touch event occurs on the screen, and the reference data is used as a reference for detecting touch events on the screen.

[0093] In step S302, the difference between the reference data before and after the current refresh is determined.

[0094] The relevant explanations and descriptions of steps S301-S302 can be found in the above Figure 1 Steps S101 - S102 in the illustrated embodiment are not described in detail here.

[0095] In step S303, in response to the difference satisfying a set condition and a finger touch being detected on the touch panel, the reference data refresh frequency is adjusted.

[0096] In this embodiment, after determining the difference between the reference data before and after the current refresh, it is possible to detect whether the difference meets the set condition. Further, considering that finger touch is the main cause of abnormal screen sensing, in this embodiment, the refresh frequency can be adjusted when the difference meets the set condition and a finger touch is detected on the touch panel, thereby ensuring the rationality of adjusting the refresh frequency and avoiding the problem of increased power consumption of electronic equipment due to increasing the refresh frequency of the reference data.

[0097] From the above description, it can be seen that the method of this embodiment refreshes the baseline data of the screen and determines the difference between the baseline data before and after the current refresh, and then adjusts the refresh frequency of the baseline data in response to the difference satisfying the set conditions. It can dynamically adjust the refresh frequency of the baseline data based on the difference between the baseline data before and after the current refresh, so as to timely eliminate the abnormal screen sensing amount by controlling the refresh frequency of the baseline data, thereby avoiding touch problems such as ghost spots on the screen, thereby improving the user experience.

[0098] Figure 4 is a block diagram of a screen touch device according to an exemplary embodiment of the present disclosure; the device of this embodiment can be configured in an electronic device with a touch screen, such as a smart phone, a tablet computer, smart glasses, a smart watch, etc. For example, Figure 4 As shown, the device may include:

[0099] A reference data refreshing module 110, used to refresh the reference data of the screen, wherein the reference data is data established based on sensing data of a frame of the screen whose flatness meets a set requirement when no touch event occurs on the screen, and the reference data is used as a reference for detecting a touch event on the screen;

[0100] A data difference determination module 120, used to determine the difference between the reference data before and after the current refresh;

[0101] The refresh frequency adjustment module 130 is configured to adjust the refresh frequency of the reference data in response to the difference satisfying a set condition.

[0102] In some embodiments, the refresh frequency adjustment module 130 may also be configured to increase the refresh frequency of the reference data in response to the difference being greater than a preset difference threshold.

[0103] In some embodiments, the reference data refresh module 110 may also be used to refresh the reference data of the screen based on the increased reference data refresh frequency;

[0104] The data difference determining module 120 may also be configured to, after refreshing the benchmark data of the screen based on the increased benchmark data refresh frequency, again perform the operation of determining the difference between the benchmark data before and after the current refresh.

[0105] In some embodiments, the refresh frequency adjustment module 130 can also be used to restore the increased baseline data refresh frequency to an initial setting frequency in response to the difference being less than or equal to a preset difference threshold, wherein the initial setting frequency includes an initial setting value of the baseline data refresh frequency.

[0106] In some embodiments, the refresh frequency adjustment module 130 may also be configured to, in response to detecting a touch operation on the screen, perform the operation of adjusting the refresh frequency of the reference data.

[0107] In some embodiments, the baseline data refresh module 110 can also be used to perform the operation of refreshing the baseline data of the screen in response to the touch panel of the screen switching from a first state to a second state, wherein the first state includes a state of turning on a target function, and the second state includes a state of turning off a target function, wherein the target function includes a function of controlling the screen to light up or turn off according to the sensing amount of the touch panel.

[0108] In some embodiments, the refresh frequency adjustment module 130 may also be configured to restore the reference data refresh frequency to an initial setting frequency in response to the difference being less than or equal to a preset difference threshold, wherein the initial setting frequency includes an initial setting value of the reference data refresh frequency.

[0109] From the above description, it can be seen that the device of this embodiment refreshes the baseline data of the screen and determines the difference between the baseline data before and after the current refresh, and then adjusts the refresh frequency of the baseline data in response to the difference satisfying the set conditions. It can dynamically adjust the refresh frequency of the baseline data based on the difference between the baseline data before and after the current refresh, so as to timely eliminate the abnormal screen sensing amount by controlling the refresh frequency of the baseline data, thereby avoiding touch problems such as ghost spots on the screen, thereby improving the user experience.

[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0111] Figure 5 900 is a block diagram of an electronic device according to an exemplary embodiment. For example, the device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0112] Reference Figure 5 , device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .

[0113] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned screen touch method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.

[0114] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 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 memory, flash memory, magnetic disk or optical disk.

[0115] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.

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

[0117] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.

[0118] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0119] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display panel and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 can also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0120] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G or 5G or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0121] In an exemplary embodiment, the device 900 can 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 above-mentioned screen touch method.

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

[0123] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0124] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A screen touch method, characterized in that: The method comprises: Refreshing the reference data of the screen, the reference data being data established based on sensing data of a frame of the screen that the flatness meets the set requirements when no touch event occurs on the screen, and the reference data being used as a reference for detecting touch events on the screen; Determine the difference between the benchmark data before and after the current refresh; In response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.

2. The method according to claim 1, characterized in that In response to the difference satisfying a set condition, adjusting the reference data refresh frequency includes: In response to the difference being greater than a preset difference threshold, the reference data refresh frequency is increased.

3. The method according to claim 2, characterized in that The method further comprises: Refreshing the reference data of the screen based on the increased reference data refresh frequency; After the reference data of the screen is refreshed based on the increased reference data refresh frequency, the operation of determining the difference between the reference data before and after the current refresh is performed again.

4. The method according to claim 3, characterized in that: The method further comprises: In response to the difference being less than or equal to a preset difference threshold, the increased reference data refresh frequency is restored to an initially set frequency, wherein the initially set frequency includes an initially set value of the reference data refresh frequency.

5. The method according to claim 1, characterized in that The method further comprises: In response to detecting a touch operation on the screen, the operation of adjusting the refresh frequency of the reference data is performed.

6. The method according to claim 1, characterized in that The method further comprises: In response to the touch panel of the screen switching from a first state to a second state, the operation of refreshing the baseline data of the screen is performed, the first state includes a state of turning on a target function, the second state includes a state of turning off a target function, and the target function includes a function of controlling the screen to light up or turn off according to the sensing amount of the touch panel.

7. The method according to claim 1, characterized in that In response to the difference satisfying a set condition, adjusting the reference data refresh frequency includes: In response to the difference being less than or equal to a preset difference threshold, the reference data refresh frequency is restored to an initially set frequency, where the initially set frequency includes an initially set value of the reference data refresh frequency.

8. A screen touch device, characterized in that: The device comprises: A reference data refresh module, used to refresh the reference data of the screen, wherein the reference data is data established based on sensing data of a frame of the screen whose flatness meets a set requirement when no touch event occurs on the screen, and the reference data is used as a reference for detecting touch events on the screen; A data difference determination module, used to determine the difference between the reference data before and after the current refresh; The refresh frequency adjustment module is used to adjust the refresh frequency of the reference data in response to the difference satisfying a set condition.

9. An electronic device, characterized in that: The device comprises: a processor and a memory for storing a computer program; Wherein, the processor is configured to implement, when executing the computer program: Refreshing the reference data of the screen, the reference data being data established based on sensing data of a frame of the screen that the flatness meets the set requirements when no touch event occurs on the screen, and the reference data being used as a reference for detecting touch events on the screen; Determine the difference between the benchmark data before and after the current refresh; In response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by the processor, it realizes: Refreshing the reference data of the screen, the reference data being data established based on sensing data of a frame of the screen that the flatness meets the set requirements when no touch event occurs on the screen, and the reference data being used as a reference for detecting touch events on the screen; Determine the difference between the benchmark data before and after the current refresh; In response to the difference satisfying a set condition, the reference data refresh frequency is adjusted.