Touch control processing method, touch control processing device and storage medium
By monitoring noise signal strength and setting touch area thresholds, the response of touch operations is controlled, solving the problem of screen freezing when electronic devices are charging and improving the user experience.
Patent Information
- Application Number
- CN202410431131.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2025-10-17
AI Technical Summary
When electronic devices are charging, the touch screen's response sensitivity decreases, leading to screen freezing and affecting user operation.
By monitoring the intensity of noise signals and setting different touch area thresholds, the response of touch operations can be controlled, false alarm data can be discarded, and valid touch operation data can be retained to ensure that the touch screen responds normally in noisy environments.
It effectively solves the problem of the touchscreen freezing while charging, avoids accidental operation, and improves the user experience.
Smart Images

Figure CN120803290A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of touch control, and in particular, to a touch control processing method, a touch control processing apparatus, and a storage medium. BACKGROUND
[0002] With the continuous development of network communication technology, electronic devices with touch screens are increasingly widely used. In the related art, electronic devices provide many new functions and are convenient for user operation. However, when there is a large amount of noise in the touch screen of the electronic device, the response sensitivity of the touch screen is reduced, thereby causing trouble to the user. SUMMARY
[0003] To overcome the problems in the related art, the present disclosure provides a touch control processing method, a touch control processing apparatus, and a storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a touch control processing method is provided, including monitoring a signal strength of a noise signal detected by a touch screen of an electronic device in response to the electronic device being in a charging state and detecting a plurality of report points triggered by a first touch control operation; if the signal strength of the noise signal is greater than or equal to a first noise threshold, controlling whether to respond to the first touch control operation based on a first threshold; wherein, when the electronic device is not in the charging state, a second touch area formed by a plurality of report points of a second touch control operation on the touch screen is less than a second threshold, the second touch control operation corresponding to the plurality of report points is responded to, and when the second touch area formed by the plurality of report points of the second touch control operation on the touch screen is greater than or equal to the second threshold, the second touch control operation is not responded to; and the first threshold is a touch area threshold greater than the second threshold.
[0005] In an embodiment, the controlling whether to respond to the first touch control operation based on the first threshold includes: if a first touch area formed by the plurality of report points triggered by the first touch control operation on the touch screen is less than the first threshold, responding to the first touch control operation.
[0006] In an embodiment, the controlling whether to respond to the first touch control operation based on the first threshold includes: if a first touch area formed by the plurality of report points triggered by the first touch control operation on the touch screen is greater than or equal to the first threshold, not responding to the first touch control operation.
[0007] In one implementation, after the signal strength of the noise signal is monitored to be greater than or equal to the first noise threshold, the method further includes: if the signal strength of the noise signal is monitored to be greater than or equal to a second noise threshold, discarding current frame data corresponding to the detected multiple points triggered by the first touch operation; wherein the second noise threshold is greater than the first noise threshold.
[0008] In one implementation, the method further includes: if the signal strength of the noise signal is monitored to be greater than or equal to the second noise threshold for consecutive N+1 frames, and it is determined that N frames of data have been consecutively discarded, the N being a positive integer less than a preset value, retaining N+1 frame data corresponding to the detected multiple points triggered by the first touch operation, and responding to the first touch operation based on the N+1 frame data.
[0009] In one implementation, responding to the first touch operation based on the N+1 frame data includes: determining sensing amounts of the multiple points triggered by the first touch operation in the N+1 frame data; determining a preset number of points in a descending order of the sensing amounts; and responding to the first touch operation triggering the preset number of points.
[0010] In one implementation, after the electronic device is determined to be in a charging state and the multiple points triggered by the first touch operation are detected, the method further includes: if the signal strength of the noise signal is monitored to be less than the first noise threshold, controlling whether to respond to the second touch operation based on a second threshold.
[0011] According to a second aspect of the embodiments of the present disclosure, a touch processing apparatus is provided, including a monitoring unit configured to monitor a signal strength of a noise signal detected by a touch screen of an electronic device in response to the electronic device being in a charging state and multiple points triggered by a first touch operation being detected; and a processing unit configured to monitor the signal strength of the noise signal to be greater than or equal to a first noise threshold, and control whether to respond to the first touch operation based on a first threshold; wherein when the electronic device is not in the charging state, and a second touch area formed by multiple points of a second touch operation on the touch screen is less than a second threshold, the second touch operation corresponding to the multiple points is responded to; when the second touch area formed by the multiple points of the second touch operation on the touch screen is greater than or equal to the second threshold, the second touch operation is not responded to; and the first threshold is a touch area threshold greater than the second threshold.
[0012] In one embodiment, the processing unit controls whether to respond to the first touch operation based on the first threshold value in the following manner: if the first touch area formed by the plurality of report points triggered by the first touch operation on the touch screen is less than the first threshold value, the processing unit responds to the first touch operation.
[0013] In one embodiment, the processing unit controls whether to respond to the first touch operation based on the first threshold value in the following manner: if the first touch area formed by the plurality of report points triggered by the first touch operation on the touch screen is greater than or equal to the first threshold value, the processing unit does not respond to the first touch operation.
[0014] In one embodiment, after the signal strength of the noise signal is monitored to be greater than or equal to the first noise threshold value, the processing unit is further configured to: if the signal strength of the noise signal is monitored to be greater than or equal to a second noise threshold value, discard the current frame data corresponding to the plurality of report points triggered by the first touch operation; and wherein the second noise threshold value is greater than the first noise threshold value.
[0015] In one embodiment, the processing unit is further configured to: if the signal strength of the noise signal is monitored to be greater than or equal to the second noise threshold value for consecutive N+1 frames, and it is determined that N frames of data have been consecutively discarded, the N being a positive integer less than a preset value, retain the N+1th frame data corresponding to the plurality of report points triggered by the first touch operation, and respond to the first touch operation based on the N+1th frame data.
[0016] In one embodiment, the processing unit responds to the first touch operation based on the N+1th frame data in the following manner: determine the sensing amount of the plurality of report points triggered by the first touch operation in the N+1th frame data; determine a preset number of report points in descending order of the sensing amount; and respond to the first touch operation that triggers the preset number of report points.
[0017] In one embodiment, after the electronic device is determined to be in a charging state and the plurality of report points triggered by the touch operation are detected, the processing unit is further configured to: if the signal strength of the noise signal is monitored to be less than the first noise threshold value, control whether to respond to the second touch operation based on a second threshold value.
[0018] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; and wherein the processor is configured to execute the touch processing method in the first aspect or any one of the embodiments of the first aspect.
[0019] According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided, and the storage medium has instructions stored therein. When the instructions in the storage medium are executed by a processor, the processor can execute the touch processing method in the first aspect or any one of the implementation forms of the first aspect.
[0020] The technical solution provided by the embodiments of the present disclosure can have the following beneficial effects: in the case that the electronic device is in a charging state and a plurality of report points triggered by the first touch operation are detected, the touch operation of the touch screen is controlled based on the noise intensity of the noise signal, and the control of the touch operation is realized based on different touch area thresholds, which can solve the problem of frozen screen caused by different noise signal intensities, avoid the disturbance to the user caused by false report points and non-report points, and improve the user experience.
[0021] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and are not limiting to the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure together with the description.
[0023] Figure 1 is a schematic diagram of a frozen screen principle under power grid noise according to an exemplary embodiment.
[0024] Figure 2 is a flowchart of a touch processing method according to an exemplary embodiment.
[0025] Figure 3 is a flowchart of a touch processing method according to an exemplary embodiment.
[0026] Figure 4 is a flowchart of a touch processing method according to an exemplary embodiment.
[0027] Figure 5 is a block diagram of a touch processing device according to an exemplary embodiment.
[0028] Figure 6 is a block diagram of a device for touch processing according to an exemplary embodiment.
[0029] Figure 7 is a block diagram of a device for touch processing according to an exemplary embodiment. DETAILED DESCRIPTION
[0030] The exemplary embodiments will be described in detail below with reference to the drawings. In the following description, the same numbers are used to denote the same elements throughout the several views. The following exemplary embodiments described are not meant to represent all embodiments consistent with the present disclosure.
[0031] The touch processing method provided by the embodiments of the present disclosure is applied to the plam control in the charging process of the electronic device to prevent the freezing phenomenon.
[0032] Figure 1 is a schematic diagram of a freezing principle under power grid noise according to an exemplary embodiment. As shown in the left upper diagram of Figure 1 When the user performs multi-finger operation on the electronic device and no charger is plugged in, the touch screen can identify the plam formed by each finger, such as finger 1, finger 2 and finger 3, and the plam area is less than the pre-defined plam area, and the plam is normally reported. When the electronic device is plugged in and no operation is performed, as shown in the right upper diagram of Figure 1 , a large amount of power grid noise is generated. The power grid noise enters the electronic device through the charging port and forms large and small noise signals on the touch screen. When the electronic device is plugged in and multi-finger operation is performed, as shown in the lower diagram of Figure 1 , the noise signal formed by the power grid noise just connects the plams formed by the multi-finger operation, and the overall area of the noise signal and the plams formed by the multi-finger operation exceeds the pre-defined plam area, so that the touch screen enters the large-area plam suppression mode, resulting in that all plams are suppressed and the freezing phenomenon of the touch screen is formed, so that the user performs touch operation and the touch screen has no reaction.
[0033] Therefore, the present disclosure provides a touch processing method, which can solve the problem that the user performs touch operation and the screen has no reaction when the electronic device is in the charging state and multi-finger operation is performed.
[0034] In the embodiments of the present disclosure, when the electronic device is in the charging state and multi-finger operation is performed, the noise signal generated by the electronic device is monitored, and the touch screen is controlled to report the plam based on the noise signal. Figure 2 is a flowchart of a touch processing method according to an exemplary embodiment. As shown in Figure 2 , the method comprises steps S11 to S12.
[0035] In step S11, in response to the electronic device being in the charging state and detecting a plurality of plams triggered by a first touch operation, the signal strength of the noise signal detected by the touch screen of the electronic device is monitored.
[0036] In the embodiments of the present disclosure, the multiple report points triggered by the first touch operation detected by the electronic device can be understood as that the user performs a multi-finger operation on the touch screen of the electronic device when the electronic device is in wired charging or wireless charging, so that the touch screen of the electronic device recognizes the multi-finger touch operation of the user and obtains multiple report points based on the multi-finger touch operation. The first touch operation can be understood as a touch operation performed when the electronic device is in a charging state. Since the electronic device is in a charging state, a large amount of noise signals with different signal strengths will be generated. Therefore, in response to the electronic device being in a charging state and the electronic device detecting that the user performs a multi-finger touch operation on the touch screen to trigger multiple report points, the signal strength of the noise signal detected by the touch screen of the electronic device is monitored.
[0037] In step S12, if the signal strength of the noise signal is greater than or equal to the first noise threshold, whether to respond to the first touch operation is controlled based on the first threshold.
[0038] In the embodiments of the present disclosure, when the electronic device is in a charging state and the electronic device detects multiple report points triggered by a multi-finger touch operation, the signal strength of the noise signal detected by the touch screen of the electronic device is monitored. If the signal strength of the noise signal is greater than or equal to the first noise threshold, whether to respond to the first touch operation corresponding to the multiple report points is controlled based on the first threshold. The first noise threshold can be understood as a noise signal threshold detected by the touch screen of the electronic device when the electronic device is in a charging state. The first threshold is a touch area threshold used to determine whether to respond to the touch operation corresponding to the multiple report points based on a first touch area formed by the multiple report points on the touch screen when the electronic device is in a charging state. It can also be understood as a threshold different from the second threshold. The second threshold can be understood as a touch area threshold for forming a reportable report point on the touch screen when the electronic device is not in a charging state. Therefore, the first threshold can be understood as a touch area threshold for forming a reportable report point on the touch screen when the monitored signal strength of the noise signal is greater than or equal to the first noise threshold. Whether to respond to the first touch operation is controlled based on the touch area threshold corresponding to the first threshold. The first touch area can be understood as a touch area corresponding to the detected report points when the electronic device is in a charging state.
[0039] In the embodiments of the present disclosure, when the second touch area formed by the multiple report points on the touch screen is less than the second threshold, the second touch operation corresponding to the multiple report points is responded to. When the second touch area formed by the multiple report points on the touch screen is greater than or equal to the second threshold, the touch operation corresponding to the multiple report points is not responded to. The second touch area can be understood as a touch area corresponding to the detected report points when the electronic device is not in a charging state. The second touch operation can be understood as a touch operation whose response or non-response is determined based on the second threshold when the electronic device is not in a charging state.
[0040] In the embodiments of the present disclosure, the first threshold is greater than the second threshold, that is, the touch area threshold for controlling the touch operation in the charging state of the electronic device is greater than the touch area threshold for controlling the touch operation in the non-charging state of the electronic device. In the embodiments of the present disclosure, since the electronic device is in the charging state, a large amount of noise signals will be generated, and noise signals with different signal strengths will have different effects on the touch screen of the electronic device. Therefore, the electronic device monitors the signal strength of the noise signals generated by the touch screen of the electronic device in the charging state and performing the multi-finger touch operation, and controls the touch screen to respond to the touch operation of the user based on the first threshold, while avoiding the phenomenon that the touch screen has no response due to the connection of the electronic device to the charging device.
[0041] In the embodiments of the present disclosure, whether to respond to the first touch operation corresponding to the multiple report points is controlled based on the first threshold. In response to that the electronic device is in the charging state, and the electronic device detects that the user performs the multi-finger touch operation on the touch screen to trigger the multiple report points, it is determined that the signal strength of the noise signal detected by the touch screen of the electronic device is greater than or equal to the first noise threshold, the noise signal and the report point are connected together, and it is monitored that the first touch area formed by the multiple report points on the touch screen is less than the first threshold. The first touch operation corresponding to the multiple report points is responded.
[0042] In the embodiments of the present disclosure, the electronic device responds to the first touch operation corresponding to the multiple report points based on that the first touch area formed by the multiple report points on the touch screen is less than the first threshold, so that the touch screen can respond to the first touch operation of the touch screen based on the multiple report points received within the first threshold when the electronic device is in the charging state and the signal strength of the noise signal is greater than or equal to the first noise threshold, and the touch screen can make a correct response to the first touch operation.
[0043] In the embodiments of the present disclosure, if the first touch area formed by the multiple report points on the touch screen is greater than or equal to the first threshold, it can be understood that the first touch area formed by the multiple report points on the touch screen is greater than or equal to the touch area of the report point that can be reported on the touch screen when the electronic device is in the charging state or the signal strength of the monitored noise signal is large. At this time, the first touch operation corresponding to the multiple report points is not responded.
[0044] In the embodiments of the present disclosure, the electronic device does not respond to the first touch operation corresponding to the multiple report points based on that the first touch area formed by the multiple report points on the touch screen is greater than or equal to the first threshold, so as to avoid that the touch screen of the electronic device is mistakenly touched, and the touch screen can make a correct response to the first touch operation.
[0045] In the embodiments of the present disclosure, after the signal strength of the noise signal is monitored to be greater than or equal to the first noise threshold, if the signal strength of the noise signal is monitored to be greater than the second noise threshold for N consecutive frames, the current frame data of the multiple report points detected in the N frames is discarded. In an example, after the signal strength of the noise signal is monitored to be greater than or equal to the first noise threshold, if the signal strength of the noise signal detected by the touch screen of the electronic device is greater than the second noise threshold for 5 consecutive frames, the data of the multiple report points corresponding to the current 5 frames is discarded. The second noise threshold can be understood as a noise signal threshold detected by the touch screen of the electronic device when the electronic device is in a charging state. The second noise threshold is different from the first noise threshold, and the second noise threshold is greater than the first noise threshold. The data involved in the above embodiments of the present disclosure is exemplary, and the interval of reporting one frame of data and the preset threshold can be adjusted according to the debugging result, which is not limited in the present disclosure.
[0046] In the embodiments of the present disclosure, the signal strength of the noise signal is monitored to be greater than the second noise threshold for N consecutive frames, and the report points detected in the N frames are discarded, so as to avoid a large number of misoperations caused by false report of finger coordinates.
[0047] In the embodiments of the present disclosure, if the signal strength of the noise signal is monitored to be greater than the second noise threshold for N+1 consecutive frames, and it is determined that the report points detected in N consecutive frames have been discarded, the electronic device controls the touch screen to report the report points detected in the N+1 frame. N is a positive integer, and N is less than a preset threshold. The preset threshold can be understood as the maximum number of frames discarded. In an example, if it is determined that the data of the multiple report points corresponding to the current 5 frames has been discarded for 5 consecutive frames, the data of the 6th frame is reported at the 6th frame. And at the 7th frame, the normal judgment is performed. If the signal strength of the noise signal is greater than the second noise threshold, the report points detected in N frames are discarded, and the report points detected in the N+1 frame are retained. The data involved in the above embodiments of the present disclosure is exemplary, and the interval of reporting one frame of data and the preset threshold can be adjusted according to the debugging result, which is not limited in the present disclosure.
[0048] In the embodiments of the present disclosure, if the signal strength of the noise signal is monitored to be greater than the second noise threshold for N+1 consecutive frames, and the report points detected in N frames are discarded, the touch screen is controlled to report the report points detected in the N+1 frame. It can be understood that the first noise threshold is less than the second noise threshold, and when the signal strength of the noise signal is monitored to be greater than the second noise threshold, the report points detected in the current frame are discarded. At the same time, the report points detected in the N+1 frame are reported, and the data of the N+1 frame corresponding to the multiple report points is retained, so as to avoid the phenomenon that the touch screen does not have any reaction due to continuous frame loss caused by too large noise signal.
[0049] In the embodiments of the present disclosure, the touch screen is controlled to report the report points detected in the N+1 frame and a preset number of frames. For example,Figure 3 As shown, Figure 3 is a flow chart of a touch processing method according to an example embodiment. It includes steps S21 to S23.
[0050] In step S21, the sensing amount of the multiple report points triggered by the first touch operation in the N+1th frame data is determined.
[0051] In the embodiment of the present disclosure, if the continuous N frames of noise signals are greater than the second noise threshold, the N frames of detected report points are discarded, and the detected report points corresponding to the N+1th frame are reported. Meanwhile, the sensing amount of the multiple report points detected in the N+1th frame is determined.
[0052] In step S22, the preset number of report points are determined in the order of the sensing amount from large to small.
[0053] In the embodiment of the present disclosure, based on the reported report points detected in the N+1th frame, the sensing amount of the multiple report points detected in the N+1th frame is determined. The preset number of report points are reported in the order of the sensing amount from large to small. For example, only the report point whose sensing amount is the peak value of the sensing amount among the report points detected in the N+1th frame is reserved, that is, the report point with the largest sensing amount among the report point sensing amounts is reserved for reporting. The sensing amount can be understood as the degree of touch screen sensing the touch operation. In the above example, the report point with the peak value of the sensing amount can be one or two, and the number of report points reported can be adjusted according to actual requirements. For example, the coordinates of two fingers are reported.
[0054] In step S23, the first touch operation triggering the preset number of report points is responded.
[0055] In the embodiment of the present disclosure, based on the report point whose sensing amount is the peak value of the sensing amount, such as the coordinates of one or two fingers, the basic operation of the user on the touch screen of the electronic device can be ensured when the noise signal is greater than the second noise threshold. At the same time, the phenomenon of misreporting some points with large noise signals as fingers to cause misoperation is avoided, and the use experience of the user in the charging process for multi-finger operation is improved.
[0056] In an embodiment of the present disclosure, after determining that the electronic device is in a charging state and monitoring multiple reporting points triggered by a first touch operation, if the signal strength of the monitored noise signal is less than the first noise threshold, then based on the second threshold, the second touch operation corresponding to the multiple reporting points is controlled to respond or not. If the signal strength of the noise signal detected by the touch screen of the electronic device is less than the first noise threshold, it can be understood that all reporting points on the touch screen of the electronic device can be detected, then based on the second threshold, the touch screen is controlled to report the multiple reported points. For example, if the electronic device is already in a charging state, a reporting points triggered by a touch operation are detected, and the signal strength of the monitored noise signal is less than the first noise threshold, then the touch screen is controlled to report the a reported points, and the touch screen reacts accordingly based on the reported a reporting points.
[0057] In the disclosed embodiment, when the noise signal strength is less than a first noise threshold, the second threshold is used to control whether or not to respond to touch operations corresponding to multiple reporting points. This allows for different control operations based on different thresholds under different noise intensities, preventing missed reporting points on the electronic device's control screen while ensuring basic user operations.
[0058] In the disclosed embodiments, a touch processing method is described. Figure 4 FIG. 1 is a flow chart showing a touch processing method according to an exemplary embodiment. Figure 4 As shown, in response to the electronic device being in a charging state and detecting multiple reporting points triggered by a touch operation, the signal strength of the noise signal detected by the touch screen of the electronic device is monitored. If the signal strength of the noise signal is less than the first noise threshold, the touch screen is controlled to report the multiple reported points detected, and the reporting is normal. If the signal strength of the noise signal is greater than or equal to the first noise threshold, the area of the touch screen for suppressing reporting points is increased from the first suppression area to the second suppression area, and the touch screen is controlled to report the reporting points. The noise signal and the reporting points formed by the multi-finger operation are connected together to form a connected area. If the connected area is less than the second suppression area, the electronic device controls the touch screen to report multiple reporting points. Among them, the first suppression area can be the second threshold, and the second suppression area can be the first threshold.
[0059] In the embodiments of the present disclosure, the signal strength of the noise signal is continuously monitored. If the signal strength of the noise signal is greater than the second noise threshold for 5 consecutive frames, the detected points corresponding to the 5 frames are discarded. It can be understood that all the points corresponding to each of the 5 frames are discarded to prevent misoperation. When the detected points corresponding to the 5 frames are discarded continuously, the detected points corresponding to the 6th frame are reported on the touch screen, and the noise signal strength of the 7th frame is detected. If the noise signal strength of the 7th frame continues to be greater than the second noise threshold, the detected points corresponding to the 7th frame are discarded. When the detected points corresponding to the 6th frame are reported, if all the detected points in the 6th frame are reported, misoperation may occur. Therefore, the sensing amount of the multiple points detected in the 6th frame is determined, and the peak value of the sensing amount in the 6th frame is retained in descending order of the sensing amount or a preset number of points are reported. Thus, one finger or two fingers or other preset number of points are reported.
[0060] In the embodiments of the present disclosure, based on the first noise threshold, the first suppression area is increased to the second suppression area. Even if the noise signal and the points are connected together, it is difficult to exceed the second suppression area, which avoids the touch screen entering the large-area suppression mode, thereby causing the touch screen to be unresponsive. Based on the second noise threshold, the noise signal is prevented from being in a state of too large signal strength, thereby causing the touch screen to be unresponsive. Through discarding the current frame and retaining a certain frame, the basic operation of the finger is retained, so that the touch screen can respond based on the touch operation of the user. Meanwhile, a preset number of points are reported in descending order of the sensing amount, which avoids misreporting some points with large noise signal strength as the points, causing misoperation, ensures that the basic operation of the user can be performed, and solves the problem of large-area suppression in the multi-finger operation in the charging state.
[0061] Based on the same concept, the present disclosure also provides a touch processing apparatus 100.
[0062] It can be understood that the touch processing apparatus 100 provided by the embodiments of the present disclosure includes the hardware structure and / or software module for executing each function. In combination with the units and algorithm steps of each example disclosed in the embodiments of the present disclosure, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware 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 technical solutions of the embodiments of the present disclosure.
[0063] Figure 5is a block diagram of a touch processing apparatus 100 according to an exemplary embodiment. Referring to Figure 5 The apparatus includes a monitoring unit 101, a processing unit 102.
[0064] The monitoring unit 101 is configured to monitor a signal strength of a noise signal detected by the touch screen of the electronic device in response to the electronic device being in a charging state and detecting a plurality of report points triggered by a first touch operation.
[0065] The processing unit 102 is configured to, in response to the signal strength of the noise signal being greater than or equal to a first noise threshold, control whether to respond to the first touch operation based on the first threshold. In the case where the electronic device is not in the charging state, when a second touch area formed by a plurality of report points of a second touch operation on the touch screen is less than a second threshold, the processing unit 102 is configured to respond to the second touch operation corresponding to the plurality of report points, and when the second touch area formed by the plurality of report points of the second touch operation on the touch screen is greater than or equal to the second threshold, the processing unit 102 is configured to not respond to the second touch operation. The first threshold is a touch area threshold greater than the second threshold.
[0066] In an embodiment, the processing unit 102 is configured to control whether to respond to the first touch operation based on the first threshold in the following manner: if the monitoring unit 101 monitors that a first touch area formed by the plurality of report points triggered by the first touch operation on the touch screen is less than the first threshold, the processing unit 102 is configured to respond to the first touch operation.
[0067] In an embodiment, the processing unit 102 is configured to control whether to respond to the first touch operation based on the first threshold in the following manner: if the monitoring unit 101 monitors that a first touch area formed by the plurality of report points triggered by the first touch operation on the touch screen is greater than or equal to the first threshold, the processing unit 102 is configured to not respond to the first touch operation.
[0068] In an embodiment, after the monitoring unit 101 monitors that the signal strength of the noise signal is greater than or equal to the first noise threshold, the processing unit 102 is further configured to, if the monitoring unit 101 monitors that the signal strength of the noise signal is greater than or equal to a second noise threshold, discard current frame data corresponding to the plurality of report points triggered by the first touch operation detected by the touch screen. The second noise threshold is greater than the first noise threshold.
[0069] In an embodiment, the processing unit 102 is further configured to, if the monitoring unit 101 monitors that the signal strength of the noise signal is greater than or equal to the second noise threshold for N+1 consecutive frames and determines that N frames of data have been consecutively discarded, N being a positive integer less than a preset value, retain N+1 frame data corresponding to the plurality of report points triggered by the first touch operation detected by the touch screen, and respond to the first touch operation based on the N+1 frame data.
[0070] In one implementation, the processing unit 102 is configured to respond to the first touch operation based on the (N+1)th frame data by: determining sensing amounts of a plurality of report points triggered by the first touch operation in the (N+1)th frame data; determining a preset number of report points in a descending order of the sensing amounts; and responding to the first touch operation triggering the preset number of report points.
[0071] In one implementation, after determining that the electronic device is in the charging state and detecting the plurality of report points triggered by the touch operation, the processing unit 102 is further configured to: if the signal strength of the noise signal is less than the first noise threshold, controlling whether to respond to the second touch operation based on a second threshold.
[0072] With regard to the apparatus in the above-described embodiments, specific manners in which various modules perform operations have been described in detail in the embodiments of the method, and thus will not be described in detail here.
[0073] Figure 6 FIG. 2 is a block diagram of an apparatus 200 for touch processing according to an example embodiment. The apparatus 200 can be provided as a terminal. For example, the apparatus 200 can be a mobile phone, computer, digital broadcast terminal, message communicator, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0074] Referring to Figure 6 The apparatus 200 can include one or more of the following components: a processing component 202, a memory 204, a power supply component 206, a multimedia component 208, an audio component 210, an input / output (I / O) interface 212, a sensor component 214, and a communication component 216.
[0075] The processing component 202 generally controls the overall operations of the apparatus 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 can include one or more processors 220 to execute instructions to complete all or part of steps of the above-described methods. In addition, the processing component 202 can include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate the interaction between the multimedia component 208 and the processing component 202.
[0076] The memory 204 is configured to store various types of data to support the operation of the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and the like. The memory 204 can be implemented by any type of volatile or nonvolatile storage devices 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.
[0077] The power component 206 provides power to the various components of the device 200. The power component 206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 200.
[0078] The multimedia component 208 includes a screen providing an output interface between the device 200 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swiping, and gestures on the touch panel. The touch sensors can not only sense a boundary of a touching or swiping action, but also detect duration and pressure related to the touching or swiping action. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. The front and / or rear camera can receive external multimedia data when the device 200 is in an operation mode, such as a shooting mode or a video mode. Each of the front and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0079] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC) that is configured to receive an external audio signal when the device 200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 204 or transmitted via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0080] The I / O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which can be a keyboard, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0081] The sensor component 214 includes one or more sensors to provide status assessments for various aspects of the device 200. For example, the sensor component 214 can detect an open / closed status of the device 200, relative positioning of components, such as a display and keypad of the device 200, a change in position of the device 200 or a component of the device 200, presence or absence of user contact with the device 200, orientation or acceleration / deceleration of the device 200, and temperature changes of the device 200. The sensor component 214 can include proximity sensor(s) configured to detect presence of nearby objects without any physical contact. The sensor component 214 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 214 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0082] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and another device. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 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 216 further 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.
[0083] In an exemplary embodiment, the device 200 can be implemented using 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, or other electronic units to perform the methods described above.
[0084] In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 204 including instructions, is also provided. The instructions can be executed by the processor 220 of the device 200 to perform the methods described above. 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 disc, and an optical data storage device, and the like.
[0085] Figure 7 FIG. 3 is a block diagram of a device 300 for touch processing according to an exemplary embodiment. For example, the device 300 can be provided as a server. Referring to FIG. 3, the device 300 includes a bus 310, a processor 320, a memory 330, a storage 340, an input interface 350, an output interface 360, a display 370, a communication interface 380, and a controller 390. Figure 7The apparatus 300 includes a processing component 322, further comprising one or more processors, and a memory resource represented by the memory 332, for storing instructions, such as an application program, executable by the processing component 322. The application program stored in the memory 332 can include one or more than one module, each corresponding to a set of instructions. In addition, the processing component 322 is configured to execute the instructions to perform the above-mentioned method.
[0086] The apparatus 300 can also include a power supply component 326 configured to perform power management of the apparatus 300, a wired or wireless network interface 350 configured to connect the apparatus 300 to a network, and an input / output (I / O) interface 358. The apparatus 300 can operate based on an operating system stored in the memory 332, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
[0087] It can be understood that "multiple" in the present disclosure refers to two or more, and other quantifiers are similar. The association relationship between the associated objects described by "and / or" indicates that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents that the associated objects before and after are in an "or" relationship. The singular forms "a", "said" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0088] It can be further understood that the terms "first", "second", and the like are used to describe various information, but these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a particular order or importance. In fact, the expressions "first", "second", and the like can be completely interchangeable. For example, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information without departing from the scope of the present disclosure.
[0089] It can be further understood that the terms "center", "longitudinal", "transverse", "front", "back", "up", "down", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the embodiments and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation.
[0090] It can be further understood that, unless otherwise specified, "connection" includes direct connection between the two without other components, and also includes indirect connection between the two with other elements.
[0091] It will be further appreciated that any operations described herein as being performed by a particular entity can be performed by any suitable entity. It will be further understood that, although the operations of some of the embodiments have been described in a particular, sequential order, this order is not the only order in which the operations can be performed. For example, the operations can be performed in parallel, or in any order or combination.
[0092] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims.
[0093] It is to be understood that the disclosure is not limited to the precise details of apparatus and methods described herein and as illustrated in the drawings. Various modifications and changes can be made as would be obvious to a person skilled in the art without departing from the scope of this disclosure. The scope of the disclosure is limited only by the claims appended hereto.
Claims
1. A touch processing method, characterized in that: include: In response to the electronic device being in a charging state and detecting multiple alarm points triggered by a first touch operation, monitoring a signal strength of a noise signal detected by a touch screen of the electronic device; If it is detected that the signal strength of the noise signal is greater than or equal to a first noise threshold, controlling whether to respond to the first touch operation based on the first threshold; Wherein, when the electronic device is not in a charging state, and a second touch area formed by multiple reporting points of the second touch operation on the touch screen is smaller than a second threshold, the second touch operation corresponding to the multiple reporting points is responded to; and when a second touch area formed by multiple reporting points of the second touch operation on the touch screen is greater than or equal to the second threshold, the second touch operation is not responded to; The first threshold is a touch area threshold that is greater than the second threshold.
2. The method according to claim 1, characterized in that The controlling of whether to respond to the first touch operation based on the first threshold includes: If it is monitored that a first touch area formed on the touch screen by multiple reporting points triggered by the first touch operation is smaller than the first threshold, the first touch operation is responded to.
3. The method according to claim 1, characterized in that The controlling of whether to respond to the first touch operation based on the first threshold includes: If it is detected that a first touch area formed on the touch screen by multiple reporting points triggered by the first touch operation is greater than or equal to the first threshold, no response is performed to the first touch operation.
4. The method according to any one of claims 1 to 3, characterized in that After monitoring that the signal strength of the noise signal is greater than or equal to a first noise threshold, the method further includes: If the signal strength of the monitored noise signal is greater than or equal to a second noise threshold, discarding the current frame data corresponding to the multiple reporting points triggered by the first touch operation; The second noise threshold is greater than the first noise threshold.
5. The method according to claim 4, characterized in that The method further comprises: If the signal strength of the noise signal monitored for N+1 consecutive frames is greater than or equal to the second noise threshold, and it is determined that N frames of data have been discarded continuously, where N is a positive integer less than a preset value, then the N+1 frame data corresponding to the multiple reporting points triggered by the first touch operation detected is retained, and the first touch operation is responded to based on the N+1 frame data.
6. The method according to claim 5, characterized in that The responding to the first touch operation based on the N+1th frame data includes: Determining the sensing quantities of multiple reporting points triggered by the first touch operation in the N+1th frame data; Determine the preset number of reporting points in the order of the sensing amount from large to small; Respond to the first touch operation that triggers the preset number of reporting points.
7. The method according to claim 1, characterized in that After determining that the electronic device is in a charging state and detecting multiple reporting points triggered by the first touch operation, the method further includes: If the signal strength of the monitored noise signal is less than the first noise threshold, the second touch operation is controlled to be responded to or not based on the second threshold.
8. A touch processing device, characterized in that: include: a monitoring unit, configured to monitor a signal strength of a noise signal detected by a touch screen of the electronic device in response to the electronic device being in a charging state and detecting a plurality of alarm points triggered by a first touch operation; a processing unit, configured to control whether to respond to the first touch operation based on the first threshold if the signal strength of the noise signal is greater than or equal to the first noise threshold; Wherein, when the electronic device is not in a charging state, and a second touch area formed by multiple reporting points of the second touch operation on the touch screen is smaller than a second threshold, the second touch operation corresponding to the multiple reporting points is responded to; and when a second touch area formed by multiple reporting points of the second touch operation on the touch screen is greater than or equal to the second threshold, the second touch operation is not responded to; The first threshold is a touch area threshold that is greater than the second threshold.
9. An electronic device, characterized in that: include: processor: a memory for storing processor-executable instructions; The processor is configured to execute the touch processing method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores instructions. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the touch processing method according to any one of claims 1 to 7.