CN107861657B - Tactile signal processing method, system, device and electronic device - Google Patents

Tactile signal processing method, system, device and electronic device Download PDF

Info

Publication number
CN107861657B
CN107861657B CN201711225561.1A CN201711225561A CN107861657B CN 107861657 B CN107861657 B CN 107861657B CN 201711225561 A CN201711225561 A CN 201711225561A CN 107861657 B CN107861657 B CN 107861657B
Authority
CN
China
Prior art keywords
touch
signal
input subsystem
operating system
coding
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711225561.1A
Other languages
Chinese (zh)
Other versions
CN107861657A (en
Inventor
贺欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201711225561.1A priority Critical patent/CN107861657B/en
Publication of CN107861657A publication Critical patent/CN107861657A/en
Priority to PCT/CN2018/114056 priority patent/WO2019105187A1/en
Application granted granted Critical
Publication of CN107861657B publication Critical patent/CN107861657B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/03547Touch pads, in which fingers can move on a surface
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Landscapes

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

Abstract

The invention provides a method, a system, a device and an electronic device for processing a touch signal, wherein the method is applied to an operating system and comprises the following steps: receiving a tactile signal generated by a touch sensor of a touch device; converting the tactile signals into touch signals, wherein the touch signals comprise at least touch position signals; and according to a data coding specification supported by an input subsystem, coding the touch signal and transmitting the coded touch signal to the input subsystem. By implementing the embodiment of the invention, the operating system converts the touch signal generated by the touch sensor into the touch signal, and the touch signal is coded and transmitted to the input subsystem, and the touch equipment does not need to be converted, so that the performance requirement on the control chip of the touch equipment can be reduced, and the cost and the volume of the touch equipment are further reduced.

Description

Touch signal processing method, system and device and electronic equipment
Technical Field
The present invention relates to the field of touch technologies, and in particular, to a method, a system, an apparatus, and an electronic device for processing a touch signal.
Background
Many electronic devices are equipped with various touch devices, such as capacitive, resistive, electromagnetic, or infrared touch devices, and when a user touches a touch screen corresponding to the touch device, a touch sensor of the touch device can collect tactile signals, where the tactile signals are different when the types of the touch devices are different, for example: when the touch device is electromagnetic, the collected touch signal comprises the variation of magnetic flux and the frequency of the received electromagnetic signal, and when the touch device is capacitive, the collected touch signal comprises the variation of capacitance.
For the touch signal obtained by the touch sensor, the control chip of the touch device can convert the touch signal into the touch signal, encode the touch signal according to the data encoding specification supported by the operating system, transmit the touch signal to the operating system of the electronic device, and perform touch response by the operating system.
With the improvement of the touch precision, the signal quantity to be processed by the control chip is larger and larger, and the requirement on the signal processing capability of the control chip is higher and higher.
Disclosure of Invention
In view of the above, the present invention provides a method, a system, a device and an electronic apparatus for processing a touch sensing signal, so as to solve the problem that a high performance chip will cause an increase in cost and volume of the touch apparatus.
According to a first aspect of the present invention, a system for processing a tactile signal is provided, including a touch device and a host device, wherein the touch device includes a touch sensor, the host device is loaded with an operating system, and the operating system includes a signal processing code, a virtual touch device, and an input subsystem;
the touch sensor generates a tactile signal, and the touch device sends the tactile signal to the operating system;
the signal processing code converts a touch signal received by the operating system into a touch signal and sends the touch signal to the virtual touch device, wherein the touch signal at least comprises a touch position signal;
the virtual touch equipment encodes the touch signal according to a data encoding specification supported by the input subsystem and sends the encoded touch signal to the input subsystem;
the input subsystem generates corresponding touch events in response to the encoded touch signals.
In one embodiment, the data encoding specification is a standard data encoding specification or a predefined data encoding specification.
In one embodiment, the touch sensor includes one or more of:
the infrared touch frame, electromagnetic plate, capacitanc touch pad, resistance-type touch pad, pressure sensor.
In one embodiment, when the touch sensor is an electromagnetic plate, the tactile signal includes a magnetic flux change amount and a frequency of a received electromagnetic signal, and the touch signal includes a touch position signal corresponding to the magnetic flux change amount and a pressure signal corresponding to the frequency.
In one embodiment, the touch device sends the tactile signal to the operating system through any one of the following interfaces:
USB-bulk interface, USB-hid interface and RS232 interface.
In one embodiment, if the touch signal includes position coordinates of more than six pixel points, the virtual touch device performs block coding on the touch signal according to the data coding specification, and each group of coded touch signals generates a data packet, where the position coordinates of at most six pixel points are included in one data packet.
According to a second aspect of the present invention, there is provided a method for processing a touch signal, applied to an operating system, comprising the steps of:
receiving a tactile signal generated by a touch sensor of a touch device;
converting the tactile signals into touch signals, wherein the touch signals comprise at least touch position signals;
and according to a data coding specification supported by an input subsystem, coding the touch signal and transmitting the coded touch signal to the input subsystem.
In one embodiment, the encoding the touch signal according to a data encoding specification supported by an input subsystem includes:
and if the touch signal comprises position coordinates of more than six pixel points, performing block coding on the touch signal according to the data coding specification, generating a data packet by coding each group of touch signals, and enabling the group of touch signals to contain the position coordinates of the six pixel points at most.
According to a third aspect of the present invention, there is provided a processing apparatus for a tactile signal, applied to an operating system, comprising:
the signal receiving module is used for receiving a tactile signal generated by a touch sensor of the touch device;
the signal conversion module is used for converting the touch signal into a touch signal, wherein the touch signal at least comprises a touch position signal;
the signal coding module is used for coding the touch signal according to a data coding specification supported by the input subsystem;
and the signal transmission module is used for transmitting the coded signal to the input subsystem.
According to a fourth aspect of the present invention, there is provided an electronic device incorporating a touch device, a processor, and a memory for storing processor-executable instructions; the touch device comprises a touch sensor; wherein the processor is coupled to the memory for reading program instructions stored by the memory and, in response, performing operations in the method as described above.
In one embodiment, the electronic device includes a smart tablet.
In one embodiment, the smart tablet comprises an electronic whiteboard.
According to a fifth aspect of the present invention, there is provided one or more machine-readable storage media having instructions stored thereon, which when executed by one or more processors, cause a terminal device to perform the operations in the method as described above.
By implementing the embodiment provided by the invention, after the touch sensor of the touch device generates the touch sensing signal, the touch sensing signal is directly transmitted to the operating system, and the operating system converts the touch sensing signal into the touch signal and transmits the touch signal to the input subsystem in a coding mode. Therefore, the touch device does not need to perform conversion processing from the touch signal to the touch signal, the performance requirement on the control chip can be reduced, and furthermore, a low-performance chip is adopted as the control chip in the touch device, so that the cost and the volume of the touch device can be reduced.
Drawings
FIG. 1 is an architectural diagram illustrating a haptic signal processing system in accordance with an exemplary embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method of processing a haptic signal in accordance with an exemplary embodiment of the present invention;
FIG. 3 is a block diagram illustrating a haptic signal processing apparatus according to an exemplary embodiment of the present invention;
fig. 4 is a hardware configuration diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is an architecture diagram of a processing system 100 for a tactile signal according to an exemplary embodiment of the invention, where the processing system 100 may include a touch device 120 and a host device 140, the touch device 120 may include a touch sensor 121, the host device 140 is loaded with an operating system (not shown in fig. 1), and the operating system may include a signal processing code 141, a virtual touch device 142, and an input subsystem 143.
The host device 140 may refer to a host of an electronic device or a part of the host for implementing a touch response, the touch device 120 may refer to a touch input device independent of the electronic device, or may refer to a touch input device installed on various electronic devices, where the electronic 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, an intelligent writing device, an email transceiver, a game console, a tablet computer, a wearable device, a smart car, an unmanned vehicle, a smart refrigerator, other smart home devices, or a combination of any of these devices. The intelligent writing device may be an electronic whiteboard, an electronic blackboard, or the like.
The corresponding touch screen type of the touch device 120 may be various types such as electromagnetic type, infrared type, capacitance type, resistance type, pressure type, etc., for example: the touch screen type of the smart phone is a capacitive type or a resistive type, the touch screen type of the smart writing board is an electromagnetic type, and the touch screen type of the infrared display is an infrared type.
When the types of the touch screens corresponding to the touch device 120 are different, the types of the touch sensors 121 are different, the touch signals acquired by the touch sensors are different, the converted touch signals are also not completely different, and several touch sensors 121 are listed for different types of touch screens as follows:
the type one is as follows: the touch screen is an infrared touch screen, the touch sensor 121 is an infrared touch frame, the touch signal collected by the infrared touch frame may include a signal indicating that infrared rays are blocked, and the converted touch signal may include a position touch signal, which may include an X coordinate and a Y coordinate of a touch position.
Type two: the touch screen is an electromagnetic touch screen, the touch sensor 121 is an electromagnetic plate, the touch sensing signal collected by the electromagnetic touch screen may include a variation of magnetic flux and a frequency of the received electromagnetic signal, the touch signal obtained by conversion may include a touch position signal corresponding to the variation of magnetic flux and a pressure sensing signal corresponding to the frequency, and the touch position signal may include an X coordinate and a Y coordinate of the touch position. The pressure-sensitive signal may include a pressure value.
Type three: the touch screen is a capacitive touch screen, the touch sensor 121 is a capacitive touchpad, the touch sensing signals collected by the capacitive touchpad may include currents flowing through electrodes of the touch screen, and the converted touch signals may include position touch signals, which may include X coordinates and Y coordinates of a touch position.
Type four: the touch screen is a resistive touch screen, the touch sensor 121 is a resistive touch pad, the collected touch signal may include a voltage of a touch position, and the converted touch signal may include a position touch signal, which may include an X coordinate and a Y coordinate of the touch position.
Type five: the touch screen is a pressure sensitive touch screen, the touch sensor 121 is a pressure sensor, the tactile signal collected by the pressure sensor may include a pressure signal, and the converted touch signal may include a position touch signal, which may include an X coordinate and a Y coordinate of a touch position.
In other examples, the touch screen of the touch device 120 may include at least two of an electromagnetic touch screen, an infrared touch screen, a capacitive touch screen, a resistive touch screen, and a pressure sensitive touch screen, and accordingly, the touch sensor 121 may include at least two of an infrared touch frame, an electromagnetic plate, a capacitive touch panel, a resistive touch panel, and a pressure sensor. Alternatively, the touch device 120 may also be another type of touch screen, and this is not limited in this embodiment.
After the touch sensor 121 collects the touch sensing signal, when the touch device 120 transmits the touch sensing signal to the operating system, if the touch sensor 121 is a device having both a control function and a collection function, such as a touch sensing chip, the touch sensor 121 may directly transmit the touch sensing signal to the operating system through a predetermined interface. The predetermined Interface mentioned here may be a USB-bulk Interface, an RS232 Interface, or a USB-hid Interface (hid is an abbreviation of Human Interface Devices, i.e., man-machine Interface device), and the USB-hid Interface may be a universal USB-hid Interface, and furthermore, the predetermined Interface may also be a signal transmission Interface customized by a designer or other device manufacturer of the solution of the present invention.
In another example, the touch device 120 may further include a touch processing device (not shown in fig. 1), and when the touch device 120 transmits a touch signal to the operating system, if the touch sensor 121 does not have a control function, the touch processing device may read the touch signal from the touch sensor 121 and transmit the touch signal to the operating system through the predetermined interface. The touch processing device mentioned herein may be a main control chip (also referred to as a main processing chip or a central processing unit) of the touch device 120, or may be other processing chips, and the processing chip may be installed in the touch device 120 or disposed outside the touch device 120.
For the signal processing code 141, when converting the touch signal into the touch signal, corresponding to different types of touch screens, the conversion may be performed by adopting a corresponding conversion method based on the operating principle of each type of touch screen. For example: the touch signal is a current generated by the capacitive touch screen and flowing through each electrode of the touch screen, and an X coordinate and a Y coordinate of the position of the touch point can be determined according to the proportion of currents at all levels.
The signal processing code 141, as a logical module, can be formed by reading corresponding computer program instructions in a readable medium such as a non-volatile memory into a memory for operation through a central processing unit (also referred to as a main control chip or a main processing chip) of the host device 140 or another processing chip other than the central processing unit. The central processor of host device 140 or another processing chip other than the central processor may read program instructions stored in its memory and, in response, convert the tactile signal to a touch signal.
The virtual touch device 142 is a virtual device that has functions of the touch device 120 and is run in an operating system, and after the virtual touch device is started to run, a data encoding specification of a signal that is transmitted to the input subsystem 143 after the virtual touch device is started to run may be predetermined to the input subsystem 143, that is, a data encoding specification supported by the input subsystem 143. In practical applications, when the types of the touch devices 120 are different, the virtual touch device 140 is also different, for example: the touch device 120 is an infrared touch frame device and the virtual touch device 140 is a virtual touch frame device.
In some examples, the data encoding specification supported by the input subsystem 143 may be a valid touch data protocol extracted from a USB multi-touch hid protocol corresponding to the USB-hid interface. It is emphasized that "abstraction" means that the standard USB multi-touch hid protocol adds some headers, messages, etc. required by the USB transport protocol to the active touch data protocol for USB protocol transport, which is not required in the added data input subsystem. In addition, the data encoding specification supported by the input subsystem 143 may also be a data encoding specification predetermined by a designer according to an application requirement of the touch device 120, and the embodiment of the present specification is not limited herein.
The input subsystem (input _ device)143 may be composed of a device driver layer, an input core layer, and an event processing layer, where the device driver layer may convert hardware input at the bottom layer into a uniform event form, report the uniform event form to the input core layer, and the input core layer may be started and stopped to register and operate an interface for the device input by the hardware driver layer, and notify the event processing layer to process the event.
In some scenarios, the processing system 100 may be applied to an electronic device, the touch device 120 may further include a touch screen, and the touch sensor 121 may be disposed on the touch screen or may be independent of the touch screen. The processing system 100 may also include an interface (the predetermined interface described above) provided between the touch device 120 and the operating system. When a user contacts the touch screen through a finger or a writing pen, the touch sensor 121 may generate a touch sensing signal, the touch device 120 sends the touch sensing signal to the operating system, the signal processing code 141 in the operating system may convert the received touch sensing signal into a touch signal and send the touch signal to the virtual touch device 142, then the virtual touch device 142 encodes the touch signal according to a data encoding specification supported by the input subsystem 143 and sends the encoded touch signal to the input subsystem 143, and the input subsystem 143 responds to the encoded touch signal to generate a corresponding touch event.
When the touch device 120 sends the tactile signal to the operating system, the tactile signal may be transmitted through the predetermined interface according to different requirements, for example: when the communication speed is higher, the touch signal can be transmitted through the USB-bulk interface; if the communication speed is required and the communication stability is required to be high, the touch signal can be transmitted through the USB-hid interface; if the communication process is required to be simplified, the touch signals can be transmitted through the RS232 interface, and before the touch signals are transmitted through the corresponding interface, the touch signals are converted into the protocol supported by the corresponding interface and then transmitted through the corresponding interface. In other examples, when there are other needs, other types of interfaces may be adopted to transmit the tactile signal, and this is not limited by the embodiments of the present disclosure.
After the signal processing code 141 converts the tactile signal into the touch signal and transmits the touch signal to the virtual touch device 142, a data encoding specification adopted when the virtual touch device 142 encodes the touch signal may be related to the type of the touch screen of the touch device 120.
For example, when the touch device 120 is an electromagnetic touch device, the adopted data encoding specification may be a USB protocol supporting single electromagnetic pen input, the touch signal is encoded as a touch signal triggered by a single electromagnetic pen, and then the encoded touch signal is mapped into a packet of the USB protocol.
In practice, the touch signal may be mapped into the body of the USB protocol in the format (corresponding to the descriptor of the hid pen) in table 1 below:
table 1:
Figure BDA0001487185070000081
Figure BDA0001487185070000091
for another example, when the touch device 120 is a capacitive touch device, the adopted data coding specification may be a multi-touch protocol, and during coding, the touch signal is coded into data meeting a format specified by the multi-touch protocol, and then the coded touch signal is packaged into a packet of the same data packet.
In practice, the touch signals may be mapped into the inclusion of the multi-touch protocol in the format (descriptor corresponding to hid multi-touch) in table 2 below:
table 2:
Figure BDA0001487185070000092
Figure BDA0001487185070000101
as shown in table 2, the data of the 1 st touch point, including status, ID, X, Y, Pressure information, correspond to byte numbers 1 to 8; data of the 2 nd point touch point, including state, I D, X, Y, Pressure information, corresponding to byte numbers 9 to 16; the byte number 17 indicates that there are several touch points (several pens) in the current packet.
In some examples, the resolution of the touch screen corresponding to the touch device 120 is 32767 × 32767, the origin of the coordinates is the upper left corner of the touch screen, and the touch signal may include data of a relatively large number of touch points, for example, position coordinates including more than six pixel points.
In practical application, block coding is performed, and when each block is coded, the touch signal can be mapped into the packet body of one data packet according to the format in the following table 3:
table 3:
Figure BDA0001487185070000102
Figure BDA0001487185070000111
each data packet contains data of 6 touch points at most, each data packet is sent respectively, the first data packet sent may include the number of valid touch points triggered this time, other data packets send 0x00 at corresponding positions, and the input subsystem 143 may distinguish different touch points by the ID of the touch point.
After the encoded touch signal is received by the input subsystem 143, the touch signal may be analyzed by using a corresponding protocol, and then the touch signal is converted into a corresponding touch event.
The following describes a tactile signal processing procedure applied to an operating system, with reference to the accompanying drawings:
referring to fig. 2, fig. 2 is a flowchart illustrating a method for processing a touch sensing signal according to an exemplary embodiment of the invention, where the embodiment is applied to an operating system, and may include the following steps S201 to S203:
step S201, receiving a touch signal generated by a touch sensor of the touch device.
Step S202, converting the touch signal into a touch signal, wherein the touch signal at least comprises a touch position signal.
And S203, coding the touch signal according to a data coding specification supported by an input subsystem, and transmitting the coded touch signal to the input subsystem.
The technical features related to this embodiment correspond to the technical features related to the embodiment corresponding to fig. 1, and are not described herein again.
The embodiment of the present invention may be applied to the operating system shown in fig. 1, and the operating system may be an operating system of various electronic devices with touch screens, such as a display, a learning machine, an intelligent handwriting board, and the like. Various application programs required by users, such as a text editing application program, an image editing application program, a social contact application program, an e-commerce application program, a search application program, a browser application program and the like, are installed in the electronic devices, the text editing application program, such as a whiteboard application program, and an input subsystem of an operating system generates a corresponding touch event according to a received touch signal and then uploads the touch event to the corresponding application program to assist the application program in responding to the event.
For example: when the application program is an application program applied to the whiteboard, the trigger event corresponding to the touch signal triggered by the electromagnetic pen is an event for adding writing content, and the operating system can assist the application program to control and display the writing content triggered by the electromagnetic pen.
Referring to fig. 3, fig. 3 is a block diagram of a tactile signal processing apparatus according to an exemplary embodiment of the present invention, which may be applied to an operating system, including: a signal receiving module 310, a signal converting module 320, a signal encoding module 330 and a signal transmitting module 340.
The signal receiving module 310 is configured to receive a tactile signal generated by a touch sensor of a touch device.
A signal conversion module 320, configured to convert the touch sensing signal into a touch signal, where the touch signal at least includes a touch position signal.
And the signal encoding module 330 is configured to encode the touch signal according to a data encoding specification supported by the input subsystem.
And a signal transmission module 340, configured to transmit the encoded signal to the input subsystem.
In some examples, the data encoding specification is a standard data encoding specification or a predefined data encoding specification.
In some examples, the touch sensor includes one or more of:
infrared touch frame, electromagnetic plate, capacitance touch pad, resistance touch pad, pressure sensor
In some examples, when the touch sensor is an electromagnetic plate, the tactile signal includes a magnetic flux change amount and a frequency of a received electromagnetic signal, and the touch signal includes a touch position signal corresponding to the magnetic flux change amount and a pressure signal corresponding to the frequency.
In some examples, the touch device sends the tactile signal to the operating system through any one of the following interfaces:
USB-bulk interface, USB-hid interface and RS232 interface.
In some examples, if the touch signal includes position coordinates of more than six pixels, the signal encoding module 330 is further configured to perform block encoding on the touch signal according to the data encoding specification, where each group of touch signals is encoded to generate a data packet, and each data packet includes position coordinates of at most six pixels.
The implementation process of the functions and actions of each unit (or module) in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units or modules described as separate parts may or may not be physically separate, and the parts displayed as the units or modules may or may not be physical units or modules, may be located in one place, or may be distributed on a plurality of network units or modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the processing device of the tactile signal can be applied to electronic equipment. In particular, it may be implemented by a computer chip or entity, or by an article of manufacture having some functionality. In a typical implementation, the electronic device may take the form of a personal computer, laptop, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, smart writing device, email messaging device, game console, tablet computer, wearable device, internet television, smart car, unmanned vehicle, smart refrigerator, other smart home device, or a combination of any of these devices. The intelligent writing device may be an electronic whiteboard, an electronic blackboard, or the like.
The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in a readable medium such as a nonvolatile memory and the like into a memory for operation through a processor of the electronic device where the software implementation is located as a logical device. In terms of hardware, as shown in fig. 4, the electronic device in which the tactile signal processing apparatus according to the present invention is located is a hardware structure diagram, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 4, the electronic device in which the apparatus is located in the embodiment may be generally equipped with a touch device according to the actual function of the electronic device, the equipped touch device may be installed on the electronic device or may exist independently of the electronic device, the touch device may include a touch sensor, such as an electromagnetic touch screen, and the electromagnetic touch screen includes an electromagnetic sensor, and may include other hardware, which is not described herein again. The memory of the electronic device may store program instructions executable by the processor; the processor may be coupled to the memory for reading program instructions stored in the memory and, in response, performing the following: receiving a tactile signal generated by the touch sensor; converting the tactile signals into touch signals, wherein the touch signals comprise at least touch position signals; and according to a data coding specification supported by an input subsystem, coding the touch signal and transmitting the coded touch signal to the input subsystem.
In some examples, if the touch signal includes location coordinates of more than six pixel points, the processor is configured to:
and the equipment carries out grouping coding on the touch signals according to the data coding specification, each group of coded touch signals generates a data packet, and the position coordinates of six pixel points at most are contained in one data packet.
In other examples, the electronic device includes a smart tablet.
In other examples, the smart tablet includes an electronic whiteboard.
In other embodiments, the operations performed by the processor may refer to the description related to the above method embodiments, which is not repeated herein.
Furthermore, an embodiment of the present invention also provides a machine-readable storage medium (a memory of an electronic device), in which program instructions are stored, the program instructions including instructions corresponding to the steps of the tactile signal processing method described above. When executed by one or more processors, cause the terminal device to perform the haptic signal processing method described above.
Embodiments of the invention may take the form of a computer program product embodied on one or more readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having program code embodied therein. Computer-usable readable storage media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of machine-readable storage media include, but are not limited to: phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technologies, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, may be used to store information that may be accessed by a computing device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (13)

1. The system for processing the touch signal is characterized by comprising a touch device and a host device, wherein the touch device comprises a touch sensor, the host device is loaded with an operating system, and the operating system comprises a signal processing code, a virtual touch device and an input subsystem;
the touch sensor generates a tactile signal, and the touch device sends the tactile signal to the operating system;
the signal processing code converts a touch signal received by the operating system into a touch signal and sends the touch signal to the virtual touch device, wherein the touch signal at least comprises a touch position signal;
the virtual touch equipment encodes the touch signal according to a data encoding specification supported by the input subsystem and sends the encoded touch signal to the input subsystem;
the input subsystem generates corresponding touch events in response to the encoded touch signals.
2. The system of claim 1, wherein the data encoding specification is a standard data encoding specification or a predefined data encoding specification.
3. The system of claim 1, wherein the touch sensor comprises one or more of:
the infrared touch frame, electromagnetic plate, capacitanc touch pad, resistance-type touch pad, pressure sensor.
4. The system of claim 3, wherein the touch sensor is an electromagnetic plate, the tactile signal comprises an amount of magnetic flux change and a frequency of the received electromagnetic signal, and the touch signal comprises a touch position signal corresponding to the amount of magnetic flux change and a pressure signal corresponding to the frequency.
5. The system of claim 1, wherein the touch device sends the tactile signals to the operating system via any of the following interfaces:
USB-bulk interface, USB-hid interface and RS232 interface.
6. The system according to any one of claims 1 to 5, wherein if the touch signal includes position coordinates of more than six pixels, the virtual touch device performs block coding on the touch signal according to the data coding specification, and each group of coded touch signals generates one data packet, and the position coordinates of at most six pixels are included in one data packet.
7. A method for processing a touch signal, applied to an operating system including signal processing code, a virtual touch device and an input subsystem, comprising the steps of:
receiving a tactile signal generated by a touch sensor of a touch device;
converting the touch signal into a touch signal through a signal processing code, and sending the touch signal to a virtual touch device, wherein the touch signal at least comprises a touch position signal;
and according to a data coding specification supported by the input subsystem, coding the touch signal through the virtual touch equipment, and transmitting the coded touch signal to the input subsystem.
8. The method of claim 7, wherein encoding the touch signal according to a data encoding specification supported by an input subsystem comprises:
and if the touch signal comprises position coordinates of more than six pixel points, performing block coding on the touch signal according to the data coding specification, generating a data packet by coding each group of touch signals, and enabling the group of touch signals to contain the position coordinates of the six pixel points at most.
9. A processing device of a touch signal is applied to an operating system and comprises:
the signal receiving module is used for receiving a tactile signal generated by a touch sensor of the touch device;
the signal conversion module is used for converting the touch signal into a touch signal, wherein the touch signal at least comprises a touch position signal;
the signal coding module is used for coding the touch signal according to a data coding specification supported by the input subsystem;
the signal transmission module is used for transmitting the coded touch signals to the input subsystem;
wherein the signal conversion module comprises signal processing code, and the signal encoding module comprises a virtual touch device.
10. An electronic device, wherein the electronic device is equipped with a touch device, a processor, and a memory for storing instructions executable by the processor; the touch device comprises a touch sensor; wherein the processor is coupled to the memory for reading program instructions stored by the memory and, in response, performing the operations of the method of claim 7 or 8.
11. The device of claim 10, wherein the electronic device comprises a smart tablet.
12. The apparatus of claim 11, wherein the smart tablet comprises an electronic whiteboard.
13. One or more machine-readable storage media having instructions stored thereon, which when executed by one or more processors, cause a terminal device to perform operations in a method as recited in claim 7 or 8.
CN201711225561.1A 2017-11-29 2017-11-29 Tactile signal processing method, system, device and electronic device Active CN107861657B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711225561.1A CN107861657B (en) 2017-11-29 2017-11-29 Tactile signal processing method, system, device and electronic device
PCT/CN2018/114056 WO2019105187A1 (en) 2017-11-29 2018-11-06 Touch sensing signal processing method, system and device, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711225561.1A CN107861657B (en) 2017-11-29 2017-11-29 Tactile signal processing method, system, device and electronic device

Publications (2)

Publication Number Publication Date
CN107861657A CN107861657A (en) 2018-03-30
CN107861657B true CN107861657B (en) 2020-04-14

Family

ID=61704422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711225561.1A Active CN107861657B (en) 2017-11-29 2017-11-29 Tactile signal processing method, system, device and electronic device

Country Status (2)

Country Link
CN (1) CN107861657B (en)
WO (1) WO2019105187A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844220B (en) 2017-11-29 2020-02-11 广州视源电子科技股份有限公司 Touch signal processing method, system and device and electronic equipment
CN107861657B (en) * 2017-11-29 2020-04-14 广州视源电子科技股份有限公司 Tactile signal processing method, system, device and electronic device
CN108595045A (en) * 2018-04-02 2018-09-28 广州视源电子科技股份有限公司 Touch signal processing method and device and electronic equipment
CN109871150B (en) * 2019-03-11 2022-05-06 广州视源电子科技股份有限公司 Touch signal processing method, intelligent interactive tablet
CN113720322B (en) * 2021-06-28 2024-04-05 湖南铁山信息科技有限公司 A state detection device and skate for skate
CN115016666B (en) * 2021-11-18 2023-08-25 荣耀终端有限公司 Touch processing method, terminal equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622136B (en) * 2012-02-29 2016-03-30 广东威创视讯科技股份有限公司 A kind of multi-point touch system data processing method and device
CN103488319B (en) * 2012-06-13 2016-11-09 腾讯科技(深圳)有限公司 A kind of virtual touch method and system
US20140062889A1 (en) * 2012-09-06 2014-03-06 Samsung Electronics Co., Ltd. Method of processing touch input for mobile device
TW201500977A (en) * 2013-06-18 2015-01-01 Waltop Int Corp Touch input method
CN105045414B (en) * 2015-08-04 2018-11-27 青岛歌尔声学科技有限公司 A kind of stylus, implementation method and a kind of touch-control system
CN107861657B (en) * 2017-11-29 2020-04-14 广州视源电子科技股份有限公司 Tactile signal processing method, system, device and electronic device
CN207473575U (en) * 2017-11-29 2018-06-08 广州视源电子科技股份有限公司 Tactile signal processing system

Also Published As

Publication number Publication date
WO2019105187A1 (en) 2019-06-06
CN107861657A (en) 2018-03-30

Similar Documents

Publication Publication Date Title
CN107861657B (en) Tactile signal processing method, system, device and electronic device
US10248212B2 (en) Encoding dynamic haptic effects
US20170003812A1 (en) Method for providing a feedback in response to a user input and a terminal implementing the same
US20210256077A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
CN107844220B (en) Touch signal processing method, system and device and electronic equipment
CN111190509B (en) Touch detection method and device, wireless earphone and storage medium
US20210326151A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
CN115033170A (en) Input control system and method based on virtual keyboard and related device
CN110069165A (en) Touch data processing method, device, equipment and storage medium
WO2019119995A1 (en) Touch signal processing method and apparatus, and electronic device and storage medium
CN207473575U (en) Tactile signal processing system
CN103677417A (en) Gesture detection method and device and terminal device
CN109718554A (en) A kind of real-time rendering method, apparatus and terminal
CN207780738U (en) Tactile signal processing system
CN111273809B (en) Data acquisition method and device, electronic equipment and storage medium
CN107678632A (en) A kind of resource transfers method, terminal and computer-readable recording medium
CN111897484B (en) Data storage method and device, electronic equipment and storage medium
US20130002558A1 (en) Input method and input device
CN213545249U (en) Capacitive pressure touch device
CN114416394B (en) Data processing method and electronic equipment
CN116301440B (en) Signal processing method, device, electronic equipment and storage medium
WO2020206644A1 (en) Manufacturing method for lead in touch screen, touch screen, and electronic device
WO2018176486A1 (en) Stylus, chip, touch-control device, electronic device and touch-control method
CN115422916A (en) Data access method, device, electronic device, storage medium and program product
CN119078702A (en) Key function processing method, electronic equipment and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant