Touch control object medium type identification method and touch control data processing method

By acquiring multiple touch data at the moment of touch and correcting the medium type of the touch object, the problem of misjudgment in the existing technology is solved, and higher recognition accuracy and response accuracy are achieved.

CN120832034APending Publication Date: 2025-10-24GUANGZHOU ZHONGYUAN INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410491281.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

In the prior art, misjudgment is easily made when identifying the type of the touch object medium, causing the whiteboard application to respond abnormally to the touch function, affecting the normal use of the user.

Method used

By acquiring the first touch data of the touch object at the first touch moment, its medium type is determined, and the second touch data is acquired after the first touch moment. The medium type is then corrected based on the second touch data to avoid misjudgment.

Benefits of technology

Improves the accuracy of identifying the touch object media type, ensuring that whiteboard applications accurately respond to touch operations and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120832034A_ABST
    Figure CN120832034A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a touch object medium type identification method and a touch data processing method. The method comprises the steps that a whiteboard application interface is displayed; when the touch object performs touch operation on the whiteboard application interface, acquiring first touch data of the touch object at a first touch moment; according to the first touch data, determining that the touch object is of a first medium type; acquiring second touch data of the touch object after the first touch moment; judging whether the touch object is of the first medium type or not according to the second touch data; if it is judged that the touch object is not the first medium type according to the second touch data; according to the second touch data, the touch object is corrected to be of the second medium type, so that the situation that the medium type is misjudged due to the first touch data at the first touch moment, and the response of a subsequent whiteboard application program to touch is affected is effectively avoided, and the recognition accuracy of the medium type of the touch object is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of data processing, and in particular to a touch object medium type identification method, a touch data processing method and device, a storage medium and an electronic device. BACKGROUND

[0002] In related technologies, a whiteboard application program is installed in a touch device, the touch device detects the medium type of a touch object and feeds back the medium type of the touch object to the whiteboard application program, the whiteboard application program executes a corresponding touch function according to the medium type of the touch object, for example, if the medium type of the touch object is identified as a fine pen nib, the whiteboard application program executes a writing operation, if the medium type of the touch object is identified as a pen tail, the whiteboard application program executes a comment operation, and if the medium type of the touch object is identified, the whiteboard application program executes a control operation.

[0003] The inventors have found in the process of implementing the present application that in related technologies, when the medium type of a touch object is detected, the medium type of the touch object is identified according to parameter information of the touch object starting to touch the whiteboard application program, this approach is prone to misjudgment, leading to incorrect identification of the medium type of the touch object, thereby causing abnormal response of the whiteboard application program to the touch function, and further affecting normal use of the user. SUMMARY

[0004] To overcome the problems in related technologies, the present application provides a touch object medium type identification method, a touch data processing method and device, a storage medium and an electronic device, which avoids misjudgment of the medium type identification, affects the subsequent response of the whiteboard application program to the touch, and improves the identification accuracy of the medium type of the touch object.

[0005] According to a first aspect of embodiments of the present application, a touch object medium type identification method is provided, comprising the following steps:

[0006] displaying a whiteboard application interface;

[0007] when a touch object performs a touch operation on the whiteboard application interface, obtaining first touch data of the touch object at a first touch time; determining that the touch object is of a first medium type according to the first touch data;

[0008] obtaining second touch data of the touch object after the first touch time; determining whether the touch object is of the first medium type according to the second touch data;

[0009] if it is determined according to the second touch data that the touch object is not of the first medium type; correcting that the touch object is of a second medium type according to the second touch data.

[0010] According to a second aspect of embodiments of the present application, a touch data processing method is provided, comprising the following steps:

[0011] displaying a whiteboard application interface;

[0012] When the touch object performs a touch operation on the whiteboard application interface, first touch data of the touch object at a first touch time is acquired; according to the first touch data, it is determined that the touch object is of a first medium type; and according to the first medium type, the touch operation is responded to.

[0013] Second touch data of the touch object after the first touch time is acquired; and according to the second touch data, it is determined whether the touch object is of the first medium type.

[0014] If it is determined according to the second touch data that the touch object is not of the first medium type, the touch object is corrected to be of a second medium type according to the second touch data.

[0015] The touch response operation is corrected according to the second medium type.

[0016] According to a third aspect of the embodiment of the present application, a touch object medium type identification device is provided, comprising:

[0017] an interface display module configured to display a whiteboard application interface;

[0018] a type determination module configured to, when a touch object performs a touch operation on the whiteboard application interface, acquire first touch data of the touch object at a first touch time; and according to the first touch data, determine that the touch object is of a first medium type.

[0019] a type judgment module configured to acquire second touch data of the touch object after the first touch time; and according to the second touch data, determine whether the touch object is of the first medium type.

[0020] a type correction module configured to, if it is determined according to the second touch data that the touch object is not of the first medium type, correct the touch object to be of a second medium type according to the second touch data.

[0021] According to a fourth aspect of the embodiment of the present application, a touch data processing device is provided, comprising:

[0022] an interface display module configured to display a whiteboard application interface;

[0023] a response determination module configured to, when a touch object performs a touch operation on the whiteboard application interface, acquire first touch data of the touch object at a first touch time; and according to the first touch data, determine that the touch object is of a first medium type; and according to the first medium type, respond to the touch operation.

[0024] a type judgment module configured to acquire second touch data of the touch object after the first touch time; and according to the second touch data, determine whether the touch object is of the first medium type.

[0025] a type correction module, configured to: if it is judged according to the second touch data that the touch object is not the first medium type, correct the touch object to be the second medium type according to the second touch data;

[0026] a response correction module, configured to correct a touch response operation according to the second medium type.

[0027] According to a fifth aspect of the embodiments of the present application, an electronic device is provided, comprising a processor and a memory; the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor to implement the method described above.

[0028] According to a sixth aspect of the embodiments of the present application, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the method described above.

[0029] The embodiments of the present application display a whiteboard application interface; when a touch object performs a touch operation on the whiteboard application interface, first touch data of the touch object at a first touch time is acquired; it is determined that the touch object is of a first medium type according to the first touch data; second touch data of the touch object after the first touch time is acquired; it is judged whether the touch object is of the first medium type according to the second touch data; if it is judged according to the second touch data that the touch object is not of the first medium type, the touch object is corrected to be of a second medium type according to the second touch data, so that the misjudgment of the medium type due to the first touch data at the first touch time is effectively avoided, the response of the subsequent whiteboard application program to the touch is affected, and the identification accuracy of the medium type of the touch object is improved.

[0030] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application.

[0031] In order to better understand and implement, the present application will be described in detail below in combination with the drawings. BRIEF DESCRIPTION OF DRAWINGS

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

[0033] Figure 1 a flow chart of a touch object medium type identification method shown in the first embodiment of the present application;

[0034] Figure 2 a flow chart of a touch data processing method shown in the second embodiment of the present application;

[0035] Figure 3 a schematic block diagram of a touch medium type recognition device according to a third embodiment of the present application;

[0036] Figure 4 a schematic block diagram of a touch data processing device according to a fourth embodiment of the present application;

[0037] Figure 5 a structural schematic diagram of an electronic device according to a fifth embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the objects, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application with reference to the drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated.

[0039] It should be understood that the implementations described in the following embodiments are merely illustrative of the embodiments consistent with the present application. Rather, they are examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of the present application.

[0040] The terms used in the present application are merely for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms "a," "an," and "the" used in the present application are also intended to include the plural forms unless the context clearly indicates otherwise. In addition, in the description of the present application, "a plurality" means two or more unless otherwise stated. It should also be understood that the term "and / or" used herein means and includes any or all possible combinations of one or more associated listed items, for example, A and / or B can represent the three cases of A alone, A and B together, and B alone; the character " / " generally represents an "or" relationship between the associated objects before and after it.

[0041] It should be understood that although the terms first, second, third, etc. can be used in the present application to describe various information, these information should not be limited to these terms, and these terms are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, and cannot be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances. Depending on the context, the word "if" used in the present application can be interpreted as "when" or "when" or "in response to determining".

[0042] The touch device in the related art is installed with a whiteboard application program, the touch device feeds back the medium type of the touch object to the whiteboard application program by detecting the medium type of the touch object, the whiteboard application program executes corresponding touch functions according to the medium type of the touch object, for example, if the medium type of the touch object is identified as a fine pen nib, the whiteboard application program executes a writing operation, if the medium type of the touch object is identified as a pen tail, the whiteboard application program executes a comment operation, and if the medium type of the touch object is identified, the whiteboard application program executes a control operation.

[0043] The inventors find in the process of implementing the present application that in the related art, when detecting the medium type of the touch object, the medium type of the touch object is identified according to the parameter information of the touch object starting to touch the whiteboard application program, which is prone to misjudgment, leading to incorrect identification of the medium type of the touch object, thereby causing abnormal response of the whiteboard application program to the touch function, and further affecting the normal use of the user.

[0044] The embodiment of the present application corrects the medium type of the touch object according to the second touch data after the first touch time, avoids misjudgment of the medium type determined according to the first touch data of the first touch time, affects the response of the subsequent whiteboard application program to the touch, and improves the identification accuracy of the medium type of the touch object.

[0045] The touch object medium type identification method of the present application can be executed by a touch object medium type identification device, which can be realized by software and / or hardware, and can be composed of two or more physical entities or one physical entity. The hardware pointed to by the touch object medium type identification device is essentially a computer device, for example, the touch object medium type identification device can be a computer, a mobile phone, a tablet or a smart interactive tablet, etc.

[0046] In order to facilitate understanding, the interactive tablet is exemplarily described as the touch object medium type identification device in the embodiment. The interactive tablet can be an integrated device for controlling and realizing man-machine interactive operation on the content displayed on the display tablet through touch technology, which integrates one or more functions of a projector, an electronic whiteboard, a curtain, a sound, a television and a video conference terminal, etc.

[0047] The interactive tablet is configured with a display screen having a touch function. From the technical principle, the display screen can be a capacitive screen, a resistive screen, an electromagnetic screen, an infrared screen and a surface acoustic wave screen. In the embodiment of the present application, the display screen is taken as an example for illustration. In an embodiment, the user can realize touch operation by touching the display screen with a finger or a touch pen, correspondingly, the interactive tablet detects the touch position and determines the response scheme according to the display content corresponding to the touch position, and then responds to realize the touch function.

[0048] The interactive tablet is installed with at least one type of operating system, which includes but is not limited to Android system, Linux system and Windows system. In an embodiment, the interactive tablet can install at least one application based on the operating system, and in the embodiment, an application with drawing function is exemplarily described. For example, the interactive tablet is installed with a whiteboard application with drawing function. The whiteboard application can be an application provided by the operating system or an application downloaded from a third-party device or server. Optionally, the whiteboard application has other editing functions in addition to the drawing function, such as writing, annotation, inserting pictures and drawing tables.

[0049] In the embodiment, the whiteboard application can perform different touch functions according to different types of touch media. For example, if the type of the touch media is a fine pen nib, the whiteboard application performs writing in response to the touch operation of the user, and if the type of the touch media is a pen tail, the whiteboard application performs annotation in response to the touch operation of the user.

[0050] Referring to Figure 1 The touch media type identification method provided in the embodiment includes the following steps:

[0051] Step S101: displaying a whiteboard application interface;

[0052] The interface refers to an interactive interface of an application program for receiving and / or displaying information. The whiteboard application interface in the embodiment is a user interface presented in the use process of the whiteboard application, that is, a control operation interface or a writing operation interface of the whiteboard application. The whiteboard application refers to an application for writing, displaying and other operations of a user, which can be used to generate writing traces according to the writing operation of the user on the interface of the whiteboard application, and can also be used to insert and display multimedia elements on the interface of the whiteboard application. The multimedia elements can include graphics, images, tables, documents, audio files and / or video files.

[0053] In the whiteboard application interface, the user can realize similar writing, drawing and erasing operations as those on a physical blackboard, and further has better digital functions such as moving, saving, zooming, inserting pictures, color adjusting and stroke thickness setting. The implementation of the specific interaction process in the interface of the whiteboard application can be an interactive feedback of input or control in the interface, and can also have a system-level interactive feedback, such as quickly displaying a system desktop, taking a screenshot, etc.

[0054] Step S102: when the touch media performs a touch operation in the whiteboard application interface, first touch data of the touch media at a first touch moment is acquired; and the touch media is determined to be of a first media type according to the first touch data.

[0055] The first touch time is used to indicate a time when the touch object starts to contact the whiteboard application interface. In the present application, the first touch time is the time when the touch object falls and touches the whiteboard application interface.

[0056] The first touch data is used to indicate the data monitored by the touch device when the touch object touches the whiteboard application interface. In the present application, the touch device is an interactive panel, which has a display screen, and the display screen is an infrared screen, and the whiteboard application interface is displayed on the infrared screen. When the touch object contacts the whiteboard application interface, the first touch data is obtained. At this time, the first touch data is infrared touch data, which can be an infrared blocking signal detected by an infrared touch sensor, or an infrared reflection signal detected by a reflective infrared sensor. The present application takes the infrared blocking signal as an example for description.

[0057] For example, the infrared touch sensor includes an infrared emitter and an infrared receiver. The infrared emitter is used to emit infrared light, and the infrared receiver is used to receive infrared light. A plurality of infrared emitters are arranged on one side of the interactive panel in the horizontal direction, and a plurality of infrared receivers are arranged on the other side of the interactive panel in the horizontal direction. A plurality of infrared emitters are arranged on one side of the interactive panel in the vertical direction, and a plurality of infrared receivers are arranged on the other side of the interactive panel in the vertical direction. When the infrared emitters emit infrared light at a certain frequency, the corresponding infrared receivers receive infrared light at a certain frequency. When the touch object contacts the whiteboard application interface, the touch object will completely or partially block one or more infrared lights in the vertical direction and the horizontal direction, and thus the touch position information can be determined according to the infrared signal, i.e. the touch data.

[0058] When different touch objects contact the whiteboard application interface, the number and size of the infrared light blocked by the touch object in one or more vertical directions and horizontal directions will be different. Therefore, according to the touch data of the touch object and the touch device, the medium type of the touch object can be determined.

[0059] The first touch data can include, but is not limited to, the size, width, height, touch position, or touch signal amount of the touch object, etc.

[0060] In an optional embodiment, the first touch data is compared with the preset medium type data, and the determined medium type of the touch object is taken as the first medium type. In another optional embodiment, the first touch data is input into a pre-trained medium type recognition model, and the determined medium type of the touch object is taken as the first medium type.

[0061] The medium type of the touch object of the present application includes, but is not limited to, a finger and a touch pen. The finger includes a finger palm, a palm, a fingertip, etc. The touch pen includes a touch pen tip and a touch pen tail, etc.

[0062] Step S103: acquiring second touch data of the touch object after the first touch moment; judging whether the touch object is the first medium type according to the second touch data.

[0063] The inventor finds in the process of implementing the present application that when the touch object and the whiteboard application interface are touched at the first touch moment, the touch object can be inclined or the touch speed can be too fast, thereby causing the medium type of the touch object determined according to the first touch data of the touch object and the whiteboard application interface at the first touch moment to be misjudged, and affecting the response of the subsequent whiteboard application program to the touch.

[0064] The inventor further finds in the process of implementing the present application that the second touch data of the touch object after the first touch moment is usually stable touch by the user, and at this time, further judging whether the touch object is the first medium type according to the second touch data can effectively avoid the medium type from being misjudged and affecting the response of the subsequent whiteboard application program to the touch.

[0065] Step S104: if it is judged according to the second touch data that the touch object is not the first medium type, correcting the touch object to be the second medium type according to the second touch data.

[0066] It can be understood that the second touch data can be compared with the preset medium type data, and the medium type of the touch object determined as the second medium type. In another optional implementation, the second touch data is input into a pre-trained medium type recognition model, and the medium type of the touch object determined as the second medium type, thereby correcting the touch object to be the second medium type.

[0067] The embodiment of the present application displays the whiteboard application interface; when the touch object performs a touch operation on the whiteboard application interface, first touch data of the touch object at a first touch moment is acquired; the touch object is determined to be a first medium type according to the first touch data; second touch data of the touch object after the first touch moment is acquired; whether the touch object is the first medium type is judged according to the second touch data; if it is judged according to the second touch data that the touch object is not the first medium type, the touch object is corrected to be a second medium type according to the second touch data, thereby effectively avoiding the medium type from being misjudged due to the first touch data at the first touch moment, affecting the response of the subsequent whiteboard application program to the touch, and improving the recognition accuracy of the medium type of the touch object.

[0068] In an optional embodiment, the second touch data is continuous touch frame data after the first touch moment and before the touch object leaves the whiteboard application interface. By determining the touch object type according to the touch data after the first touch moment and before the touch object leaves the whiteboard application interface, the accuracy of the medium type recognition of the touch object can be improved.

[0069] In another alternative embodiment, the second touch data is touch frame data that is after the first touch time and before the touch object leaves the whiteboard application interface. By determining the touch object type based on touch frame data that is after the first touch time and before the touch object leaves the whiteboard application interface, the amount of computation can be reduced.

[0070] In yet another alternative embodiment, the second touch data is a preset number of touch frame data that is after the first touch time and before the touch object leaves the whiteboard application interface. By determining the touch object type based on a preset number of touch frame data that is after the first touch time and before the touch object leaves the whiteboard application interface, the amount of computation can be reduced, and at the same time, the medium type of the touch object can be determined based on the second touch data in time to correct the medium type of the touch object in time.

[0071] In an alternative embodiment, the second touch data includes a plurality of touch frame data; and the step of determining whether the touch object is of the first medium type based on the second touch data in step S103 includes:

[0072] When the average of the plurality of touch frame data indicates that the touch object is not of the first medium type, it is determined that the touch object is not of the first medium type.

[0073] It can be understood that determining whether the touch object is of the first medium type based on the average of the plurality of touch frame data can improve the accuracy of identifying the medium type of the touch object.

[0074] In another alternative embodiment, the second touch data includes a plurality of touch frame data; and the step of determining whether the touch object is of the first medium type based on the second touch data in step S103 includes:

[0075] When any one of the touch frame data indicates that the touch object is not of the first medium type, it is determined that the touch object is not of the first medium type.

[0076] It can be understood that determining whether the touch object is of the first medium type based on any one of the touch frame data can improve the efficiency of identifying the medium type of the touch object, so that an incorrect medium type can be found in time.

[0077] In an alternative embodiment, correcting the touch object to be of the second medium type further includes correcting the trajectory type from the first touch time to the time when the touch object is identified to be of the second medium type to be the trajectory type of the touch object being of the second medium type. For example, if the touch object is identified to be of the first medium type such as a fine pen nib based on the first touch data, the whiteboard application directly displays the writing trace, and at this time, if it is found that the first medium type is incorrect, the touch object is identified to be of the second medium type such as a pen tail based on the second touch data, and the whiteboard application corrects the originally displayed writing trace to be a comment trace.

[0078] Referring to Figure 2 The touch data processing method provided by the second embodiment of the present application comprises the following steps:

[0079] Step S201: displaying a whiteboard application interface.

[0080] Step S202: when a touch object performs a touch operation on the whiteboard application interface, obtaining first touch data of the touch object at a first touch time; determining, according to the first touch data, that the touch object is of a first medium type; and responding to the touch operation according to the first medium type.

[0081] Step S203: obtaining second touch data of the touch object after the first touch time; and determining, according to the second touch data, whether the touch object is of the first medium type.

[0082] Step S204: if it is determined according to the second touch data that the touch object is not of the first medium type, correcting, according to the second touch data, that the touch object is of a second medium type.

[0083] Step S205: correcting, according to the second medium type, a touch response operation.

[0084] The way of correcting the touch response operation according to the second medium type can be directly modifying the current medium type through a standard interface, so as to correct the touch response type, or directly interacting with the whiteboard application program to control the correction of the touch response operation.

[0085] It should be understood that, for the same touch operation, the whiteboard application program will have different touch responses for different medium types. Specifically, the whiteboard application program can store the associated operations of each medium type and touch response, and then the whiteboard application program responds to the touch operation corresponding to each medium type according to the associated operations. For example, for the touch object performing a writing behavior on the whiteboard application program, if the medium type of the touch object is a fine pen nib, the whiteboard application program displays writing traces; if the medium type of the touch object is a pen tail, the whiteboard application program displays annotation traces; and if the medium type of the touch object is a finger tip, the whiteboard application program performs control operations such as moving, etc.

[0086] In an optional embodiment, correcting the touch response operation according to the second medium type comprises correcting the trajectory type from the first touch time to the time before the touch object is identified as the second medium type to the trajectory type of the touch object being of the second medium type. For example, if the touch object is identified as the first medium type such as a fine pen nib according to the first touch data, the whiteboard application program directly displays writing traces. At this time, if it is found that the first medium type is incorrect, the touch object should be the second medium type such as a pen tail according to the second touch data, and then the whiteboard application program corrects the originally displayed writing traces to annotation traces.

[0087] The second embodiment of the present application determines the first medium type according to the first touch data of the first touch time of the touch object and the whiteboard application interface, and then responds to the touch operation in time according to the first medium type, so as to avoid no response after the user touches the whiteboard application interface, and make the user unable to know whether the touch is implemented in time; when the first medium type is found to be wrong, the touch response data is corrected in time according to the second touch data, so as to accurately respond to the user touch. For example, if the touch object is identified to be the first medium type such as a thin pen tip according to the first touch data, the whiteboard application program directly displays the writing trace, at this time, if the first medium type is found to be wrong, the touch object is identified to be the second medium type such as a pen tail according to the second touch data, the whiteboard application program corrects the original displayed writing trace to the annotation trace, so as to accurately respond to the user touch.

[0088] The touch data processing method provided by the second embodiment of the present application and the touch object medium type identification method of the first embodiment of the present application belong to the same concept, and the implementation process is described in detail in the method embodiment, which will not be described here.

[0089] Please refer to Figure 3 which is a structural schematic diagram of the touch object medium type identification device provided by the third embodiment of the present application. The device 300 comprises:

[0090] The interface display module 301 is configured to display the whiteboard application interface.

[0091] The type determination module 302 is configured to acquire the first touch data of the touch object at the first touch time when the touch object performs the touch operation on the whiteboard application interface; and determine that the touch object is of the first medium type according to the first touch data.

[0092] The type judgment module 303 is configured to acquire the second touch data of the touch object after the first touch time; and judge whether the touch object is of the first medium type according to the second touch data.

[0093] The type correction module 304 is configured to correct that the touch object is of the second medium type according to the second touch data, if it is judged that the touch object is not of the first medium type according to the second touch data.

[0094] It should be noted that the touch object medium type identification device provided by the third embodiment of the present application is only exemplified by the above division of each functional module when executing the touch object medium type identification method, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the touch object medium type identification device provided by the third embodiment of the present application and the touch object medium type identification method provided by the first embodiment of the present application belong to the same concept, and the implementation process is detailed in the method embodiment. Here, it will not be repeated.

[0095] Please refer to Figure 4 which is a structural schematic diagram of the touch data processing device provided by the fourth embodiment of the present application. The device 400 comprises:

[0096] The interface display module 401 is configured to display a whiteboard application interface.

[0097] The response determination module 402 is configured to, when the touch object performs a touch operation on the whiteboard application interface, acquire first touch data of the touch object at a first touch time; determine the touch object as a first medium type according to the first touch data; and respond to the touch operation according to the first medium type.

[0098] The type judgment module 403 is configured to acquire second touch data of the touch object after the first touch time; and determine whether the touch object is the first medium type according to the second touch data.

[0099] The type correction module 404 is configured to, if it is determined that the touch object is not the first medium type according to the second touch data; correct the touch object as a second medium type according to the second touch data.

[0100] The response correction module 405 is configured to correct the touch response operation according to the second medium type.

[0101] It should be noted that the touch data processing device provided by the fourth embodiment of the present application is only exemplified by the above division of each functional module when executing the touch data processing method, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the touch data processing device provided by the fourth embodiment of the present application and the touch data processing method provided by the second embodiment of the present application belong to the same concept, and the implementation process is detailed in the method embodiment. Here, it will not be repeated.

[0102] The touch object medium type identification device of the third embodiment of the present application and the embodiment of the touch data pure dew device provided in the fourth embodiment of the present application can be applied to computer equipment, such as an interactive tablet. The embodiment of the device can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the file processing in which it is located reading the corresponding computer program instructions in the memory and running them. From the hardware level, the computer device in which it is located may include a processor and a memory, and the processor and the memory are connected through a data bus or other well-known methods.

[0103] See also Figure 5 , is a schematic diagram of the structure of an electronic device provided in the fifth embodiment of the present application. Figure 5 As shown, the electronic device 500 can be specifically a computer, a mobile phone, a tablet computer, an interactive tablet computer, etc. In an exemplary embodiment of the present application, the electronic device 500 is an interactive tablet computer, and the electronic device 500 may include: at least one processor 510, at least one memory 520, at least one display 530, at least one network interface 540, a user interface 550 and at least one communication bus 560.

[0104] The communication bus 560 is used to implement connection and communication between these components.

[0105] The user interface 550 may include a display screen and a camera; the user interface 550 may also include a standard wired interface and a wireless interface.

[0106] The network interface 540 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0107] The processor 510 can include one or more processing cores. The processor 510 connects various parts within the entire electronic device 500 by various interfaces and lines, performs various functions of the electronic device 500 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 520, and calling data stored in the memory 520. Alternatively, the processor 510 can be implemented in at least one of a hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 510 can integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes an operating system, a user interface, and an application program; the GPU is responsible for rendering and drawing the content to be displayed by the display layer; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 510, but can be realized by a separate chip.

[0108] The memory 520 can include a random access memory (RAM) and can also include a read-only memory (ROM). Alternatively, the memory 520 includes a non-transitory computer-readable storage medium. The memory 520 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 520 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 520 can alternatively be at least one storage device located away from the aforementioned processor 510. As shown, the memory 320 as a computer storage medium can include an operating system, a network communication module, a user. Figure 5 As shown, the memory 320 as a computer storage medium can include an operating system, a network communication module, a user.

[0109] In Figure 5The electronic device 500 shown, the user interface 550 is mainly used for providing the interface for the user to input, obtaining the data input by the user; and the processor 510 can be used for calling the operation application of the interactive tablet stored in the memory 520, for example, the application of the touch object medium type identification method or the application of the touch data processing method; and performing the related operation of any touch object medium type identification method or touch data processing method in the above embodiment, having the corresponding function and beneficial effect.

[0110] The sixth embodiment of the present application further provides a computer readable storage medium, which stores a computer program, instructions suitable for being loaded by a processor and performing the touch object medium type identification method or the touch data processing method steps shown above, and the specific execution process can be referred to the specific description shown in the embodiment, which will not be described here. The device where the storage medium is located can be a personal computer, a notebook computer, a smart phone, a tablet computer or the like.

[0111] For the device embodiment, since it basically corresponds to the method embodiment, the related part can be referred to the part of the method embodiment. The device embodiment described above is only schematic, and the components described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, that is, they can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the present application according to actual needs. Those skilled in the art can understand and implement without creative labor.

[0112] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer usable storage media containing computer usable program code (including but not limited to disk storage, CD-ROM, optical storage, etc.).

[0113] The present application is described with reference to the flowcharts and / or block diagrams according to the method, device (system) and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a machine that implements the flowcharts and / or block diagrams. Figure 1one or more processes and / or blocks Figure 1 one or more processes and / or blocks Figure 1 one or more processes and / or blocks Figure 1 one or more processes and / or blocks

[0114] one or more processes and / or blocks Figure 1 one or more processes and / or blocks Figure 1 one or more processes and / or blocks

[0115] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0116] Memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM), EPROM, and / or a flash memory. Memory is an example of computer-readable media.

[0117] Computer-readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

[0118] It should also be noted that the terms "comprising", "comprises" or other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus.

[0119] The above embodiments are only used to illustrate the present application, but not to limit it. Instead of the above, various modifications and changes can be made to the application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the application shall fall into the scope of the claims of the application.

Claims

1. A touch medium type identification method, characterized in that, The method comprises the following steps: displaying a whiteboard application interface; when a touch object performs a touch operation on the whiteboard application interface, obtaining first touch data of the touch object at a first touch time; and determining, according to the first touch data, that the touch object is of a first medium type; obtaining second touch data of the touch object after the first touch time; and determining, according to the second touch data, whether the touch object is of the first medium type; if it is determined, according to the second touch data, that the touch object is not of the first medium type, correcting, according to the second touch data, that the touch object is of a second medium type.

2. The method according to claim 1, wherein the second touch data is continuous touch frame data after the first touch time and before the touch object leaves the whiteboard application interface.

3. The method according to claim 1, wherein the second touch data is interval touch frame data after the first touch time and before the touch object leaves the whiteboard application interface.

4. The method according to claim 1, wherein the second touch data is a preset number of touch frame data after the first touch time and before the touch object leaves the whiteboard application interface.

5. The method according to any one of claims 1 to 4, wherein correcting that the touch object is of the second medium type comprises correcting a trajectory type of the touch object from before the first touch time to before the touch object is determined to be of the second medium type to a trajectory type of the touch object being of the second medium type.

6. The method according to any one of claims 1 to 4, wherein the second touch data comprises a plurality of touch frame data; and the step of determining, according to the second touch data, whether the touch object is of the first medium type comprises: if any of the touch frame data indicates that the touch object is not of the first medium type, determining that the touch object is not of the first medium type. The method comprises the following steps: displaying a whiteboard application interface; when a touch object performs a touch operation on the whiteboard application interface, obtaining first touch data of the touch object at a first touch time; and determining, according to the first touch data, that the touch object is of a first medium type; and responding to the touch operation according to the first medium type; obtaining second touch data of the touch object after the first touch time; determining, according to the second touch data, whether the touch object is of the first medium type; 7. A touch data processing method, characterized in that, if it is determined, according to the second touch data, that the touch object is not of the first medium type, correcting, according to the second touch data, that the touch object is of a second medium type; and correcting a touch response operation according to the second medium type. The method comprises the following steps: an interface display module configured to display a whiteboard application interface; ​ ​ ​ 8. A touch object medium type recognition apparatus, characterized by comprising: ​ ​ The type determining module is configured to acquire first touch data of the touch object at a first touch time when the touch object performs a touch operation on the whiteboard application interface; and determine the touch object as a first medium type according to the first touch data. The type judging module is configured to acquire second touch data of the touch object after the first touch time; and judge whether the touch object is the first medium type according to the second touch data. The type correcting module is configured to correct the touch object as a second medium type according to the second touch data if it is judged that the touch object is not the first medium type according to the second touch data.

9. A touch data processing device, comprising: The interface display module is configured to display a whiteboard application interface. The response determining module is configured to acquire first touch data of the touch object at a first touch time when the touch object performs a touch operation on the whiteboard application interface; determine the touch object as a first medium type according to the first touch data; and respond to the touch operation according to the first medium type. The type judging module is configured to acquire second touch data of the touch object after the first touch time; and judge whether the touch object is the first medium type according to the second touch data. The type correcting module is configured to correct the touch object as a second medium type according to the second touch data if it is judged that the touch object is not the first medium type according to the second touch data. The response correcting module is configured to correct the touch response operation according to the second medium type. The memory stores a computer program, and the computer program is suitable for being loaded and executed by the processor to implement the method in any one of claims 1 to 7. The computer program is executed by the processor to implement the method in any one of claims 1 to 7.

10. An electronic device comprising a processor and a memory; characterized in that, ​ 11. A computer readable storage medium having stored thereon a computer program, characterized in that, ​

Citation Information

Patent Citations

  • State switching method and device, equipment and storage medium

    CN114647359A

  • Touch tool identification method and device, electronic equipment and storage medium

    CN115793885A

  • Finger identification on a touchscreen

    EP2603844A1

  • Probabilistic Palm Rejection Using Spatiotemporal Touch Features and Iterative Classification

    US20170024073A1

  • Writing mode switching method and device, interactive tablet, and storage medium

    WO2023231731A1