WO2020019616A1 - Touch control data processing method and device, intelligent device and storage medium - Google Patents

Touch control data processing method and device, intelligent device and storage medium Download PDF

Info

Publication number
WO2020019616A1
WO2020019616A1 PCT/CN2018/118471 CN2018118471W WO2020019616A1 WO 2020019616 A1 WO2020019616 A1 WO 2020019616A1 CN 2018118471 W CN2018118471 W CN 2018118471W WO 2020019616 A1 WO2020019616 A1 WO 2020019616A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
data
writing
hid
pen
Prior art date
Application number
PCT/CN2018/118471
Other languages
French (fr)
Chinese (zh)
Inventor
邱伟波
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2020019616A1 publication Critical patent/WO2020019616A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Definitions

  • the present invention relates to the technical field of smart devices, and in particular, to a method, an apparatus, a smart device, and a storage medium for processing touch data.
  • the screen of such smart devices usually consists of a display screen and a touch screen.
  • touch screen Through the touch screen, not only can it detect and recognize the touch operation of the user's finger on the display screen, It can also detect and recognize touch operations such as tapping and writing on the screen by the corresponding writing pen.
  • two or more writing pens are required to perform touch operations on the screen of a smart device at the same time, such as electronics used in teaching fields.
  • Tablet in the classroom interactive teaching, multiple students need to answer the question on the screen of the same electronic tablet at the same time, that is, multiple students write on the touch screen of the same electronic tablet at the same time; Writing pens write on the screen at the same time, so when two or more writing pens write on the screen at the same time, writing recognition errors often occur.
  • a method for processing touch data including:
  • a touch event of the stylus on the touch screen is detected
  • HID multi-touch protocol to encapsulate the touch data, and the touch data is data caused by the touch event
  • the encapsulated touch data is sent to an operating system, which is the operating system of the smart device to which the touch screen currently displays signals.
  • it further includes:
  • the touch data is encapsulated using a HID pen protocol.
  • the identifying the quantity of the writing pen includes:
  • the number of the writing pens is identified by the touch data.
  • the acquiring touch data caused by the touch event includes:
  • the touch algorithm is used to obtain touch data caused by the touch event.
  • the touch data includes at least one of position coordinates of the touch point, pressure value of the touch point, area value of the touch point, pen rotation angle, and key operation information;
  • the keys are keys on a writing pen.
  • the smart device includes an interactive smart tablet
  • the touch screen includes a capacitive screen, an electromagnetic screen, and / or an infrared screen.
  • the operating system includes at least one of a window system and an Android system;
  • the writing pen is a device conforming to the USB HID class.
  • a device for processing touch data including:
  • a touch detection module for detecting a touch event of the stylus on the touch screen
  • a quantity identification module configured to identify the quantity of the writing pen
  • a first data encapsulation module configured to encapsulate touch data using a HID multi-touch protocol if the number is greater than or equal to 2, the touch data is data caused by the touch event;
  • a data transmission module is configured to send the packaged touch data to an operating system, where the operating system is an operating system of a smart device to which the current display signal of the touch screen belongs.
  • it further includes:
  • a second data encapsulation module is configured to encapsulate the touch data using a HID pen protocol if the number is less than two.
  • the writing pen is a USB HID device
  • the quantity identification module includes:
  • a data acquisition unit configured to acquire touch data caused by the touch event
  • An identification unit is configured to identify the number of the writing pens by using the touch data.
  • a smart device including: a touch screen, a touch screen control board, and a motherboard, wherein the motherboard is equipped with an operating system,
  • the touch screen control board includes:
  • a touch detection module for detecting a touch event of the stylus on the touch screen
  • a quantity identification module configured to identify the quantity of the writing pen
  • a first data encapsulation module configured to encapsulate touch data using a HID multi-touch protocol if the number is greater than or equal to 2, the touch data is data caused by the touch event;
  • the motherboard includes:
  • the analysis and response module is configured to parse the received touch data and respond to the touch event.
  • the touch screen control board further includes:
  • a second data encapsulation module is configured to encapsulate the touch data using a HID pen protocol if the number is less than two.
  • a computer device including a memory and a processor, where the memory is used to store a computer program
  • the processor When the computer program is executed by the processor, the processor is caused to implement the steps of any one of the above methods.
  • a computer-readable storage medium having stored thereon a computer program, and when the computer program is executed by the processor, causing the processor to implement any one of the methods described above step
  • the control board shields the HID-pen protocol to encapsulate the touch data, but uses the HID multi-touch protocol to encapsulate the touch data of the current touch event; then the encapsulated The touch data is sent to the operating system.
  • the touch screen control board can automatically switch between hid-pen and hid-multitouch native protocols based on the number of writing pens to achieve the packaging and transmission of touch data; another In terms of the operating system, the touch data can be parsed through the native driver without the need to define a separate driver, and the compatibility is better.
  • FIG. 1 is a system architecture diagram applicable to a method for processing touch data in an embodiment
  • FIG. 2 is a schematic flowchart of a method for processing touch data according to an embodiment
  • FIG. 3 is a schematic flowchart of a touch data processing method according to another embodiment
  • FIG. 4 is a diagram illustrating an application scenario of a method for processing touch data according to an embodiment
  • FIG. 5 is a schematic flowchart of a touch data processing method according to still another embodiment
  • FIG. 6 is a schematic structural diagram of a touch data processing apparatus according to an embodiment
  • FIG. 7 is a schematic structural diagram of a smart device according to an embodiment
  • FIG. 8 is an internal structural diagram of a computer device in one embodiment.
  • an embodiment herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application.
  • the appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
  • the operating system (such as window system, Android system, etc.) only supports single-stroke writing.
  • the cursor points Will switch back and forth between the writing positions of multiple electromagnetic pens, and the situation of "grabbing coordinates" will appear; for the same reason, for a capacitive screen, if there are multiple capacitive pens writing on the screen, the cursor will be written on multiple capacitive pens. The position is switched back and forth, and the situation of "grabbing coordinates" also appears; therefore, the recognition accuracy of the writing results of multiple writing pens is low.
  • the present invention provides the following embodiments of a method for processing touch data.
  • the method for processing touch data can be applied to the system architecture shown in FIG. 1.
  • These include a writing pen 100, a touch screen device 200, and a host device 300.
  • the touch screen device 200 includes a touch screen and a touch screen control board.
  • the touch screen and the touch screen control board can be connected through FPC.
  • the host device 300 is equipped with an operating system, and the operating system includes a touch driver.
  • the operating system also supports the USB HID protocol.
  • the touch screen control board is also connected to the host device 300 through a data transmission bus, such as a USB / 12C data bus.
  • the number of writing pens 100 may be one or more.
  • the host device 300 may refer to a host of a smart device or a component for implementing a touch response in the host, such as a motherboard.
  • the touch screen device 200 may refer to a touch input device independent of the smart device, or may refer to an installation device. Touch input widget on a smart device.
  • the writing pen 100 is a device conforming to the USB HID class;
  • HID is the abbreviation of Human Interface Device, which belongs to human-computer interactive operation devices, but HID devices do not necessarily have human-machine interfaces, as long as they meet the HID category
  • the standard equipment is HID equipment.
  • the USB HID class is a standard device class for USB devices.
  • One of the advantages of using USB HID devices is that, in general, the operating system of the host device 300 has built-in drivers for the HID device. Users do not need to develop drivers. Applications in the host device 300 can directly use these drivers. To communicate with USB HID devices.
  • the smart device may be a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, a smart writing device, Email devices, game consoles, tablet computers, wearables, smart locomotives, driverless cars, smart refrigerators, other smart home devices, or a combination of any of these devices.
  • the smart writing device may be an interactive smart tablet.
  • Various applications can be installed in the above smart devices, such as text editing applications, document presentation applications, instant messaging applications, image editing applications, social applications, e-commerce applications, and search applications Programs, browser applications, and more.
  • text editing applications such as electronic whiteboard applications, electronic blackboard applications, presentation applications such as wireless projection applications, and instant messaging applications such as video conference applications.
  • the interactive smart tablet is described as an example of a smart device.
  • the interactive smart tablet may be an integrated device that uses touch technology to control the content displayed on the display tablet and implement human-computer interaction operations.
  • One or more functions such as projector, whiteboard, curtain, sound, TV, and video conference terminal.
  • the host device 300 refers to a main board of the interactive smart tablet
  • the touch screen device 200 refers to a touch screen and a touch screen control board installed on the interactive smart tablet.
  • the touch screen of the interactive smart tablet may include: a capacitive screen, an electromagnetic screen, or an infrared screen.
  • the touch screen can receive a touch operation input by a user through a finger or an input device.
  • the input device includes, but is not limited to, a capacitive pen, an electromagnetic pen, and / or an infrared pen.
  • a method for processing touch data is provided.
  • the method is applied to the above-mentioned touch screen control panel as an example for description, and includes the following steps S11 to S14, as follows:
  • the writing pen includes, but is not limited to, a capacitive pen, an electromagnetic pen, or an infrared pen
  • the touch screen includes, but is not limited to, a capacitive screen, an electromagnetic screen, or an infrared screen.
  • the touch events of the stylus pen on the touch screen include, but are not limited to, click events and writing events.
  • the writing event can be either a character writing event or a graphic drawing event.
  • the writing pen is a device conforming to the USB HID class.
  • the benefits of using the writing pen conforming to the USB HID class include that the operating system of the smart device to which the touch screen belongs generally has a built-in HID Device drivers, so there is no need for user-defined drivers to ensure compatibility with third-party applications.
  • This step refers to identifying the number of writing pens currently in contact with the touch screen at the same time.
  • the recognition method can adopt any writing pen recognition method that developers can think of, for example, identifying the number of writing pens currently writing on the touch screen by acquiring real-time images. Or, based on the detected touch data, the number of writing pens currently touching the touch screen at the same time is identified.
  • the specific identification method can be selected according to the actual situation.
  • HID-multitouch protocol is used to encapsulate touch data, and the touch data is data caused by the touch event.
  • the traditional method is to use the HID pen protocol to encapsulate and transmit the touch data corresponding to the touch event, and there is a problem of “grabbing coordinates”.
  • the hid-pen protocol can be used to encapsulate the touch data corresponding to the touch event
  • the hid-multitouch protocol is used to encapsulate the touch data.
  • the hid-multitouch protocol is a native protocol. After receiving the packaged touch data, operating systems such as Window and Android can parse it by themselves without adding a custom private USB protocol.
  • the encapsulated touch data is sent to the Windows operating system; if the current display signal of the touch screen belongs to the signal of the Android operating system of the smart device, the encapsulated touch is Control data is sent to the Android operating system.
  • the operating system can treat it as ordinary hid-multitouch packaged data, that is, through the driver of the HID device, and analyze it in the way corresponding to ordinary hid-multitouch packaged data. No custom data analysis protocol is required. System compatibility is good. Based on this, it can effectively respond to the touch events of multiple writing pens writing at the same time, for example, multiple writing pens corresponding to their own writing handwriting are displayed on the display screen of the smart device.
  • touch data transmission can be realized through the native protocol of the touch screen control board, and there is no need to separately define a touch data transmission protocol, which is beneficial to compatibility with third-party applications.
  • the touch data triggered by the writing pen is encapsulated by using a hid-pen protocol.
  • the hid-pen protocol is a standard protocol for touch screen control boards to support single-pen input, that is, in this case, touch data is processed in a traditional manner.
  • the touch screen control board can adaptively switch between two native protocols (hid-multitouch protocol and hid-pen protocol).
  • the number of writing pens can be switched automatically between hid-pen and hid-multitouch native protocols to achieve the packaging and transmission of touch data.
  • touch data can be realized through native drivers. Parsing, no need to define a separate driver, good compatibility. Further, the smart device with a touch function can not only support multiple writing pens writing at the same time, overcome the problem of “grabbing coordinates”, but also support the traditional single writing pen writing.
  • the touch data triggered by more than two stylus pens can be mapped into the body of the same data packet according to the hid-multitouch descriptor.
  • the touch data triggered by each writing pen can be first encoded into data that meets the format specified by the hid-multitouch protocol, and then all the encoded touch data is packed into the same data packet.
  • the encoded touch data triggered by a writing pen in the data package corresponds to one touch point.
  • the touch data can be mapped to the package of the USB HID multi-touch protocol in the format shown in Table 1 below:
  • the touch data triggered by the first electromagnetic pen is encoded as data corresponding to the first point of multi-touch, including status, ID, X, Y, and Pressure information, corresponding to byte numbers 1 to 8;
  • the touch data of the two pens is encoded as the data corresponding to the second point of the multi-touch, including status ID, X, Y, and Pressure information, corresponding to byte numbers 9 to 16;
  • byte number 17 indicates that the current data packet has Several touch points (several pens).
  • the ID indicates the number of the electromagnetic pen, which is used to distinguish multiple electromagnetic pens currently writing, and the Pressure information indicates the pressure value of the electromagnetic pen contacting the touch screen.
  • the touch screen control board can transmit the encapsulated touch data to the operating system through the USB port corresponding to the hid-multitouch descriptor, and the USB port is compatible with the multi-touch protocol of the touch screen.
  • the touch data triggered by a single writing pen can be mapped into a data packet body by a hid-pen descriptor.
  • the touch data can be mapped to the package of the USB HID protocol in the format shown in Table 2:
  • the touch screen control board can transmit the encapsulated touch data to the operating system through the USB port corresponding to the hid-pen descriptor.
  • the operating system After the operating system receives the packaged touch data sent by the touch screen control board, it can use hid-multitouch or hid-pen corresponding native driver to analyze the touch data, parse the touch data triggered by the writing pen, and then convert For the corresponding input event, then take the action corresponding to the input event.
  • a specific way of identifying the number of writing pens currently written on the touch screen may be: acquiring touch data caused by the touch event, and identifying the number of writing pens by the touch data. For example: acquiring a touch algorithm corresponding to the touch screen, and using the touch algorithm to determine touch data caused by the touch event.
  • the touch data may include at least one of coordinates of a touch point position, a touch pressure value, a touch point area value, a pen rotation angle, and key operation information; wherein the keys are keys on a writing pen.
  • the number of writing pens currently writing on the touch screen can be identified. For example, the number of writing pens can be determined by the number of touch point position coordinates included in the touch data; the number of writing pens can be determined by the number of touch pressure values included in the touch data Determining the number of the writing pens by the number of touch point area values included in the touch data.
  • the touch screen of the interactive smart tablet includes a capacitive screen, an electromagnetic screen, and / or an infrared screen.
  • the operating system of the interactive smart tablet includes a window system. , At least one of the Android system.
  • the corresponding touch data processing includes processing on the side of the touch screen control board, and processing on the side of the main board, as shown in FIG. 3, as follows.
  • step S31 a touch event of the writing pen on the touch screen is detected by the touch control software.
  • the touch control software can detect any touch operation event of the stylus on the touch screen, such as a screen click event of the stylus, or a character writing event, or a graphic drawing event. At present, it can also be a touch event triggered by another stylus.
  • Step S32 Acquire a touch algorithm corresponding to the touch screen.
  • touch screens have different touch algorithms. For example, capacitive screens, electromagnetic screens, and infrared screens correspond to different touch algorithms. Touch algorithms are used to obtain touch data on the touch screen. For the specific types of touch algorithms, developers can see what they need. The setting is not limited to the embodiment of the invention.
  • step S33 touch data caused by a current touch event is detected by a touch algorithm.
  • the touch data includes coordinates of the touch point position, touch pressure, area value of the touch point, pen rotation angle, key operation information, and the like.
  • step S34 the number of the writing pens is identified through the touch data.
  • the touch data triggered by each stylus will be different. Based on this, the number of styluses currently triggering the touch screen can be identified.
  • the number of writing pens can be determined by the number of touch point position coordinates included in the touch data; or the number of writing pens can be determined by the number of touch point sizes included in the touch data; Alternatively, the number of writing pens is determined by the number of touch pressure values included in the touch data.
  • step S35 it is determined whether the number of writing pens is greater than or equal to two. If yes, the next step is performed, otherwise, step S37 is performed.
  • step S36 the touch data is encapsulated by using a hid-multitouch protocol, and the process jumps to step S38.
  • step S37 the touch data is encapsulated by using a hid-pen protocol.
  • Step S38 Send the packaged touch data to the operating system.
  • step S39 the touch data may be analyzed by the touch driver included in the operating system to respond to the touch event.
  • the touch driver can send the parsed touch data to an input subsystem (input_device) in the operating system.
  • the input subsystem can be composed of a device driver layer, an input core layer, and an event processing layer.
  • the device driver layer can convert the underlying hardware input into a unified event form and report to the input core layer.
  • the input core layer can link up and down, register and operate the device input interface for the hardware driver layer, and notify the event processing layer to perform the event. deal with.
  • Figure 4 shows the response of several writing pens when writing at the same time.
  • an interactive smart tablet can be installed on a podium in a classroom.
  • the interactive smart tablet is provided with a touch screen control board and a motherboard.
  • the former is used to detect information on the touch screen; the latter is equipped with an operating system and can respond to touch events on the touch screen through a touch driver.
  • the teacher may select multiple students to answer the question through the electronic whiteboard running in the interactive smart tablet, such as Student Wang and Student Zhang shown in Figure 4. These two students need to write the English word "English" at the same time as instructed by the teacher After the two students contacted the electronic whiteboard through their own writing pens and started writing, the touch screen control board could detect the touch data triggered by each writing pen, and encapsulate the detected touch data according to the hid-multitouch protocol.
  • the motherboard After the motherboard analyzes the touch data, it controls the electronic whiteboard to display the corresponding writing content. For example, if the student Wang writes correctly "English” and the student Zhang writes incorrectly "Englich", the motherboard controls the electronic whiteboard to display the content of the student Wang writing as "English” and the content of the student Xiao Zhang's writing as "Englich”.
  • step S41 a touch event of a finger on the touch screen may be detected by the touch control software.
  • the touch control software can detect any touch operation event of the finger on the touch screen, such as a finger screen click event, a drag event, a slide event, or a character writing event, or a graphic drawing event. Currently, it can also be triggered by other fingers. Touch events.
  • Step S42 Acquire a touch algorithm corresponding to the touch screen.
  • touch screens have different touch algorithms. For example, capacitive screens, electromagnetic screens, and infrared screens correspond to different touch algorithms. Touch algorithms are used to obtain touch data on the touch screen. For the specific types of touch algorithms, developers can see what they need. The setting is not limited to the embodiment of the invention.
  • step S43 touch data caused by a current touch event is detected by a touch algorithm.
  • the touch data includes the coordinates of the touch point position, the touch pressure, and the area value of the touch point.
  • the touch data triggered by each finger will be different. Based on this, it can be identified that the touch screen is currently triggered. Number of fingers. The embodiment of the present invention does not limit this.
  • step S44 the hid-multitouch protocol is used to encapsulate touch data triggered by a finger.
  • Step S45 Send the packaged touch data to the operating system.
  • step S46 touch data may be analyzed by a touch driver included in the operating system, and a touch event may be responded to.
  • the steps in the flowchart are sequentially displayed according to the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in the flowchart of the method embodiment may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps Or the order of execution of the stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
  • a device for processing touch data is also provided herein.
  • the device for processing touch data in this embodiment includes a touch detection module 510, a quantity identification module 520, a first data packaging module 530, and a data transmission module 540, and each module is described in detail. as follows:
  • the touch detection module 510 is configured to detect a touch event of the writing pen on the touch screen.
  • the writing pen is a USB HID device.
  • a quantity identification module 520 is configured to identify the quantity of the writing pen.
  • the first data encapsulation module 530 is configured to encapsulate the touch data using the HID multi-touch protocol hid-multitouch if the number is greater than or equal to 2, and the touch data is data caused by the touch event.
  • a data transmission module 540 is configured to send the packaged touch data to an operating system, where the operating system is an operating system of a smart device to which the current display signal of the touch screen belongs.
  • the device for processing touch data further includes a second data packaging module for packaging the touch data using a HID pen protocol hid-pen if the number is less than two.
  • the quantity identification module 520 includes a data acquisition unit and an identification unit, wherein the data acquisition unit is configured to acquire touch data caused by the touch event; the identification unit is configured to pass the touch The control data identifies the number of the writing pens.
  • the data obtaining unit is specifically configured to obtain a touch algorithm corresponding to the touch screen, and use the touch algorithm to obtain touch data caused by the touch event.
  • the touch data includes at least one of: position coordinates of the touch point, pressure value of the touch point, area value of the touch point, pen rotation angle, and key operation information; wherein the keys are on a writing pen Button.
  • the present invention further provides an embodiment of a smart device.
  • the smart device includes a touch screen, a touch screen control board, and a motherboard, and the motherboard is equipped with an operating system.
  • the touch screen control board includes:
  • the touch detection module is configured to detect a touch event of the writing pen on the touch screen.
  • the writing pen is a device conforming to the USB HID class
  • a quantity identification module configured to identify the quantity of the writing pen
  • the motherboard includes:
  • the analysis and response module is configured to parse the received touch data and respond to the touch event.
  • the touch screen control board further includes: a second data packaging module for packaging the touch data using a HID pen protocol hid-pen if the number is less than two.
  • each module may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor calls and performs the operations corresponding to the above modules.
  • each program module is only an example.
  • the above functions may be allocated according to needs, for example, due to the consideration of the configuration requirements of the corresponding hardware or the convenience of software implementation. Completed by different program modules.
  • a computer device is provided, and the internal structure diagram of the computer device may be as shown in FIG. 8.
  • the computer equipment includes a processor, a memory, a network interface, a touch display screen, and an input device connected through a system bus.
  • the processor is used to provide computing and control capabilities.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory is a non-volatile storage medium.
  • the operating system and the computer program run to provide the environment; the network interface is used to communicate with external terminals through a network connection; the computer program is executed by the processor to implement a method of touch data processing;
  • the touch display can be a liquid crystal display Or an electronic ink display screen;
  • the input device may be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the shell of a computer device, or an external keyboard, touchpad, or mouse.
  • FIG. 8 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied.
  • the specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
  • a computer device which includes a memory and a processor.
  • the memory stores a computer program.
  • the processor executes the computer program, the steps of the method embodiment of the method for processing touch data of any of the foregoing embodiments are implemented. .
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method embodiment of the touch data processing of any of the foregoing embodiments are implemented.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Synchlink DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM
  • the "plurality” mentioned in the examples means two or more.
  • “And / or” describes the association relationship of the associated objects, and indicates that there can be three kinds of relationships. For example, A and / or B can mean that there are three cases in which A exists alone, A and B exist, and B exists alone.
  • the character "/" generally indicates that the related objects are an "or" relationship.
  • first ⁇ second mentioned in the embodiment is only a difference between similar objects, and does not represent a specific ordering of objects. Understandably, “first ⁇ second” can be interchanged with specific ones if allowed. Sequential or sequential. It should be understood that the objects of the "first ⁇ second" distinction are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than those illustrated or described herein.

Abstract

The invention relates to a touch control data processing method and a device, an intelligent device and a storage medium, which are applied to the field of intelligent devices. The method comprises: detecting a touch event of a writing pen on a touch screen, wherein the writing pen is a device which is in accordance with USB HID category; recognizing the number of the writing pens; if the number is greater than or equal to 2, using the HID multi-touch protocol to encapsulate touch control data which is data triggered by the touch event; sending the encapsulated touch data to an operating system, the operating system is an operating system of the intelligent device subordinated to the current display signal of the touch screen. The embodiment of the present invention solves the problem of writing recognition errors due to simultaneous use of two or more writing pens, and improves the recognition accuracy when several writing pens are used simultaneously.

Description

触控数据处理的方法、装置、智能设备和存储介质Method, device, smart device and storage medium for touch data processing 技术领域Technical field
本发明涉及智能设备技术领域,特别是涉及触控数据处理的方法、装置、智能设备和存储介质。The present invention relates to the technical field of smart devices, and in particular, to a method, an apparatus, a smart device, and a storage medium for processing touch data.
背景技术Background technique
随着智能设备的普及,很多智能设备都具有触控功能,相应地,这类智能设备的屏幕通常由显示屏和触摸屏构成,通过触摸屏,不仅能够检测识别用户手指在显示屏上的触摸操作,还可以检测并识别通过相应书写笔在屏幕上的点击、书写等触摸操作。With the popularity of smart devices, many smart devices have touch functions. Correspondingly, the screen of such smart devices usually consists of a display screen and a touch screen. Through the touch screen, not only can it detect and recognize the touch operation of the user's finger on the display screen, It can also detect and recognize touch operations such as tapping and writing on the screen by the corresponding writing pen.
在实现本发明的过程中,发明人发现现有技术中存在如下问题,在很多应用场景中,需要两支以上的书写笔同时在智能设备的屏幕上进行触摸操作,如应用在教学领域的电子平板,在课堂互动教学时,多个学生需要同时通过同一电子平板的屏幕答题,即多个学生同时对同一电子平板的触摸屏进行书写笔书写;然而,目前的电子平板并不支持两支以上的书写笔同时在屏幕上的书写,因此当两支以上的书写笔同时在屏幕上的书写时,常常出现书写识别错误。In the process of implementing the present invention, the inventors found that the following problems exist in the prior art. In many application scenarios, two or more writing pens are required to perform touch operations on the screen of a smart device at the same time, such as electronics used in teaching fields. Tablet, in the classroom interactive teaching, multiple students need to answer the question on the screen of the same electronic tablet at the same time, that is, multiple students write on the touch screen of the same electronic tablet at the same time; Writing pens write on the screen at the same time, so when two or more writing pens write on the screen at the same time, writing recognition errors often occur.
发明内容Summary of the Invention
基于此,有必要针对现有方式对两支以上的书写笔同时书写时存在的书写识别错误的问题,提供一种触控数据处理的方法、装置、智能设备和存储介质。Based on this, it is necessary to provide a method, a device, a smart device, and a storage medium for processing touch data in response to the problem of writing recognition errors when two or more writing pens are writing simultaneously.
根据本发明的第一方面,提供一种触控数据处理的方法,包括:According to a first aspect of the present invention, a method for processing touch data is provided, including:
检测到书写笔在触摸屏的触控事件;A touch event of the stylus on the touch screen is detected;
识别所述书写笔的数量;Identifying the number of the writing pens;
若所述数量大于或等于2,采用HID多点触摸协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据;If the number is greater than or equal to 2, use HID multi-touch protocol to encapsulate the touch data, and the touch data is data caused by the touch event;
将封装后的触控数据发送给操作系统,所述操作系统为所述触摸屏当前显 示信号所属的智能设备的操作系统。The encapsulated touch data is sent to an operating system, which is the operating system of the smart device to which the touch screen currently displays signals.
在其中一个实施例中,还包括:In one of the embodiments, it further includes:
若所述数量小于2,采用HID笔协议对所述触控数据进行封装。If the number is less than 2, the touch data is encapsulated using a HID pen protocol.
在其中一个实施例中,所述识别所述书写笔的数量,包括:In one embodiment, the identifying the quantity of the writing pen includes:
获取所述触控事件引发的触控数据;Acquiring touch data caused by the touch event;
通过所述触控数据识别所述书写笔的数量。The number of the writing pens is identified by the touch data.
在其中一个实施例中,所述获取所述触控事件引发的触控数据,包括:In one embodiment, the acquiring touch data caused by the touch event includes:
获取所述触摸屏对应的触控算法,Obtaining a touch algorithm corresponding to the touch screen,
采用所述触控算法得到所述触控事件引发的触控数据。The touch algorithm is used to obtain touch data caused by the touch event.
在其中一个实施例中,所述触控数据包括:触控点位置坐标、触控点压力值、触控点面积值、笔旋转角、按键操作信息中至少一项;In one embodiment, the touch data includes at least one of position coordinates of the touch point, pressure value of the touch point, area value of the touch point, pen rotation angle, and key operation information;
其中,所述按键为书写笔上的按键。The keys are keys on a writing pen.
在其中一个实施例中,所述智能设备包括交互智能平板;In one embodiment, the smart device includes an interactive smart tablet;
所述触摸屏包括电容屏、电磁屏和/或红外屏。The touch screen includes a capacitive screen, an electromagnetic screen, and / or an infrared screen.
在其中一个实施例中,所述操作系统包括window系统、Android系统中至少一项;In one embodiment, the operating system includes at least one of a window system and an Android system;
和/或,所述书写笔为符合USB HID类的设备。And / or, the writing pen is a device conforming to the USB HID class.
根据本发明的第二方面,提供一种触控数据处理的装置,包括:According to a second aspect of the present invention, a device for processing touch data is provided, including:
触摸检测模块,用于检测到书写笔在触摸屏的触控事件;A touch detection module for detecting a touch event of the stylus on the touch screen;
数量识别模块,用于识别所述书写笔的数量;A quantity identification module, configured to identify the quantity of the writing pen;
第一数据封装模块,用于若所述数量大于或等于2,采用HID多点触摸协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据;A first data encapsulation module, configured to encapsulate touch data using a HID multi-touch protocol if the number is greater than or equal to 2, the touch data is data caused by the touch event;
以及,数据传输模块,用于将封装后的触控数据发送给操作系统,所述操作系统为所述触摸屏当前显示信号所属的智能设备的操作系统。And, a data transmission module is configured to send the packaged touch data to an operating system, where the operating system is an operating system of a smart device to which the current display signal of the touch screen belongs.
在其中一个实施例中,还包括:In one of the embodiments, it further includes:
第二数据封装模块,用于若所述数量小于2,采用HID笔协议对所述触控数据进行封装。A second data encapsulation module is configured to encapsulate the touch data using a HID pen protocol if the number is less than two.
在其中一个实施例中,其中,所述书写笔为符合USB HID类的设备;In one embodiment, the writing pen is a USB HID device;
和/或,and / or,
所述数量识别模块,包括:The quantity identification module includes:
数据获取单元,用于获取所述触控事件引发的触控数据;A data acquisition unit, configured to acquire touch data caused by the touch event;
识别单元,用于通过所述触控数据识别所述书写笔的数量。An identification unit is configured to identify the number of the writing pens by using the touch data.
根据本发明的第三方面,提供一种智能设备,包括:触摸屏、触摸屏控制板以及主板,所述主板中搭载有操作系统,According to a third aspect of the present invention, there is provided a smart device including: a touch screen, a touch screen control board, and a motherboard, wherein the motherboard is equipped with an operating system,
所述触摸屏控制板包括:The touch screen control board includes:
触摸检测模块,用于检测到书写笔在触摸屏的触控事件;A touch detection module for detecting a touch event of the stylus on the touch screen;
数量识别模块,用于识别所述书写笔的数量;A quantity identification module, configured to identify the quantity of the writing pen;
第一数据封装模块,用于若所述数量大于或等于2,采用HID多点触摸协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据;A first data encapsulation module, configured to encapsulate touch data using a HID multi-touch protocol if the number is greater than or equal to 2, the touch data is data caused by the touch event;
以及,数据传输模块,用于将封装后的触控数据发送给操作系统;And a data transmission module for sending the packaged touch data to the operating system;
所述主板包括:The motherboard includes:
解析及响应模块,用于解析接收到的触控数据,对所述触控事件进行响应。The analysis and response module is configured to parse the received touch data and respond to the touch event.
在其中一个实施例中,所述触摸屏控制板还包括:In one embodiment, the touch screen control board further includes:
第二数据封装模块,用于若所述数量小于2,采用HID笔协议对所述触控数据进行封装。A second data encapsulation module is configured to encapsulate the touch data using a HID pen protocol if the number is less than two.
根据本发明的第四方面,提供一种计算机设备,包括存储器以及处理器,所述存储器用于存储计算机程序,According to a fourth aspect of the present invention, there is provided a computer device including a memory and a processor, where the memory is used to store a computer program,
当所述计算机程序被所述处理器执行时,使得所述处理器实现以上任一所述方法的步骤。When the computer program is executed by the processor, the processor is caused to implement the steps of any one of the above methods.
根据本发明的第五方面,提供一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序被所述处理器执行时,使得所述处理器实现以上任一所述方法的步骤According to a fifth aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program, and when the computer program is executed by the processor, causing the processor to implement any one of the methods described above step
实施本发明提供的实施例,在检测到书写笔在触摸屏的触控事件时,先识别当前在屏幕上书写的书写笔的数量;若识别出当前书写的书写笔的数量大于 或等于2,触摸屏控制板屏蔽HID笔(hid-pen)协议对所述触控数据进行封装,而是采用HID多点触摸(hid-multitouch)协议对当前触控事件的触控数据进行封装;然后将封装后的触控数据发送给操作系统,由此,一方面,触摸屏控制板能够基于书写笔的数量,在hid-pen、hid-multitouch原生协议之间自主切换,实现触控数据的封装和传输;另一方面,对操作系统而言,能够通过原生的驱动程序实现触控数据的解析,无需另行定义驱动程序,兼容性较好。In the embodiment provided by the present invention, when a touch event of the stylus pen on the touch screen is detected, the number of stylus pens currently written on the screen is first recognized; if the number of stylus pens currently written is greater than or equal to 2, the touch screen is recognized The control board shields the HID-pen protocol to encapsulate the touch data, but uses the HID multi-touch protocol to encapsulate the touch data of the current touch event; then the encapsulated The touch data is sent to the operating system. Therefore, on the one hand, the touch screen control board can automatically switch between hid-pen and hid-multitouch native protocols based on the number of writing pens to achieve the packaging and transmission of touch data; another In terms of the operating system, the touch data can be parsed through the native driver without the need to define a separate driver, and the compatibility is better.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为一个实施例中触控数据处理的方法适用的系统架构图;FIG. 1 is a system architecture diagram applicable to a method for processing touch data in an embodiment; FIG.
图2为一实施例的触控数据处理的方法的示意性流程图;2 is a schematic flowchart of a method for processing touch data according to an embodiment;
图3为另一实施例的触控数据处理的方法的示意性流程图;3 is a schematic flowchart of a touch data processing method according to another embodiment;
图4为一实施例的触控数据处理的方法的应用场景示例图;4 is a diagram illustrating an application scenario of a method for processing touch data according to an embodiment;
图5为再一实施例的触控数据处理的方法的示意性流程图;5 is a schematic flowchart of a touch data processing method according to still another embodiment;
图6为一实施例的触控数据处理的装置的示意性结构图;6 is a schematic structural diagram of a touch data processing apparatus according to an embodiment;
图7为一实施例的智能设备的示意性结构图;7 is a schematic structural diagram of a smart device according to an embodiment;
图8为一个实施例中计算机设备的内部结构图。FIG. 8 is an internal structural diagram of a computer device in one embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "an embodiment" herein means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they independent or alternative embodiments that are mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
实际应用中,具有触摸功能的智能设备中,操作系统(如window系统、 Android系统等)只支持单笔书写,例如:对于电磁屏来说,如果有多支电磁笔在屏幕进行书写,光标点会在多支电磁笔的书写位置来回切换,出现“抢坐标”的状况;同理,对于电容屏来说,如果有多支电容笔在屏幕进行书写,光标点会在多支电容笔的书写位置来回切换,同样出现“抢坐标”的状况;因此导致对多支书写笔的书写结果的识别准确度低。In practical applications, in smart devices with touch functions, the operating system (such as window system, Android system, etc.) only supports single-stroke writing. For example, for electromagnetic screens, if there are multiple electromagnetic pens writing on the screen, the cursor points Will switch back and forth between the writing positions of multiple electromagnetic pens, and the situation of "grabbing coordinates" will appear; for the same reason, for a capacitive screen, if there are multiple capacitive pens writing on the screen, the cursor will be written on multiple capacitive pens. The position is switched back and forth, and the situation of "grabbing coordinates" also appears; therefore, the recognition accuracy of the writing results of multiple writing pens is low.
为避免“抢坐标”状况出现,需要使智能设备的操作系统支持两支以上的书写笔在智能设备屏幕上同时书写。现有相关技术一般是采用自定义的私有协议对两支以上的书写笔触发的触控数据进行封装和解析。例如通过触摸屏控制板可通过自定义的USB协议将各书写笔触发的触控数据封装到同一数据包的包体中,然后上报到主板的操作系统,但是这种自定义的USB协议并非Window、Android等操作系统原生的描述协议,操作系统难以自动解析封装后的数据包,需要添加与自定义的USB协议对应的解析协议,因此,这类支持多书写笔同时操作的方案的局限性大,一般只能应用在开发方自己开发的应用程序中,难以与第三方开发的应用程序(第三方应用)兼容,难以得到推广应用。To avoid the situation of “grabbing coordinates”, it is necessary to make the operating system of the smart device support more than two writing pens to write on the screen of the smart device at the same time. Existing related technologies generally use a custom private protocol to encapsulate and analyze touch data triggered by two or more writing pens. For example, the touch screen control board can use the custom USB protocol to encapsulate touch data triggered by each writing pen into the same data package and report it to the operating system of the motherboard. However, this custom USB protocol is not Window, The native description protocols of operating systems such as Android, it is difficult for the operating system to automatically parse the encapsulated data packets, and it is necessary to add a parsing protocol corresponding to the custom USB protocol. Therefore, this type of solution that supports multiple pens to operate at the same time has great limitations. Generally, it can only be used in applications developed by developers, it is difficult to be compatible with applications developed by third parties (third-party applications), and it is difficult to get popularized applications.
为了支持两支以上的书写笔在智能设备屏幕上同时书写,同时兼容第三方应用,本发明提供了以下触控数据处理的方法的实施例。In order to support more than two writing pens to write on the screen of a smart device at the same time and to be compatible with third-party applications, the present invention provides the following embodiments of a method for processing touch data.
本发明实施例提供的触控数据处理的方法,可以适用于如图1所示的系统架构中。其中包括书写笔100、触摸屏设备200以及主机设备300。触摸屏设备200包括触摸屏和触摸屏控制板,触摸屏和触摸屏控制板可通过FPC连接;主机设备300内搭载有操作系统,操作系统包括触摸驱动程序,所述操作系统还支持USB HID协议。触摸屏控制板还通过数据传输总线与主机设备300连接,例如通过USB/12C数据总线连接。书写笔100的数量可以为一个或者多个。The method for processing touch data provided by the embodiment of the present invention can be applied to the system architecture shown in FIG. 1. These include a writing pen 100, a touch screen device 200, and a host device 300. The touch screen device 200 includes a touch screen and a touch screen control board. The touch screen and the touch screen control board can be connected through FPC. The host device 300 is equipped with an operating system, and the operating system includes a touch driver. The operating system also supports the USB HID protocol. The touch screen control board is also connected to the host device 300 through a data transmission bus, such as a USB / 12C data bus. The number of writing pens 100 may be one or more.
本发明实施例中,主机设备300可以指智能设备的主机或主机中用于实现触摸响应的部件,例如主板,触摸屏设备200可以指独立于智能设备之外的触摸输入设备,也可以指装设在智能设备上的触摸输入部件。In the embodiment of the present invention, the host device 300 may refer to a host of a smart device or a component for implementing a touch response in the host, such as a motherboard. The touch screen device 200 may refer to a touch input device independent of the smart device, or may refer to an installation device. Touch input widget on a smart device.
对于主机设备300来说,书写笔100为符合USB HID类的设备;HID是Human Interface Device的缩写,它属于人机交互操作的设备,不过HID设备并 不一定要有人机接口,只要符合HID类别规范的设备都是HID设备。USB HID类是USB设备的一个标准设备类。使用USB HID类的设备的一个好处就是,一般来说,主机设备300搭载的操作系统内置有HID设备的驱动程序,用户无需去开发驱动程序,主机设备300中的应用程序可以直接使用这些驱动程序来与USB HID设备通信。For the host device 300, the writing pen 100 is a device conforming to the USB HID class; HID is the abbreviation of Human Interface Device, which belongs to human-computer interactive operation devices, but HID devices do not necessarily have human-machine interfaces, as long as they meet the HID category The standard equipment is HID equipment. The USB HID class is a standard device class for USB devices. One of the advantages of using USB HID devices is that, in general, the operating system of the host device 300 has built-in drivers for the HID device. Users do not need to develop drivers. Applications in the host device 300 can directly use these drivers. To communicate with USB HID devices.
当触摸屏设备200以及主机设备300属于同一智能设备的部件时,该智能设备可以是膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、智能书写设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备、智能机车、无人驾驶汽车、智能冰箱、其他智能家居设备或者这些设备中的任意几种设备的组合。其中,智能书写设备可以是交互智能平板。When the touch screen device 200 and the host device 300 are components of the same smart device, the smart device may be a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, a smart writing device, Email devices, game consoles, tablet computers, wearables, smart locomotives, driverless cars, smart refrigerators, other smart home devices, or a combination of any of these devices. The smart writing device may be an interactive smart tablet.
上述智能设备内可以安装各种应用程序,如文本编辑类应用程序、文稿演示类应用程序、即时通讯类应用程序、图像编辑类应用程序、社交类应用程序、电商类应用程序、搜索类应用程序、浏览器类应用程序等等。其中,文本编辑类应用程序如电子白板应用、电子黑板应用,文稿演示类应用程序如无线投屏应用,即时通讯类应用程序如视频会议应用。Various applications can be installed in the above smart devices, such as text editing applications, document presentation applications, instant messaging applications, image editing applications, social applications, e-commerce applications, and search applications Programs, browser applications, and more. Among them, text editing applications such as electronic whiteboard applications, electronic blackboard applications, presentation applications such as wireless projection applications, and instant messaging applications such as video conference applications.
在实施例中,以交互智能平板为智能设备为例进行描述,交互智能平板可以是通过触控技术对显示在显示平板上的内容进行操控和实现人机交互操作的一体化设备,其集成了投影机、电子白板、幕布、音响、电视机以及视频会议终端等一种或多种功能。在交互智能平板中,主机设备300指交互智能平板的主板,触摸屏设备200指装设在交互智能平板上的触摸屏以及触摸屏控制板。In the embodiment, the interactive smart tablet is described as an example of a smart device. The interactive smart tablet may be an integrated device that uses touch technology to control the content displayed on the display tablet and implement human-computer interaction operations. One or more functions such as projector, whiteboard, curtain, sound, TV, and video conference terminal. In the interactive smart tablet, the host device 300 refers to a main board of the interactive smart tablet, and the touch screen device 200 refers to a touch screen and a touch screen control board installed on the interactive smart tablet.
在实施例中,交互智能平板的触摸屏可以包括:电容屏,电磁屏或红外屏等。一般而言,该触摸屏可以接收用户通过手指或者输入设备输入的触摸操作。其中,输入设备包括但不限定于:电容笔、电磁笔和/或红外笔等。In an embodiment, the touch screen of the interactive smart tablet may include: a capacitive screen, an electromagnetic screen, or an infrared screen. Generally speaking, the touch screen can receive a touch operation input by a user through a finger or an input device. The input device includes, but is not limited to, a capacitive pen, an electromagnetic pen, and / or an infrared pen.
在一个实施例中,如图2所示,提供了一种触控数据处理的方法,以该方法应用于上述的触摸屏控制板为例进行说明,包括以下步骤S11~S14,具体如下:In one embodiment, as shown in FIG. 2, a method for processing touch data is provided. The method is applied to the above-mentioned touch screen control panel as an example for description, and includes the following steps S11 to S14, as follows:
S11,检测到书写笔在触摸屏的触控事件。S11. A touch event of the writing pen on the touch screen is detected.
其中,书写笔包括但不限定于电容笔、电磁笔或红外笔,触摸屏包括但不限定于电容屏、电磁屏或红外屏。书写笔在触摸屏的触控事件包括但不限定于点击事件和书写事件,书写事件既可以是字符书写事件,也可以是图形绘制事件。The writing pen includes, but is not limited to, a capacitive pen, an electromagnetic pen, or an infrared pen, and the touch screen includes, but is not limited to, a capacitive screen, an electromagnetic screen, or an infrared screen. The touch events of the stylus pen on the touch screen include, but are not limited to, click events and writing events. The writing event can be either a character writing event or a graphic drawing event.
本发明实施例中,对于智能设备的操作系统来说,书写笔为符合USB HID类的设备,使用符合USB HID类的书写笔的好处包括,触摸屏所属的智能设备的操作系统一般都内置有HID设备的驱动程序,因此无需用户自定义驱动程序,保证第三方应用的兼容性。In the embodiment of the present invention, for the operating system of the smart device, the writing pen is a device conforming to the USB HID class. The benefits of using the writing pen conforming to the USB HID class include that the operating system of the smart device to which the touch screen belongs generally has a built-in HID Device drivers, so there is no need for user-defined drivers to ensure compatibility with third-party applications.
S12,识别所述书写笔的数量。S12. Identify the number of the writing pens.
本步骤指的是,识别当前同时接触触摸屏的书写笔的数量,识别方式可以采用开发人员能够想到的任意书写笔识别方式,例如:通过获取实时图像识别当前在触摸屏上书写的书写笔的数量,或者基于检测到的触控数据识别当前同时接触触摸屏的书写笔的数量。具体识别方式,可视实际情况选取。This step refers to identifying the number of writing pens currently in contact with the touch screen at the same time. The recognition method can adopt any writing pen recognition method that developers can think of, for example, identifying the number of writing pens currently writing on the touch screen by acquiring real-time images. Or, based on the detected touch data, the number of writing pens currently touching the touch screen at the same time is identified. The specific identification method can be selected according to the actual situation.
S13,若所述数量大于或等于2,采用HID多点触摸(hid-multitouch)协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据。S13. If the number is greater than or equal to 2, HID-multitouch protocol is used to encapsulate touch data, and the touch data is data caused by the touch event.
当确定当前在触摸屏上书写的书写笔的数量为两支以上时,传统做法为采用HID笔(hid-pen)协议对触控事件对应的触控数据进行封装传输,存在“抢坐标”的问题;本发明实施例中,在该情况下,可以屏蔽hid-pen协议对触控事件对应的触控数据进行封装,而采用hid-multitouch协议对触控数据进行封装。对于触摸屏控制板来说,hid-multitouch协议为原生协议,Window、Android等操作系统在接收到封装的触控数据后,可以自行解析,无需添加自定义私有USB协议。When it is determined that the number of writing pens currently writing on the touch screen is two or more, the traditional method is to use the HID pen protocol to encapsulate and transmit the touch data corresponding to the touch event, and there is a problem of “grabbing coordinates”. In the embodiment of the present invention, in this case, the hid-pen protocol can be used to encapsulate the touch data corresponding to the touch event, and the hid-multitouch protocol is used to encapsulate the touch data. For the touch screen control board, the hid-multitouch protocol is a native protocol. After receiving the packaged touch data, operating systems such as Window and Android can parse it by themselves without adding a custom private USB protocol.
S14,将封装后的触控数据发送给操作系统,所述操作系统为所述触摸屏当前显示信号所属的智能设备的操作系统。S14. Send the packaged touch data to an operating system, where the operating system is an operating system of a smart device to which the touch screen currently displays signals.
如果触摸屏当前显示信号属于智能设备的Windows操作系统的信号,则将封装后的触控数据发送给Windows操作系统;如果触摸屏当前显示信号属于智 能设备的安卓操作系统的信号,则将封装后的触控数据发送给安卓操作系统。If the current display signal of the touch screen belongs to the signal of the Windows operating system of the smart device, the encapsulated touch data is sent to the Windows operating system; if the current display signal of the touch screen belongs to the signal of the Android operating system of the smart device, the encapsulated touch is Control data is sent to the Android operating system.
操作系统收到触控数据后,可将其视为普通的hid-multitouch封装数据,即通过HID设备的驱动程序,按照普通hid-multitouch封装数据对应的方式进行解析,无需自定义数据解析协议,系统兼容性好。基于此,可对同时书写的多支书写笔的触控事件有效响应,例如在智能设备的显示屏中显示出多支书写笔个自己对应的书写笔迹。After receiving the touch data, the operating system can treat it as ordinary hid-multitouch packaged data, that is, through the driver of the HID device, and analyze it in the way corresponding to ordinary hid-multitouch packaged data. No custom data analysis protocol is required. System compatibility is good. Based on this, it can effectively respond to the touch events of multiple writing pens writing at the same time, for example, multiple writing pens corresponding to their own writing handwriting are displayed on the display screen of the smart device.
通过上述实施例,能够通过触摸屏控制板的原生协议实现触控数据的传输,无需另行定义用于触控数据传输协议,有利于第三方应用的兼容性。Through the above embodiments, touch data transmission can be realized through the native protocol of the touch screen control board, and there is no need to separately define a touch data transmission protocol, which is beneficial to compatibility with third-party applications.
此外,在一实施例中,若识别出在触摸屏上书写的书写笔的数量小于2,则采用hid-pen协议对所述书写笔触发的触控数据进行封装。hid-pen协议为触摸屏控制板支持单笔输入的标准协议,即该情况下,则按照传统方式对触控数据进行处理。In addition, in an embodiment, if it is recognized that the number of writing pens written on the touch screen is less than 2, the touch data triggered by the writing pen is encapsulated by using a hid-pen protocol. The hid-pen protocol is a standard protocol for touch screen control boards to support single-pen input, that is, in this case, touch data is processed in a traditional manner.
基于此,基于当前在触摸屏上书写的书写笔的数量,触摸屏控制板可自适应的在两种原生协议(hid-multitouch协议与hid-pen协议)之间切换,一方面,触摸屏控制板能够基于书写笔的数量,在hid-pen、hid-multitouch原生协议之间自主切换,实现触控数据的封装和传输;另一方面,对操作系统而言,能够通过原生的驱动程序实现触控数据的解析,无需另行定义驱动程序,兼容性较好。进一步地,可使得具有触摸功能的智能设备既支持多支书写笔同时书写,克服“抢坐标”的问题,又能支持传统的单支书写笔书写。Based on this, based on the number of writing pens currently writing on the touch screen, the touch screen control board can adaptively switch between two native protocols (hid-multitouch protocol and hid-pen protocol). The number of writing pens can be switched automatically between hid-pen and hid-multitouch native protocols to achieve the packaging and transmission of touch data. On the other hand, for operating systems, touch data can be realized through native drivers. Parsing, no need to define a separate driver, good compatibility. Further, the smart device with a touch function can not only support multiple writing pens writing at the same time, overcome the problem of “grabbing coordinates”, but also support the traditional single writing pen writing.
某些例子中,可将两支以上书写笔触发的触控数据,按hid-multitouch描述符映射到同一数据包的包体中。具体的,可以按照hid-multitouch协议,先将每支书写笔触发的触控数据编码为满足hid-multitouch协议规定的格式的数据,然后将编码后的所有触控数据打包到同一个数据包的包体内,在该数据包内一支书写笔触发的编码后的触控数据对应一个触控点。例如,对于多支电磁笔的触控数据,可以按以下表1中的格式将触控数据映射到USB HID多点触摸协议的包体中:In some examples, the touch data triggered by more than two stylus pens can be mapped into the body of the same data packet according to the hid-multitouch descriptor. Specifically, according to the hid-multitouch protocol, the touch data triggered by each writing pen can be first encoded into data that meets the format specified by the hid-multitouch protocol, and then all the encoded touch data is packed into the same data packet. In the package body, the encoded touch data triggered by a writing pen in the data package corresponds to one touch point. For example, for the touch data of multiple electromagnetic pens, the touch data can be mapped to the package of the USB HID multi-touch protocol in the format shown in Table 1 below:
表1:Table 1:
字节号Byte number 作用effect
00 报文ID(0x03)Message ID (0x03)
11 第一个点状态(0x03:按下;0x02:抬起;0x00:无触摸)The first point status (0x03: pressed; 0x02: raised; 0x00: no touch)
22 第一个点ID(0x00)First point ID (0x00)
33 第一个点X坐标低字节数据X-coordinate low byte data of the first point
44 第一个点X坐标高字节数据X-coordinate high byte data of the first point
55 第一个点Y坐标低字节数据Low byte data of the Y coordinate of the first point
66 第一个点Y坐标高字节数据Y point high byte data of the first point
77 第一个点pressure低字节数据The first point pressure low byte data
88 第一个点pressure高字节数据The first point pressure high byte data
9~169 ~ 16 第二个点数据Second point data
1717 有效点数Effective points
如表1所示,第1支电磁笔触发的触控数据编码为对应多点触摸第1个点的数据,包括状态、ID、X、Y、Pressure信息,对应字节号1至8;第2支笔的触控数据编码为对应多点触摸的第2个点的数据,包括状态ID、X、Y、Pressure信息,对应字节号9至16;字节号17表明当前数据包里面有几个触控点(几支笔)。其中ID表示电磁笔的编号,用于区分多支当前书写的电磁笔,Pressure信息表示电磁笔接触触摸屏的压力值。As shown in Table 1, the touch data triggered by the first electromagnetic pen is encoded as data corresponding to the first point of multi-touch, including status, ID, X, Y, and Pressure information, corresponding to byte numbers 1 to 8; The touch data of the two pens is encoded as the data corresponding to the second point of the multi-touch, including status ID, X, Y, and Pressure information, corresponding to byte numbers 9 to 16; byte number 17 indicates that the current data packet has Several touch points (several pens). The ID indicates the number of the electromagnetic pen, which is used to distinguish multiple electromagnetic pens currently writing, and the Pressure information indicates the pressure value of the electromagnetic pen contacting the touch screen.
对于按照hid-multitouch协议封装的触控数据,触摸屏控制板可以通过hid-multitouch描述符对应的USB端口,向操作系统传输封装后的触控数据,该USB端口可以兼容触摸屏的多点触摸协议。For touch data encapsulated according to the hid-multitouch protocol, the touch screen control board can transmit the encapsulated touch data to the operating system through the USB port corresponding to the hid-multitouch descriptor, and the USB port is compatible with the multi-touch protocol of the touch screen.
某些例子中,对于单支电磁笔触发的触控数据,可以按hid-pen描述符,将单支书写笔触发的触控数据映射到一个数据包体中。例如,对于单支电磁笔的触控数据,可以按表2中的格式将触控数据映射到USB HID协议的包体中:In some examples, for touch data triggered by a single electromagnetic pen, the touch data triggered by a single writing pen can be mapped into a data packet body by a hid-pen descriptor. For example, for the touch data of a single electromagnetic pen, the touch data can be mapped to the package of the USB HID protocol in the format shown in Table 2:
表2:Table 2:
字节号Byte number 作用effect
00 报文ID(0x10)Message ID (0x10)
11 功能键(5bit用于Tip/Barrel/Eraser/Invert/In Range,其他3bit保留)Function key (5bit for Tip / Barrel / Eraser / Invert / In Range, other 3bit reserved)
22 点X坐标低字节数据Point X coordinate low byte data
33 点X坐标高字节数据Point X coordinate high byte data
44 点Y坐标低字节数据Point Y coordinate low byte data
55 点Y坐标高字节数据Point Y coordinate high byte data
66 点pressure低字节数据Point pressure low byte data
77 点pressure高字节数据Point pressure high byte data
对于按hid-pen协议封装的触控数据,触摸屏控制板可以通过hid-pen描述符对应的USB端口,向操作系统传输封装后的触控数据。For touch data encapsulated according to the hid-pen protocol, the touch screen control board can transmit the encapsulated touch data to the operating system through the USB port corresponding to the hid-pen descriptor.
操作系统接收到触摸屏控制板发送的封装后的触控数据后,可以采用hid-multitouch或者hid-pen对应的原生驱动程序对触控数据进行解析,解析出书写笔触发的触控数据,然后转换为相应的输入事件,然后做出与输入事件相应的操作。After the operating system receives the packaged touch data sent by the touch screen control board, it can use hid-multitouch or hid-pen corresponding native driver to analyze the touch data, parse the touch data triggered by the writing pen, and then convert For the corresponding input event, then take the action corresponding to the input event.
在一实施例中,识别当前在触摸屏上书写的书写笔的数量的具体方式可为:获取所述触控事件引发的触控数据,通过所述触控数据识别所述书写笔的数量。例如:获取所述触摸屏对应的触控算法,采用所述触控算法确定所述触控事件引发的触控数据。In an embodiment, a specific way of identifying the number of writing pens currently written on the touch screen may be: acquiring touch data caused by the touch event, and identifying the number of writing pens by the touch data. For example: acquiring a touch algorithm corresponding to the touch screen, and using the touch algorithm to determine touch data caused by the touch event.
其中,触控数据可以包括触控点位置坐标、触摸压力值、触控点面积值、笔旋转角、按键操作信息中至少一项;其中所述按键为书写笔上的按键。基于获取到的触控数据之间的区别,可识别当前在触摸屏上书写的书写笔的数量。例如,可通过所述触控数据中包含的触控点位置坐标的数量,确定所述书写笔的数量;通过所述触控数据中包含的触摸压力值的数量,确定所述书写笔的数量;通过所述触控数据中包含的触控点面积值的数量,确定所述书写笔的数量。The touch data may include at least one of coordinates of a touch point position, a touch pressure value, a touch point area value, a pen rotation angle, and key operation information; wherein the keys are keys on a writing pen. Based on the difference between the acquired touch data, the number of writing pens currently writing on the touch screen can be identified. For example, the number of writing pens can be determined by the number of touch point position coordinates included in the touch data; the number of writing pens can be determined by the number of touch pressure values included in the touch data Determining the number of the writing pens by the number of touch point area values included in the touch data.
结合上述实施例,下面以交互智能平板为例,对触控数据处理的方法进行举例说明,交互智能平板的触摸屏包括电容屏、电磁屏和/或红外屏,交互智能平板的操作系统包括window系统、Android系统中至少一种。通过书写笔或者手指在触摸屏上触摸时,相应的触控数据处理分别如图3所示。With reference to the above embodiment, the following describes the method for processing touch data with an interactive smart tablet as an example. The touch screen of the interactive smart tablet includes a capacitive screen, an electromagnetic screen, and / or an infrared screen. The operating system of the interactive smart tablet includes a window system. , At least one of the Android system. When a pen or a finger is touched on the touch screen, the corresponding touch data processing is shown in FIG. 3 respectively.
通过书写笔在触摸屏上触摸时,相应的触控数据处理包括在触摸屏控制板一侧的处理,以及在主板一侧的处理,如图3所示,具体如下。When touching on the touch screen with a stylus pen, the corresponding touch data processing includes processing on the side of the touch screen control board, and processing on the side of the main board, as shown in FIG. 3, as follows.
在触摸屏控制板一侧:On the side of the touch screen control panel:
步骤S31,通过触摸控制软件检测书写笔在触摸屏的触控事件。In step S31, a touch event of the writing pen on the touch screen is detected by the touch control software.
触摸控制软件可检测书写笔在触摸屏上的任何触摸操作事件,例如书写笔的屏幕点击事件,或是字符书写事件,又或者是图形绘制事件,当前还可以是其他书写笔触发的触控事件。The touch control software can detect any touch operation event of the stylus on the touch screen, such as a screen click event of the stylus, or a character writing event, or a graphic drawing event. At present, it can also be a touch event triggered by another stylus.
步骤S32,获取触摸屏对应的触控算法。Step S32: Acquire a touch algorithm corresponding to the touch screen.
不同触摸屏的触控算法不同,例如电容屏、电磁屏、红外屏分别对应不同的触控算法,通过触控算法获取触摸屏上的触控数据,对于触控算法的具体类型,开发人员可视需要设定,不发明实施例不作限定。Different touch screens have different touch algorithms. For example, capacitive screens, electromagnetic screens, and infrared screens correspond to different touch algorithms. Touch algorithms are used to obtain touch data on the touch screen. For the specific types of touch algorithms, developers can see what they need. The setting is not limited to the embodiment of the invention.
步骤S33,通过触控算法检测当前触控事件引发的触控数据。In step S33, touch data caused by a current touch event is detected by a touch algorithm.
对于书写笔的触控事件,触控数据包括触控点位置坐标、触摸压力、触控点面积值、笔旋转角、按键操作信息等。For the touch event of the writing pen, the touch data includes coordinates of the touch point position, touch pressure, area value of the touch point, pen rotation angle, key operation information, and the like.
步骤S34,通过所述触控数据识别所述书写笔的数量。In step S34, the number of the writing pens is identified through the touch data.
一般来说,当多个用户分别采用书写笔在触摸屏上书写时,各书写笔触发的触控数据会各不相同,基于此可识别出当前触发触摸屏的书写笔的数量。例如:可通过所述触控数据中包含的触控点位置坐标的数量,确定书写笔的数量;或者,通过所述触控数据中包含的触控点尺寸的数量,确定书写笔的数量;或者,通过所述触控数据中包含的触摸压力值的数量,确定书写笔的数量。Generally, when multiple users use a stylus to write on a touch screen, the touch data triggered by each stylus will be different. Based on this, the number of styluses currently triggering the touch screen can be identified. For example, the number of writing pens can be determined by the number of touch point position coordinates included in the touch data; or the number of writing pens can be determined by the number of touch point sizes included in the touch data; Alternatively, the number of writing pens is determined by the number of touch pressure values included in the touch data.
步骤S35,判断书写笔的数量是否大于或等于2,若是,执行下一步骤,否则,执行步骤S37。In step S35, it is determined whether the number of writing pens is greater than or equal to two. If yes, the next step is performed, otherwise, step S37 is performed.
步骤S36,采用hid-multitouch协议对触控数据进行封装,跳转至步骤S38。In step S36, the touch data is encapsulated by using a hid-multitouch protocol, and the process jumps to step S38.
步骤S37,采用hid-pen协议对所述触控数据进行封装。In step S37, the touch data is encapsulated by using a hid-pen protocol.
步骤S38,将封装后的触控数据发送给操作系统。Step S38: Send the packaged touch data to the operating system.
在主板一侧:On the motherboard side:
步骤S39,可通过操作系统中包含的触摸驱动程序解析触控数据,对触控事 件进行响应。In step S39, the touch data may be analyzed by the touch driver included in the operating system to respond to the touch event.
此外,为了响应触控事件,触摸驱动程序可以将解析后的触控数据发送至操作系统中的输入子系统(input_device),该输入子系统可以由设备驱动层、输入核心层和事件处理层构成,其中,设备驱动层可以将底层的硬件输入转化为统一事件形式,向输入核心层汇报,输入核心层可以承上启下,为硬件的驱动层输入的设备注册与操作接口,通知事件处理层对事件进行处理。图4示出了几种多支书写笔同时书写时的响应情形。In addition, in order to respond to a touch event, the touch driver can send the parsed touch data to an input subsystem (input_device) in the operating system. The input subsystem can be composed of a device driver layer, an input core layer, and an event processing layer. Among them, the device driver layer can convert the underlying hardware input into a unified event form and report to the input core layer. The input core layer can link up and down, register and operate the device input interface for the hardware driver layer, and notify the event processing layer to perform the event. deal with. Figure 4 shows the response of several writing pens when writing at the same time.
如图4所示的场景中,交互智能平板可以安装在教室的讲台上,该交互智能平板中设置有触摸屏控制板和主板。前者用于检测触摸屏上的信息;后者搭载有操作系统,能够通过触摸驱动程序对触摸屏上的触控事件进行响应。老师教学时可能会挑选多个学生通过交互智能平板中运行的电子白板答题,如图4中所示的学生小王和学生小张,这两个学生需要同时按照老师要求书写英文单词“English”,在两个学生分别通过各自持有的书写笔接触电子白板,开始书写后,触摸屏控制板可以检测到各书写笔触发的触控数据,按照hid-multitouch协议对检测到的触控数据进行封装,并通过触摸屏控制板的驱动接口所含的USB端口上传到主板,主板解析触控数据后,控制电子白板显示相应的书写内容。例如,学生小王书写正确“English”,学生小张书写出错“Englich”,则主板控制电子白板显示学生小王书写内容为“English”,显示学生小张书写的内为“Englich”。In the scenario shown in FIG. 4, an interactive smart tablet can be installed on a podium in a classroom. The interactive smart tablet is provided with a touch screen control board and a motherboard. The former is used to detect information on the touch screen; the latter is equipped with an operating system and can respond to touch events on the touch screen through a touch driver. The teacher may select multiple students to answer the question through the electronic whiteboard running in the interactive smart tablet, such as Student Wang and Student Zhang shown in Figure 4. These two students need to write the English word "English" at the same time as instructed by the teacher After the two students contacted the electronic whiteboard through their own writing pens and started writing, the touch screen control board could detect the touch data triggered by each writing pen, and encapsulate the detected touch data according to the hid-multitouch protocol. , And upload it to the motherboard through the USB port included in the drive interface of the touch screen control board. After the motherboard analyzes the touch data, it controls the electronic whiteboard to display the corresponding writing content. For example, if the student Wang writes correctly "English" and the student Zhang writes incorrectly "Englich", the motherboard controls the electronic whiteboard to display the content of the student Wang writing as "English" and the content of the student Xiao Zhang's writing as "Englich".
如图5所示,通过手指在触摸屏上触摸时,相应的触控数据处理如下:As shown in Figure 5, when a finger is touched on the touch screen, the corresponding touch data is processed as follows:
在触摸屏控制板一侧:On the side of the touch screen control panel:
步骤S41,可通过触摸控制软件检测手指在触摸屏的触控事件。In step S41, a touch event of a finger on the touch screen may be detected by the touch control software.
触摸控制软件可检测手指在触摸屏上的任何触摸操作事件,例如手指的屏幕点击事件、拖动事件、滑动事件,或是字符书写事件,又或者是图形绘制事件,当前还可以是其他手指触发的触控事件。The touch control software can detect any touch operation event of the finger on the touch screen, such as a finger screen click event, a drag event, a slide event, or a character writing event, or a graphic drawing event. Currently, it can also be triggered by other fingers. Touch events.
步骤S42,获取触摸屏对应的触控算法。Step S42: Acquire a touch algorithm corresponding to the touch screen.
不同触摸屏的触控算法不同,例如电容屏、电磁屏、红外屏分别对应不同 的触控算法,通过触控算法获取触摸屏上的触控数据,对于触控算法的具体类型,开发人员可视需要设定,不发明实施例不作限定。Different touch screens have different touch algorithms. For example, capacitive screens, electromagnetic screens, and infrared screens correspond to different touch algorithms. Touch algorithms are used to obtain touch data on the touch screen. For the specific types of touch algorithms, developers can see what they need. The setting is not limited to the embodiment of the invention.
步骤S43,通过触控算法检测当前触控事件引发的触控数据。In step S43, touch data caused by a current touch event is detected by a touch algorithm.
对于手指的触控事件,触控数据包括触控点位置坐标、触摸压力、触控点面积值等。For a finger touch event, the touch data includes the coordinates of the touch point position, the touch pressure, and the area value of the touch point.
一般来说,当多个用户分别采用手指在触摸屏上触摸,或者同一个用户的多个手指在触摸屏上触摸时,各手指触发的触控数据会各不相同,基于此可识别出当前触发触摸屏的手指的数量。本发明实施例对此不作限定。Generally speaking, when multiple users touch the touch screen with their fingers, or when multiple fingers of the same user touch the touch screen, the touch data triggered by each finger will be different. Based on this, it can be identified that the touch screen is currently triggered. Number of fingers. The embodiment of the present invention does not limit this.
步骤S44,采用hid-multitouch协议对手指触发的触控数据进行封装。In step S44, the hid-multitouch protocol is used to encapsulate touch data triggered by a finger.
步骤S45,将封装后的触控数据发送给操作系统。Step S45: Send the packaged touch data to the operating system.
在主板一侧:On the motherboard side:
步骤S46,可通过操作系统中包含的触摸驱动程序解析触控数据,对触控事件进行响应。In step S46, touch data may be analyzed by a touch driver included in the operating system, and a touch event may be responded to.
应该理解的是,对于前述的各方法实施例,虽然流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,方法实施例的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, for the foregoing method embodiments, although the steps in the flowchart are sequentially displayed according to the directions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in the flowchart of the method embodiment may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily performed at the same time, but may be performed at different times. These sub-steps Or the order of execution of the stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
基于与上述实施例中的触控数据处理的方法相同的思想,本文还提供触控数据处理的装置。Based on the same idea as the method for processing touch data in the above embodiments, a device for processing touch data is also provided herein.
在一个实施例中,如图6所示,本实施例的触控数据处理的装置包括:触摸检测模块510、数量识别模块520、第一数据封装模块530以及数据传输模块540,各模块详述如下:In one embodiment, as shown in FIG. 6, the device for processing touch data in this embodiment includes a touch detection module 510, a quantity identification module 520, a first data packaging module 530, and a data transmission module 540, and each module is described in detail. as follows:
触摸检测模块510,用于检测到书写笔在触摸屏的触控事件。The touch detection module 510 is configured to detect a touch event of the writing pen on the touch screen.
在一实施例中,所述书写笔为符合USB HID类的设备。In one embodiment, the writing pen is a USB HID device.
数量识别模块520,用于识别所述书写笔的数量。A quantity identification module 520 is configured to identify the quantity of the writing pen.
第一数据封装模块530,用于若所述数量大于或等于2,采用HID多点触摸协议hid-multitouch对触控数据进行封装,所述触控数据为所述触控事件引发的数据。The first data encapsulation module 530 is configured to encapsulate the touch data using the HID multi-touch protocol hid-multitouch if the number is greater than or equal to 2, and the touch data is data caused by the touch event.
以及,数据传输模块540,用于将封装后的触控数据发送给操作系统,所述操作系统为所述触摸屏当前显示信号所属的智能设备的操作系统。And, a data transmission module 540 is configured to send the packaged touch data to an operating system, where the operating system is an operating system of a smart device to which the current display signal of the touch screen belongs.
在一实施例中,在触控数据处理的装置中还包括:第二数据封装模块,用于若所述数量小于2,采用HID笔协议hid-pen对所述触控数据进行封装。In one embodiment, the device for processing touch data further includes a second data packaging module for packaging the touch data using a HID pen protocol hid-pen if the number is less than two.
在一实施例中,所述数量识别模块520,包括数据获取单元和识别单元,其中,数据获取单元,用于获取所述触控事件引发的触控数据;识别单元,用于通过所述触控数据识别所述书写笔的数量。In an embodiment, the quantity identification module 520 includes a data acquisition unit and an identification unit, wherein the data acquisition unit is configured to acquire touch data caused by the touch event; the identification unit is configured to pass the touch The control data identifies the number of the writing pens.
在一实施例中,上述数据获取单元,具体用于获取所述触摸屏对应的触控算法,采用所述触控算法得到所述触控事件引发的触控数据。In an embodiment, the data obtaining unit is specifically configured to obtain a touch algorithm corresponding to the touch screen, and use the touch algorithm to obtain touch data caused by the touch event.
在一实施例中,触控数据包括:触控点位置坐标、触控点压力值、触控点面积值、笔旋转角、按键操作信息中至少一项;其中,所述按键为书写笔上的按键。In one embodiment, the touch data includes at least one of: position coordinates of the touch point, pressure value of the touch point, area value of the touch point, pen rotation angle, and key operation information; wherein the keys are on a writing pen Button.
关于触控数据处理的装置的具体限定可以参见上文中对于触控数据处理的方法的限定,在此不再赘述。For specific limitations on the device for processing touch data, refer to the foregoing limitation on the method for processing touch data, and details are not described herein again.
参见图7所示,本发明还提供了智能设备的实施例。该智能设备包括:触摸屏、触摸屏控制板以及主板,所述主板中搭载有操作系统。Referring to FIG. 7, the present invention further provides an embodiment of a smart device. The smart device includes a touch screen, a touch screen control board, and a motherboard, and the motherboard is equipped with an operating system.
所述触摸屏控制板包括:The touch screen control board includes:
触摸检测模块,用于检测到书写笔在触摸屏的触控事件。The touch detection module is configured to detect a touch event of the writing pen on the touch screen.
在一实施例中,所述书写笔为符合USB HID类的设备;In one embodiment, the writing pen is a device conforming to the USB HID class;
数量识别模块,用于识别所述书写笔的数量;A quantity identification module, configured to identify the quantity of the writing pen;
第一数据封装模块,用于若所述数量大于或等于2,采用HID多点触摸协议hid-multitouch对触控数据进行封装,所述触控数据为所述触控事件引发的数 据;A first data packaging module for packaging touch data using the HID multi-touch protocol hid-multitouch if the number is greater than or equal to 2, the touch data is data caused by the touch event;
以及,数据传输模块,用于将封装后的触控数据发送给操作系统;And a data transmission module for sending the packaged touch data to the operating system;
所述主板包括:The motherboard includes:
解析及响应模块,用于解析接收到的触控数据,对所述触控事件进行响应。The analysis and response module is configured to parse the received touch data and respond to the touch event.
在一实施例中,所述触摸屏控制板还包括:第二数据封装模块,用于若所述数量小于2,采用HID笔协议hid-pen对所述触控数据进行封装。In an embodiment, the touch screen control board further includes: a second data packaging module for packaging the touch data using a HID pen protocol hid-pen if the number is less than two.
上述装置及智能设备的实施例中,各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。In the above embodiments of the device and the smart device, each module may be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor calls and performs the operations corresponding to the above modules.
此外,上述装置及智能设备的实施例中,各程序模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的程序模块完成。In addition, in the embodiments of the above devices and smart devices, the logical division of each program module is only an example. In actual applications, the above functions may be allocated according to needs, for example, due to the consideration of the configuration requirements of the corresponding hardware or the convenience of software implementation. Completed by different program modules.
在一个实施例中,提供了一种计算机设备,该计算机设备的内部结构图可以如图8所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、触摸显示屏和输入装置。其中,处理器用于提供计算和控制能力;存储器包括非易失性存储介质、内存储器,该非易失性存储介质存储有操作系统和计算机程序,该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境;网络接口用于与外部的终端通过网络连接通信;该计算机程序被处理器执行时以实现一种触控数据处理的方法;触摸显示屏可以是液晶显示屏或者电子墨水显示屏;输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the internal structure diagram of the computer device may be as shown in FIG. 8. The computer equipment includes a processor, a memory, a network interface, a touch display screen, and an input device connected through a system bus. The processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory is a non-volatile storage medium. The operating system and the computer program run to provide the environment; the network interface is used to communicate with external terminals through a network connection; the computer program is executed by the processor to implement a method of touch data processing; the touch display can be a liquid crystal display Or an electronic ink display screen; the input device may be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the shell of a computer device, or an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied. The specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述任一实施例的触控数据处理的方法实施例的步骤。In one embodiment, a computer device is provided, which includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps of the method embodiment of the method for processing touch data of any of the foregoing embodiments are implemented. .
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述任一实施例的触控数据处理的方法实施例的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method embodiment of the touch data processing of any of the foregoing embodiments are implemented.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by using a computer program to instruct related hardware. The computer program can be stored in a non-volatile computer-readable storage. In the medium, the computer program, when executed, may include the processes of the embodiments of the methods described above. Wherein, any reference to the memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。上述各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。The technical features of the above embodiments can be arbitrarily combined. In order to make the description concise, all possible combinations of the technical features in the above embodiments have not been described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be the range described in this specification. The description of each of the foregoing embodiments has different focuses. For a part that is not described in detail in an embodiment, reference may be made to related descriptions in other embodiments.
实施例中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或(模块)单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元, 或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "including" and "having" and any variations thereof in the examples are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device containing a series of steps or (module) units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optional The ground also includes other steps or units inherent to these processes, methods, products or equipment.
实施例中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。The "plurality" mentioned in the examples means two or more. "And / or" describes the association relationship of the associated objects, and indicates that there can be three kinds of relationships. For example, A and / or B can mean that there are three cases in which A exists alone, A and B exist, and B exists alone. The character "/" generally indicates that the related objects are an "or" relationship.
实施例中提及的“第一\第二”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二”区分的对象在适当情况下可以互换,以使这里描述的实施例能够以除了在这里图示或描述的那些以外的顺序实施。The "first \ second" mentioned in the embodiment is only a difference between similar objects, and does not represent a specific ordering of objects. Understandably, "first \ second" can be interchanged with specific ones if allowed. Sequential or sequential. It should be understood that the objects of the "first \ second" distinction are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than those illustrated or described herein.
以上实施例仅表达了本发明的几种实施方式,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments only express several implementation manners of the present invention, but cannot be understood as limiting the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the protection scope of this application patent shall be subject to the appended claims.

Claims (14)

  1. 一种触控数据处理的方法,其特征在于,包括:A method for processing touch data, comprising:
    检测到书写笔在触摸屏的触控事件;A touch event of the stylus on the touch screen is detected;
    识别所述书写笔的数量;Identifying the number of the writing pens;
    若所述数量大于或等于2,采用HID多点触摸协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据;If the number is greater than or equal to 2, use HID multi-touch protocol to encapsulate the touch data, and the touch data is data caused by the touch event;
    将封装后的触控数据发送给操作系统,所述操作系统为所述触摸屏当前显示信号所属的智能设备的操作系统。The encapsulated touch data is sent to an operating system, which is the operating system of the smart device to which the touch screen currently displays signals.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    若所述数量小于2,采用HID笔协议对所述触控数据进行封装。If the number is less than 2, the touch data is encapsulated using a HID pen protocol.
  3. 根据权利要求1所述的方法,其特征在于,所述识别所述书写笔的数量,包括:The method according to claim 1, wherein the identifying the number of the writing pens comprises:
    获取所述触控事件引发的触控数据;Acquiring touch data caused by the touch event;
    通过所述触控数据识别所述书写笔的数量。The number of the writing pens is identified by the touch data.
  4. 根据权利要求3所述的方法,其特征在于,所述获取所述触控事件引发的触控数据,包括:The method according to claim 3, wherein the acquiring touch data caused by the touch event comprises:
    获取所述触摸屏对应的触控算法,Obtaining a touch algorithm corresponding to the touch screen,
    采用所述触控算法识别所述触控事件引发的触控数据。The touch algorithm is used to identify touch data caused by the touch event.
  5. 根据权利要求3或4所述的方法,其特征在于,The method according to claim 3 or 4, characterized in that:
    所述触控数据包括:触控点位置坐标、触控点压力值、触控点面积值、笔旋转角、按键操作信息中至少一项;The touch data includes at least one of position coordinate of touch point, pressure value of touch point, area value of touch point, pen rotation angle, and key operation information;
    其中,所述按键为书写笔上的按键。The keys are keys on a writing pen.
  6. 根据权利要求1至4任一所述的方法,其特征在于,The method according to any one of claims 1 to 4, wherein:
    所述智能设备包括交互智能平板;和/或,The smart device includes an interactive smart tablet; and / or,
    所述触摸屏包括电容屏、电磁屏和/或红外屏。The touch screen includes a capacitive screen, an electromagnetic screen, and / or an infrared screen.
  7. 根据权利要求5所述的方法,其特征在于,The method according to claim 5, wherein:
    所述操作系统包括window系统、Android系统中至少一项;和/或,The operating system includes at least one of a window system and an Android system; and / or,
    所述书写笔为符合USB HID类的设备。The writing pen is a device conforming to the USB HID class.
  8. 一种触控数据处理的装置,其特征在于,包括:A device for processing touch data is characterized in that it includes:
    触摸检测模块,用于检测到书写笔在触摸屏的触控事件;A touch detection module for detecting a touch event of the stylus on the touch screen;
    数量识别模块,用于识别所述书写笔的数量;A quantity identification module, configured to identify the quantity of the writing pen;
    第一数据封装模块,用于若所述数量大于或等于2,采用HID多点触摸协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据;A first data encapsulation module, configured to encapsulate touch data using a HID multi-touch protocol if the number is greater than or equal to 2, the touch data is data caused by the touch event;
    以及,数据传输模块,用于将封装后的触控数据发送给操作系统,所述操作系统为所述触摸屏当前显示信号所属的智能设备的操作系统。And, a data transmission module is configured to send the packaged touch data to an operating system, where the operating system is an operating system of a smart device to which the current display signal of the touch screen belongs.
  9. 根据权利要求8所述的装置,其特征在于,还包括:The device according to claim 8, further comprising:
    第二数据封装模块,用于若所述数量小于2,采用HID笔协议对所述触控数据进行封装。A second data encapsulation module is configured to encapsulate the touch data using a HID pen protocol if the number is less than two.
  10. 根据权利要求8或9所述的装置,其特征在于,其中,所述书写笔为符合USB HID类的设备;The device according to claim 8 or 9, wherein the writing pen is a device conforming to a USB HID class;
    和/或,and / or,
    所述数量识别模块,包括:The quantity identification module includes:
    数据获取单元,用于获取所述触控事件引发的触控数据;A data acquisition unit, configured to acquire touch data caused by the touch event;
    识别单元,用于通过所述触控数据识别所述书写笔的数量。An identification unit is configured to identify the number of the writing pens by using the touch data.
  11. 一种智能设备,其特征在于,包括:触摸屏、触摸屏控制板以及主板,所述主板中搭载有操作系统,A smart device, comprising: a touch screen, a touch screen control board, and a main board, wherein the main board is equipped with an operating system,
    所述触摸屏控制板包括:The touch screen control board includes:
    触摸检测模块,用于检测到书写笔在触摸屏的触控事件;A touch detection module for detecting a touch event of the stylus on the touch screen;
    数量识别模块,用于识别所述书写笔的数量;A quantity identification module, configured to identify the quantity of the writing pen;
    第一数据封装模块,用于若所述数量大于或等于2,采用HID多点触摸协议对触控数据进行封装,所述触控数据为所述触控事件引发的数据;A first data encapsulation module, configured to encapsulate touch data using a HID multi-touch protocol if the number is greater than or equal to 2, the touch data is data caused by the touch event;
    以及,数据传输模块,用于将封装后的触控数据发送给主板的操作系统;And a data transmission module for sending the packaged touch data to the operating system of the motherboard;
    所述主板包括:The motherboard includes:
    解析及响应模块,用于解析接收到的触控数据,对所述触控事件进行响应。The analysis and response module is configured to parse the received touch data and respond to the touch event.
  12. 根据权利要求11所述的智能设备,其特征在于,其中,所述书写笔为符合USB HID类的设备;The smart device according to claim 11, wherein the writing pen is a device conforming to a USB HID class;
    和/或,and / or,
    所述触摸屏控制板还包括:The touch screen control board further includes:
    第二数据封装模块,用于若所述数量小于2,采用HID笔协议对所述触控数据进行封装。A second data encapsulation module is configured to encapsulate the touch data using a HID pen protocol if the number is less than two.
  13. 一种计算机设备,包括存储器以及处理器,所述存储器用于存储计算机程序,其特征在于,A computer device includes a memory and a processor, where the memory is used to store a computer program, and is characterized in that:
    所述处理器执行所述计算机程序时实现权利要求1至7任一所述方法的步骤。When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至7任一所述方法的步骤。A computer-readable storage medium having stored thereon a computer program, characterized in that when the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
PCT/CN2018/118471 2018-07-23 2018-11-30 Touch control data processing method and device, intelligent device and storage medium WO2020019616A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810811895.5 2018-07-23
CN201810811895.5A CN109062433A (en) 2018-07-23 2018-07-23 Method, apparatus, smart machine and the storage medium of touch data processing

Publications (1)

Publication Number Publication Date
WO2020019616A1 true WO2020019616A1 (en) 2020-01-30

Family

ID=64835279

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/118471 WO2020019616A1 (en) 2018-07-23 2018-11-30 Touch control data processing method and device, intelligent device and storage medium

Country Status (2)

Country Link
CN (1) CN109062433A (en)
WO (1) WO2020019616A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210064208A1 (en) * 2019-09-03 2021-03-04 Wacom Co., Ltd. Method and device for deriving pen position and reporting pen position to host computer

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058723B (en) * 2019-01-28 2022-10-28 北京科加触控技术有限公司 Writing method, device and system
CN110297558B (en) * 2019-06-11 2023-09-05 广州视源电子科技股份有限公司 Multi-touch control method and device, intelligent interaction panel and storage medium
CN110308824A (en) * 2019-07-04 2019-10-08 深圳市康冠商用科技有限公司 A kind of processing method, system and the associated component of infrared touch data
WO2021102677A1 (en) * 2019-11-26 2021-06-03 深圳市欢太科技有限公司 Touch response method, touch screen system, terminal, storage medium, and chip
CN111596790B (en) * 2020-04-28 2023-07-18 深圳市鸿合创新信息技术有限责任公司 Data processing method, device and system
CN112256191B (en) * 2020-10-22 2023-03-24 广州视源电子科技股份有限公司 Intelligent blackboard, data processing method and device thereof and intelligent interactive panel
CN112578987A (en) * 2020-12-25 2021-03-30 广州壹创电子科技有限公司 Off-screen interactive touch all-in-one machine and interaction method thereof
CN113485570B (en) * 2021-06-17 2023-12-05 深圳软牛科技有限公司 Multi-user writing method, device, computer readable storage medium and terminal equipment
CN114356200A (en) * 2021-11-30 2022-04-15 北京金山云网络技术有限公司 Cloud application program operation method, system and device
CN115097962A (en) * 2022-07-06 2022-09-23 深圳市康冠商用科技有限公司 Electronic equipment and infrared touch frame with radio frequency signal processing function thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8269725B2 (en) * 2006-06-28 2012-09-18 Microsoft Corporation Input simulation system for touch based devices
CN105045548A (en) * 2015-06-16 2015-11-11 广州视睿电子科技有限公司 Wireless screen transmission method, extension device and wireless screen transmission system
CN108132729A (en) * 2017-12-19 2018-06-08 广州视源电子科技股份有限公司 Processing method, device and the electronic equipment and storage medium of touch signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8269725B2 (en) * 2006-06-28 2012-09-18 Microsoft Corporation Input simulation system for touch based devices
CN105045548A (en) * 2015-06-16 2015-11-11 广州视睿电子科技有限公司 Wireless screen transmission method, extension device and wireless screen transmission system
CN108132729A (en) * 2017-12-19 2018-06-08 广州视源电子科技股份有限公司 Processing method, device and the electronic equipment and storage medium of touch signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210064208A1 (en) * 2019-09-03 2021-03-04 Wacom Co., Ltd. Method and device for deriving pen position and reporting pen position to host computer
US11599219B2 (en) * 2019-09-03 2023-03-07 Wacom Co., Ltd. Method and device for deriving pen position and reporting pen position to host computer

Also Published As

Publication number Publication date
CN109062433A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
WO2020019616A1 (en) Touch control data processing method and device, intelligent device and storage medium
CN110058782B (en) Touch operation method and system based on interactive electronic whiteboard
US20180299975A1 (en) User terminal device and method for controlling the user terminal device thereof
JP5854442B2 (en) Handwriting input method to write multiple characters continuously
EP3805908B1 (en) Annotation display method, device and apparatus, and storage medium
US20210256077A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
WO2014129828A1 (en) Method for providing a feedback in response to a user input and a terminal implementing the same
CN109697004B (en) Method, device and equipment for writing annotation by touch equipment and storage medium
TW201346674A (en) Low-latency touch-input device
JP6089793B2 (en) Associating handwritten information with documents based on document information
CN104199552A (en) Multi-screen display method, device and system
WO2020168786A1 (en) Touch operation response method and apparatus, storage medium and terminal
US20190065030A1 (en) Display apparatus and control method thereof
WO2019033655A1 (en) Method and apparatus for mistouch prevention, device, and storage medium
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
CN111208917A (en) Touch data processing method and device, intelligent equipment and storage medium
WO2020000970A1 (en) Method and apparatus for identifying user's interest, and terminal device and storage medium
WO2019105188A1 (en) Touch sensing signal processing method, system and device, and electronic device
WO2019119995A1 (en) Touch signal processing method and apparatus, and electronic device and storage medium
WO2021068382A1 (en) Multi-window operation control method and apparatus, and device and storage medium
US20200042128A1 (en) Electronic whiteboard system, operating method thereof and electronic whiteboard
KR20210023434A (en) Display apparatus and control method thereof
WO2019056614A1 (en) Touch data separation method and apparatus, device, and storage medium
CN111078112A (en) Terminal device control method and device, computer device and storage medium
US20120013550A1 (en) Method for controlling the interactions of a user with a given zone of a touch screen panel

Legal Events

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

Ref document number: 18927818

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18927818

Country of ref document: EP

Kind code of ref document: A1