WO2018191972A1 - 一种触摸控制方法及装置 - Google Patents

一种触摸控制方法及装置 Download PDF

Info

Publication number
WO2018191972A1
WO2018191972A1 PCT/CN2017/081494 CN2017081494W WO2018191972A1 WO 2018191972 A1 WO2018191972 A1 WO 2018191972A1 CN 2017081494 W CN2017081494 W CN 2017081494W WO 2018191972 A1 WO2018191972 A1 WO 2018191972A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
electronic device
event
area
point
Prior art date
Application number
PCT/CN2017/081494
Other languages
English (en)
French (fr)
Inventor
陈晓晓
陈浩
黄德志
周轩
童碧峰
周胜丰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2017/081494 priority Critical patent/WO2018191972A1/zh
Priority to KR1020197033845A priority patent/KR102383295B1/ko
Priority to JP2019557436A priority patent/JP6862575B2/ja
Priority to CN201780008043.6A priority patent/CN109074216B/zh
Priority to US16/606,607 priority patent/US11334193B2/en
Priority to EP17906504.0A priority patent/EP3605301B1/en
Publication of WO2018191972A1 publication Critical patent/WO2018191972A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a touch control method and apparatus.
  • the touch operation brings great convenience to the user, and the sensitive sensitivity of the touch screen is also likely to cause an accidental touch operation.
  • the touch operation brings great convenience to the user, and the sensitive sensitivity of the touch screen is also likely to cause an accidental touch operation.
  • FIG. 1 when the user holds the electronic device with the right hand and clicks on the screen, the big fish of the right hand palm can easily touch the function button set in the lower right corner of the touch screen.
  • an anti-missing algorithm may be set inside the electronic device, so that when the electronic device acquires a touch event triggered by the user on the touch screen, the touch prevention event may be used to determine the touch event. Whether it is a false touch event.
  • the anti-missing algorithm is provided with a series of anti-missing parameters, for example, determining whether the position of the touched point is in a preset false touch area, determining whether the moving track of the touch point is within a preset displacement range, and It is judged whether the duration of the touched point is within a preset time range or the like.
  • the touch event can be determined to be a false touch event.
  • different users may have different operating habits on the touch screen. For example, some users stay longer on the touch screen when they click, and some users stay on the touch screen for a shorter time when they click; even the same user's operating habits on the touch screen in different application scenarios are also It may be different, for example, the user may start using the left hand to operate the touch screen and then use the right hand to operate the touch screen. Then, when the electronic device uses the above-mentioned false touch algorithm, the normal touch event triggered by the user may be determined as a false touch event, thereby reducing the accuracy of the electronic device when performing the anti-missing.
  • the embodiment of the invention provides a touch control method and device, which can reduce the probability of misidentifying a touched point as a false contact due to a change of an application scene or a change in a user's touch habit, and improve the accuracy of the electronic device when performing an anti-missing touch. .
  • the embodiment of the present invention adopts the following technical solutions:
  • an embodiment of the present invention provides a touch control method, including: an electronic device acquiring a touch event triggered by a user on a touch screen (the touch event includes a touch position of a touch point); and if the target area where the touch position is located is located a touch area (the first touch area is located on the touch screen of the electronic device), the electronic device may further determine whether the touch point is a false contact, that is, perform an anti-missing operation on the touch point; then, when the touch point is determined When the contact is a fault, the electronic device discards the touch event; correspondingly, when it is determined that the touch point is not a false contact, the electronic device may further report the touch event, so that the subsequent electronic device performs an operation corresponding to the touch event. Then, by dividing the first touch area on the touch screen, the wrong contact recognition operation can be performed on the area where the false contact needs to be identified, so that the accuracy and efficiency of identifying the false contact can be improved.
  • the touch screen of the electronic device further includes a first touch area a second touch area, wherein a probability of occurrence of a false touch event in the second touch area is less than a probability of occurrence of a false touch event in the first touch area; the method further comprising: if the target area where the touch position is located is located at the second When the area is touched, the electronic device reports the touch event.
  • the touch screen is divided into a first touch area and a second touch area. Since the probability of occurrence of a false touch event in different touch areas is different, that is, different areas have different levels of anti-missing touches, then the probability of occurrence of a false touch event is higher. In the small second touch area, the electronic device does not need to perform the above-mentioned anti-missing operation, and directly reports the touch event, thereby improving the efficiency of identifying the wrong contact.
  • the method further includes: if the electronic device does not acquire a user operation in the target area within a preset time, the electronic device adjusts the target touch area from the second touch area to the first touch region. In this way, the target area is set to a touch area with different risk of occurrence of a false touch event for different moments and different user habits, thereby improving the accuracy of the electronic device identifying the false contact.
  • the electronic device determines whether the discarding event is a manslaughter event, and the manslaughter event refers to a The touch point is not a false contact and the electronic device determines the touch point as a trigger event of the wrong contact; when discarding whether the touch event is a manslaughter event, the electronic device reissues the touch event.
  • the method further includes: when the electronic device determines to discard the touch event as a manslaughter event, the electronic device acquires the target region in the most recent L time The number of missed kills of the manslaughter event, L>0; when the number of missed kills is greater than the threshold, the electronic device adjusts the target touch region from the first touch region to the second touch region.
  • the electronic device is based on the updated target.
  • the area's anti-missing level determines whether or not to perform an anti-missing operation. In this way, it can be avoided that the phenomenon of manslaughter occurs multiple times in the same place, thereby reducing the risk of manslaughter.
  • the electronic device determines whether the touch point is a false contact, and the method includes: the electronic device acquires historical touch data in the most recent T time, and the historical touch data is used to indicate that the user triggers in the most recent T time.
  • the actual touch parameter generated by the historical touch point T>0; the electronic device determines the target anti-missing parameter currently used by the electronic device according to the historical touch data; the electronic device uses the target anti-missing parameter to identify the touch event Whether the touch point is a false contact.
  • the target anti-missing parameter determined according to the historical touch data can also be relatively accurate. It reflects the current user's touch habits, so that the accuracy of the electronic device using the target anti-missing parameter to identify the wrong contact will also be improved.
  • the historical touch data includes N sets of the actual touch parameters corresponding to the N historical touch points, and each set of actual touch parameters includes j feature values, N ⁇ 1, j ⁇ 1
  • the electronic device determines the target defense currently used by the electronic device based on the historical touch data
  • the parameter of the mis-touching includes: the electronic device weights and averages the xth feature value of each set of actual touch parameters to obtain an xth feature value in the target touch parameter, where the target touch parameter is used to indicate that the user is in the most recent T time The touch habit, 1 ⁇ x ⁇ j; the electronic device predicts the currently used target anti-missing parameter according to the target touch parameter.
  • the target anti-missing parameters determined by the electronic device for each of the wrong contacts may be different, and the target anti-missing parameters determined each time are generated based on the user's recent touch habits, so that Adapt to the needs of anti-killing operations under different users and different application scenarios to improve the accuracy of identifying mis-contacts.
  • the electronic device determines whether discarding the touch event is a manslaughter event, including: the electronic device acquiring historical touch data in the most recent T time, the historical touch data is used to indicate that the user triggers in the most recent T time The actual touch parameter generated by the historical touch point, T>0; the electronic device uses the target anti-missing parameter to identify whether the mis-contact is a false-killing point.
  • the target anti-killing parameters determined by the electronic device for each of the mis-contacts may be different, and each determined target mis-killing parameter is generated based on the user's recent touch habit, so that it can be adapted to different The need for anti-missing operations by users and different application scenarios to improve the accuracy of identifying the killing point.
  • the touch screen of the electronic device further includes a third touch area, wherein a probability of occurrence of a false touch event in the third touch area is less than a probability of occurrence of a false touch event in the first touch area And the probability of occurrence of a false touch event in the second touch area, wherein if the target area where the touch position is located is located in the third touch area, the method further includes: when the electronic device is currently running in the display interface first When the application is in use, the electronic device determines whether the touch point is a false contact; when the electronic device is currently running the second application in the display interface, the electronic device reports the touch event.
  • the touch screen includes, in addition to the first touch area and the second touch area, a third touch area in which a probability of occurrence of a false touch event is between the first touch area and the second touch area, and then, when the touch point is in the first
  • whether or not the anti-missing operation is performed may be determined according to the application of the current operation of the electronic device, thereby improving the efficiency of identifying the false contact.
  • an embodiment of the present invention provides an electronic device, including: an acquiring unit, configured to: acquire a touch event triggered by a user on a touch screen, where the touch event includes a touch position of the touch point; and a determining unit, configured to: The target area where the touch location is located is located in the first touch area, and then determines whether the touch point is a false contact, the first touch area is located on the touch screen of the electronic device; and the executing unit is configured to: when the touch point is a wrong contact Discarding the touch event; when the touch point is not a false contact, reporting the touch event
  • the touch screen of the electronic device further includes a second touch area except the first touch area, wherein a probability of occurrence of a false touch event in the second touch area is less than the first touch area
  • the execution unit is further configured to report the touch event if the target area where the touch location is located is located in the second touch area.
  • the adjusting unit is configured to adjust the target touch area from the second touch area if the electronic device does not acquire the user operation in the target area within a preset time The whole is the first touch area.
  • the determining unit is further configured to: determine whether discarding the touch event is a manslaughter event, wherein the killing event is that a touch point is not a false contact and the electronic device determines the touch point as a false touch The triggering event of the point; the execution unit is further configured to: re-issue the touch event when discarding whether the touch event is a manslaughter event.
  • the obtaining unit is further configured to: when the electronic device determines to discard the touch event as a manslaughter event, acquire the number of manslaughts in the target area during the most recent L time, L>0;
  • the adjusting unit is further configured to adjust the target touch area from the first touch area to the second touch area when the number of the missed kills is greater than the threshold.
  • the acquiring unit is further configured to: acquire historical touch data in a most recent T time, and the historical touch data is used to indicate an actual touch generated by the historical touch point triggered by the user in the most recent T time.
  • the determining unit is further configured to: determine, according to the historical touch data, a target anti-missing parameter currently used by the electronic device;
  • the executing unit is further configured to: determine, by using the target anti-missing parameter Whether the touch point is a false contact.
  • the acquiring unit is further configured to: acquire historical touch data in a most recent T time, and the historical touch data is used to indicate an actual touch generated by the historical touch point triggered by the user in the most recent T time.
  • the determining unit is further configured to: determine, according to the historical touch data, a target anti-missing parameter used by the current electronic device;
  • the executing unit is further configured to: determine, by using the target anti-missing parameter, to discard the touch event Whether it is a manslaughter.
  • the touch screen of the electronic device further includes a third touch area, wherein a probability of occurrence of a false touch event in the third touch area is less than a probability of occurrence of a false touch event in the first touch area
  • the execution unit is further configured to determine whether the touch point is a false contact when the electronic device is currently running the first application in the display interface; when the electronic device is currently running the first application in the display interface; The device reports the touch event when the device is currently running the second application in the display interface.
  • an embodiment of the present invention provides an electronic device, including: a processor, a memory, a bus, and a communication interface; the memory is configured to store a computer execution instruction, and the processor is connected to the memory through the bus, when the electronic device is running The processor executes the computer-executed instructions stored in the memory to cause the electronic device to perform any of the touch control methods described above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores an instruction, when the instruction is run on any one of the electronic devices, causing the electronic device to perform any of the foregoing Touch control method.
  • an embodiment of the present invention provides a computer program product comprising instructions, which when executed on any of the above electronic devices, causes the electronic device to perform any of the above touch control methods.
  • the names of the electronic devices are not limited to the devices themselves. In actual implementation, the devices may appear under other names. As long as the functions of the respective devices are similar to the embodiments of the present invention, they are within the scope of the claims and the equivalents thereof.
  • FIG. 1 is a schematic diagram of a possible false touch scene in the prior art
  • FIG. 2 is a schematic diagram 1 of a scene of a touch control method according to an embodiment of the present invention
  • FIG. 3 is a second schematic diagram of a touch control method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram 1 of an electronic device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic flowchart 1 of a touch control method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram 3 of a touch control method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a principle of a touch control method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram 4 of a touch control method according to an embodiment of the present disclosure.
  • FIG. 9 is a second schematic flowchart of a touch control method according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram 5 of a touch control method according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram 6 of a touch control method according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram 2 of an electronic device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram 3 of an electronic device according to an embodiment of the present invention.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include one or more of the features either explicitly or implicitly.
  • the meaning of "a plurality" is two or more unless otherwise specified.
  • the embodiment of the invention provides a touch control method, which can be applied to any electronic device provided with a touch screen, such as a mobile phone, a wearable device, an augmented reality (Augmented reality), a virtual reality (VR) device, and a tablet.
  • a touch screen such as a mobile phone, a wearable device, an augmented reality (Augmented reality), a virtual reality (VR) device, and a tablet.
  • the present invention does not impose any limitation on the computer, the notebook computer, the UMPC (ultra-mobile personal computer), the netbook, the PDA (personal digital assistant), and the like.
  • a set of fixed anti-missing parameters are usually preset in the electronic device, for example, the dwell time (or the dwell time range) of the touch point on the screen when clicked, and the touch point when the long press is pressed
  • the electronic device detects the touch point on the touch screen, the actual touch parameter corresponding to the anti-missing parameter can be acquired, for example, the actual coordinate of the touch point on the screen is obtained, then, if the actual coordinate is located In the anti-missing area set in the anti-missing parameter, the electronic device can use the touch point as a mis-contact and mask the related information of the touch point.
  • the anti-missing parameter is not applicable to all users. For example, for different user's hand types, different application scenarios, and different user touch habits, when the actual touch parameters generated by the touch points on the screen do not match the anti-missing parameters, it does not mean that the touch point must be a mistake. Contact.
  • the electronic device can acquire historical touch data of the user, for example, N (N ⁇ 1) touch points collected in the most recent T (T>0) time The actual touch parameter generated by each touch point, so that the target anti-missing parameter used by the electronic device at the current time can be determined by the historical touch data, and then the touch point in the touch event A is identified by using the target anti-missing parameter. Whether it is a wrong contact.
  • the target anti-missing parameter determined according to the historical touch data can also be relatively accurate. It reflects the current user's touch habits, so that the accuracy of the electronic device using the target anti-missing parameter to identify the wrong contact will also be improved.
  • the area 1 located on the right side of the screen in FIG. 2 is usually an erroneous operation area preset by the electronic device. Then, if the electronic device detects that there is a touch point in the area 1 every time, the electronic device automatically blocks the area. The touch point, until the user's finger slides out of the boundary of the area 1, the electronic device will report the acquired information about the touched point (for example, the coordinates of the touched point) to the processor, and the processor is based on the touch point. The information performs the corresponding page change operation.
  • the electronic device when the electronic device detects the touch point in the area 1 for the first time, the touch point can be automatically shielded as in the prior art. At the same time, however, the electronic device also acquires actual touch parameters when the touch point slides on the touch screen, for example, the displacement of the touch point, the time of stay of the touch point, and the like. Then, within 10 seconds, the electronic device may detect the user-triggered sliding operation at the same position three times in succession. When the electronic device detects the touch point in the area 1 for the fourth time, the electronic device may collect according to the previous 10 seconds.
  • the three sets of historical touch data are determined, and it is determined that the region 1 in the current target anti-missing parameter does not belong to the mis-operation area, that is, there is no need to detect the false contact in the area 1.
  • the electronic device can immediately report the related information of the touched point to the processor, and the processor performs a corresponding page changing operation according to the related information of the touched point, thereby improving the response speed of the electronic device.
  • the target anti-missing parameter used by the electronic device at different times is a variable that changes with the user's historical touch data, so that it can be more consistent in the process of identifying the wrong contact.
  • the touch screen of the electronic device may be divided into different touch regions, and the probability of occurrence of a false touch event in different regions may be different.
  • the concept of anti-missing level can be introduced, wherein different touch areas have corresponding anti-missing levels, and the probability of occurrence of a false touch event is higher when the anti-missing level is higher.
  • the area on the touch screen can be divided into area 2 and area 3, and the anti-missing level includes level 1 (the lowest level of anti-missing), level 2, and level 3 (the highest level of anti-missing). .
  • the anti-missing level of the area 2 is level 3, that is, the mis-touch event is likely to occur in the area 2, then the electronic device must recognize the touch to the touch point in the area 2. Whether the point is a false contact, that is, the anti-missing operation must be performed; and the anti-missing level of the area 3 is level 1, that is, the mis-touch event does not occur substantially in the area 3, then the electronic device touches the area 3 Do not need to perform anti-missing operations.
  • the touch area defined on the touch screen may be fixed, or may be adjusted according to a specific application scenario or user habit. Then, for a fixed location, such as a target area where the touch point is located, when the electronic device runs the first application, the target area may belong to the first touch area where the probability of occurrence of the touch event is high, when the electronic device runs the second application. The target area may belong to a second touch area where the probability of occurrence of a touch event is low.
  • the anti-missing level of each touch area may be fixed, and may be adjusted according to a specific application scenario or user habit.
  • This embodiment of the present invention does not impose any limitation, and will be performed in the following embodiments. Explain in detail.
  • the RF circuit 21 can be used for receiving and transmitting information during the transmission or reception of information or during a call.
  • the processor 27 processes the uplink information.
  • the uplink data is sent to the wireless access device.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 21 can also communicate with the network and other devices through wireless communication.
  • the memory 22 can be used to store software programs and modules, and the processor 27 executes various functional applications and data processing of the electronic device by running software programs and modules stored in the memory 22.
  • the input unit 23 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device.
  • the input unit 23 may include a touch screen 341 and other input devices 342.
  • the display unit 24 can be used to display information input by the user or information provided to the user as well as various menus of the electronic device.
  • the display unit 24 can include a display panel 351.
  • the display panel 351 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the camera 25 can also be used as an input device for converting the collected analog video or image signal into a digital signal and storing it in the memory 22.
  • the camera 25 may include a front camera, a rear camera, a built-in camera, an external camera, and the like, which are not limited in this embodiment of the present invention.
  • the electronic device may further include a gravity sensor and other sensors, such as a light sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and details are not described herein.
  • a gravity sensor such as a light sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and details are not described herein.
  • Audio circuitry 26, speaker 371, microphone 372 can provide an audio interface between the user and the electronic device.
  • the audio circuit 26 can transmit the converted electrical data of the received audio data to the speaker 371 for conversion to the sound signal output by the speaker 371; on the other hand, the microphone 372 will collect the sound.
  • the audio signal is converted into an electrical signal, which is received by the audio circuit 26 and converted to audio data, which is then output to the RF circuit 21 for transmission to, for example, another electronic device, or the audio data is output to the memory 22 for further processing.
  • the processor 27 is a control center for the electronic device that connects various portions of the entire electronic device using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 22, and recalling data stored in the memory 22. , performing various functions and processing data of the electronic device to perform overall monitoring of the electronic device.
  • processor 27 may include one or more processing units.
  • the above-mentioned electronic device may further include a power source, a WiFi (Wireless Fidelity) module, a Bluetooth module, and the like, and details are not described herein again.
  • a WiFi Wireless Fidelity
  • Bluetooth Wireless Fidelity
  • the method includes:
  • the electronic device collects actual touch parameters generated by the touch point triggered by the user on the touch screen each time.
  • step 101 when the electronic device detects that a touch point (for example, P1 point) appears on the touch screen, the triggering electronic device tracks the time that the P1 point is generated from the time of falling on the touch screen to leaving the touch screen.
  • Actual touch parameters For example, the time when the P1 point falls on the touch screen, the time when the P1 point leaves the touch screen, the displacement of the P1 point, the coordinates of the P1 point, and the capacitance signal generated at the position of the P1 point, etc., the embodiment of the present invention does not make the specific content of the actual touch parameter.
  • the actual touch parameter can be any parameter that characterizes the user's touch habits.
  • the actual touch parameters collected by the electronic device each time can be represented by a vector.
  • the actual touch parameters i 1 [X 11 , X 12 , . . . , X 1j ], j>0, wherein X 11 can represent the time when the P1 point falls on the touch screen.
  • X 12 can indicate the time when the point P1 leaves the touch screen, ..., X 1j can represent the displacement of the point P1.
  • the time from when the first touch point falls to the touch screen until the last touch point is lifted from the touch screen can be used as a complete learning period, and the electronic device can obtain Y in the current learning period. (Y ⁇ 1)
  • the actual touch parameters i 1 to i Y of the group can be used as a complete learning period, and the electronic device can obtain Y in the current learning period.
  • the electronic device may perform machine learning on the Y (Y ⁇ 1) group actual touch parameters to learn the stay time (or the stay time range) of the touch point on the screen when the user clicks,
  • the target anti-missing parameter such as the dwell time (or the dwell time range) on the screen when the button is pressed for a long time, since the learned target anti-missing parameter can reflect the user's touch habit, therefore, the electronic device uses the target anti-missing touch
  • the accuracy of the parameter identification of the wrong contact will also increase.
  • the electronic device acquires a touch event triggered by the user on the touch screen at the target moment.
  • step 102 the electronic device acquires a touch event triggered by the user on the touch screen at a target time (the target time is later than the time when the electronic device first collects the actual touch parameter of the user), for example, a click operation or a sliding operation, A touch location that includes at least one touch point in the touch event.
  • the electronic device acquires historical touch data of the user in a T time that is closest to the target time, and the historical touch data includes N sets of actual touch parameters recorded in the T time, T>0, N ⁇ 1.
  • the electronic device can obtain the N (N ⁇ Y) group actual touch parameters collected in the T time closest to the target time from the Y group actual touch parameters obtained in step 101, and the N groups actually
  • the touch parameter can be used as historical touch data of the user, and the historical touch data reflects the user's touch habit on the touch screen in the last T time. For example, the magnitude of the displacement used to perform the sliding operation, the size of the user's hand, and the like.
  • the electronic device may adjust the specific value of the above T.
  • the value of T can be set larger, so that the subsequent electronic device can determine a more accurate target defense from a wider range of historical touch data. Mistaken parameters.
  • the value of T can be set smaller, so that the acquired history is obtained.
  • the touch data is mostly generated in the game scene, reflecting the touch habits of the user playing the game on the touch screen in the last T time.
  • the subsequent electronic device can determine a more accurate target anti-error from the historical touch data for the game scene. Touch the parameter.
  • the electronic device determines, according to the historical touch data, the currently used target anti-missing parameter.
  • the electronic device uses the target anti-missing parameter to identify whether the touch point in the touch event is a false contact.
  • the electronic device may perform machine learning according to the N sets of actual touch parameters acquired in step 103, and obtain target touch parameters that match the N sets of actual touch parameters.
  • X' 1 is used to indicate the time when the touch point falls on the touch screen in the last T time
  • X' 2 is used to indicate the time when the touch point leaves the touch screen in the most recent T time
  • X' j is used to indicate the displacement of the touch point in the most recent T time.
  • K 1j , K 2j , and K 3j may be set to be incremental, that is, the weight of the feature value in the actual touch parameter that is closer to the current time is larger, and the calculated target touch parameter Q is closer to the current time.
  • the user's touch habits, the target anti-error parameters predicted by the target touch parameter Q are more accurate.
  • the electronic device can estimate the current target anti-missing parameter according to the target touch parameter Q.
  • the target anti-missing parameter includes a dwell time range of the touch point on the touch screen, then the electronic device can set the target touch parameter.
  • the difference between the time X' 2 of the touch point leaving the touch screen in the last T time and the time X' 1 of the touch point falling on the touch screen in the most recent T time, as the dwell time of the touch point on the touch screen, for example, X ' 1 -X' 2 20, that is, the dwell time is 20 (in ms), then, when the accuracy is ⁇ 5 ms, it can be determined that 20 ⁇ 5 ms is the dwell time range in the above target anti-missing parameter.
  • the target anti-missing parameter for example, the above-mentioned stay time range
  • the electronic device can determine that the touch point is a false contact.
  • the target anti-missing parameter may be any parameter for identifying the wrong contact, for example, the user performs
  • the time (or time range) of the operation, the time (or time range) of the user performing the long press operation, the touch point capacitance signal, and the like are not limited in this embodiment of the present invention.
  • the electronic device may further classify the Y group actual touch parameters collected in step 101 according to different touch events. For example, the actual touch parameters of the Y1 (Y1 ⁇ Y) group corresponding to the click operation are divided into one class, and the actual touch parameters of the Y2 (Y2 ⁇ Y) group corresponding to the sliding operation are divided into one class.
  • the electronic device may use the actual touch parameter in the last T time as the historical touch data from the Y2 group actual touch parameters, so that the electronic device touches according to the historical history.
  • the data determines the target anti-missing parameter
  • different target anti-missing parameters can be generated according to the type of the touch event to improve the accuracy in the anti-missing recognition process.
  • the above steps 102-105 are only described by taking one touch event as an example. It can be understood that the touch control method described in the above steps 102-105 may be continuously cycled, then, the electronic device is touched every time.
  • the target anti-missing parameters determined by the event may be different. Each time the target anti-missing parameter is determined based on the user's recent touch habits, which can be adapted to different users and different application scenarios. The need to touch the operation.
  • the electronic device determines the target anti-missing parameter currently used according to the historical touch data.
  • the (optional) electronic device uses the target anti-missing parameter to determine whether the above-mentioned anti-missing operation performed by the electronic device is a manslaught event.
  • the killing event refers to: a touch point is not a false contact and the electronic device determines the touch point as a false contact, and the electronic device cannot respond to the trigger event of the touch point.
  • the manslaughter point refers to a touch point that is not a false contact but the electronic device determines it as a false contact.
  • the electronic device determines that a touch point is a false contact, it can continue to detect the actual touch parameters of the wrong contact, for example, moving the track, clicking the time, etc., and further, the actual touch parameter and the advance Set the anti-killing parameters to compare. For example, a threshold value of the displacement size is set in the anti-missing parameter. When the magnitude of the displacement obtained in the actual touch parameter exceeds the threshold, the mis-contact is determined to be a killing point, thereby re-issuing the above-mentioned touch event. It is considered to be information about the touch point of the wrong contact.
  • the electronic device may also determine a target anti-missing parameter that conforms to the current user's touch habit according to the historical touch data of the user.
  • the target anti-missing parameter refers to one or more parameters (or parameter intervals) used by the electronic device when determining whether a mis-contact is a killing point; the target anti-missing parameter refers to whether the electronic device determines whether a touch point is One or more parameters (or parameter intervals) used for the wrong contact,
  • the parameters in the target anti-missing parameter may be different from the parameters in the target anti-missing parameter, or some of the parameters may be different.
  • the target anti-missing parameter may include the time (or time range) at which the user performs a click operation, the time (or time range) at which the user performs a long press operation, and the target anti-missing parameter may also include the size of the user's hand type. Wait.
  • the electronic device can determine the size of the user's hand according to the capacitance signal of the touch point in the target touch parameter Q.
  • the electronic device may compare the size of the user's hand in the touch event with the size of the user's hand in the target anti-killing parameter, and when the similarity of the two is less than a threshold, the touch event may be determined.
  • the touch point in the touch point is not a manslaughter point, that is, the touch point in the above touch event is indeed a wrong contact, otherwise, the electronic device can determine that the touch point in the touch event is a manslaughter point.
  • the target anti-killing parameters determined by the electronic device for each of the mis-contacts may be different, and each determined target mis-killing parameter is generated based on the user's recent touch habit, so that it can be adapted to different The need for anti-missing operations by users and different application scenarios to improve the accuracy of identifying the killing point.
  • the electronic setting The target anti-missing parameter determined in step 104 can be directly used as the target anti-missing parameter in step 106.
  • one or more parameters of the target anti-missing parameter are the same as one or more parameters of the target anti-missing parameter, and then the electronic device only needs to determine a parameter different from the target anti-missing parameter.
  • the embodiment of the present invention does not impose any limitation on this.
  • Embodiments of the present invention provide a touch control method in which a touch screen of an electronic device can be divided into one or more touch regions.
  • Each touch area has a corresponding anti-missing level, and the higher the anti-missing level is, the greater the probability of occurrence of a false touch event in the touch area.
  • the touch screen can be divided into three touch areas, that is, a first area, a second area, and a third area.
  • the first area is located at a lower left corner and a lower right corner of the touch screen in a vertical screen state
  • the second area is located at an upper side boundary of the touch screen in a vertical screen state and an area located at a center of the touch screen
  • the third area is in addition to the first area and the first area Part outside the second area.
  • the anti-missing level of the first area can be set to level 3 (assuming that the anti-missing level includes level 1, level 2, and level 3, and level 3 is the highest level, level 1 is the lowest level); in the second area, there is usually no false touch. Therefore, the anti-missing level of the second area can be set to level 1; in the third area, mis-touch may occur, and mis-touch may not occur. Therefore, the anti-missing level of the third area can be set to level 2.
  • the anti-missing level has a direct relationship with whether or not the anti-missing operation is performed.
  • the anti-missing level is high, for example, the anti-missing level of the first area is level 3, and the electronic device must perform the touch point appearing in the area.
  • Anti-missing operation that is, it must be recognized whether the touch point is a false contact; when the anti-false touch level is low, for example, the anti-missing level of the second area is level 1, the electronic device does not have to touch points appearing in the area
  • the anti-missing operation is performed; and when the anti-missing level is the above level 2, the electronic device can reduce the frequency of performing the anti-missing operation, or relax the condition for performing the anti-missing operation, or the electronic device can also be based on the user.
  • the setting, or the specific application scenario further determines whether to perform an anti-missing operation.
  • the first area may be referred to as a red area.
  • the electronic device When the touch point of the touch event falls into the red area, the electronic device must identify whether the touch point is a false contact;
  • the second area may be referred to as a green area.
  • the electronic device When the touch point of the touch event falls into the green area, the electronic device does not need to identify whether the touch point is a false contact, but directly reports the touch event to the processor, and the processor further performs only the corresponding touch event.
  • the third area is also referred to as a yellow area. When the touch point of the touch event falls into the yellow area, the electronic device can determine whether the touch point is a false contact according to the specific application currently executed.
  • the anti-missing level of any of the above areas may be fixed.
  • the anti-missing level of the first area may be set to level 3, and the anti-incorrect level of the second area is always set to the level. 1, or, the anti-missing level of any area can also be adjusted in real time by the electronic device according to the user's touch habits.
  • the anti-missing level of the third area can be set to level 3 by default, when the third area is in advance When there is no accidental killing in the set time, you can prevent it from happening. The touch level is reduced to level 2.
  • the embodiment of the present invention provides a touch control method based on the security mechanism of the above-mentioned anti-missing level. As shown in FIG. 9, the method includes:
  • the electronic device acquires a touch event triggered by a user on a touch screen, where the touch event includes a touch location of the touch point.
  • step 201 the user triggers a touch event on the touch screen of the electronic device, and after the electronic device detects the touch point of the touch event (for example, the P2 point shown in FIG. 10), the electronic device can according to the capacitance signal in the touch screen.
  • the change condition determines the touch position of the touch point, for example, the coordinates of the P2 point, P2 (x, y).
  • the electronic device In response to the touch event, the electronic device updates an anti-missing level of each area in the touch screen.
  • the anti-error level of the three areas at the current time is updated.
  • the anti-missing level of the first area and the second area may be fixed. Then, in step 202, the anti-missing level of the first area and the second area after updating and the first area and the second area before updating The anti-missing level is the same, that is, the anti-missing level of the first area is still level 3, and the anti-missing level of the second area is still level 1.
  • the anti-missing level of the third area may change with time, that is, the anti-missing level set for each of the third areas is temporary.
  • the anti-missing level of the third area is level 1
  • T1 (T1>0) time after T1 (T1>0) time, the risk of occurrence of a false touch event in the third area increases, and therefore, the anti-missing level of the third area can be updated to be Level 2; similarly, when the anti-missing level of the third area is 2, after the T2 (T2>0) time, the anti-missing level of the third area can be updated to 3 levels.
  • the anti-missing level of the third area is originally level 1.
  • the electronic device can calculate the trigger time of the touch event and the refresh time of the last third area update anti-missing level.
  • the time difference between the two, when the time difference is greater than T1 the anti-missing level of the third area can be updated to level 2, that is, the probability of occurrence of a false touch in the third area is increased.
  • the user can also manually set the anti-missing level of each area or update the anti-missing level rules of each area, or the electronic device can according to the instructions or data sent by the server, for example, the target used by 90% of the users pushed by the server.
  • the anti-missing parameter or the target anti-missing parameter is used to update the anti-missing level of each area, which is not limited in this embodiment of the present invention.
  • the electronic device determines an anti-missing level of the target area that includes the touch location.
  • a region of a preset size including the P2 point may be used as the target area.
  • the anti-missing level of the target area may be further determined. As shown in FIG. 11, the target area is located in the third area, and the anti-missing level of the third area has been updated to level 2. Then, it can be determined that the anti-missing level of the target area is also level 2.
  • a (circular or rectangular) area having a radius R (R>0) around the P2 point may be used as the target area.
  • R radius
  • an area formed by a plurality of pixels (for example, 30*30 pixels) centered on the P2 point may be used as the target area, which is not limited in this embodiment of the present invention.
  • the electronic device determines whether to perform an anti-missing operation on the touch event according to the target anti-missing level of the target area.
  • the electronic device performs an anti-missing operation on the above touch event.
  • the electronic device When the anti-missing level is lower than level 1, the electronic device does not perform the anti-missing operation on the touch event, but reports the information about the touch point in the touch event to the processor or the like of the electronic device, and the subsequent processing is performed.
  • the device performs a corresponding operation according to the related information of the touched point, for example, an unlocking operation.
  • the electronic device can reduce the frequency of performing the anti-missing operation, for example, the anti-missing operation can be performed at a frequency of 50%, that is, any touch of the two touched points obtained. Click to perform an anti-missing operation.
  • the electronic device may adjust the anti-missing parameter to perform the anti-missing parameter for the electronic device to perform the anti-missing parameter, for example, the electronic device may click the time. Adjusted from 20ms to 30ms, then when the touch point stays on the touch screen for more than 30ms, it is determined as a false contact.
  • the electronic device may further determine whether to perform an anti-missing operation according to the current application scenario.
  • the electronic device determines whether the wrong contact is a killing point.
  • the electronic device updates the anti-error level of the target area according to the number of missed attacks occurring in the target area.
  • step 205 after the electronic device determines that the touch point in the touch event is a false contact, the actual touch parameter of the touch point may continue to be detected, and the actual touch parameter is preset.
  • the anti-missing parameters are compared to determine whether the touch point is a manslaughter point.
  • the electronic device can record the manslaught time for determining that the touch point is a manslaught point.
  • the electronic device can obtain the number of times of a missed kill event in the target area (ie, determining a mis-contact as a killing point) in the most recent L (L>0) time. If the number is greater than a threshold, the user is The touch behavior in the target area is the normal behavior of the user, therefore, The electronic device can reduce the level of anti-missing of the target area.
  • the anti-missing level of the target area is 3 (ie, the target area belongs to the red area), and after the user triggers a touch event in the target area, if the electronic device determines the touch point in the touch event For the wrong contact, the electronic device can further perform an anti-kill kill operation on the touch point. Then, if it is determined that the mis-contact is a manslaughter point, the electronic device further acquires the number of times of manslaughter in the target area in the most recent L time, and if the accidental kill occurs in the target area 3 times (or more than 3 times), it means The user intentionally touches the P2 point instead of accidentally touching the P2 point.
  • the electronic device can reduce the anti-missing level of the target area from level 3 to level 1 (ie, the target area is reduced from the red area to the green area), so that the current When a touch event occurs in the target area once, since the anti-missing level of the target area has been updated to level 1, the electronic device does not need to perform an anti-missing operation on the current touch event. In this way, it can be avoided that the phenomenon of manslaughter occurs multiple times in the same place, thereby reducing the risk of manslaughter.
  • the refresh time of the target area update anti-missing level may also be recorded.
  • the anti-missing level of the target area is level 2.
  • the electronic device updates the anti-missing level of the target area to level 1, and records the current time as the anti-missing of the target area.
  • the level is the refresh time of level 1; when the number of missed kills is less than or equal to the preset threshold, the electronic device retains the anti-missing level of the target area is still level 2, and records the current time as the error prevention of the target area.
  • the refresh time when the touch level is level 2.
  • the electronic device may update the anti-error level of the target area according to the time difference between the refresh time and the trigger time of the touch event.
  • the anti-missing level involved in the above steps 201-206 may be set and updated for one or more application scenarios.
  • the touch screen is divided into FIG. 11 . Different areas are shown, and according to the above steps 201-206, the user's touch habits when running the application A are learned, and the corresponding anti-missing levels are updated for different areas.
  • the electronic device runs the application B, the electronic device can discard the anti-missing level of each area obtained when the application A is run, and then, according to steps 201-206, learn the user's touch habits when running the application B, and update for different areas. Corresponding anti-missing level. In this way, the anti-missing level of each area obtained when the application A is run does not affect the application B, thereby improving the accuracy of identifying the mis-contact (or the killing point) of the electronic device in various application scenarios.
  • the electronic device may select the above two signal reporting methods.
  • the at least one of the methods performs the touch control process, that is, the above two touch control methods may be superimposed or used in combination, and those skilled in the art may set them according to actual experience or actual application scenarios, and the embodiment of the present invention does not make any limit.
  • the above electronic device or the like includes a hardware structure and/or a software module corresponding to each function.
  • the embodiments of the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the invention.
  • the embodiment of the present invention may perform the division of the function modules on the electronic device or the like according to the above method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 12 is a schematic diagram of a possible structure of an electronic device involved in the foregoing embodiment, where the electronic device includes: an obtaining unit 1101, a determining unit 1102, and an adjusting unit. 1103 and an execution unit 1104.
  • FIG. 13 shows a possible structural diagram of the electronic device involved in the above embodiment.
  • the electronic device includes a processing module 1302 and a communication module 1303.
  • the processing module 1302 is configured to control and manage the actions of the electronic device.
  • the communication module 1303 is configured to support communication between the UE and other network entities.
  • the electronic device may further include a storage module 1301 for storing program codes and data of the electronic device.
  • the processing module 1302 may be a processor or a controller, for example, may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit (Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module 1303 may be a transceiver, a transceiver circuit, a communication interface, or the like.
  • the storage module 1301 may be a memory.
  • the processing module 1302 is a processor
  • the communication module 1303 is an RF transceiver circuit
  • the storage module 1301 is a memory
  • the electronic device provided by the embodiment of the present invention may be the electronic device shown in FIG.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提供一种触摸控制方法及装置,涉及通信技术领域,可提高电子设备执行防误触时的准确率。该方法包括:电子设备获取用户在触摸屏上触发的触摸事件,所述触摸事件包括触摸点的触摸位置;若所述触摸位置所在的目标区域位于第一触摸区域,则所述电子设备确定所述触摸点是否为误触点,所述第一触摸区域位于所述电子设备的触摸屏上;当所述触摸点为误触点时,所述电子设备丢弃所述触摸事件;当所述触摸点不是误触点时,所述电子设备上报所述触摸事件。

Description

一种触摸控制方法及装置 技术领域
本发明实施例涉及通信技术领域,尤其涉及一种触摸控制方法及装置。
背景技术
目前,以触摸方式控制对电子设备执行相应的触控操作已经非常普及,但是,触控操作给用户带来极大便利的同时,触摸屏的灵敏感知性也容易造成误触操作。例如,如图1所示,用户使用右手握住电子设备点击屏幕时,右手手掌的大鱼际很容易误触触摸屏右下角设置的功能按键。
为了减少或避免电子设备执行误触操作,可以在电子设备内部设置防误触算法,这样,在电子设备获取到用户在触摸屏上触发的触摸事件时,可使用该防误触算法判断该触摸事件是否为误触事件。
示例性的,上述防误触算法中设置有一系列防误触参数,例如,判断触摸点的位置是否在预置的误触区域,判断触摸点的移动轨迹是否在预置的位移范围内,以及判断触摸点的持续时间是否在预置的时间范围内等。当满足上述误触判断条件时,可判断该触摸事件为误触事件。
然而,不同用户在触摸屏上的操作习惯可能不同。例如,有的用户单击时在触摸屏上停留的时间较长,而有的用户单击时在触摸屏上停留的时间较短;甚至,同一用户在不同的应用场景下在触摸屏上的操作习惯也可能不同,例如,用户可能开始使用左手操作触摸屏,后来又使用右手操作触摸屏。那么,电子设备使用上述误触算法时可能将用户触发的正常触摸事件判断为误触事件,从而降低电子设备执行防误触时的准确率。
发明内容
本发明实施例提供一种触摸控制方法及装置,可降低因应用场景变化或用户的触摸习惯改变而导致将触摸点误判为误触点的几率,提高电子设备执行防误触时的准确率。
为达到上述目的,本发明实施例采用如下技术方案:
第一方面,本发明实施例提供一种触摸控制方法,包括:电子设备获取用户在触摸屏上触发的触摸事件(该触摸事件包括触摸点的触摸位置);若该触摸位置所在的目标区域位于第一触摸区域(第一触摸区域位于电子设备的触摸屏上),则电子设备可进一步确定该触摸点是否为误触点,即对该触摸点执行防误触操作;那么,当确定出该触摸点为误触点时,电子设备丢弃该触摸事件;相应的,当确定出该触摸点不是误触点时,电子设备可进一步上报该触摸事件,以便后续电子设备执行与该触摸事件对应的操作。那么,通过为划分触摸屏上的第一触摸区域,可以有针对性的对需要识别误触点的区域执行误触点识别操作,从而可提高识别误触点的准确率和效率。
在一种可能的设计方法中,电子设备的触摸屏还包括除第一触摸区域外 的第二触摸区域,其中,在第二触摸区域内发生误触事件的几率小于在第一触摸区域内发生误触事件的几率;该方法还包括:若上述触摸位置所在的目标区域位于第二触摸区域,则电子设备上报该触摸事件。
这样,将触摸屏划分为第一触摸区域和第二触摸区域,由于不同触摸区域内发生误触事件的几率不同,即不同区域所具有的防误触等级不同,那么,对发生误触事件几率较小的第二触摸区域,电子设备无需执行上述防误触操作,直接上报该触摸事件,从而可提高识别误触点的效率。
在一种可能的设计方法中,该方法还包括:若电子设备在预设时间内在该目标区域内未获取到用户操作,则电子设备将该目标触摸区域从第二触摸区域调整为第一触摸区域。这样,针对不同时刻以及不同用户习惯将该目标区域设置为发生误触事件风险不同的触摸区域,从而提高电子设备识别误触点的准确率。
在一种可能的设计方法中,当识别出该触摸点为误触点时,电子设备丢弃该触摸事件之后,还包括:电子设备确定丢弃该触摸事件是否为误杀事件,该误杀事件是指一个触摸点并非误触点而电子设备将该触摸点确定为误触点的触发事件;当丢弃该触摸事件是否为误杀事件时,电子设备补发该触摸事件。
在一种可能的设计方法中,在电子设备确定丢弃该触摸事件是否为误杀事件之后,还包括:当电子设备确定丢弃该触摸事件为误杀事件时,电子设备获取最近L时间内在该目标区域发生误杀事件的误杀次数,L>0;当该误杀次数大于阈值时,电子设备将该目标触摸区域从第一触摸区域调整为第二触摸区域。
这样,当下一次在目标区域发生触摸事件时,由于目标区域以更新为第二触摸区域,即基于用户最近L时间的触摸习惯更新了目标区域的防误触等级,因此,电子设备根据更新后目标区域的防误触等级确定是否执行防误触操作。这样,可以避免误杀现象在同一个地方发生多次,从而降低了误杀风险。
在一种可能的设计方法中,电子设备确定该触摸点是否为误触点,包括:电子设备获取最近T时间内的历史触摸数据,该历史触摸数据用于指示该用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;电子设备根据该历史触摸数据,确定电子设备当前使用的目标防误触参数;电子设备使用该目标防误触参数,识别该触摸事件中的触摸点是否为误触点。
由于上述历史触摸数据可以反映出用户在最近T时间内的触摸习惯,而用户在触摸屏上的触摸操作通常具有连续性,因此,根据上述历史触摸数据确定出的目标防误触参数也可以较为准确的反映出当前用户的触摸习惯,这样,电子设备使用该目标防误触参数识别误触点的准确率也将提高。
在一种可能的设计方法中,该历史触摸数据包括与N个历史触摸点一一对应的N组该实际触摸参数,每组实际触摸参数中包括j个特征值,N≥1,j≥1;其中,电子设备根据该历史触摸数据,确定电子设备当前使用的目标防 误触参数,包括:电子设备将每组实际触摸参数中的第x个特征值加权平均,得到目标触摸参数中的第x个特征值,该目标触摸参数用于指示该用户在最近T时间内的触摸习惯,1≤x≤j;电子设备根据该目标触摸参数预测当前使用的目标防误触参数。
可以看出,电子设备为每一个误触点确定出的目标防误触参数可能都是不一样的,每一次确定出的目标防误触参数都是基于用户最近的触摸习惯生成的,这样可以适应不同用户、不同应用场景下对防误杀操作的需求,以提高识别误触点的准确率。
在一种可能的设计方法中,电子设备确定丢弃该触摸事件是否为误杀事件,包括:电子设备获取最近T时间内的历史触摸数据,该历史触摸数据用于指示该用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;电子设备使用该目标防误杀参数,识别该误触点是否为误误杀点。
可以看出,电子设备为每一个误触点确定出的目标防误杀参数可能都是不一样的,每一次确定出的目标误杀触参数都是基于用户最近的触摸习惯生成的,这样可以适应不同用户、不同应用场景下对防误杀操作的需求,以提高识别误杀点的准确率。
在一种可能的设计方法中,电子设备的触摸屏还包括第三触摸区域,其中,在该第三触摸区域内发生误触事件的几率,小于在该第一触摸区域内发生误触事件的几率且大于在该第二触摸区域内发生误触事件的几率,其中,若该触摸位置所在的目标区域位于该第三触摸区域,则该方法还包括:当电子设备当前在显示界面内运行第一应用时,电子设备确定该触摸点是否为误触点;当电子设备当前在显示界面内运行第二应用时,电子设备上报该触摸事件。
这样,触摸屏上述除了第一触摸区域和第二触摸区域之外,还包括发生误触事件几率介于第一触摸区域和第二触摸区域之间的第三触摸区域,那么,当触摸点在第三触摸区域时,是否执行防误触操作,具体可根据电子设备当前运行的应用确定,从而提高识别误触点的效率。
第二方面,本发明实施例提供一种电子设备,包括:获取单元,用于:获取用户在触摸屏上触发的触摸事件,该触摸事件包括触摸点的触摸位置;确定单元,用于:若该触摸位置所在的目标区域位于第一触摸区域,则确定该触摸点是否为误触点,该第一触摸区域位于电子设备的触摸屏上;执行单元,用于:当该触摸点为误触点时,丢弃该触摸事件;当该触摸点不是误触点时,上报该触摸事件
在一种可能的设计方法中,电子设备的触摸屏还包括除该第一触摸区域外的第二触摸区域,其中,在该第二触摸区域内发生误触事件的几率小于在该第一触摸区域内发生误触事件的几率,该执行单元,还用于:若该触摸位置所在的目标区域位于该第二触摸区域,则上报该触摸事件。
在一种可能的设计方法中,调整单元,用于:若电子设备在预设时间内在该目标区域内未获取到用户操作,则将该目标触摸区域从第二触摸区域调 整为第一触摸区域。
在一种可能的设计方法中,该确定单元,还用于:确定丢弃该触摸事件是否为误杀事件,该误杀事件是指一个触摸点并非误触点而电子设备将该触摸点确定为误触点的触发事件;该执行单元,还用于:当丢弃该触摸事件是否为误杀事件时,补发该触摸事件。
在一种可能的设计方法中,该获取单元,还用于:当电子设备确定丢弃该触摸事件为误杀事件时,获取最近L时间内在该目标区域发生误杀事件的误杀次数,L>0;该调整单元,还用于:当该误杀次数大于阈值时,将该目标触摸区域从第一触摸区域调整为第二触摸区域。
在一种可能的设计方法中,该获取单元,还用于:获取最近T时间内的历史触摸数据,该历史触摸数据用于指示该用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;该确定单元,还用于:根据该历史触摸数据,确定电子设备当前使用的目标防误触参数;该执行单元,还用于:使用该目标防误触参数,确定该触摸点是否为误触点。
在一种可能的设计方法中,该获取单元,还用于:获取最近T时间内的历史触摸数据,该历史触摸数据用于指示该用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;该确定单元,还用于:根据该历史触摸数据确定当前电子设备使用的目标防误杀参数;该执行单元,还用于:使用该目标防误杀参数,确定丢弃该触摸事件是否为误杀事件。
在一种可能的设计方法中,电子设备的触摸屏还包括第三触摸区域,其中,在该第三触摸区域内发生误触事件的几率,小于在该第一触摸区域内发生误触事件的几率且大于在该第二触摸区域内发生误触事件的几率,该执行单元,还用于:当电子设备当前在显示界面内运行第一应用时,确定该触摸点是否为误触点;当电子设备当前在显示界面内运行第二应用时,上报该触摸事件。
第三方面,本发明实施例提供一种电子设备,包括:处理器、存储器、总线和通信接口;该存储器用于存储计算机执行指令,该处理器与该存储器通过该总线连接,当电子设备运行时,该处理器执行该存储器存储的该计算机执行指令,以使电子设备执行上述任一项触摸控制方法。
第四方面,本发明实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令在上述任一项电子设备上运行时,使得电子设备执行上述任一项触摸控制方法。
第五方面,本发明实施例提供一种包含指令的计算机程序产品,当其在上述任一项电子设备上运行时,使得电子设备执行上述任一项触摸控制方法。
本发明实施例中,上述电子设备的名字对设备本身不构成限定,在实际实现中,这些设备可以以其他名称出现。只要各个设备的功能和本发明实施例类似,即属于本发明权利要求及其等同技术的范围之内。
另外,第二方面至第五方面中任一种设计方式所带来的技术效果可参见上述第一方面或第二方面中不同设计方法所带来的技术效果,此处不再赘述。
附图说明
图1为现有技术中一种可能的误触场景示意图;
图2为本发明实施例提供的一种触摸控制方法的场景示意图一;
图3为本发明实施例提供的一种触摸控制方法的场景示意图二;
图4为本发明实施例提供的一种电子设备的结构示意图一;
图5为本发明实施例提供的一种触摸控制方法的流程示意图一;
图6为本发明实施例提供的一种触摸控制方法的场景示意图三;
图7为本发明实施例提供的一种触摸控制方法的原理示意图;
图8为本发明实施例提供的一种触摸控制方法的场景示意图四;
图9为本发明实施例提供的一种触摸控制方法的流程示意图二;
图10为本发明实施例提供的一种触摸控制方法的场景示意图五;
图11为本发明实施例提供的一种触摸控制方法的场景示意图六;
图12为本发明实施例提供的一种电子设备的结构示意图二;
图13为本发明实施例提供的一种电子设备的结构示意图三。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本发明实施例提供一种触摸控制方法,可应用于任意设置有触摸屏的电子设备,例如,手机、可穿戴设备、AR(augmented reality,增强现实)\VR(virtual reality,虚拟现实)设备、平板电脑、笔记本电脑、UMPC(ultra-mobile personal computer,超级移动个人计算机)、上网本、PDA(personal digital assistant,个人数字助理)等,本发明实施例对此不作任何限制。
在传统的防误触过程中,通常在电子设备内预置一组固定的防误触参数,例如,单击时触摸点在屏幕上的停留时间(或停留时间范围)、长按时触摸点在屏幕上的停留时间(或停留时间范围)以及需要执行防误触操作的防误触区域。这样,当电子设备在触摸屏上检测到触摸点时,可以获取到与该防误触参数对应的实际触摸参数,例如,获取到该触摸点在屏幕上的实际坐标,那么,如果该实际坐标位于上述防误触参数中设定的防误触区域内,则电子设备可将该触摸点作为一个误触点,并屏蔽掉该触摸点的相关信息。
然而,由于上述防误触参数是一组固定值,因此,该防误触参数并不适用于所有的用户。例如,对于不同用户的手型,不同的应用场景以及不同的用户触摸习惯,当触摸点在屏幕上产生的实际触摸参数与防误触参数不匹配时,并不能说明该触摸点一定是一个误触点。
对此,在本发明实施例提供的触摸控制方法中,当用户在电子设备的触摸屏上触发一个触摸事件A(例如,滑动操作、单击操作、缩放操作等)时,为了判断该触摸事件A中的触摸点是否为误触点,电子设备可以获取该用户的历史触摸数据,例如,最近T(T>0)时间内采集到的N(N≥1)个触摸点 中每个触摸点产生的实际触摸参数,这样,可以通过该历史触摸数据确定当前时刻电子设备使用的目标防误触参数,后续,再使用该目标防误触参数识别触摸事件A中的触摸点是否为误触点。
由于上述历史触摸数据可以反映出用户在最近T时间内的触摸习惯,而用户在触摸屏上的触摸操作通常具有连续性,因此,根据上述历史触摸数据确定出的目标防误触参数也可以较为准确的反映出当前用户的触摸习惯,这样,电子设备使用该目标防误触参数识别误触点的准确率也将提高。
示例性的,如图2所示,用户使用电子设备浏览网页时,习惯从屏幕的右侧边向左滑动来完成换页操作。一般,位于图2中屏幕右侧边的区域1通常为电子设备预先设置的误操作区域,那么,如果沿用现有技术,当电子设备每次检测到区域1内有触摸点时,都会自动屏蔽该触摸点,直到用户手指滑动出区域1的边界后,电子设备才会将获取到的触摸点的相关信息(例如,触摸点的坐标)上报给处理器,由处理器根据该触摸点的相关信息执行对应的换页操作。
而在本发明实施例中,仍如图2所示,电子设备第1次在区域1内检测到触摸点时,可以仍像现有技术那样自动屏蔽该触摸点。但与此同时,电子设备还会获取本次触摸点在触摸屏上滑动时的实际触摸参数,例如,该触摸点的位移、该触摸点的停留的时间等。那么,在10秒内电子设备可能连续3次都检测到在相同的位置用户触发的滑动操作,当电子设备第4次在区域1内检测到触摸点时,电子设备可以根据之前10秒内采集到的3组历史触摸数据,确定当前的目标防误触参数中区域1不属于误操作区域,即在区域1内无需检测误触点。此时,电子设备可立即将触摸点的相关信息上报给处理器,由处理器根据该触摸点的相关信息执行对应的换页操作,从而提高了电子设备的响应速度。
可以看出,在本发明实施例中,电子设备在不同时刻使用的目标防误触参数,都是一个随着用户的历史触摸数据变化的变量,这样在识别误触点的过程中能够更加符合当前的用户触摸习惯以及当前的应用场景,从而获得更准确的防误触效果。
另外,在本发明实施例提供的触摸控制方法中,还可以将电子设备的触摸屏划分为不同的触摸区域,在不同区域内发生误触事件的几率可能不同。对此,可以引入防误触等级的概念,其中,不同触摸区域具有相应的防误触等级,当防误触等级越高时发生误触事件的几率越高。
例如,如图3所示,可将触摸屏上的区域划分为区域2和区域3,而防误触等级包括等级1(防误触等级最低)、等级2以及等级3(防误触等级最高)。那么,如图3所示,区域2的防误触等级为等级3,也就是说,在区域2中很可能发生误触事件,那么,电子设备对该区域2内的触摸点必须识别该触摸点是否为误触点,即必须执行防误触操作;而区域3的防误触等级为等级1,即在区域3中基本不会发生误触事件,那么,电子设备对区域3内的触摸点无需执行防误触操作。
其中,在触摸屏上划分出的触摸区域可以是固定的,也可以根据具体的应用场景或用户习惯进行调整。那么,对于一个固定的位置,例如触摸点所在的目标区域,当电子设备运行第一应用时,该目标区域可能属于发生触摸事件几率较高的第一触摸区域,当电子设备运行第二应用时,该目标区域可能属于发生触摸事件几率较低的第二触摸区域。
也就会说,每个触摸区域的防误触等级可以是固定的,也可以根据具体的应用场景或用户习惯进行调整,本发明实施例对此不作任何限制,后续实施例中将对此进行详细阐述。
那么,通过为触摸屏上的不同触摸区域设置相应的防误触等级,可以有针对性的对需要识别误触点的区域执行误触点识别操作,从而可提高识别误触点的效率。并且,通过更新任意触摸区域的防误触等级,还可以针对不同时刻以及不同用户习惯为该触摸区域设置相应的防误触等级,从而提高电子设备识别误触点的准确率。
下面将结合图4对电子设备的各个构成部件进行具体的介绍:
RF电路21可用于收发信息或通话过程中,信号的接收和发送,特别地,将无线接入设备的下行信息接收后,给处理器27处理;另外,将上行的数据发送给无线接入设备。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(lownoise amplifier,LNA)、双工器等。此外,RF电路21还可以通过无线通信与网络和其他设备通信。
存储器22可用于存储软件程序以及模块,处理器27通过运行存储在存储器22的软件程序以及模块,从而执行电子设备的各种功能应用以及数据处理。
输入单元23可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元23可包括触摸屏341以及其他输入设备342。
显示单元24可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种菜单。显示单元24可包括显示面板351,可选的,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板351。
摄像头25,也可以作为一种输入设备,具体用于将采集到的模拟视频或图像信号转换成数字信号,进而将其储存在存储器22中。具体的,摄像头25可以包括前置摄像头、后置摄像头、内置摄像头以及外置摄像头等,本发明实施例对此不作任何限制。
电子设备还可以包括重力传感器(gravity sensor)以及其它传感器,比如,光传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
音频电路26、扬声器371、麦克风372可提供用户与电子设备之间的音频接口。音频电路26可将接收到的音频数据转换后的电信号,传输到扬声器371,由扬声器371转换为声音信号输出;另一方面,麦克风372将收集的声 音信号转换为电信号,由音频电路26接收后转换为音频数据,再将音频数据输出至RF电路21以发送给比如另一电子设备,或者将音频数据输出至存储器22以便进一步处理。
处理器27是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器22内的软件程序和/或模块,以及调用存储在存储器22内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器27可包括一个或多个处理单元。
尽管未示出,上述电子设备还可以包括电源、WiFi(wireless fidelity,无线保真)模块、蓝牙模块等,在此不再赘述。
以下,将结合具体实施例详细阐述本发明实施例提供的一种触摸控制方法,如图5所示,该方法包括:
101、电子设备采集用户每次在触摸屏上触发的触摸点产生的实际触摸参数。
在步骤101中,如图6所示,当电子设备检测到触摸屏上出现一个触摸点(例如,P1点)时,触发电子设备跟踪该P1点从落在触摸屏至离开触摸屏这段时间内产生的实际触摸参数。例如,P1点落在触摸屏的时间、P1点离开触摸屏的时间、P1点的位移、P1点的坐标以及在P1点位置产生的电容信号等,本发明实施例对实际触摸参数的具体内容不做限定,该实际触摸参数可以是任意表征用户触摸习惯的参数。
示例性的,电子设备每次采集到的实际触摸参数可以使用一个向量表示。例如,仍以上述P1点为例,采集到的实际触摸参数i1=[X11,X12,…,X1j],j>0,其中,X11可以表示P1点落在触摸屏的时间,X12可以表示P1点离开触摸屏的时间,……,X1j可以表示P1点的位移。
类似的,当检测到P2点时,电子设备可以得到相应的实际触摸参数i2=[X21,X22,…,X2j]。这样,如图8所示,可以将第一个触摸点落至触摸屏至最后一个触摸点从触摸屏上抬起这段时间作为一个完整的学习周期,电子设备在本次学习周期内可以可以得到Y(Y≥1)组实际触摸参数i1至iY。后续,当获取到一个触摸事件后,电子设备可以对上述Y(Y≥1)组实际触摸参数进行机器学习,学习出用户单击时触摸点在屏幕上的停留时间(或停留时间范围)、长按时触摸点在屏幕上的停留时间(或停留时间范围)等目标防误触参数,由于学习出的目标防误触参数可以反映出用户的触摸习惯,因此,电子设备使用该目标防误触参数识别误触点的准确率也将提高。
102、电子设备在目标时刻获取用户在触摸屏上触发的触摸事件。
在步骤102中,电子设备在目标时刻(该目标时刻晚于电子设备首次采集到用户的实际触摸参数的时刻)获取用户在触摸屏上触发的触摸事件,例如,一个单击操作或滑动操作,该触摸事件中包含至少一个触摸点的触摸位置。
103、响应于该触摸事件,电子设备获取距离上述目标时刻最近的T时间内上述用户的历史触摸数据,该历史触摸数据包括该T时间内记录的N组实际触摸参数,T>0,N≥1。
那么,在步骤103中,电子设备可以从步骤101得到的Y组实际触摸参数中,获取距离上述目标时刻最近的T时间内采集到的N(N≤Y)组实际触摸参数,这N组实际触摸参数可作为上述用户的历史触摸数据,该历史触摸数据反映了最近T时间内用户在触摸屏上的触摸习惯。例如,用于执行滑动操作的位移大小,用户手型的大小等。
另外,针对不同的应用场景或者不同的触摸事件,电子设备可以调整上述T的具体取值。例如,当上述触摸事件为单击操作等较为常规的触摸事件时,可以将T的取值设置的大一些,这样,后续电子设备可以从较为广泛的历史触摸数据中确定更为准确的目标防误触参数。又例如,当上述触摸事件是在游戏场景下触发的时,由于游戏场景下触发的触摸事件都较为短暂且集中的,因此,可以将T的取值设置的小一些,这样,获取到的历史触摸数据大多是游戏场景下产生的,反映的是最近T时间内用户在触摸屏上玩游戏时的触摸习惯,后续电子设备可以从该历史触摸数据中针对游戏场景确定出更为准确的目标防误触参数。
104、电子设备根据上述历史触摸数据确定当前使用的目标防误触参数。
105、电子设备使用上述目标防误触参数识别上述触摸事件中的触摸点是否为误触点。
具体的,在步骤104中,电子设备可以根据步骤103中获取的N组实际触摸参数进行机器学习,得到与这N组实际触摸参数匹配的目标触摸参数。
当N=3时,以3组实际触摸参数为例,其中,实际触摸参数1为:i1=[X11,X12,…,X1j],实际触摸参数2为:i2=[X21,X22,…,X2j],实际触摸参数3为:i3=[X31,X32,…,X3j]。那么,可以分别对这3组实际触摸参数中的每个特征值进行加权平均,得到目标触摸参数中对应的特征值。此时,目标触摸参数Q=[X′1,X′2,…,X′j],其中,X′1=K11*X11+K21*X21+K31*X31,K11+K21+K31=1;X′2=K12*X12+K22*X22+K32*X32,K12+K22+K32=1,……,X′j=K1j*X1j+K2j*X2j+K3j*X3j,K1j+K2j+K3j=1。
其中,与步骤101中采集的实际触摸参数类似的,X′1用于表示最近T时间内触摸点落在触摸屏的时间,X′2用于表示最近T时间内触摸点离开触 摸屏的时间,……,X′j用于表示最近T时间内触摸点的位移。
另外,可以设置上述K1j、K2j、K3j的取值为递增的,即距离当前时间较近的实际触摸参数中特征值的权重较大,那么计算出的目标触摸参数Q更加贴近当前时间用户的触摸习惯,后续使用目标触摸参数Q预测出的目标防误参数更加准确。
那么,电子设备根据上述目标触摸参数Q,便可以估算出当前的目标防误触参数,例如,目标防误触参数包括触摸点在触摸屏上的停留时间范围,那么,电子设备可以将目标触摸参数Q中最近T时间内触摸点离开触摸屏的时间X′2,与最近T时间内触摸点落在触摸屏的时间X′1之间的差值,作为触摸点在触摸屏上的停留时间,例如,X′1-X′2=20,即该停留时间为20(单位为ms),那么,当精度为±5ms时,可以确定20±5ms为上述目标防误触参数中的停留时间范围。
由于用户在触摸屏上的触摸操作通常具有连续性,因此,根据上述历史触摸数据确定出的目标防误触参数(例如上述停留时间范围)也可以较为准确的反映出当前用户的触摸习惯。这样,在步骤105中,当步骤102中触摸事件中的触摸点在触摸屏上的停留时间未落入20±5ms这个停留时间范围时,电子设备便可确定该触摸点为误触点。
当然,上述仅以触摸点在触摸屏上的停留时间范围作为目标防误触参数进行举例,可以理解的是,上述目标防误触参数可以是任意用于识别误触点的参数,例如,用户执行单击操作的时间(或时间范围),用户执行长按操作的时间(或时间范围),触摸点电容信号等等,本发明实施例对此不作任何限制。
另外,电子设备还可以按照不同的触摸事件对步骤101中采集到的Y组实际触摸参数分类。例如,将单击操作对应的Y1(Y1≤Y)组实际触摸参数划分为一类,将滑动操作对应的Y2(Y2≤Y)组实际触摸参数划分为一类。
那么,当步骤102中触发的触摸事件为滑动操作时,电子设备可以从上述Y2组实际触摸参数中将最近T时间内的实际触摸参数作为上述历史触摸数据,这样,电子设备在根据上述历史触摸数据确定目标防误触参数时,可以根据触摸事件的类别有针对性的生成不同的目标防误触参数,以提高防误触识别过程中的准确性。
需要说明的是,上述步骤102-105仅以一次触摸事件为例进行说明,可以理解的是,上述步骤102-105所述的触摸控制方法可以是不断循环的,那么,电子设备为每一次触摸事件确定出的目标防误触参数可能都是不一样的,每一次确定出的目标防误触参数都是基于用户最近的触摸习惯生成的,这样可以适应不同用户、不同应用场景下对防误触操作的需求。
106、(可选的)当上述触摸事件中的触摸点为误触点时,电子设备根据上述历史触摸数据确定当前使用的目标防误杀参数。
107、(可选的)电子设备使用该目标防误杀参数,确定电子设备执行的上述防误触操作是否为一个误杀事件。
其中,误杀事件是指:一个触摸点并非误触点而电子设备却将该触摸点确定为误触点,而导致电子设备无法响应该触摸点的触发事件。而误杀点是指:并非误触点而电子设备却将该其确定为误触点的触摸点。
为了避免出现误杀事件,当电子设备确定一个触摸点为误触点后,可以继续检测该误触点的实际触摸参数,例如,移动轨迹,单击时间等,进而,将该实际触摸参数与预先设置的防误杀参数进行比较。例如,防误杀参数中设置了一个位移大小的阈值,当实际触摸参数中获取到的位移大小超过该阈值时,便可确定该误触点为一个误杀点,从而补发上述触摸事件中被误认为是误触点的触摸点的相关信息。
在本发明实施例中,与上述目标防误触参数类似的,电子设备也可以根据上述用户的历史触摸数据,确定一个符合当前用户触摸习惯的目标防误杀参数。
其中,目标防误杀参数是指电子设备在判断一个误触点是否为误杀点时使用的一个或多个参数(或参数区间);上述目标防误触参数是指电子设备在判断一个触摸点是否为误触点时使用的一个或多个参数(或参数区间),
不同的是,目标防误杀参数中的参数可能与目标防误触参数中的参数不同,也可以有一部分参数不相同。例如,目标防误触参数中可能包括用户执行单击操作的时间(或时间范围),用户执行长按操作的时间(或时间范围);而目标防误杀参数中还可能包括用户手型的大小等。
与步骤104类似的,在步骤106中电子设备仍然可以根据步骤103中获取的历史触摸数据,即N组实际触摸参数进行机器学习,得到与N组实际触摸参数匹配的目标触摸参数Q=[X′1,X′2,…,X′j]。
那么,以用户手型大小为目标防误触参数举例,电子设备可以根据目标触摸参数Q中触摸点的电容信号,确定用户手型的大小。
这样,在步骤107中,电子设备可以将上述触摸事件中用户手型的大小与目标防误杀参数中用户手型的大小进行比较,当二者的相似度小于一个阈值时,可确定上述触摸事件中的触摸点并不是一个误杀点,即上述触摸事件中的触摸点确实是一个误触点,否则,则电子设备可以确定上述触摸事件中的触摸点是一个误杀点。
可以看出,电子设备为每一个误触点确定出的目标防误杀参数可能都是不一样的,每一次确定出的目标误杀触参数都是基于用户最近的触摸习惯生成的,这样可以适应不同用户、不同应用场景下对防误杀操作的需求,以提高识别误杀点的准确率。
当然,如果上述目标防误杀参数与上述目标防误触参数相同时,电子设 备可以直接将步骤104确定出的目标防误触参数作为步骤106中的目标防误杀参数。或者,上述目标防误杀参数中的一个或多个参数与上述目标防误触参数的一个或多个参数相同,那么,电子设备仅需确定与上述目标防误触参数中不同的参数即可,本发明实施例对此不作任何限制。
本发明实施例提供一种触摸控制方法,在该方法中,可以将电子设备的触摸屏划分为一个或多个触摸区域。每个触摸区域具有相应的防误触等级,当防误触等级越高时,在该触摸区域内发生误触事件的几率越大。
示例性的,如图8所示,可以将触摸屏划分为3个触摸区域,即第一区域、第二区域以及第三区域。其中,第一区域位于触摸屏在竖屏状态下的左下角和右下角,第二区域位于触摸屏在竖屏状态下的上侧边界以及位于触摸屏中心的区域,第三区域为除第一区域和第二区域之外的部分。
通常,在第一区域很容易发生误触,因此,可以设置第一区域的防误触等级为等级3(假设防误触等级包括等级1、等级2以及等级3,等级3为最高等级,等级1为最低等级);在第二区域通常不会发生误触,因此,可以设置第二区域的防误触等级为等级1;而在第三区域可能发生误触,也可能不会发生误触,因此,可以设置第三区域的防误触等级为等级2。
防误触等级与是否执行防误触操作具有直接关系,当防误触等级较高时,例如,第一区域的防误触等级为等级3,电子设备对该区域内出现的触摸点必须执行防误触操作,即必须识别该触摸点是否为误触点;当防误触等级较低时,例如第二区域的防误触等级为等级1,电子设备对该区域内出现的触摸点不必执行防误触操作;而当防误触等级为上述等级2时,电子设备可以降低执行防误触操作的频率,或者,放宽执行防误触操作的条件,又或者,电子设备还可以根据用户的设置,或者具体的应用场景等条件进一步确定是否执行防误触操作。
示例性的,可以将上述第一区域称为红区,当触摸事件的触摸点落入红区时,电子设备必须识别该触摸点是否为误触点;可以将上述第二区域称为绿区,当触摸事件的触摸点落入绿区时,电子设备不用识别该触摸点是否为误触点,而是直接将该触摸事件直接上报给处理器,由处理器只进一步执行与该触摸事件对应的操作;还可以将上述第三区域称为黄区,当触摸事件的触摸点落入黄区时,电子设备可以根据当前执行的具体应用确定是否识别该触摸点是否为误触点。
这样一来,通过为触摸屏上的不同触摸区域设置相应的防误触等级,可以有针对性的对需要识别误触点的区域执行防误触操作,从而可提高识别误触点的效率。
进一步地,上述各个区域中任意区域的防误触等级可以是固定的,例如,可设置上述第一区域的防误触等级一直为等级3,设置上述第二区域的防误触等级一直为等级1,或者,任意区域的防误触等级也可以由电子设备根据用户的触摸习惯进行实时调整,例如,可以默认将上述第三区域的防误触等级设置为等级3,当第三区域在预设时间内都没有发生误杀事件时,可以将其防误 触等级降为等级2。
当然,上述各区域的划分以及各个区域的形状和大小也可以由本领域技术人员进行设置和调整,本发明实施例对此不作任何限制。
基于上述防误触等级的安全机制,本发明实施例提供一种触摸控制方法,如图9所示,该方法包括:
201、电子设备获取用户在触摸屏上触发的触摸事件,该触摸事件包括触摸点的触摸位置。
在步骤201中,用户在电子设备的触摸屏上触发一个触摸事件,电子设备检测到该触摸事件的触摸点(例如,图10中所示的P2点)后,电子设备可以根据触摸屏内电容信号的变化情况确定该触摸点的触摸位置,例如,P2点的坐标,P2(x,y)。
202、响应于上述触摸事件,电子设备更新触摸屏内各区域的防误触等级。
以图8中的第一区域、第二区域以及第三区域为例,当电子设备每次检测到触摸事件时,均会更新当前时刻这三个区域的防误触等级。
其中,第一区域和第二区域的防误触等级可以是固定的,那么,在步骤202中,更新后第一区域和第二区域的防误触等级与更新前第一区域和第二区域的防误触等级相同,即第一区域的防误触等级仍然为等级3,第二区域的防误触等级仍然为等级1。
而第三区域的防误触等级可以随着时间而变化,即为第三区域每次设置的防误触等级是临时的。当第三区域的防误触等级为1级时,经过T1(T1>0)时间后,在第三区域发生误触事件的风险增加,因此,可更新该第三区域的防误触等级为2级;类似的,当第三区域的防误触等级为2级时,经过T2(T2>0)时间后,可更新该第三区域的防误触等级为3级。
示例性的,第三区域的防误触等级原本为等级1,当检测到上述触摸事件时,电子设备可以计算上述触摸事件的触发时间与最近一次第三区域更新防误触等级的刷新时间之间的时间差,当该时间差大于T1时,可将第三区域的防误触等级更新为等级2,即此时在第三区域发生误触的几率增大了一些。
当然,用户也可以手动设置各个区域的防误触等级或者更新各个区域的防误触等级的规则,或者,电子设备可以根据服务器发送的指令或数据,例如,服务器推送的90%用户使用的目标防误触参数或目标防误杀参数,更新各个区域的防误触等级,本发明实施例对此不作任何限制。
203、电子设备确定包含上述触摸位置的目标区域的防误触等级。
具体的,由于已经获取了上述触摸点P2的触摸位置P2(x,y),那么,如图11所示,可以将包含P2点的预设大小的区域作为目标区域。此时,在步骤203中,可进一步确定该目标区域的防误触等级。如图11所示,该目标区域位于第三区域内,第三区域的防误触等级已经更新为等级2,那么,可以确定该目标区域的防误触等级也为等级2。
其中,仍如图11所示,当P2点位于触摸屏的边缘时,可以将P2点上下周围半径为R(R>0)的(圆形或矩形)区域作为上述目标区域。又或者,当 P2点位于触摸屏的中心时,可以将以P2点为中心的多个像素(例如,30*30个像素)形成的区域作为上述目标区域,本发明实施例对此不作任何限制。
204、电子设备根据目标区域的目标防误触等级,确定是否对上述触摸事件执行防误触操作。
例如,当防误触等级为等级3时,电子设备对上述触摸事件执行防误触操作。
当防误触等级较低为等级1时,电子设备不会上述触摸事件执行防误触操作,而是将该触摸事件中触摸点的相关信息上报给电子设备的处理器等模块,后续由处理器根据该触摸点的相关信息执行对应的操作,例如,解锁操作。
而当防误触等级为上述等级2时,电子设备可以降低执行防误触操作的频率,例如,可以50%的频率执行防误触操作,即对获取到的两个触摸点中的任意触摸点执行防误触操作。或者,相对于等级1时电子设备执行防误触操作使用的防误触参数,电子设备可以调整该防误触参数,以放宽执行防误触操作的条件,例如,电子设备可以将单击时间从20ms调整为30ms,那么,当触摸点在触摸屏上的停留时间大于30ms时,将其确定为误触点。又或者,电子设备还可以根据当前的应用场景进一步确定是否执行防误触操作。例如,当电子设备的显示界面中正在运行对触摸精度要求不高的应用时,无需对上述触摸事件执行防误触操作,可直接上报该触摸事件,而当电子设备的显示界面中正在运行对触摸精度要求较高的应用时,对上述触摸事件执行防误触操作。
其中,电子设备对上述触摸事件执行防误触操作的方法可参见上述步骤101-105中的相关描述,故此处不再赘述。
205、(可选的)当上述触摸事件中的触摸点为误触点时,电子设备确定该误触点是否为误杀点。
206、(可选的)当上述误触点为误杀点时,电子设备根据在上述目标区域发生的误杀次数,更新该目标区域的防误触等级。
如步骤106中所述,在步骤205中,当电子设备确定上述触摸事件中的触摸点为误触点后,可以继续检测该触摸点的实际触摸参数,并将该实际触摸参数与预先设置的防误杀参数进行比较,从而判断该触摸点是否为一个误杀点。
其中,电子设备对上述触摸事件的触摸点执行防误杀操作的方法可参见上述步骤106-107中的相关描述,故此处不再赘述。
进一步地,如果上述触摸点为一个误杀点,则说明步骤204中执行的防误触操作发生错误,此时,电子设备可记录确定该触摸点为误杀点的误杀时间。
那么,在步骤206中,电子设备可以获取到最近L(L>0)时间内在目标区域发生误杀事件(即确定一个误触点为误杀点)的次数,如果该次数大于一个阈值,则说明用户在该目标区域的触摸行为是用户的正常行为,因此, 电子设备可降低该目标区域的防误触等级。
示例性的,仍如图11所示,目标区域的防误触等级为3(即目标区域属于红区),用户在目标区域触发一个触摸事件后,如果电子设备确定该触摸事件中的触摸点为误触点,电子设备可进一步对该触摸点执行防误杀操作。那么,如果确定出该误触点是一个误杀点,则电子设备进一步获取最近L时间内在目标区域发生误杀的次数,如果连续3次(或3次以上)都在目标区域发生误杀,则说明是用户是有意触摸P2点的而非误触P2点,因此,电子设备可以将目标区域的防误触等级从等级3降至等级1(即将目标区域从红区降为绿区),这样,当下一次在目标区域发生触摸事件时,由于目标区域的防误触等级已更新为等级1,因此,电子设备无需对本次触摸事件执行防误触操作。这样,可以避免误杀现象在同一个地方发生多次,从而降低了误杀风险。
进一步地,在步骤206,即电子设备根据误杀次数更新目标区域的防误触等级后,还可以记录目标区域更新防误触等级的刷新时间。例如,目标区域的防误触等级为等级2,当误杀次数大于预设的阈值时,电子设备更新该目标区域的防误触等级为等级1,并将当前时间记录为目标区域的防误触等级为等级1时的刷新时间;而当误杀次数小于或等于该预设的阈值时,电子设备保留该目标区域的防误触等级仍为等级2,并将当前时间记录为目标区域的防误触等级为等级2时的刷新时间。
这样,当后续再次在上述目标区域检测到一个触摸事件时,与步骤202类似的,电子设备可根据上述刷新时间与上述触摸事件的触发时间之间的时间差,更新该目标区域的防误触等级。
需要说明的是,上述步骤201-206中涉及的防误触等级可以是针对某一个或多个应用场景设置和更新的,例如,当电子设备运行应用A时,将其触摸屏划分为如图11所示的不同区域,并按照上述步骤201-206学习在运行应用A时用户的触摸习惯,为不同区域更新相应的防误触等级。而当电子设备运行应用B时,电子设备可丢弃运行应用A时得到的各区域的防误触等级,进而,重新按照步骤201-206学习在运行应用B时用户的触摸习惯,为不同区域更新相应的防误触等级。这样,在运行应用A时得到的各区域的防误触等级不会对应用B产生影响,从而提高了电子设备在各种应用场景下识别误触点(或误杀点)的准确率。
需要说明的是,对于本发明实施例提供的上述两种触摸控制方法,即步骤101-107提供的触摸控制方法以及步骤201-206提供的触摸控制方法,电子设备可以选择上述两种信号上报方法中的至少一中方法完成触摸控制过程,即上述上述两种触摸控制方法可以叠加或组合使用,本领域技术人员可以根据实际经验或实际应用场景对其进行设置,本发明实施例对此不作任何限制。
另外,本领域技术人员可以通过铜柱检测等手段对触摸屏的触摸灵敏度和准确度进行检测,在本发明实施例中,由于不同触摸区域的防误触等级可能不同,因此,每个区域检测出的触摸灵敏度和准确度也可能不同,本发明实施例对此不作任何限制。
可以理解的是,上述电子设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明实施例的范围。
本发明实施例可以根据上述方法示例对上述电子设备等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图12示出了上述实施例中所涉及的电子设备的一种可能的结构示意图,该电子设备包括:获取单元1101、确定单元1102、调整单元1103以及执行单元1104。
获取单元1101用于支持电子设备执行图5中的过程101-103,图9中的过程201;确定单元1102用于支持电子设备执行图5中的过程104和106,图9中的过程203-204;调整单元1103用于支持电子设备执行图9中的过程202和206;执行单元1104用于支持电子设备执行图3中的过程105和107,图9中的过程205。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图13示出了上述实施例中所涉及的电子设备的一种可能的结构示意图。该电子设备包括:处理模块1302和通信模块1303。处理模块1302用于对电子设备的动作进行控制管理。通信模块1303用于支持UE与其他网络实体的通信。该电子设备还可以包括存储模块1301,用于存电子设备的程序代码和数据。
其中,处理模块1302可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块1303可以是收发器、收发电路或通信接口等。存储模块1301可以是存储器。
当处理模块1302为处理器,通信模块1303为RF收发电路,存储模块1301为存储器时,本发明实施例所提供的电子设备可以为图4所示的电子设备。
在上述实施例中,可以全部或部分的通过软件,硬件,固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式出现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘,硬盘、磁带)、光介质(例如,DVD)或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (19)

  1. 一种触摸控制方法,其特征在于,包括:
    电子设备获取用户在触摸屏上触发的触摸事件,所述触摸事件包括触摸点的触摸位置;
    若所述触摸位置所在的目标区域位于第一触摸区域,则所述电子设备确定所述触摸点是否为误触点,所述第一触摸区域位于所述电子设备的触摸屏上;
    当所述触摸点为误触点时,所述电子设备丢弃所述触摸事件;当所述触摸点不是误触点时,所述电子设备上报所述触摸事件。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备的触摸屏还包括除所述第一触摸区域外的第二触摸区域,其中,在所述第二触摸区域内发生误触事件的几率小于在所述第一触摸区域内发生误触事件的几率;所述方法还包括:
    若所述触摸位置所在的目标区域位于所述第二触摸区域,则所述电子设备上报所述触摸事件。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    若所述电子设备在预设时间内在所述目标区域内未获取到用户操作,则所述电子设备将所述目标触摸区域从第二触摸区域调整为第一触摸区域。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,当识别出所述触摸点为误触点时,所述电子设备丢弃所述触摸事件之后,还包括:
    所述电子设备确定丢弃所述触摸事件是否为误杀事件,所述误杀事件是指一个触摸点并非误触点而所述电子设备将该触摸点确定为误触点的触发事件;
    当丢弃所述触摸事件是否为误杀事件时,所述电子设备补发所述触摸事件。
  5. 根据权利要求4所述的方法,其特征在于,在所述电子设备确定丢弃所述触摸事件是否为误杀事件之后,还包括:
    当所述电子设备确定丢弃所述触摸事件为误杀事件时,所述电子设备获取最近L时间内在所述目标区域发生误杀事件的误杀次数,L>0;
    当所述误杀次数大于阈值时,所述电子设备将所述目标触摸区域从第一触摸区域调整为第二触摸区域。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述电子设备确定所述触摸点是否为误触点,包括:
    所述电子设备获取最近T时间内的历史触摸数据,所述历史触摸数据用于指示所述用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;
    所述电子设备根据所述历史触摸数据,确定所述电子设备当前使用的目标防误触参数;
    所述电子设备使用所述目标防误触参数,确定所述触摸点是否为误触点。
  7. 根据权利要求4-6中任一项所述的方法,其特征在于,所述电子设备确定丢弃所述触摸事件是否为误杀事件,包括:
    所述电子设备获取最近T时间内的历史触摸数据,所述历史触摸数据用于指示所述用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;
    所述电子设备根据所述历史触摸数据确定当前所述电子设备使用的目标防 误杀参数;
    所述电子设备使用所述目标防误杀参数,确定丢弃所述触摸事件是否为误杀事件。
  8. 根据权利要求2-7中任一项所述的方法,其特征在于,所述电子设备的触摸屏还包括第三触摸区域,其中,在所述第三触摸区域内发生误触事件的几率,小于在所述第一触摸区域内发生误触事件的几率且大于在所述第二触摸区域内发生误触事件的几率,
    其中,若所述触摸位置所在的目标区域位于所述第三触摸区域,则所述方法还包括:
    当所述电子设备当前在显示界面内运行第一应用时,所述电子设备确定所述触摸点是否为误触点;
    当所述电子设备当前在显示界面内运行第二应用时,所述电子设备上报所述触摸事件。
  9. 一种电子设备,其特征在于,包括:
    获取单元,用于:获取用户在触摸屏上触发的触摸事件,所述触摸事件包括触摸点的触摸位置;
    确定单元,用于:若所述触摸位置所在的目标区域位于第一触摸区域,则确定所述触摸点是否为误触点,所述第一触摸区域位于所述电子设备的触摸屏上;
    执行单元,用于:当所述触摸点为误触点时,丢弃所述触摸事件;当所述触摸点不是误触点时,上报所述触摸事件。
  10. 根据权利要求9所述的电子设备,其特征在于,所述电子设备的触摸屏还包括除所述第一触摸区域外的第二触摸区域,其中,在所述第二触摸区域内发生误触事件的几率小于在所述第一触摸区域内发生误触事件的几率,
    所述执行单元,还用于:若所述触摸位置所在的目标区域位于所述第二触摸区域,则上报所述触摸事件。
  11. 根据权利要求10所述的电子设备,其特征在于,所述电子设备还包括:
    调整单元,用于:若所述电子设备在预设时间内在所述目标区域内未获取到用户操作,则将所述目标触摸区域从第二触摸区域调整为第一触摸区域。
  12. 根据权利要求9-11中任一项所述的电子设备,其特征在于,
    所述确定单元,还用于:确定丢弃所述触摸事件是否为误杀事件,所述误杀事件是指一个触摸点并非误触点而所述电子设备将该触摸点确定为误触点的触发事件;
    所述执行单元,还用于:当丢弃所述触摸事件是否为误杀事件时,补发所述触摸事件。
  13. 根据权利要求12所述的电子设备,其特征在于,
    所述获取单元,还用于:当所述电子设备确定丢弃所述触摸事件为误杀事件时,获取最近L时间内在所述目标区域发生误杀事件的误杀次数,L>0;
    所述调整单元,还用于:当所述误杀次数大于阈值时,将所述目标触摸区域从第一触摸区域调整为第二触摸区域。
  14. 根据权利要求9-13中任一项所述的电子设备,其特征在于,
    所述获取单元,还用于:获取最近T时间内的历史触摸数据,所述历史触摸数据用于指示所述用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;
    所述确定单元,还用于:根据所述历史触摸数据,确定所述电子设备当前使用的目标防误触参数;
    所述执行单元,还用于:使用所述目标防误触参数,确定所述触摸点是否为误触点。
  15. 根据权利要求12-14中任一项所述的电子设备,其特征在于,
    所述获取单元,还用于:获取最近T时间内的历史触摸数据,所述历史触摸数据用于指示所述用户在最近T时间内触发的历史触摸点产生的实际触摸参数,T>0;
    所述确定单元,还用于:根据所述历史触摸数据确定当前所述电子设备使用的目标防误杀参数;
    所述执行单元,还用于:使用所述目标防误杀参数,确定丢弃所述触摸事件是否为误杀事件。
  16. 根据权利要求10-15中任一项所述的电子设备,其特征在于,所述电子设备的触摸屏还包括第三触摸区域,其中,在所述第三触摸区域内发生误触事件的几率,小于在所述第一触摸区域内发生误触事件的几率且大于在所述第二触摸区域内发生误触事件的几率,
    所述执行单元,还用于:当所述电子设备当前在显示界面内运行第一应用时,确定所述触摸点是否为误触点;当所述电子设备当前在显示界面内运行第二应用时,上报所述触摸事件。
  17. 一种电子设备,其特征在于,包括:处理器、存储器、总线和通信接口;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述总线连接,当所述电子设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述电子设备执行如权利要求1-8中任一项所述的触摸控制方法。
  18. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在如权利要求9-16中任一项所述的电子设备上运行时,使得所述电子设备执行如权利要求1-8中任一项所述的触摸控制方法。
  19. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在如权利要求9-16中任一项所述的电子设备上运行时,使得所述电子设备执行如权利要求1-8中任一项所述的触摸控制方法。
PCT/CN2017/081494 2017-04-21 2017-04-21 一种触摸控制方法及装置 WO2018191972A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
PCT/CN2017/081494 WO2018191972A1 (zh) 2017-04-21 2017-04-21 一种触摸控制方法及装置
KR1020197033845A KR102383295B1 (ko) 2017-04-21 2017-04-21 터치 제어 방법 및 장치
JP2019557436A JP6862575B2 (ja) 2017-04-21 2017-04-21 タッチ制御方法及び装置
CN201780008043.6A CN109074216B (zh) 2017-04-21 2017-04-21 一种触摸控制方法及装置
US16/606,607 US11334193B2 (en) 2017-04-21 2017-04-21 Touch control method and apparatus
EP17906504.0A EP3605301B1 (en) 2017-04-21 2017-04-21 Touch control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/081494 WO2018191972A1 (zh) 2017-04-21 2017-04-21 一种触摸控制方法及装置

Publications (1)

Publication Number Publication Date
WO2018191972A1 true WO2018191972A1 (zh) 2018-10-25

Family

ID=63855434

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/081494 WO2018191972A1 (zh) 2017-04-21 2017-04-21 一种触摸控制方法及装置

Country Status (6)

Country Link
US (1) US11334193B2 (zh)
EP (1) EP3605301B1 (zh)
JP (1) JP6862575B2 (zh)
KR (1) KR102383295B1 (zh)
CN (1) CN109074216B (zh)
WO (1) WO2018191972A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414098A (zh) * 2020-04-29 2020-07-14 Oppo(重庆)智能科技有限公司 触摸屏控制方法和装置、电子设备、计算机可读存储介质
CN111708479A (zh) * 2020-07-17 2020-09-25 腾讯科技(深圳)有限公司 触控操作的响应方法、装置、终端及存储介质
US11262902B2 (en) 2020-05-11 2022-03-01 Apple Inc. System, method and user interface for supporting scheduled mode changes on electronic devices
US11379106B1 (en) 2021-05-12 2022-07-05 Apple Inc. Devices, methods, and graphical user interfaces for adjusting the provision of notifications
US11489803B2 (en) 2018-05-07 2022-11-01 Apple Inc. Devices, methods, and graphical user interfaces for proactive management of notifications
US11861159B2 (en) 2016-09-24 2024-01-02 Apple Inc. Devices, methods, and graphical user interfaces for selecting and interacting with different device modes

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286788B (zh) * 2019-06-10 2023-03-28 Oppo广东移动通信有限公司 屏下指纹识别防误触方法及相关产品
CN110737359B (zh) * 2019-09-05 2022-10-25 Oppo(重庆)智能科技有限公司 报点方法、触摸屏及存储介质
CN111309179A (zh) * 2020-02-10 2020-06-19 北京小米移动软件有限公司 触控屏控制方法及装置、终端及存储介质
CN111897476B (zh) * 2020-07-31 2022-02-08 维沃移动通信有限公司 防误触设置方法及装置
KR20220142886A (ko) * 2021-04-15 2022-10-24 삼성전자주식회사 터치 입력 데이터를 처리하는 전자 장치 및 터치 입력 데이터를 처리하는 전자 장치를 제어하는 방법
CN113867540A (zh) * 2021-10-19 2021-12-31 科大讯飞股份有限公司 指尖点击位置检测方法及装置
CN116301424B (zh) * 2023-03-02 2023-10-31 瑞态常州高分子科技有限公司 基于压力触摸传感器的触摸识别系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104635985A (zh) * 2015-01-30 2015-05-20 深圳市中兴移动通信有限公司 移动终端防误触控方法及装置
WO2015106416A1 (zh) * 2014-01-16 2015-07-23 华为终端有限公司 一种触摸信号的处理方法及终端设备
CN105045454A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种终端防误触方法及终端
CN106527818A (zh) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 一种移动终端上触摸操作的控制方法、装置及移动终端

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000039964A (ja) 1998-07-22 2000-02-08 Sharp Corp 手書き入力装置
US20090174679A1 (en) * 2008-01-04 2009-07-09 Wayne Carl Westerman Selective Rejection of Touch Contacts in an Edge Region of a Touch Surface
US9411459B2 (en) * 2010-05-19 2016-08-09 Lg Electronics Inc. Mobile terminal and control method thereof
KR101685363B1 (ko) 2010-09-27 2016-12-12 엘지전자 주식회사 휴대 단말기 및 그 동작 방법
KR20120109027A (ko) * 2011-03-24 2012-10-08 삼성전자주식회사 휴대 단말기의 터치 오동작 방지 방법 및 장치
KR101823476B1 (ko) * 2011-06-14 2018-01-30 엘지전자 주식회사 이동 단말기 및 이를 이용한 터치 제어 방법
KR20130102298A (ko) * 2012-03-07 2013-09-17 주식회사 팬택 휴대용 단말기 및 휴대용 단말기의 디스플레이 제어 방법
US9395852B2 (en) * 2012-05-07 2016-07-19 Cirque Corporation Method for distinguishing between edge swipe gestures that enter a touch sensor from an edge and other similar but non-edge swipe actions
KR20130138880A (ko) * 2012-06-11 2013-12-20 삼성전자주식회사 단말기의 터치 입력 제어장치 및 방법
US20140160085A1 (en) 2012-12-07 2014-06-12 Qualcomm Incorporated Adaptive analog-front-end to optimize touch processing
CN103235695B (zh) * 2013-04-11 2016-09-28 广东欧珀移动通信有限公司 触控设备中防止误操作的方法及其装置
JP2016045524A (ja) 2014-08-19 2016-04-04 シャープ株式会社 入力判定装置および電子機器
CN104731498B (zh) * 2015-01-30 2016-07-13 努比亚技术有限公司 移动终端防误触控方法及装置
CN105487809A (zh) 2015-12-28 2016-04-13 魅族科技(中国)有限公司 一种终端的控制方法及装置
CN105786391A (zh) * 2016-03-24 2016-07-20 京东方科技集团股份有限公司 触控方法及装置、触控显示设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015106416A1 (zh) * 2014-01-16 2015-07-23 华为终端有限公司 一种触摸信号的处理方法及终端设备
CN104635985A (zh) * 2015-01-30 2015-05-20 深圳市中兴移动通信有限公司 移动终端防误触控方法及装置
CN105045454A (zh) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 一种终端防误触方法及终端
CN106527818A (zh) * 2016-12-16 2017-03-22 广东欧珀移动通信有限公司 一种移动终端上触摸操作的控制方法、装置及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3605301A4 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11861159B2 (en) 2016-09-24 2024-01-02 Apple Inc. Devices, methods, and graphical user interfaces for selecting and interacting with different device modes
US11489803B2 (en) 2018-05-07 2022-11-01 Apple Inc. Devices, methods, and graphical user interfaces for proactive management of notifications
US11502984B2 (en) 2018-05-07 2022-11-15 Apple Inc. Devices, methods, and graphical user interfaces for proactive management of notifications
CN111414098A (zh) * 2020-04-29 2020-07-14 Oppo(重庆)智能科技有限公司 触摸屏控制方法和装置、电子设备、计算机可读存储介质
CN111414098B (zh) * 2020-04-29 2022-05-13 Oppo(重庆)智能科技有限公司 触摸屏控制方法和装置、电子设备、计算机可读存储介质
US11262902B2 (en) 2020-05-11 2022-03-01 Apple Inc. System, method and user interface for supporting scheduled mode changes on electronic devices
US11561688B2 (en) 2020-05-11 2023-01-24 Apple Inc. System, method and user interface for supporting scheduled mode changes on electronic devices
US11669235B2 (en) 2020-05-11 2023-06-06 Apple Inc. System, method and user interface for supporting scheduled mode changes on electronic devices
CN111708479A (zh) * 2020-07-17 2020-09-25 腾讯科技(深圳)有限公司 触控操作的响应方法、装置、终端及存储介质
CN111708479B (zh) * 2020-07-17 2022-09-06 腾讯科技(深圳)有限公司 触控操作的响应方法、装置、终端及存储介质
US11379106B1 (en) 2021-05-12 2022-07-05 Apple Inc. Devices, methods, and graphical user interfaces for adjusting the provision of notifications

Also Published As

Publication number Publication date
KR102383295B1 (ko) 2022-04-05
US20200133458A1 (en) 2020-04-30
EP3605301B1 (en) 2022-06-29
US11334193B2 (en) 2022-05-17
CN109074216B (zh) 2020-12-15
EP3605301A4 (en) 2020-04-15
EP3605301A1 (en) 2020-02-05
KR20190142356A (ko) 2019-12-26
JP2020518904A (ja) 2020-06-25
JP6862575B2 (ja) 2021-04-21
CN109074216A (zh) 2018-12-21

Similar Documents

Publication Publication Date Title
WO2018191972A1 (zh) 一种触摸控制方法及装置
CN109891379B (zh) 一种防误触方法及终端
CN109828688B (zh) 屏幕损坏处理方法、移动终端及计算机可读存储介质
US20180137565A1 (en) Method, device, and storage medium for determining credit score
CN109542279B (zh) 一种终端设备控制方法及终端设备
KR20150079829A (ko) 제스처에 기반한 대화 처리 방법, 장치, 단말 장치, 프로그램 및 기록 매체
CN110009004B (zh) 图像数据处理方法、计算机设备和存储介质
CN113253878B (zh) 触摸屏的报点确定方法、装置、电子设备及存储介质
EP3678001B1 (en) Method and device for controlling output of report
US20210014104A1 (en) Method for processing beam failure, and terminal
CN111064842B (zh) 一种识别异形触摸的方法、终端及存储介质
WO2017191908A1 (ko) 위치 정보 계산 방법 및 그 전자 장치
CN109254691B (zh) 一种防误触方法、装置及存储介质
KR102513147B1 (ko) 전자 장치 및 그의 터치 입력 인식 방법
CN108388400B (zh) 一种操作处理方法及移动终端
KR102553573B1 (ko) 전자 장치 및 전자 장치의 터치 입력 감지 방법
CN111064847B (zh) 一种防误触方法、装置、存储介质及电子设备
CN109902484B (zh) 一种关联应用的处理方法以及终端
WO2018225966A1 (ko) 통신을 제어하는 전자장치 및 동작 방법
CN110673753A (zh) 按键误触纠错方法及装置
WO2019071611A1 (zh) 一种终端设备的故障处理方法及终端设备
CN110262697B (zh) 触控数据补偿方法、触摸屏终端以及计算机可读存储介质
CN111654577A (zh) 紧急呼叫方法、装置、存储介质及移动终端
WO2018191909A1 (zh) 一种信号上报方法及装置
CN110276181B (zh) 信息处理方法、电子设备及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17906504

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019557436

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017906504

Country of ref document: EP

Effective date: 20191101

ENP Entry into the national phase

Ref document number: 20197033845

Country of ref document: KR

Kind code of ref document: A