CN102622136B - A kind of multi-point touch system data processing method and device - Google Patents
A kind of multi-point touch system data processing method and device Download PDFInfo
- Publication number
- CN102622136B CN102622136B CN201210049523.6A CN201210049523A CN102622136B CN 102622136 B CN102622136 B CN 102622136B CN 201210049523 A CN201210049523 A CN 201210049523A CN 102622136 B CN102622136 B CN 102622136B
- Authority
- CN
- China
- Prior art keywords
- touch
- touching
- control device
- point coordinate
- touching device
- 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.)
- Expired - Fee Related
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
The present invention relates to touch system data processing field, be specifically related to data processing method and device in a kind of multi-point touch system.Said method comprising the steps of: (1) touching device sends touch data to control device; (2) control device receives touch data; (3) control device calculates touch point coordinate according to touch data, and touch point coordinate is sent to touching device; (4) is touching device with USB? the pattern of human interface device transmits touch point coordinate to control device, and control device performs corresponding touch operation according to touch point coordinate.The present invention effectively can improve validity, the stability of multiple point touching, shortens system development cycle simultaneously.
Description
Technical field
The present invention relates to touch system data processing field, be specifically related to data processing method and device in a kind of multi-point touch system.
Background technology
Touch screen technology and respective digital interactive device drastically increase interpersonal interactivity, it is very large convenient to bring, enrich the life of people, be widely used in the field such as video conference, teaching, the platform that in the life that more and more becomes a reality, people exchange and medium.
At present, there is two problems in multiple point touching technology, and the first, the calculating data volume that multiple touch points coordinate calculates is large, and touch apparatus is by the restriction of hardware, and touch apparatus self generally cannot directly calculate touch point coordinate, needs computer system assist process; The second, computer system send the touch point coordinate of multiple point touching to perform corresponding operating after calculating touch point coordinate need to write corresponding driving, and the construction cycle is long, and effect is bad, unstable.
Summary of the invention
The technical matters that the present invention solves overcomes the deficiencies in the prior art, provides a kind of validity, stability of effective raising multiple point touching, shorten the multi-point touch system data processing method of system development cycle simultaneously.
The present invention also provides a kind of validity, stability of effective raising multiple point touching, shortens the multi-point touch system data handling system of system development cycle simultaneously.
For solving the problems of the technologies described above, the technical scheme of the present invention's first goal of the invention is as follows:
A kind of multi-point touch system data processing method, comprises the following steps:
(1) touching device sends touch data to control device;
(2) control device receives touch data;
(3) control device calculates touch point coordinate according to touch data, and touch point coordinate is sent to touching device;
(4) touching device transmits touch point coordinate with the pattern of USB human interface device to control device, and control device performs corresponding touch operation according to touch point coordinate.
In such scheme, described control device is computing machine.
In such scheme, in described step (1)-(4), communicated by usb interface module between touching device with control device.
In such scheme, arrange human interface device descriptor in touching device, the concrete steps of described step (4) are:
(41) control device reads the human interface device descriptor Direct Recognition touching device of touching device is USB human interface device;
(42) control device reads the touch point coordinate of touching device transmission by usb interface module, and performs corresponding touch operation according to touch point coordinate.
In such scheme, described touching device is infrared touching device, and described touch data is the ADC value of the infrared receiving tube in infrared touching device.
In such scheme, in described step (1)-(3), touching device carries out data interaction with the pattern of USB mass-memory unit two-way communication and control device.
The technical scheme of the present invention's second goal of the invention is as follows:
A kind of multi-point touch system data processing equipment, comprise interconnective touching device and control device, also comprise the usb interface module intercomed mutually for touching device and control device, USB module is connected with touching device, control device respectively; Control device identification touching device is USB mass-memory unit and is calculated touch point coordinate by the touch data that usb interface module reception touching device sends and touch point coordinate is sent to touching device, control device also identifies that touching device is USB human interface device and is received the touch point coordinate of touching device transmission by usb interface module, and control device performs corresponding touch operation according to touch point coordinate.
In such scheme, described control device is computing machine.
In such scheme, described touching device is infrared touching device, and described touch data is the ADC value of the infrared receiving tube in infrared touching device.
Compared with prior art, the beneficial effect of technical solution of the present invention is:
(1) calculating of multiple touch points coordinate is carried out in a computer, can meet the operand that multiple touch points coordinate calculates.
(2) without the need to designing corresponding driver because of transmitting the touch point coordinate of multiple point touching to computer system, only need to utilize ripe human interface device (HumanInterfaceDevice, HID) form that touching device is set to USB human interface device by technology communicates with computing machine, computing machine is sent to complete the transmission of touch point coordinate and mouse state by touching device on the touch point coordinate obtained by computer calculate, construction cycle is short, and effective and stable.
(3) this invention employing usb interface module realizes the communication between touching device and computing machine, has the advantages such as high speed, plug and play, support hot plug, makes touching device more efficient, convenient to the connection of computing machine.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of multi-point touch system data processing equipment in the present invention;
Fig. 2 is the process flow diagram of a kind of multi-point touch system data processing method in the present invention.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described further.
As shown in Figure 1, be a kind of in the present invention structural representation of multi-point touch system data processing equipment, multi-point touch system data processing equipment comprises control device, usb interface module and touching device.Control device is computing machine, and touching device is infrared touching device, and touch data is the ADC value of the infrared receiving tube in infrared touching device.Control device identification touching device is USB mass-memory unit and is calculated touch point coordinate by the touch data that usb interface module reception touching device sends and touch point coordinate is sent to touching device, control device is also USB human interface device by reading the human interface device descriptor identification touching device of touching device, then received the touch point coordinate of touching device transmission by usb interface module, control device performs corresponding touch operation according to touch point coordinate.Touching device carries out data interaction by two kinds of patterns and control device, i.e. USB mass-memory unit both-way communication pattern and USB human interface device pattern, when control device identification touching device is USB human interface device pattern, touching device arranges human interface device descriptor by inside self is set to USB human interface device.
As shown in Figure 2, be a kind of in the present invention process flow diagram of multi-point touch system data processing method, the concrete steps of described method are as follows:
(S1) touching device sends touch data by usb interface module to control device;
(S2) control device receives touch data by usb interface module;
(S3) control device calculates touch point coordinate according to touch data, and touch point coordinate is sent to touching device by usb interface module; In step (S1), (S2), (S3), touching device is all carry out mutual with the pattern of USB mass-memory unit two-way communication and control device.
(S4) touching device transmits touch point coordinate with the pattern of USB human interface device to control device, and control device performs corresponding touch operation according to touch point coordinate.Human interface device descriptor is set in touching device, the human interface device descriptor Direct Recognition touching device that control device reads touching device is USB human interface device, read the touch point coordinate of touching device transmission again by usb interface module, and perform corresponding touch operation according to touch point coordinate.Its concrete steps are:
(S41) touching device is inserted, bus reset; After touching device powers on, the inner universal driver of control device brings into operation with HID device address 0, carries out bus reset by interrupt mode;
(S42) USB device is enumerated: device enumeration refers to that control device is responsible for detecting all equipment being connected to control device Root Hub, distinguishes and the program setting a USB device; Control device calls inner universal driver, first SETUP package can be sent, by usb interface module, read the device descriptor of default address 0 in HID equipment touching device, configuration descriptor, interface descriptor, endpoint descriptor, HID descriptor and report descriptor; Wherein, the firmware program in HID equipment is write according to the specification of HID equipment class; After receiving each class descriptor, control device specifies new USB address to HID equipment; From the information that HID equipment returns, the quantity of the data end points that touching device is supported learnt by control device, and finishing equipment is enumerated;
(S43) control device reads touching device touch point coordinate by usb interface module, performs corresponding touch operation according to touch point coordinate.Control device, when being received the report that touching device sends by usb interface module, extracts data from report; Owing to containing various types of data in report, in order to distinguish dissimilar data, HID class provides HidP_GetXxx routine, reads dissimilar data to obtain touch point coordinate from HID equipment touching device.
Claims (7)
1. a multi-point touch system data processing method, is characterized in that, comprises the following steps:
(1) touching device sends touch data to control device;
(2) control device receives touch data;
(3) control device calculates touch point coordinate according to touch data, and touch point coordinate is sent to touching device;
(4) touching device arranges human interface device descriptor by inside and self is set to USB human interface device, touching device transmits touch point coordinate with the pattern of USB human interface device to control device, and control device performs corresponding touch operation according to touch point coordinate;
Described control device is computing machine.
2. multi-point touch system data processing method according to claim 1, is characterized in that, in described step (1)-(4), is communicated between touching device with control device by usb interface module.
3. multi-point touch system data processing method according to claim 2, is characterized in that, arranges human interface device descriptor in touching device, and the concrete steps that in described step (4), control device performs corresponding touch operation according to touch point coordinate are:
(41) control device reads the human interface device descriptor Direct Recognition touching device of touching device is USB human interface device;
(42) control device reads the touch point coordinate of touching device transmission by usb interface module, and performs corresponding touch operation according to touch point coordinate.
4. the multi-point touch system data processing method according to any one of claim 1-3, is characterized in that, described touching device is infrared touching device, and described touch data is the ADC value of the infrared receiving tube in infrared touching device.
5. the multi-point touch system data processing method according to any one of claim 1-3, is characterized in that, in described step (1)-(3), touching device carries out data interaction with the pattern of USB mass-memory unit two-way communication and control device.
6. a multi-point touch system data processing equipment, comprise interconnective touching device and control device, it is characterized in that, also comprise the usb interface module intercomed mutually for touching device and control device, usb interface module is connected with touching device, control device respectively;
Touching device comprises:
The module of touch data is sent to control device;
Control device comprises:
Identify that touching device is USB mass-memory unit and is received the module of the touch data that touching device sends by usb interface module;
Calculate touch point coordinate according to touch data and touch point coordinate sent to the module of touching device;
Touching device also comprises:
By inside, the module that touching device to be set to USB human interface device by human interface device descriptor is set;
Transmit the module of touch point coordinate to control device with the pattern of USB human interface device;
Control device also comprises:
Identify that touching device is the module of USB human interface device;
The module of the touch point coordinate that touching device transmits is received by usb interface module;
The module of corresponding touch operation is performed according to touch point coordinate;
Described control device is computing machine.
7. multi-point touch system data processing equipment according to claim 6, is characterized in that, described touching device is infrared touching device, and described touch data is the ADC value of the infrared receiving tube in infrared touching device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210049523.6A CN102622136B (en) | 2012-02-29 | 2012-02-29 | A kind of multi-point touch system data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210049523.6A CN102622136B (en) | 2012-02-29 | 2012-02-29 | A kind of multi-point touch system data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102622136A CN102622136A (en) | 2012-08-01 |
CN102622136B true CN102622136B (en) | 2016-03-30 |
Family
ID=46562081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210049523.6A Expired - Fee Related CN102622136B (en) | 2012-02-29 | 2012-02-29 | A kind of multi-point touch system data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102622136B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677438B (en) * | 2012-09-10 | 2020-02-21 | 联想(北京)有限公司 | Data processing method and electronic equipment |
CN102981675B (en) * | 2012-12-07 | 2015-09-09 | 广东威创视讯科技股份有限公司 | A kind of multiple point touching data processing method and system thereof |
CN103218039A (en) * | 2012-12-26 | 2013-07-24 | 青岛盛嘉信息科技有限公司 | Man-machine interactive system |
CN103440069B (en) * | 2013-08-28 | 2017-05-03 | 苏州泛普纳米科技有限公司 | Data processing method and device for touch sensing unit |
TWI544392B (en) * | 2014-07-01 | 2016-08-01 | 義隆電子股份有限公司 | Capacitive touch electronic apparatus, touch control device, and mode selection method for the capacitive touch electronic apparatus |
CN107491205B (en) * | 2017-07-12 | 2020-07-28 | 广州视源电子科技股份有限公司 | Integrated machine |
CN111444130B (en) * | 2017-07-12 | 2021-10-26 | 广州视源电子科技股份有限公司 | Integrated machine |
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 | 广州视源电子科技股份有限公司 | Touch signal processing method, system and device and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389495B1 (en) * | 1999-01-16 | 2002-05-14 | Cypress Semiconductor Corp. | Dedicated circuit and method for enumerating and operating a peripheral device on a universal serial bus |
CN101145089A (en) * | 2007-10-31 | 2008-03-19 | 广东威创日新电子有限公司 | Touch panel device and method for communicating with computer and the device |
CN101382856A (en) * | 2008-09-24 | 2009-03-11 | 广东威创视讯科技股份有限公司 | Apparatus and method for implementing USB HID MOUSE function on touching device |
CN101398792A (en) * | 2007-09-28 | 2009-04-01 | 联想(北京)有限公司 | Method and device for implementing application of interface functional equipment |
-
2012
- 2012-02-29 CN CN201210049523.6A patent/CN102622136B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6389495B1 (en) * | 1999-01-16 | 2002-05-14 | Cypress Semiconductor Corp. | Dedicated circuit and method for enumerating and operating a peripheral device on a universal serial bus |
CN101398792A (en) * | 2007-09-28 | 2009-04-01 | 联想(北京)有限公司 | Method and device for implementing application of interface functional equipment |
CN101145089A (en) * | 2007-10-31 | 2008-03-19 | 广东威创日新电子有限公司 | Touch panel device and method for communicating with computer and the device |
CN101382856A (en) * | 2008-09-24 | 2009-03-11 | 广东威创视讯科技股份有限公司 | Apparatus and method for implementing USB HID MOUSE function on touching device |
Also Published As
Publication number | Publication date |
---|---|
CN102622136A (en) | 2012-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102622136B (en) | A kind of multi-point touch system data processing method and device | |
CN102981675B (en) | A kind of multiple point touching data processing method and system thereof | |
CN102890587A (en) | Driver-free electronic whiteboard control device crossing operating system platforms | |
CN105765548B (en) | Support of IOAPIC interrupts in AMBA-based devices | |
CN107678984A (en) | USB port mapping method and computer-readable recording medium | |
CN104571942A (en) | Data storage system and method analyzing non-signal | |
CN104850417B (en) | A kind of method and electronic equipment of information processing | |
CN104991870A (en) | Optical communication apparatus interface accessing method free of driver based on HID | |
CN101344874B (en) | Method and device for controlling I2C device | |
CN102810054B (en) | The control method of display device and display device | |
CN103124338A (en) | Device and method used for playing audio and video and based on wireless transmission | |
CN107885674B (en) | Bluetooth device simulator, working method thereof and Bluetooth device operating system | |
CN203658991U (en) | Computer evidence obtaining system | |
CN203117968U (en) | SPI (Serial Peripheral Interface) communication interface | |
CN105068962A (en) | I2C controller access method and I2C controller access system | |
CN202018635U (en) | Device capable of realizing switching of PS (personal system)/2 signals in KVM (kernel-based virtual machine) | |
CN104699644B (en) | A method of driving NFC modules under Android platform | |
CN107608927A (en) | A kind of design method for supporting Full Featured lpc bus host port | |
CN104123257A (en) | Universal serial bus devices, communication method, and computer readable storage medium | |
CN101539830A (en) | Integrated interactive intelligence white board | |
CN204178365U (en) | Transformational structure between LBE bus and isa bus | |
CN103514125B (en) | Main control electronic device and main control end operational approach | |
CN203117963U (en) | Debugging system and device for providing graphical pin interface | |
CN209297282U (en) | A kind of device for supporting mobile phone and PC to switch | |
CN104536932B (en) | The universal communication method of dedicated low-speed USB devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670 Patentee after: VTRON GROUP Co.,Ltd. Address before: 510663 No. 6, color road, hi tech Industrial Development Zone, Guangdong, Guangzhou, China Patentee before: VTRON TECHNOLOGIES Ltd. |
|
CP03 | Change of name, title or address | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160330 |
|
CF01 | Termination of patent right due to non-payment of annual fee |