Search

CN-122018771-A - Touch data processing method, electronic equipment and storage medium

CN122018771ACN 122018771 ACN122018771 ACN 122018771ACN-122018771-A

Abstract

The embodiment of the application discloses a touch data processing method, electronic equipment and a storage medium. According to the touch data processing method, under the condition that corresponding quick start and input are achieved by existing original touch drivers, a first touch driver is arranged corresponding to an annotation application, the annotation application sends an interception instruction to the first touch driver according to the application running state, other applications are triggered in a configuration mode, however, interception and judgment of touch data needed by corresponding triggering are not achieved currently, under the condition that the current touch data obtained through interception meet the triggering condition of the quick start annotation application, the first touch driver stops interception, the touch data can be directly sent to the annotation application to be processed and responded, under the condition that the current touch data obtained through interception does not meet the triggering condition, the first touch driver can be packaged and forwarded according to a first equipment identifier, a system layer can accurately process according to a basic processing flow, and meanwhile, the whole interaction process is guaranteed to be accurately completed.

Inventors

  • LI MEI

Assignees

  • 广州视臻信息科技有限公司

Dates

Publication Date
20260512
Application Date
20241112

Claims (11)

  1. 1. The touch data processing method is used for electronic equipment and is characterized in that the electronic equipment comprises a touch module, a driving layer of the electronic equipment is provided with a primary touch driver and a first touch driver corresponding to the touch module, and the touch data processing method comprises the following steps: Under the condition that the first touch control driver receives an interception instruction sent by the annotation application, intercepting touch control data of the driving layer according to a preset equipment identification list, wherein the equipment identification list at least records touch control equipment identifications, and the touch control equipment identifications are equipment identifications presented by the touch control module through the original touch control driver; The first touch control driver judges the triggering condition of the current touch control data obtained through interception according to a preset annotation triggering rule; The first touch driver calls an annotation window corresponding to the annotation application when the current touch data meets the triggering condition, sends the current touch data to the annotation application to respond, stops intercepting the touch data, and distributes the touch data by an operating system; And under the condition that the current touch data does not meet the triggering condition, the first touch driver encapsulates and forwards the current touch data based on a first equipment identifier, wherein the first equipment identifier is an analog equipment identifier corresponding to the first touch driver.
  2. 2. The touch data processing method according to claim 1, further comprising: And under the condition that an interception instruction sent by the annotating application is not received, the first touch control driver is informed to package and forward the touch control data detected by the touch control module based on the original equipment identifier, so that the annotating function can be realized when the manuscript demonstration application receives the touch control data based on the writing operation packaged by the original equipment identifier in a manuscript demonstration state.
  3. 3. The touch data processing method according to claim 1, wherein the device identifier recorded in the device identifier list is confirmed by: and the first touch drive reads a human-computer interaction equipment list, and identifies equipment identifiers corresponding to the touch peripherals from the human-computer interaction equipment list.
  4. 4. The touch data processing method according to claim 3, wherein the first touch driver reads a list of man-machine interaction devices, and identifying a device identifier corresponding to a touch peripheral from the list of man-machine interaction devices, includes: And the first touch control driver operates when being started, reads a human-computer interaction equipment list and identifies equipment identifiers corresponding to touch control peripherals from the human-computer interaction equipment list.
  5. 5. The touch data processing method according to claim 1, wherein the annotation application comprises an initial state and a display state, the annotation application runs when being started and enters the initial state, the annotation window is invisible in the initial state, and elements in the annotation window are visible in the display state.
  6. 6. The method according to claim 5, wherein the interception command is sent to the first touch driver when the annotating application detects that the currently-set-top-displayed application window is not a document presentation application window in a document presentation state in an initial state.
  7. 7. The touch data processing method according to claim 6, wherein the first touch driver encapsulates and forwards the current touch data based on a first device identifier if the current touch data does not satisfy the trigger condition, further comprising: And when the annotating application detects that the application window displayed at the front top is the manuscript demonstration application window in the manuscript demonstration state, sending an interception stopping instruction to the first touch control driver so that the native touch control driver packages and forwards the touch control data obtained by the touch control module based on the native equipment identifier, and the annotating application realizes the annotating function when receiving the touch control data based on the writing operation packaged by the native equipment identifier in the manuscript demonstration state.
  8. 8. The method for processing touch data according to claim 6, wherein the annotating application, when detecting that the application window currently displayed on top is a document presentation application window in a document presentation state, further comprises, after sending an interception stopping instruction to the first touch driver: the annotation application enters the initial state.
  9. 9. The touch data processing method according to any one of claims 1 to 8, wherein the annotation trigger rule includes a movement track corresponding to the touch data, a contact size, and/or a judgment condition corresponding to a contact medium.
  10. 10. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs; when executed by the one or more processors, causes the electronic device to implement the touch data processing method of any of claims 1-9.
  11. 11. Computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a touch data processing method according to any of claims 1-9.

Description

Touch data processing method, electronic equipment and storage medium Technical Field The embodiment of the application relates to the technical field of touch control, in particular to a touch control data processing method, electronic equipment and a storage medium. Background Along with the increasingly rapid development trend of intelligence, the types of electronic varieties contacted by people in daily life are more and more abundant, and people also tend to have better human-computer interaction experience, so that interactive electronic products are more endlessly layered. In order to improve the interactive response speed and the interactive experience, a new interactive mode starts to appear in the interactive electronic product, and the interactive mode can directly judge the user operation requirement according to the user operation in various ways without opening the corresponding application, and directly opens the corresponding electronic product for quick response. For example, a user directly picks up the writing pen to write the next stroke on the interactive tablet, and the corresponding writing application can be started to draw the writing handwriting. The inventor researches the existing fast response scheme to find that when a plurality of fast response interaction modes are designed in one electronic device, the application needing to be responded cannot be started accurately. Disclosure of Invention The invention provides a touch data processing method, electronic equipment and a storage medium, which are used for solving the technical problem that when one electronic equipment is provided with a plurality of interaction modes with quick response, the application needing response cannot be started accurately. In a first aspect, an embodiment of the present application provides a touch data processing method, for an electronic device, where the electronic device includes a touch module, and a driving layer of the electronic device is installed with a native touch driver and a first touch driver corresponding to the touch module, where the touch data processing method includes: under the condition that an interception instruction sent by an annotation application is received by the first touch control driver, intercepting touch control data of the driving layer according to a preset equipment identification list, wherein the equipment identification list at least records touch control equipment identifications, and the touch control equipment identifications are equipment identifications presented by the touch control module through the original touch control driver; the first touch control driver judges the triggering condition of the current touch control data obtained through interception according to a preset annotation triggering rule; The method comprises the steps that under the condition that current touch data meet triggering conditions, a first touch driver calls an annotation window corresponding to an annotation application, sends the current touch data to the annotation application to respond, stops interception of the touch data, and distributes the touch data by an operating system; And the first touch control driver encapsulates and forwards the current touch control data based on the first equipment identifier, wherein the first equipment identifier is the analog equipment identifier corresponding to the first touch control driver under the condition that the current touch control data does not meet the triggering condition. According to the method, under the condition that the existing original touch control driver realizes corresponding quick starting and inputting, the first touch control driver is set corresponding to the annotating application, the annotating application sends an interception instruction to the first touch control driver according to the application running state, other applications are triggered in a configuration mode, but the interception and judgment of touch control data needed by corresponding triggering are not performed at present, under the condition that the current touch control data obtained through interception meet the triggering condition of the quick starting annotating application, the fact that the current touch control data are operation of the annotating application is indicated, the first touch control driver can stop interception, the touch control data output by the original touch control driver can be directly sent to the annotating application to be processed and responded, under the condition that the current touch control data obtained through interception do not meet the triggering condition, the current touch control data can be packaged and forwarded according to the corresponding first equipment identification, the system layer can accurately process according to the basic processing flow, meanwhile, the first touch control driver cannot be caused to intercept the touch control data in a circulating mode, and the wh