A gesture erasing method, device and electronic device

By marking alternate touch points on the touch screen of the electronic device, the function exit problem caused by the user's inability to maintain movement for a long time during the erase process is solved, and the continuity of gesture erase function and the improvement of user experience is achieved.

CN115113793BActive Publication Date: 2025-04-01HISENSE VISUAL TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210583448.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-25
Publication Date
2025-04-01
Estimated Expiration
2042-05-25

AI Technical Summary

Technical Problem

In the prior art, the user cannot maintain an erase action for a long time during the erase process, resulting in the electronic device accidentally exiting the gesture erase function, and the user experience is poor.

Method used

On the touch screen of the electronic device, the second touch point other than the first touch point is marked as a backup touch point. When the first touch point disappears, if there is a backup touch point in the target range, the gesture erase function continues to be performed.

Benefits of technology

It solves the problem of function exit caused by the user's inability to maintain movement for a long time during the erase process, ensuring the continuity of gesture erase function and the improvement of user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115113793B_ABST
    Figure CN115113793B_ABST
Patent Text Reader

Abstract

The present disclosure provides a gesture erasing method, device and electronic device, which relate to the field of touch technology and are used to solve the problem in the prior art that a user cannot maintain an erasing action for a long time during the erasing process, causing the electronic device to mistakenly exit the gesture erasing function. The method comprises: after starting a first function, if there is a second touch point other than the first touch point within a target range, marking the second touch point as a spare touch point; after the first touch point disappears, if there is a spare touch point within the target range, continuing to execute the first function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of touch control technology, and in particular to a gesture erasing method, device and electronic device. Background Art

[0002] In the prior art, after a user writes content on an electronic device through the writing function of the electronic device, when erasing the written content, it is necessary to maintain an erasing action to erase the written content. When the erasing action changes, the electronic device will exit the gesture erasing function, resulting in a poor user experience. Summary of the invention

[0003] In view of this, the present disclosure provides a gesture erasing method, device and electronic device, which are used to solve the problem in the prior art that the user cannot maintain an erasing action for a long time during the erasing process, causing the electronic device to mistakenly exit the gesture erasing function.

[0004] In order to achieve the above objectives, the present disclosure provides the following technical solutions:

[0005] In a first aspect, the present disclosure provides a gesture erasing method, which is applied to an electronic device including a touch screen, comprising: after starting a first function, if there is a second touch point other than the first touch point within a target range, marking the second touch point as a spare touch point; wherein the first touch point is used to trigger the first function; after the first touch point disappears, if there is a spare touch point within the target area, continuing to execute the first function.

[0006] In one implementable manner, after the electronic device starts the first function, if there is a second touch point other than the first touch point within the target range, before marking the second touch point as a spare touch point, the gesture erasing method provided by the present disclosure also includes: obtaining a first contact area corresponding to at least one first touch point on the touch screen; and starting the first function when the first contact area is greater than or equal to an area threshold.

[0007] In an implementable manner, the gesture erasing method provided by the present disclosure also includes: when the first contact area is smaller than an area threshold and there is a newly added third touch point within the target range within a first preset time, obtaining a second contact area corresponding to the third touch point; when the second contact area is greater than or equal to the area threshold, starting the second function.

[0008] In an practicable manner, the gesture erasing method provided by the present disclosure further includes: when there is a fourth touch point in a range other than the target range and the electronic device is in the first mode, deleting the fourth touch point.

[0009] In an implementable manner, the gesture erasing method provided by the present disclosure also includes: when there is a fourth touch point in a range other than the target range and the electronic device is not in the first mode, obtaining a third contact area corresponding to the fourth touch point; when the third contact area is greater than or equal to an area threshold, starting the third function.

[0010] In an practicable manner, the gesture erasing method provided by the present disclosure further includes: after the first touch point disappears, if there is no spare touch point within the target range, exiting the first function.

[0011] In an practicable manner, the gesture erasing method provided by the present disclosure further includes: after the first touch point disappears, if there is no spare touch point in the target range, and there is a newly added fifth touch point in the target range within the second preset time, then continuing to execute the first function.

[0012] In an practicable manner, the gesture erasing method provided by the present disclosure further includes: after the first touch point disappears, if there is no spare touch point in the target range and there is no newly added fifth touch point in the target range within a second preset time, then exiting the first function.

[0013] In a second aspect, the present disclosure provides a gesture erasing device, including: a processing unit, used to mark the second touch point as a spare touch point if there is a second touch point other than the first touch point within a target range after the electronic device starts a first function; wherein the first touch point is used to trigger the first function; the processing unit is also used to continue executing the first function if there is a spare touch point within the target area after the first touch point disappears.

[0014] In one practicable manner, the gesture erasing device also includes an acquisition unit; the acquisition unit is used to acquire a first contact area corresponding to at least one first touch point on the touch screen; and a processing unit is used to start the first function when the first contact area acquired by the acquisition unit is greater than or equal to an area threshold.

[0015] In one implementable manner, the processing unit is further used to control the acquisition unit to acquire a second contact area corresponding to a third touch point when the first contact area acquired by the acquisition unit is smaller than an area threshold and there is a newly added third touch point within the target range within a first preset time; the processing unit is further used to start the second function when the second contact area acquired by the acquisition unit is greater than or equal to the area threshold.

[0016] In an implementable manner, the processing unit is further configured to delete the fourth touch point when there is a fourth touch point in other ranges except the target range and the electronic device is in the first mode.

[0017] In one implementable manner, the gesture erasing device also includes an acquisition unit; the processing unit is further used to control the acquisition unit to acquire a third contact area corresponding to the fourth touch point when there is a fourth touch point in a range other than the target range and the electronic device is not in the first mode; the processing unit is further used to start the third function when the third contact area acquired by the acquisition unit is greater than or equal to an area threshold.

[0018] In an practicable manner, the processing unit is further configured to exit the first function if there is no spare touch point within the target range after the first touch point disappears.

[0019] In an practicable manner, the processing unit is further configured to continue executing the first function after the first touch point disappears if there is no spare touch point in the target range and there is a newly added fifth touch point in the target range within a second preset time.

[0020] In an practicable manner, the processing unit is further configured to exit the first function after the first touch point disappears if there is no spare touch point in the target range and there is no newly added fifth touch point in the target range within a second preset time.

[0021] In a third aspect, the present disclosure provides an electronic device, including: a communication interface, a processor, a memory, and a bus; the memory is used to store computer-executable instructions, and the processor and the memory are connected via the bus. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the gesture erasing method provided in the first aspect above.

[0022] In a fourth aspect, the present disclosure provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a computing device, the computing device implements the gesture erasing method provided in the first aspect above.

[0023] In a fifth aspect, the present disclosure provides a computer program product. When the computer program product is run on a computer, the computer executes the gesture erasing method designed in the first aspect.

[0024] It should be noted that the above computer instructions may be stored in whole or in part on a first computer-readable storage medium, wherein the first computer-readable storage medium may be packaged together with the processor of the gesture erasing device, or may be packaged separately from the processor of the gesture erasing device, which is not limited in the present disclosure.

[0025] The description of the second, third, fourth and fifth aspects in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0026] In the present disclosure, the name of the gesture erasing device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present disclosure, they fall within the scope of the claims of the present disclosure and their equivalent technologies.

[0027] These and other aspects of the present disclosure will become more apparent from the following description.

[0028] Compared with the prior art, the technical solution provided by the present invention has the following advantages:

[0029] The present disclosure provides a gesture erasing method, in which a user triggers a first function by inputting at least one first touch point on the touch screen of an electronic device, such as a gesture erasing function. In this way, the electronic device turns on the gesture erasing function. After the electronic device turns on the first function, the user can erase the written content. At the same time, during the erasing process, the electronic device detects a target range including the first touch point. Thus, when the electronic device has a second touch point other than the first touch point within the target range, the second touch point is marked as a spare touch point. In this way, even if the first touch point disappears, if the spare touch point exists within the target range, the electronic device can continue to execute the gesture erasing function. This solves the problem in the prior art that the user cannot maintain an erasing action for a long time during the erasing process, causing the electronic device to mistakenly exit the gesture operation function. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0032] Figure 1 A schematic diagram of a scene of a gesture erasing method provided in an embodiment of the present application;

[0033] Figure 2One of the structural schematic diagrams of the display device in the gesture erasing method provided in the embodiment of the present application;

[0034] Figure 3 The second structural diagram of the display device in the gesture erasing method provided in the embodiment of the present application;

[0035] Figure 4 One of the flowcharts of the gesture erasing method provided in the embodiment of the present application;

[0036] Figure 5 The second scene diagram of the gesture erasing method provided in the embodiment of the present application;

[0037] Figure 6 The second flowchart of the gesture erasing method provided in the embodiment of the present application;

[0038] Figure 7 The third flowchart of the gesture erasing method provided in the embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of a display device provided in an embodiment of the present application;

[0040] Fig. 9 One of the schematic diagrams of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0042] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0043] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0044] The gesture erasing function in the disclosed embodiment refers to using the palm to contact the touch screen, treating the palm as an eraser, and executing the function of erasing the written content on the touch screen.

[0045] Figure 1 is a schematic diagram of an operation scenario between a display device and a control device according to one or more embodiments of the present application, such as Figure 1 As shown, the user can operate the display device 200 through the mobile terminal 300 and the control device 100. The control device 100 can be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless or other wired methods to control the display device 200. The user can input user instructions through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200. In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices can also be used to control the display device 200.

[0046] In some embodiments, the mobile terminal 300 can install software applications with the display device 200, and realize connection communication through the network communication protocol to achieve the purpose of one-to-one control operation and data communication. The audio and video content displayed on the mobile terminal 300 can also be transmitted to the display device 200 to realize the synchronous display function. The display device 200 also communicates data with the electronic device 400 through various communication methods. The display device 200 can be allowed to communicate and connect through a local area network (LAN), a wireless local area network (WLAN) and other networks. The electronic device 400 can provide various content and interactions to the display device 200. The display device 200 can be a liquid crystal display, an OLED display, or a projection display device. In addition to providing a broadcast receiving television function, the display device 200 can also provide an intelligent network TV function that provides a computer support function.

[0047] In some embodiments, the electronic device provided by the embodiment of the present application may be the above-mentioned display device 200. Among them, the display device 200 triggers the first function by receiving at least one first touch point input by the user on the touch screen, such as the first function is a gesture erasing function. In this way, the display device 200 turns on the gesture erasing function. After the display device 200 turns on the gesture erasing function, the user can erase the written content. At the same time, during the erasing process, the display device 200 detects through the target range containing the first touch point. In this way, when the display device 200 has a second touch point other than the first touch point within the target range, the second touch point is marked as a spare touch point. In this way, even if the first touch point disappears, if there is a spare touch point within the target range, the display device 200 can continue to execute the gesture erasing function. Solve the problem in the prior art. During the erasing process, the user cannot maintain an erasing action for a long time, causing the electronic device to mistakenly exit the gesture operation function.

[0048] Figure 2 FIG. 2 shows a hardware configuration block diagram of a display device 200 according to an exemplary embodiment. Figure 2 The display device 200 shown includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 can be a display with a touch function, such as a touch display. The tuner 210 receives broadcast television signals by wired or wireless reception, and demodulates audio and video signals from multiple wireless or wired broadcast television signals, such as and EPG data signals. The detector 230 is used to collect signals of the external environment or interact with the outside. The controller 250 and the tuner 210 can be located in different split devices, that is, the tuner 210 can also be in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0049] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200.

[0050] In some embodiments, the touch sensor is also called a "touch screen". The touch sensor can be arranged on the display 260, and the touch screen composed of the touch sensor and the display 260 is also called a "touch screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can transmit the detected touch operation to the central processor to determine the type of touch event. Visual output related to the touch operation can be provided by the display 260. In other embodiments, the touch sensor can also be arranged on the surface of the display device 200, which is different from the position of the display 260. The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be arranged on the display 260. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. Capacitive pressure sensors can be at least two parallel plates with conductive materials. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The display device 200 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display 260, the display device 200 detects the intensity of the touch operation based on the pressure sensor. The display device 200 may also calculate the touch position according to the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions.

[0051] In some examples, the display device 200 of one or more embodiments is a TV set 1, and the operating system of the TV set 1 is an Android system. Figure 3 As shown, the television set 1 can be logically divided into an application layer (“application layer” for short) 21 , a kernel layer 22 and a hardware layer 23 .

[0052] Among them, Figure 3 As shown, the hardware layer may include Figure 2 The detector 230 and the display 260 shown in the figure. The application layer 21 includes one or more applications. The application can be a system application or a third-party application. For example, the application layer 21 includes a first application, and the first application can provide a writing function and a gesture erasing function. The kernel layer 22 is a software middleware between the hardware layer and the application layer 21, which is used to manage and control hardware and software resources.

[0053] In some examples, the kernel layer 22 includes a first driver, which is used to send the touch operation collected by the detector 230 to the first application. The first application in the TV set 1 is started, and the first driver is used to send the touch operation input by the user collected by the detector 230 to the first application for identification. Afterwards, the processing unit 211 of the first application determines the target function that the user needs to execute according to the touch operation obtained by the acquisition unit 210, such as: when the target function is a writing function, the user can write the required content on the touch screen. Or, when the target function is a gesture erasing function, the first application determines whether to start the gesture erasing function according to the first contact area corresponding to the first touch point corresponding to the touch operation on the touch screen. Afterwards, when the processing unit 211 of the first application determines that the first contact area is greater than or equal to the area threshold, the gesture erasing function is started. In this way, the user can erase the written content. During the erasing process, the processing unit 211 of the first application detects through the target range containing the first touch point. For example, when the processing unit 211 has a second touch point other than the first touch point in the target range, the second touch point is marked as a spare touch point. In this way, even if the first touch point disappears, it is still possible to determine whether there is a spare touch point in the target range. If there is a spare touch point in the target range, the television 1 can continue to perform the gesture erasing function.

[0054] Specifically, the storage unit 212 of the first application can be used to store the program code of the writing display device 200, and can also be used to store data generated during the operation of the writing display device 200, such as data in a writing request.

[0055] The methods in the following embodiments can all be implemented in the display device 200 having the above hardware structure. In the following embodiments, the electronic device provided in the embodiments of the present disclosure is taken as the above display device 200 as an example to illustrate the methods in the embodiments of the present application.

[0056] The present application embodiment provides a gesture erasing method, such as Figure 4 As shown, the gesture erasing method may include S11 and S12.

[0057] S11. After the first function is started, if there is a second touch point other than the first touch point in the target range, the second touch point is marked as a spare touch point. The first touch point is used to trigger the first function.

[0058] In some examples, after the user starts the first application on the display device 200, the following is displayed: Figure 5 After that, the user writes content on the interface 501 through the writing function provided by the first application, and the following is displayed: Figure 5The interface 502 shown in (b) of FIG. 5 is shown in FIG. 5. When erasing the written content, the user can click Figure 5 Alternatively, the user can input a touch operation (such as a touch operation) on the touch screen of the display device 200. Figure 5 5040 shown in (d) in FIG. 5, wherein the dotted line in 5040 corresponds to the target range), if the palm 1 is pressed on the touch screen of the display device 200, the display is as follows Figure 5 The first application then determines whether to start the first function according to the first contact area corresponding to the first touch point corresponding to the touch operation on the touch screen. The first application then starts the first function when it determines that the first contact area is greater than or equal to the area threshold.

[0059] It should be noted that in the gesture erasing method provided in the embodiment of the present disclosure, when starting the first function, the first application needs to determine the relationship between the first contact area corresponding to the first touch point corresponding to the touch operation on the touch screen and the area threshold within the target range corresponding to the touch operation, and determine whether to start the first function. The first function is started only when the first contact area is greater than the area threshold. In this way, it can be avoided that when multiple users operate the touch screen at the same time, the problem of mistakenly starting the first function due to the sum of the contact areas of the touch points corresponding to multiple touch operations on the touch screen being greater than the area threshold is avoided. Specifically, in order to better identify the touch operation, in the gesture erasing method provided in the embodiment of the present disclosure, the size of the target range is set to the width of the palm multiplied by the length of the palm. In this way, when the user uses the first function, even if the user's erasing gesture changes (that is, there is a second touch point other than the first touch point in the target range), the display device 200 will not mistakenly exit the first function, ensuring the user experience. Among them, when the touch operation input by the user only includes one first touch point, the center of the target range is equal to the pixel coordinates of the first touch point at this time. As the erasing operation proceeds, the first touch point disappears, but one or more second touch points exist in the target range. At this time, the center of the target range is equal to the average value of the pixel coordinates of the one or more second touch points.

[0060] It should be noted that the above example is described by taking the size of the target range as equal to the width of the palm multiplied by the length of the palm. In some other examples, the size of the target range can be set according to the actual needs of the user, which is not limited here.

[0061] S12: After the first touch point disappears, if there is a spare touch point within the target range, continue to execute the first function.

[0062] In some examples, when the user uses the first function, it is not possible to maintain a touch operation for a long time. For example, in combination with the example given in S11 above, when erasing the written content, the user presses three fingers (finger 2, finger 3 and finger 4) on the touch screen, and the display is as follows: Figure 5 The interface 505 shown in (e) in FIG. 1 is shown in FIG. 1 . It can be seen that the touch operation input by the user at this time is as follows: Figure 5 (e) of the embodiment of the present invention shows a touch operation 5050. When the display device 200 determines that there are second touch points corresponding to finger 2, finger 3, and finger 4 in addition to the first touch point corresponding to palm 1 within the target range, the second touch points corresponding to finger 2, finger 3, and finger 4 are marked as standby touch points. In this way, even if the user lifts up his palm while erasing the written content, the touch operation input by the user at this time is as follows: Figure 5 The touch operation 5060 shown in (f) of FIG. 5 , that is, the first touch point corresponding to the palm 1 disappears. Since there is a spare touch point in the target range, the first function continues to be executed, so as to avoid the problem that the display device 200 mistakenly exits the first function due to the user changing the touch operation in the process of erasing the written content, resulting in a poor user experience. In some examples, after the first touch point disappears, if there is a spare touch point in the target range, the first function continues to be executed, including: after the first touch point disappears, if there is a spare touch point in the target range, the spare touch point that meets the target condition is selected as the first touch point, and the first function continues to be executed. For example, the target condition is the shortest distance to the first touch point, and the spare touch points include 3, namely spare touch point 1, spare touch point 2 and spare touch point 3. At this time, after the first touch point disappears in the target range, it is necessary to calculate the distance 1 between the spare touch point 1 and the first touch point, the distance 2 between the spare touch point 2 and the first touch point, and the distance 3 between the spare touch point 3 and the first touch point. When distance 1 is the minimum distance, spare touch point 1 is used as the first touch point and the first function is continued. During the erasing process, if the first touch point (spare touch point 1) disappears within the target range, it is necessary to calculate distance 4 between spare touch point 2 and the first touch point (spare touch point 1), and distance 5 between spare touch point 3 and the first touch point (spare touch point 1). When distance 4 is the minimum distance, spare touch point 2 is used as the first touch point (spare touch point 1 is deleted) and the first function is continued. When there is no first touch point within the target range and there are no spare touch points, the first function is exited.

[0063] It should be noted that, in order to allow the user to more intuitively check whether the first function is currently activated, in the gesture erasing method provided by the embodiment of the present disclosure, after the first application activates the first function, a first icon will be displayed on the touch screen. During the erasing process, the user can drag the first image to erase the written content. Among them, the pixel coordinates corresponding to the center of the first icon are the same as the pixel coordinates corresponding to the first touch point.

[0064] As can be seen from the above, in the gesture erasing method provided by the present disclosure, the user triggers the first function by inputting at least one first touch point on the touch screen of the display device 200, such as the first function is the gesture erasing function. In this way, the display device 200 turns on the gesture erasing function, and the user can erase the written content. During the erasing process, the display device 200 detects the target range containing the first touch point. Thus, when the display device 200 has a second touch point other than the first touch point within the target range, the second touch point is marked as a spare touch point. In this way, even if the first touch point disappears, if there is a spare touch point within the target range, the display device 200 can continue to execute the gesture erasing function.

[0065] In some examples, combined Figure 4 ,like Figure 6 As shown, the gesture erasing method provided in the embodiment of the present disclosure further includes S13 and S14 before executing S11.

[0066] S13: Obtain a first contact area corresponding to at least one first touch point on the touch screen.

[0067] In some examples, the gesture operation method provided by the embodiments of the present disclosure allows a user to trigger a first function of a first application through a gesture operation, thereby facilitating user operation. Figure 5 The interface 504 shown in (d) in FIG. 5 is then displayed. Afterwards, the first application determines whether to start the first function according to the first contact area corresponding to the first touch point corresponding to the touch operation on the touch screen.

[0068] S14: When the first contact area is greater than or equal to the area threshold, start the first function.

[0069] In some examples, the gesture operation method provided by the embodiments of the present disclosure can avoid the problem that the user frequently activates the first function during use, resulting in a poor user experience, by setting an area threshold. For example, the first function is activated when the first contact area is greater than or equal to the area threshold.

[0070] As can be seen from the above, the gesture erasing method provided by the present disclosure, by setting an area threshold, thereby preventing the user from frequently activating the first function during use through the relationship between the first contact area and the area threshold, thereby improving the user experience.

[0071] In some examples, combined Figure 4 ,like Figure 6 As shown, the gesture erasing method provided in the embodiment of the present disclosure also includes S15 and S16.

[0072] S15. When the first contact area is smaller than the area threshold and there is a third touch point newly added within the target range within the first preset time, obtain a second contact area corresponding to the third touch point.

[0073] In some examples, combined with the example given in S14 above, in order to avoid the user frequently starting the first function during use, the first application will not start the first function when the first contact area is less than the area threshold. However, in some cases, the user needs to use the first function, but the first contact area of ​​the touch operation input by the user is less than the area threshold. At this time, the first application will continue to monitor the target range, such as: if there is a newly added third touch point within the target range within the first preset time, it means that the user may need to use the second function. Afterwards, the second contact area corresponding to the first touch point and the third touch point. Then, the first application determines whether to start the second function based on the relationship between the second contact area and the area threshold.

[0074] Specifically, the first preset time can be set according to user needs, such as the first preset time is 300ms.

[0075] It should be noted that the above example is described by taking the case where the first contact area is smaller than the area threshold and a third touch point is added within the target range within the first preset time as an example. In some other examples, when the first contact area is smaller than the area threshold and there is no third touch point added within the target range within the first preset time, the first application executes a preset function, such as a writing function, so that the user can continue to write on the touch screen.

[0076] S16: When the second contact area is greater than or equal to the area threshold, start the second function.

[0077] In some examples, before starting the second function (such as the second function is a gesture erase function), the first application may have started a preset function, such as a writing function. At this time, in order to erase the written content, the user inputs a touch operation so that the contact area is greater than or equal to the area threshold, thereby starting the gesture erase function (while the gesture erase function is started, the user cannot continue to write new content). Afterwards, the user can erase the written content. When the user exits the gesture erase function, the first application restarts the writing function (such as: the first application starts the writing function by default without executing other functions. Alternatively, the user clicks the button corresponding to the writing function, and the first application exits the gesture erase function and starts the writing function) to facilitate the user's operation.

[0078] It should be noted that the above example is based on the example that the second contact area is greater than or equal to the area threshold. In some other examples, the second contact area is less than the area threshold, and the first application executes a preset function, such as a writing function, so that the user can continue to write on the touch screen.

[0079] As can be seen from the above, the gesture erasing method provided by the present disclosure, in order to avoid the situation where the user needs to use the first function but the first contact area of ​​the touch operation input by the user is smaller than the area threshold, continues to monitor the target range after detecting the first touch point, such as: if there is a newly added third touch point within the target range within the first preset time, it means that the user may need to use the second function. In this way, it can be determined whether to start the second function based on the size relationship between the second contact area and the area threshold. In this way, a more convenient operation can be provided to the user, ensuring the user experience.

[0080] In some examples, combined Figure 4 ,like Figure 6 As shown, the gesture erasing method provided by the embodiment of the present disclosure also includes S17.

[0081] S17: If there is a fourth touch point in a range other than the target range and the electronic device is in the first mode, delete the fourth touch point.

[0082] In some examples, the first application provides multiple operation modes. For example, when the first mode is a single-player mode, in order to prevent other users from inputting touch operations on the touch screen, for example, other users input touch operations in ranges other than the target range, that is, there is a fourth touch point in ranges other than the target range. At this time, since the first application is in single-player mode, that is, it can only recognize the touch operations input by one user, combined with the example given in S12 above, the first application is currently erasing the written content according to the touch operations of the current user in the target range. For other users who input touch operations in ranges other than the target range, the first application no longer executes the function corresponding to the touch operation, that is, the first application deletes the fourth touch point.

[0083] It should be noted that the above examples are illustrated by taking the first mode as a single-player mode. In some other examples, the first mode may also be a two-player mode, that is, the first application needs to recognize touch operations input by two users at the same time, such as a touch operation used to trigger the first function. At this time, the first application needs to determine whether to start the first function or turn off the first function according to the gesture erasing method provided in the embodiment of the present disclosure, which will not be repeated here.

[0084] As can be seen from the above, the gesture erasing method provided by the present disclosure can provide different services by determining the mode of the electronic device when there is a fourth touch point in a range other than the target range. For example, when the first mode is the single-user mode, the electronic device only allows one user to use the first function, which can avoid accidental touches or interference from other users and ensure the user experience.

[0085] In some examples, combined Figure 4 ,like Figure 6 As shown, the gesture erasing method provided in the embodiment of the present disclosure also includes S18 and S19.

[0086] S18: If there is a fourth touch point in a range other than the target range and the electronic device is not in the first mode, obtain a third contact area corresponding to the fourth touch point.

[0087] In some examples, combined with the example given in S17 above, the first application provides multiple operation models. When the first application does not start the first mode, such as the first mode is a single-player mode, the first application can also identify the touch operation input by the user in other ranges other than the target range, such as when there is a fourth touch point in other ranges other than the target range and the electronic device is not in the first mode, the third contact area corresponding to the fourth touch point is obtained. In this way, the first application can determine whether to start the third function according to the third contact area corresponding to the fourth touch point.

[0088] S19: When the third contact area is greater than or equal to the area threshold, start the third function.

[0089] Specifically, the third function may be a gesture erasing function.

[0090] It should be noted that the above example is described with the first model being the single-player mode as an example. In some other examples, the first mode may be any model other than the single-player mode (eg, the two-player mode) provided by the first application, which is not limited here.

[0091] As can be seen from the above, the gesture erasing method provided by the present disclosure can provide different services by determining the mode of the electronic device when there is a fourth touch point in a range other than the target range. For example, when the first mode is the two-person mode, the electronic device allows two users to use the first function, so that services can be provided to the two users to ensure the user experience.

[0092] In some examples, combined Figure 4 ,like Figure 6 As shown, the gesture erasing method provided by the embodiment of the present disclosure also includes S20.

[0093] S20: After the first touch point disappears, if there is no spare touch point in the target range, exit the first function.

[0094] It should be noted that the above example is based on the example of exiting the first function if there is no spare touch point in the target range after the first touch point disappears. In other examples, when the first touch point does not disappear, the first function continues to be executed.

[0095] As can be seen from the above, in the gesture erasing method provided by the present disclosure, the user triggers the first function by inputting at least one first touch point on the touch screen of the display device 200, such as the first function is the gesture erasing function. In this way, the display device 200 turns on the gesture erasing function, and the user can erase the written content. During the erasing process, the display device 200 detects the target range containing the first touch point. Therefore, after the first touch point of the display device 200 disappears, if there is no spare touch point within the target range, it means that the user no longer needs to execute the first function, so the first function can be exited to ensure the user experience.

[0096] In some examples, combined Figure 6 ,like Figure 7 As shown, the gesture erasing method provided by the embodiment of the present disclosure also includes S21.

[0097] S21. After the first touch point disappears, if there is no spare touch point in the target range and there is a newly added fifth touch point in the target range within the second preset time, continue to execute the first function.

[0098] In some examples, combined with the example given in S15 above, in order to prevent the user from accidentally lifting both the palm and the finger before erasing the written content, resulting in the first application failing to detect the first touch point or the backup touch point within the target range. At this time, the first application also needs to continue to detect the target range for a second preset time when it fails to detect the first touch point or the backup touch point within the target range. For example, if a new fifth touch point appears within the target range within the second preset time, the first function continues to be executed.

[0099] Specifically, the first preset time can be set according to user needs, such as the first preset time is 100ms.

[0100] As can be seen from the above, the gesture erasing method provided by the present disclosure is to prevent the user from accidentally lifting both the palm and the fingers before erasing the written content, resulting in the first application being unable to detect the first touch point or the backup touch point within the target range. At this time, the first application also needs to continue to detect the target range for a second preset time when it cannot detect the first touch point or the backup touch point within the target range. For example, if a new fifth touch point appears within the target range within the second preset time, the first function will continue to be executed to ensure the user experience.

[0101] In some examples, combined Figure 6 ,like Figure 7 As shown, the gesture erasing method provided by the embodiment of the present disclosure also includes S22.

[0102] S22. After the first touch point disappears, if there is no spare touch point in the target range and there is no newly added fifth touch point in the target range within the second preset time, exit the first function.

[0103] In some examples, combined with the example given in S21 above, the first application also needs to continue to detect the target range for a second preset time when the first touch point and the backup touch point are not detected within the target range. For example, if there is no newly added fifth touch point within the target range within the second preset time, it means that the user no longer needs the first application to execute the first function, so the first application will exit the first function and continue to execute the preset function.

[0104] It should be noted that the above examples are based on how to turn on the first function or how to turn off the first function. In other examples, when the second function is the same as the first function, or the third function is the same as the first function, the exit process of the second function or the third function is the same as the exit process of the first function, which will not be repeated here.

[0105] As can be seen from the above, the gesture erasing method provided by the present disclosure is to prevent the user from accidentally lifting both the palm and the fingers before erasing the written content, resulting in the first application being unable to detect the first touch point or the backup touch point within the target range. At this time, the first application also needs to continue to detect the target range for a second preset time when it cannot detect the first touch point or the backup touch point within the target range. For example, if the newly added fifth touch point does not appear within the target range within the second preset time, it means that the user no longer needs to execute the first function, so the first function can be exited to ensure the user experience.

[0106] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0107] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0108] like Figure 8 As shown, an embodiment of the present application provides a schematic diagram of the structure of a display device 200 , which includes a processor 101 .

[0109] Processor 101 is used to, after starting the first function, if there is a second touch point other than the first touch point within the target range, mark the second touch point as a spare touch point; wherein the first touch point is used to trigger the first function; processor 101 is also used to, after the first touch point disappears, if there is a spare touch point within the target range, continue to execute the first function.

[0110] In some feasible examples, the display device 200 also includes a communicator 102; the communicator 102 is used to obtain a first contact area corresponding to at least one first touch point on the touch screen; the processor 101 is used to start the first function when the first contact area obtained by the communicator 102 is greater than or equal to an area threshold.

[0111] In some implementable examples, the processor 101 is also used to control the communicator 102 to obtain a second contact area corresponding to the first touch point and the third touch point when the first contact area obtained by the communicator 102 is smaller than an area threshold and there is a newly added third touch point within the target range within a first preset time; the processor 101 is also used to start the second function when the second contact area obtained by the communicator 102 is greater than or equal to the area threshold.

[0112] In some feasible examples, the processor 101 is further configured to delete the fourth touch point when there is a fourth touch point in other ranges except the target range and the electronic device is in the first mode.

[0113] In some implementable examples, the display device 200 also includes a communicator 102; the processor 101 is further used to control the communicator 102 to obtain a third contact area corresponding to the fourth touch point when there is a fourth touch point in a range other than the target range and the electronic device is not in the first mode; the processor 101 is further used to start the third function when the third contact area obtained by the communicator 102 is greater than or equal to the area threshold.

[0114] In some feasible examples, the processor 101 is further configured to exit the first function if there is no spare touch point within the target range after the first touch point disappears.

[0115] In some feasible examples, the processor 101 is further configured to continue executing the first function after the first touch point disappears if there is no spare touch point in the target range and there is a newly added fifth touch point in the target range within a second preset time.

[0116] In some feasible examples, the processor 101 is further configured to exit the first function after the first touch point disappears if there is no spare touch point in the target range and there is no newly added fifth touch point in the target range within a second preset time.

[0117] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and its role will not be repeated here.

[0118] Of course, the display device 200 provided in the embodiment of the present application includes but is not limited to the above modules, for example, the display device 200 may also include a memory 103. The memory 103 may be used to store the program code of the display device 200, and may also be used to store data generated by the display device 200 during operation, such as data in a write request.

[0119] As an example, combining Figure 3 , the function implemented by the acquisition unit 210 in the display device 200 is the same as Figure 8 The functions of the communicator 102 are the same as those of the processing unit 211. Figure 8 The functions of the processor 101 in the embodiment are the same as those of the storage unit 212. Figure 8 The function of the memory 103 in is the same.

[0120] The embodiment of the present application further provides a server, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the server may execute the various functions or steps performed by the electronic device 400 in the above method embodiment.

[0121] The present application also provides a chip system, which can be applied to the electronic device 400 in the above embodiment. Fig. 9 As shown, the chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 may be the processor in the electronic device 400. The processor 1501 and the interface circuit 1502 may be interconnected via a line. The processor 1501 may receive and execute computer instructions from the memory of the electronic device 400 via the interface circuit 1502. When the computer instructions are executed by the processor 1501, the electronic device 400 may execute the various steps executed by the electronic device 400 in the above-mentioned embodiment. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.

[0122] The embodiment of the present application also provides a computer-readable storage medium for storing computer instructions executed by the above-mentioned electronic device 400.

[0123] The embodiment of the present application also provides a computer program product, including computer instructions executed by the above-mentioned electronic device 400.

[0124] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0125] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0126] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0127] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0128] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0129] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above discussion in some embodiments is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A gesture erasing method, characterized in that: Applicable to electronic devices including touch screens, including: In response to at least one first touch point input by a user on the touch screen, obtaining a first contact area corresponding to the at least one first touch point on the touch screen; wherein the at least one first touch point is within a target range; When the first contact area is greater than or equal to the area threshold, starting the gesture erasing function; After the gesture erase function is started, if there is a second touch point input after the first touch point within the target range, the second touch point is marked as a spare touch point; After the first touch point disappears, if the standby touch point exists within the target range, the gesture erasing function continues to be executed.

2. The gesture erasing method according to claim 1, characterized in that: The method further comprises: When the first contact area is smaller than an area threshold and there is a newly added third touch point within the target range within a first preset time, obtaining second contact areas corresponding to the first touch point and the third touch point; When the second contact area is greater than or equal to the area threshold, a second function is activated.

3. The gesture erasing method according to claim 1, characterized in that: The method further comprises: If there is a fourth touch point in other ranges except the target range and the electronic device is in single-player mode, the fourth touch point is deleted.

4. The gesture erasing method according to claim 1, characterized in that: The method further comprises: If there is a fourth touch point in other ranges except the target range and the electronic device is not in the single-player mode, acquiring a third contact area corresponding to the fourth touch point; When the third contact area is greater than or equal to the area threshold, a third function is activated.

5. The gesture erasing method according to any one of claims 1 to 4, characterized in that: The method further comprises: After the first touch point disappears, if the standby touch point does not exist in the target range, the gesture erasing function is exited.

6. The gesture erasing method according to any one of claims 1 to 4, characterized in that: The method further comprises: After the first touch point disappears, if the standby touch point does not exist in the target range and a newly added fifth touch point exists in the target range within a second preset time, the gesture erasing function continues to be executed.

7. The gesture erasing method according to any one of claims 1 to 4, characterized in that: The center of the target range is the pixel coordinates of the first touch point, or the center of the target range is the average of the pixel coordinates of one or more second touch points, the size of the target range is equal to the width of the palm multiplied by the length of the palm, or the size of the target range is a pre-set size.

8. The gesture erasing method according to claim 1, characterized in that: The method further comprises: After the gesture erasing function is activated, an eraser icon is displayed on the touch screen; In response to the dragging operation on the eraser icon, the written content is erased; wherein the pixel coordinates corresponding to the center of the eraser icon are the same as the pixel coordinates corresponding to the first touch point.

9. A gesture erasing device, characterized in that: include: a processing unit, configured to obtain, in response to at least one first touch point input by a user on the touch screen, a first contact area corresponding to the at least one first touch point on the touch screen; wherein the at least one first touch point is within a target range; The processing unit is further configured to start a gesture erasing function when the first contact area is greater than or equal to an area threshold; The processing unit is further used to, after the gesture erasing function is started, mark the second touch point as a spare touch point if there is a second touch point input after the first touch point within the target range; the processing unit is further used to continue executing the gesture erasing function if there is the spare touch point within the target range after the first touch point disappears.

10. An electronic device, characterized in that: include: Communication interface, processor, memory, bus; The memory is used to store computer-executable instructions, and the processor is connected to the memory via a bus; When the electronic device is running, the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the gesture erasing method as described in any one of claims 1-8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computing device, the computing device implements the gesture erasing method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Touch screen writing erasing method and device, electronic whiteboard and storage medium

    CN114003145A