CN102184047A - Communication method and device of touch information - Google Patents

Communication method and device of touch information Download PDF

Info

Publication number
CN102184047A
CN102184047A CN 201110112202 CN201110112202A CN102184047A CN 102184047 A CN102184047 A CN 102184047A CN 201110112202 CN201110112202 CN 201110112202 CN 201110112202 A CN201110112202 A CN 201110112202A CN 102184047 A CN102184047 A CN 102184047A
Authority
CN
China
Prior art keywords
coordinates
data packet
coordinate
touch
communication data
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.)
Pending
Application number
CN 201110112202
Other languages
Chinese (zh)
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.)
Vtron Technologies Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN 201110112202 priority Critical patent/CN102184047A/en
Publication of CN102184047A publication Critical patent/CN102184047A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a communication method and a communication device for touch information. The method comprises the steps of: according to coordinate information acquired by scanning touch points, generating a communication data packet, wherein the coordinate information comprises coordinate information acquired by vertically and obliquely scanning each touch point; and sending the communication data packet to a control end, and reading the coordinate information by using the control end according to the information of the communication data packet. By the method and the device, the size of the data packet can be adjusted according to the number of the touch points; the time of transmitting the data packet is effectively shortened; and the refreshing frequency of a touch screen device is improved. Furthermore, the vertically and obliquely scanned coordinate data in the same communication data packet are transmitted, so that the response speed of the control end can be effectively improved, and the refreshing frequency of a screen is improved further.

Description

The communication means of touch information and device thereof
Technical field
The present invention relates to the communication technology of touch-screen, relate in particular to the communication means and the device thereof of touch information.
Background technology
In the various touch panel devices of prior art, when itself and computing machine communicate, normally whenever detect the packet that a touch point promptly generates the function information of a coordinate information that mainly comprises this touch point and triggering, this packet has fixing length, and the packet of this regular length is sent to computing machine.Growing along with the multiple point touching technology of touch panel device, under the situation of multiple point touching, if continue to adopt this communication mode of the prior art, each touch point is corresponding to a packet, when a plurality of touch point, just need to generate a plurality of packets that take identical regular length, thereby when touch panel device and computing machine communicate, each communication data packet all will take the identical transmission time, when causing multiple point touching like this, the touch refresh rate of touch panel device is lower, the user experience poor effect.
In order to solve the problem that regular length causes that refresh rate is low, prior art is put packet into, according to the difference of touch point number by the touch point coordinate in record touch point number, the one-period scanning, the length of communication data packet also changes thereupon, shortens the transmits data packets time.But existing infrared multi-point touch device is got rid of pseudo-touch point coordinate by a vertical-scan period and a dip sweeping cycle combination, determines final touch point coordinate.So, according to existing communication mode, the coordinate data bag that then must be by sending an at least vertical scanning and the packet of at least dip sweeping are to computing machine, determine final coordinate data by computing machine then, this refreshing frequency that also is unfavorable for improving touch panel device by the communication mode that repeatedly sends packet.
Summary of the invention
In order to solve the problems of the technologies described above, provide a kind of communication means and device of supporting the multiple point touching data transmission, improving the touch panel device refreshing frequency.
The invention provides the communication means of touch information, comprising: the coordinate information that obtains according to the scanning touch point generates a communication data packet, and described coordinate information comprises the vertical of each touch point and the coordinate information that dip sweeping is obtained; Described communication data packet is sent to control end, and control end reads described coordinate information according to the information of described communication data packet.
Correspondingly, the present invention also provides the communicator of touch information, comprising:
The packet generation unit, the coordinate information that is used for obtaining according to vertical scanning and dip sweeping touch point generates a communication data packet;
With the transmitting element that described packet generation unit links to each other, be used to send a described communication data packet;
With the receiving element that described transmitting element links to each other, be used to receive the communication data packet that described transmitting element sends;
With the reading unit that described receiving element links to each other, be used to read described communication data packet.
Implement the present invention, have following beneficial effect:
The packet that the touch point of adopting the present invention to obtain generates, the size that can regulate packet according to the touch point number, i.e. touch point number difference, the also corresponding difference of the data message length of transmission.So, can effectively shorten time of transmits data packets, improve the refreshing frequency of touch panel device.In addition, in order further to improve the screen-refresh frequency, the coordinate data of vertical scanning and dip sweeping is sent by a communication data packet, can effectively improve the analyzing and processing ability of control end, improve touch screen response speed vertical scanning coordinate and dip sweeping coordinate.
Description of drawings
Fig. 1 is the process flow diagram of the communication means of touch information of the present invention;
Fig. 2 is the embodiment synoptic diagram of form of communication data packet of the communication means of touch information of the present invention;
Fig. 3 is the structural representation of the communicator of touch information of the present invention;
Fig. 4 is the structural representation of packet generation unit of the communicator of touch information of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of the communication means of touch information of the present invention, comprising:
S101: the coordinate information that obtains according to the scanning touch point generates a communication data packet, and described coordinate information comprises the vertical of each touch point and the coordinate information that dip sweeping is obtained.
Need to prove that in existing various touch panel devices, the every detection of computing machine scans the coordinate information that a touch point promptly generates this touch point, when a plurality of touch point, just need to generate a plurality of coordinate informations.So, according to the difference of touch point number, the also corresponding difference of the data message length of transmission.In order to get rid of pseudo-touch point coordinate, coordinate information analyzed that touching device obtains by a vertical scanning and dip sweeping determined final touch point coordinate.The technology of the present invention is by with in the scan period, and the coordinate information that each touch point vertical scanning and dip sweeping are obtained is generated in the communication data packet, shortens the time of transmits data packets, improves the refreshing frequency of touch panel device.
S102: described communication data packet is sent to control end, and control end reads described coordinate information according to the information of described communication data packet.
Need to prove, described communication data packet is sent to control end, bring in by the control of computing machine then and determine final coordinate data.In theory, the CPU processing speed of control end is faster than the processing speed of scanning hardware and transmission equipment, and control end needs to overlap coordinates in conjunction with vertical scanning and dip sweeping two simultaneously, could get rid of pseudo-touch point coordinate.So, handle to control end by sending a packet that comprises vertical scanning coordinate and dip sweeping coordinate, can effectively improve the analyzing and processing ability of control end, improve the response speed of touch-screen.
The information of described communication data packet comprises: the coordinate of lead code, vertical scanning, the coordinate of dip sweeping, distinguish yard and end code.
Described lead code is the identifier that described control end begins reading of data; The coordinate of described vertical scanning comprises vertical scanning X-axis set of coordinates and vertical scanning Y-axis set of coordinates; The coordinate of described dip sweeping comprises dip sweeping X-axis set of coordinates and dip sweeping Y-axis set of coordinates; Described distinguish yard is used for the control end differentiation and respectively organizes the set of coordinates data between set of coordinates; Described end code is the identifier that described control end reading of data finishes.Wherein, the horizontal ordinate of each touch point of being obtained by vertical scanning of vertical scanning X-axis set of coordinates is formed; Vertical scanning Y-axis set of coordinates is made up of the ordinate of each touch point that vertical scanning obtains; Dip sweeping X-axis set of coordinates is made up of the horizontal ordinate of each touch point that dip sweeping is obtained; Dip sweeping Y-axis set of coordinates is made up of the ordinate of each touch point that dip sweeping is obtained.
Need to prove that the control end of computing machine begins reading of a communication data packet by the identification lead code, reads the coordinate information of each touch point then successively,, represent that this communication data packet reads to finish when reading end code.Respectively to organize the set of coordinates data in order distinguishing, between each group set of coordinates, to have added distinguish yard.And the formatting of set of coordinates can be set according to system configuration.
One embodiment synoptic diagram of the form of the communication data packet of the communication means of touch information of the present invention shown in Figure 2, adopt the formatting of " lead code; vertical scanning X-axis set of coordinates; distinguish yard, dip sweeping X-axis set of coordinates, distinguish yard, vertical scanning Y-axis set of coordinates; distinguish yard; dip sweeping Y-axis set of coordinates, end code " to be configured.
Need to prove, Fig. 2 is a concrete example of data packet format wherein, in addition, also can adopt another exemplifying embodiment: the formatting of " lead code; vertical scanning X-axis set of coordinates, distinguish yard, vertical scanning Y-axis set of coordinates, distinguish yard, dip sweeping X-axis set of coordinates, distinguish yard; dip sweeping Y-axis set of coordinates, end code ".
Described respectively the group in the set of coordinates comprises the data of present count M bit byte, wherein only uses N position upper byte, vacant remaining M-N position low byte.
Need to prove,, and further distinguish coordinate information and distinguish yard for the coordinate information of each touch point in the set of coordinates is respectively organized in further differentiation.Described respectively the group in the set of coordinates comprises the data of the present count M bit byte of regular length to make things convenient for control end with the regular length reading of data, preferably, comprising 16 bit bytes.Wherein only use N position upper byte, vacant remaining M-N position low byte.Preferably, only use high 14 bit data, vacant remaining minimum doublet.Control end can distinguish the coordinate information of each touch point when reading described minimum doublet, and they and distinguish yard also can distinguish.
When M=16, get N=14.
In the middle of the above-mentioned communication data packet form, the coordinate information that vertical scanning obtains and the coordinate information of dip sweeping all are created in the same communication data packet, by distinguish yard set of coordinates information are distinguished.In the present embodiment, lead code is set to OX55, and distinguish yard is set to OXFF, and end code is set to OXFE, and distinguish yard distinguishes coordinate data sign indicating numbers such as vertical scanning X-axis coordinate, dip sweeping Y-axis coordinate, vertical scanning Y-axis coordinate, dip sweeping Y-axis coordinate.X-axis coordinate and Y-axis coordinate all have 16 double-byte representation, and X-axis and Y-axis coordinate span be 0~16384, so, only take 14.All coordinate values are all moved to left 2, and like this, the expression value of coordinate all on high 14, lead code OX55 can not occur, distinguish yard is that OXFF and end code are OXFE.The byte length of communication data packet is S=2 * (m+n+k+j)+5, wherein, m is that the detected X-axis of vertical scanning touches number, n is that the detected Y-axis of vertical scanning touches number, k is that the detected X-axis of dip sweeping touches number, j is that the detected Y-axis of dip sweeping touches number, 5 expression lead codes, 3 distinguish yards and end code.Suppose to preset and can detect 5 touch points at most, the longest byte length of then above-mentioned communication data packet is 45, and when the shortest byte length was no touch point, byte length was 5.During actual transmissions, the touch point quantity that the length of communication data packet can be obtained according to scanning is adjusted in the 5-45 byte automatically, thereby can be in touch point quantity not simultaneously, and the refresh rate of system changes thereupon, thereby can utilize system resource to greatest extent.
Fig. 3 is the structural representation of the communicator of touch information of the present invention, comprising:
The packet generation unit, the coordinate information that is used for obtaining according to vertical scanning and dip sweeping touch point generates a communication data packet.
With the transmitting element that described packet generation unit links to each other, be used to send a described communication data packet.
With the receiving element that described transmitting element links to each other, be used to receive the communication data packet that described transmitting element sends.
With the reading unit that described receiving element links to each other, be used to read described communication data packet.
Need to prove that the packet generation unit generates a packet with the coordinate data of vertical scanning and dip sweeping.Be transferred to transmitting element, transmitting element is written in the serial communication controller packet is byte-by-byte, and is sent to receiving element by serialization controller.Receiving element receives after the described communication data packet, is transferred to reading unit, and reading unit reads communication data packet.
Fig. 4 is the structural representation of packet generation unit of the communicator of touch information of the present invention, comprising:
Pilot unit is used for distributing a lead code to the coordinate information that the scanning touch point obtains.
With the integral unit that described pilot unit links to each other, be used to integrate vertical X-axis set of coordinates, vertical scanning Y-axis set of coordinates, dip sweeping X-axis set of coordinates and the dip sweeping Y-axis set of coordinates of each touch point, and between each set of coordinates, distribute a distinguish yard.
With the termination unit that described integral unit links to each other, be used to integrate each set of coordinates and distribute an end code afterwards.
Integral unit as shown in Figure 4 comprises:
Shift unit, the set of coordinates data that are used for obtaining move to present count N position upper byte, vacant remaining low byte.
Reading unit detects the lead code of packet, begins communication data packet is read.During data that the resolution data bag receives,, from packet, read detected coordinate information of vertical scanning and the detected coordinate information of dip sweeping, draw final touch point coordinate according to analysis-by-synthesis again according to distinguish yard and end code.
Described embodiment of the present invention does not constitute the qualification to protection domain of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection domain of the present invention.

Claims (7)

1. the communication means of a touch information is characterized in that, comprising:
The coordinate information that obtains according to the scanning touch point generates a communication data packet, and described coordinate information comprises the vertical of each touch point and the coordinate information that dip sweeping is obtained;
Described communication data packet is sent to control end, and control end reads described coordinate information according to the information of described communication data packet.
2. the communication means of touch information according to claim 1 is characterized in that, the information of described communication data packet comprises: the coordinate of lead code, vertical scanning, the coordinate of dip sweeping, distinguish yard and end code;
Described lead code is the identifier that described control end begins reading of data;
The coordinate of described vertical scanning comprises vertical scanning X-axis set of coordinates and vertical scanning Y-axis set of coordinates;
The coordinate of described dip sweeping comprises dip sweeping X-axis set of coordinates and dip sweeping Y-axis set of coordinates;
Described distinguish yard is used for the control end differentiation and respectively organizes the set of coordinates data between set of coordinates;
Described end code is the identifier that described control end reading of data finishes.
3. the communication means of touch information according to claim 2 is characterized in that, described respectively the group in the set of coordinates comprises the data of present count M bit byte, wherein only uses N position upper byte, vacant remaining M-N position low byte.
4. the communication means of touch information according to claim 3 is characterized in that:
When M=16, get N=14.
5. the communicator of a touch information is characterized in that, comprising:
The packet generation unit, the coordinate information that is used for obtaining according to vertical scanning and dip sweeping touch point generates a communication data packet;
With the transmitting element that described packet generation unit links to each other, be used to send a described communication data packet;
With the receiving element that described transmitting element links to each other, be used to receive the communication data packet that described transmitting element sends;
With the reading unit that described receiving element links to each other, be used to read a described communication data packet.
6. the communicator of touch information according to claim 5 is characterized in that, described packet generation unit comprises:
Pilot unit is used for distributing a lead code to the coordinate information that the scanning touch point obtains;
With the integral unit that described pilot unit links to each other, be used to integrate vertical X-axis set of coordinates, vertical scanning Y-axis set of coordinates, dip sweeping X-axis set of coordinates and the dip sweeping Y-axis set of coordinates of each touch point, and between each set of coordinates, distribute a distinguish yard;
With the termination unit that described integral unit links to each other, be used to integrate each set of coordinates and distribute an end code afterwards.
7. the communicator of touch information according to claim 6 is characterized in that, described integral unit comprises:
Shift unit, the set of coordinates data that are used for obtaining move to present count N position upper byte, vacant remaining low byte.
CN 201110112202 2011-05-03 2011-05-03 Communication method and device of touch information Pending CN102184047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110112202 CN102184047A (en) 2011-05-03 2011-05-03 Communication method and device of touch information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110112202 CN102184047A (en) 2011-05-03 2011-05-03 Communication method and device of touch information

Publications (1)

Publication Number Publication Date
CN102184047A true CN102184047A (en) 2011-09-14

Family

ID=44570230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110112202 Pending CN102184047A (en) 2011-05-03 2011-05-03 Communication method and device of touch information

Country Status (1)

Country Link
CN (1) CN102184047A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368185A (en) * 2011-09-23 2012-03-07 广东威创视讯科技股份有限公司 Identification method and device of touch points
CN105204525A (en) * 2015-05-27 2015-12-30 中国传媒大学 Method, system and device for controlling stereoscopic movie shooting cradle head
CN110658948A (en) * 2019-08-27 2020-01-07 广州成达智能科技有限公司 Method, apparatus and medium for touch operation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0675426B1 (en) * 1994-03-18 2000-09-06 International Business Machines Corporation Computer system with touchpad support in operating system
CN101145089B (en) * 2007-10-31 2010-05-19 广东威创视讯科技股份有限公司 Touch panel device and method for communicating with computer and the device
CN101876864A (en) * 2009-12-15 2010-11-03 北京中星微电子有限公司 Data acquisition device and method of touch screen as well as touch screen system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0675426B1 (en) * 1994-03-18 2000-09-06 International Business Machines Corporation Computer system with touchpad support in operating system
CN101145089B (en) * 2007-10-31 2010-05-19 广东威创视讯科技股份有限公司 Touch panel device and method for communicating with computer and the device
CN101876864A (en) * 2009-12-15 2010-11-03 北京中星微电子有限公司 Data acquisition device and method of touch screen as well as touch screen system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368185A (en) * 2011-09-23 2012-03-07 广东威创视讯科技股份有限公司 Identification method and device of touch points
CN102368185B (en) * 2011-09-23 2015-09-09 广东威创视讯科技股份有限公司 The recognition methods of touch point and device
CN105204525A (en) * 2015-05-27 2015-12-30 中国传媒大学 Method, system and device for controlling stereoscopic movie shooting cradle head
CN110658948A (en) * 2019-08-27 2020-01-07 广州成达智能科技有限公司 Method, apparatus and medium for touch operation

Similar Documents

Publication Publication Date Title
JP2014225240A5 (en)
CN104385787B (en) A kind of control method of laser marking machine and laser marking machine
CN102207800B (en) Method and device for identifying touch points of infrared touch screen
CN103403665B (en) A kind of terminal unit obtains method and the terminal unit of instruction
CN102184047A (en) Communication method and device of touch information
CN102207812A (en) Touch electronic device and multi-window management method thereof
CN107511303A (en) Adhesive dispensing method and system
CN104899361A (en) Remote control method and apparatus
CN103853390A (en) Method for improving touch precision of infrared touch screen
CN106293276A (en) The vigour of style in writing based on infrared touch-control determines method, device and touch-screen system
CN103544320A (en) Webpage generation method and device
CN104978222A (en) System update detection method and apparatus
CN102331886B (en) Oblique coordinate system-based infrared touch screen touch location method and oblique coordinate system-based infrared touch screen touch location device
CN103885644A (en) Method of improving infrared touch screen touch precision and system thereof
CN102193683B (en) Control board and serial communication arbiter for touch screen with camera
CN103036741A (en) Determination method and determination device of flow monitoring base line
CN103984445A (en) Infrared touch screen and touch point positioning method thereof
US20230185399A1 (en) Method and device for deriving pen position and reporting pen position to host computer
CN103699254A (en) Method, device and system for multi-point touch positioning
CN104503634A (en) Infrared touch control device and method
CN201654687U (en) Laser keyboard
CN103337146B (en) Health monitoring method and health monitoring system of civil engineering structure
CN105808019A (en) Method for detecting touch point coordinates of infrared touch screens
CN105988916B (en) Visualization method, device and system are carried out to the touch locus of points of touch panel device
CN104182091A (en) Multi-point touch recognition method and system for infrared touch screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110914