CN107728841A - Multi-touch method and system based on acceptance of the bid kylin operating system - Google Patents
Multi-touch method and system based on acceptance of the bid kylin operating system Download PDFInfo
- Publication number
- CN107728841A CN107728841A CN201710967058.7A CN201710967058A CN107728841A CN 107728841 A CN107728841 A CN 107728841A CN 201710967058 A CN201710967058 A CN 201710967058A CN 107728841 A CN107728841 A CN 107728841A
- Authority
- CN
- China
- Prior art keywords
- contact
- event
- touch
- operating system
- acceptance
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04104—Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger
Abstract
The present invention discloses a kind of multi-touch method and system based on acceptance of the bid kylin operating system, it is incorporated into multi-point touch drive module in the kernel of acceptance of the bid kylin operating system first, for receiving the initial data of touch screen, and according to Raw Data Generation event queue file;Integration events queue file parsing module and multiple spot event parsing transfer module in heart code in Qt application platform graphical user interface modules afterwards, for completing the parsing to event queue file data in operating system client layer, and complete the judgement of multiple spot event in operating system client layer and be communicated up function;The variation of low level development platform and driving layer is concerned about so as to not have to application developer, need to only Qt multi-point touch associated user's graphic interface be used directly to be developed, multi-point touch function is realized under kylin operating system of getting the bid, multi-point touch application development difficulty is reduced simultaneously, and improves the transplantability of multi-point touch application program.
Description
Technical field
The present invention relates to a kind of multi-point touch panel applicating developing technology, and in particular to one kind is based on acceptance of the bid kylin operating system
Multi-touch method.
Background technology
A kind of brand-new man-machine interaction means of multi-point touch, it is allowed to which computer user passes through multiple fingers or contact simultaneously
Carry out control computer, providing the user with one kind, easily mode directly interacts with the information content naturally.In the market
Through there are a variety of multi-point touch input equipments (capacitance touch screen, electric resistance touch screen, infrared touch panel, optical touch screen etc.);
Also there are iOS system, the Windows 8 of Microsoft of the operating system such as apple of part redaction, the Android operation system of Google
Support is provided to multi-point touch function, and the API of multi-point touch is provided to application developer.
However, under kylin operating system of getting the bid, multi-point touch function can not be realized at present.Main cause has following several
Point:First, in the kernel for kylin operating system of getting the bid, there is multi-point touch event type in input subsystem module, but due to
Kernel does not have the integrated omnipotent driving for multi-touch device, therefore system initial state can not multi-touch device;Second,
The graphic operation environment of acceptance of the bid kylin operating system does not support multi-point touch function, therefore, even if touch control device is successfully driven production
Raw multi-point touch event queue file, window system can not also provide the operation of multi-point touch;3rd, there is cross operating system at present
The Application development environ-ment of platform, such as QT etc., the event queue file of multi-point touch can not be parsed, therefore can not be to upper layer transfers
Multi-point touch event information, so that the application program comprising multi-point touch can not receive correlation on acceptance of the bid kylin platform
Event information realizes multi-point touch function.Because above reason, acceptance of the bid kylin operating system computer platform can not realize it is more
The window operation of touch, it strongly limit the development of computing technique production domesticization.
A kind of patent " computer equipment of recognizable touch event of Aigo Electronic Technology's application
And its recognition methods (number of patent application:201010606623.5) " in, it is proposed that a kind of computer of recognizable touch event is set
Standby, equipment includes processing unit, display unit, memory module and touch panel.Relate generally to touch setting for hardware system structure
Meter, multi-touch device driving adaptation is not related to, is not also related to the multi-point touch API towards upper layer application.Patent is " a kind of red
The driving method of outer multi-point touch panel " (number of patent application:201210179460.6) in propose a kind of infrared multi-point touch screen
The design of equipment, the structure design principle and touch point location algorithm of infrared multi-point touch screen equipment are primarily focused on,
Also encapsulated without reference to the driving exploitation of multi-touch device and application oriented multi-point touch API.
In summary, it is necessary to a kind of above-mentioned resource of comprehensive utilization is provided, can be supported under kylin operating system of getting the bid
Multi-point touch function, the method that and can provides multi-point touch API to application developer.
The content of the invention
In view of this, it is necessary to which multi-point touch application development difficulty can be reduced by providing one kind, while can be improved
The multi-touch method and system based on acceptance of the bid kylin operating system of the transplantability of multi-point touch application program.
The present invention provides a kind of multi-touch method based on acceptance of the bid kylin operating system, described based on acceptance of the bid kylin operation
The multi-touch method of system comprises the following steps:
S1, multi-point touch drive module is incorporated into the kernel of acceptance of the bid kylin operating system, for receiving the original of touch screen
Beginning data, and according to Raw Data Generation event queue file;
Integration events queue file parses mould in S2, the heart code in Qt application platform graphical user interface modules
Block, for completing the parsing to event queue file data in operating system client layer;
The parsing of multiple spot event is integrated in S3, the heart code in Qt application platform graphical user interface modules and transmits mould
Block, for completing the judgement of multiple spot event in operating system client layer and being communicated up function.
A kind of multi-touch system based on acceptance of the bid kylin operating system, the multiple spot based on acceptance of the bid kylin operating system
Touch-control system includes multi-point touch drive module, event queue document analysis module and multiple spot event parsing transfer module;
The multi-point touch drive module is incorporated into the kernel of acceptance of the bid kylin operating system, for receiving the original of touch screen
Beginning data, and according to Raw Data Generation event queue file;
The event queue document analysis module is integrated in the heart code in Qt application platform graphical user interface modules
In, for completing the parsing to event queue file data in operating system client layer;
The multiple spot event parsing transfer module is integrated in the heart code in Qt application platform graphical user interface modules
In, for completing the judgement of multiple spot event in operating system client layer and being communicated up function.
Multi-touch method and system of the present invention based on acceptance of the bid kylin operating system, can make application developer not
With being concerned about low level development platform and driving the variation of layer, it need to only use Qt multi-point touch associated user graphic interface progress straight
Exploitation is connect, realizes multi-point touch function under kylin operating system of getting the bid, while reduce multi-point touch application development
Difficulty, and improve the transplantability of multi-point touch application program.
Brief description of the drawings
Fig. 1 is the design principle figure of the multi-touch method of the present invention based on acceptance of the bid kylin operating system;
Fig. 2 is the FB(flow block) of the multi-touch method of the present invention based on acceptance of the bid kylin operating system;
Fig. 3 is the sub-process block diagram of step S1 in Fig. 2;
Fig. 4 is step S1 of the present invention step flow chart;
Fig. 5 is the sub-process block diagram of step S2 in Fig. 2;
Fig. 6 is step S2 of the present invention step flow chart;
Fig. 7 is the sub-process block diagram of step S3 in Fig. 2;
Fig. 8 is the step flow chart of contacts status evaluation algorithm of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated, it will be appreciated that and the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The present invention provides a kind of multi-touch method based on acceptance of the bid kylin operating system, wherein, as depicted in figs. 1 and 2,
The multi-touch method based on acceptance of the bid kylin operating system comprises the following steps:
S1, multi-point touch drive module is incorporated into the kernel of acceptance of the bid kylin operating system, for receiving the original of touch screen
Beginning data, and according to Raw Data Generation event queue file.
As shown in Figure 3 and Figure 4, the step S1 include it is following step by step:
S11, the registration of drive module and related initial work are completed in system kernel;
S12, the discovery of completion equipment and the mounting operation of correlation when multi-touch device connects main frame;
The initial data that S13, order caching multi-touch device are sent, and using chained list realize ping-pong or
The data buffer storage of FIFO modes;
Initial data in S14, parsing caching, multi-point touch event data, main thing are write into event queue file
Part type includes contact information event and synchronizing information event.
Wherein, the contact information event mainly includes:
Contact Tracking Recognition ABS_MT_TRACKING_ID
Contact transverse direction absolute coordinate ABS_MT_POSITION_X
Contact longitudinal direction absolute coordinate ABS_MT_POSITION_Y
Instrument contact head of district's axle ABS_MT_WIDTH_MAJOR
Instrument contact area short axle ABS_MT_WIDTH_MINOR
Contact head of district's axle ABS_MT_TOUCH_MAJOR
Contact area short axle ABS_MT_TOUCH_MINOR
Contact force value ABS_MT_PRESSURE
The synchronizing information event mainly includes:
Contact information synchronous event SYN_MT_REPORT
Contact frame synchronization event SYN_REPORT
According to upper type complete multi-point touch drive module source code design after need to add multi-point touch drive module
It is downloaded in system.The mode of loading multi-point touch drive module has two kinds:A kind of mode can be directly incorporated into kernel with system
Loaded during startup;If not getting the bid kylin operating system nucleus source code, generation drive module can also be compiled, is then opened in system
Loaded after dynamic using script or station command line mode.
Integration events queue file parses mould in S2, the heart code in Qt application platform graphical user interface modules
Block, for completing the parsing to event queue file data in operating system client layer.
Wherein, as shown in Figure 5 and Figure 6, the step S2 include it is following step by step:
S21, the initialization for completing multiple spot event information caching and system relevant parameter;
S22, event queue file is traveled through under present systems, multi-point touch event queue file is identified, to the more of identification
Point touch event queue file defines groove association and signal;
S23, when multi-point touch event queue file has data renewal, groove function by Qt platforms call complete multi-point touch
The parsing of data.
Specifically, traveling through event queue file under present systems, multi-point touch event queue file is identified;If finding,
Groove association and signal are then defined, groove function corresponding to the association of its bracket groove is used to reading and parsing multi-point touch event data, signal
Predominantly detect corresponding event queue file whether there is new data;After completing groove association and signal definition and binding, solution to be received is waited
New data is analysed, once corresponding multi-point touch event queue file has data renewal, groove function can be called by Qt platforms automatically, complete
Into the parsing of multi-point touch data, the data parsed will be put into the data structure of buffering, treat that mould is transmitted in the parsing of multiple spot event
Block is for further processing.
The parsing of multiple spot event is integrated in S3, the heart code in Qt application platform graphical user interface modules and transmits mould
Block, for completing the judgement of multiple spot event in operating system client layer and being communicated up function.
Wherein, as shown in fig. 7, the step S3 include it is following step by step:
S31, contact relevant parameter is resolved, such as the conversion of coordinate, pixel coordinate is converted to from absolute coordinate, or
Contact force clearing etc..
Specifically, including coordinates transformation method in the contact relevant parameter computation, main completion contact is absolute
Conversion of the coordinate to pixel coordinate, algorithmic formula are as follows:
Wherein, X and Y is respectively the abscissa value and ordinate value of current contact pixel coordinate, abs_x and abs_y are ought
The abscissa value and ordinate value of preceding physical coordinates, max_x and min_x are respectively the maximum and minimum of contact physics abscissa
Value, max_y and min_y are respectively the maximum and minimum value of contact physics abscissa, and scale_x and scale_y is respectively to work as
The abscissa value and ordinate value of front contact pixel coordinate.
Include contact force value-based algorithm in the relevant parameter computation of contact, the main resolving for completing contact force value.
Specific algorithm is:If bottom hardware provides contact force value, driving will pass through contact force value event (ABS_MT_
PRESSURE) transmit;If value driving does not provide, resolved with following algorithm:
Wherein Pressure is contact force value, touch_major is contact head of district axle, width_major instruments
Contact head of district's axle.
S32, the judgement for completing contacts status, it is main to include pressing, be static, be mobile and leave.
Specifically, as shown in figure 8, the step S32 include it is following step by step:
S321, initialization contact buffer queue;
S322, in buffer queue travel through contact Tracking Recognition number;
S323, when not having inside buffer queue the traversal to obtain the identifier, new contact information is added into contact caching
Queue, and contacts status is set to and pressed, contact information renewal identifier set;
S324, when there is no inside buffer queue the traversal to obtain the identifier, comparison touch points coordinate whether with original coordinate
It is identical, if it is different, contacts status is set into movement, update coordinate information, contact information renewal identifier set;If phase
Together, contacts status is set to static, contact information renewal identifier set;
S325, when being judged as that down state is sentenced or after the completion of the dynamic judgement of contact, synchronizing signal is received, if received
Contact information synchronous event, then the Tracking Recognition number of contact in buffer queue is traveled through again, if receiving contact frame synchronization thing
Part, then contact information renewal identifier is detected, if it find that there is the contact of non-set, the contacts status is set to and left.
S326, by the information transfers such as all current contact coordinates and state to Qt upper stratas, by all leave states
Contact is deleted from the buffer queue of contact, and all contact information renewal identifiers are resetted, and then traversal caches team again
The Tracking Recognition number of contact in row.
S33, the multiple spot event information to upper layer application transmission present frame.
According to the above-mentioned multi-touch method based on acceptance of the bid kylin operating system, the present invention also provides a kind of based on acceptance of the bid Qi
The multi-touch system of unicorn operating system, the multi-touch system based on acceptance of the bid kylin operating system drive including multi-point touch
Dynamic model block, event queue document analysis module and multiple spot event parsing transfer module;
The multi-point touch drive module is incorporated into the kernel of acceptance of the bid kylin operating system, for receiving the original of touch screen
Beginning data, and according to Raw Data Generation event queue file;
The event queue document analysis module is integrated in the heart code in Qt application platform graphical user interface modules
In, for completing the parsing to event queue file data in operating system client layer;
The multiple spot event parsing transfer module is integrated in the heart code in Qt application platform graphical user interface modules
In, for completing the judgement of multiple spot event in operating system client layer and being communicated up function.
Integrated specifically, event queue document analysis module and multiple spot event are parsed into transfer module the two block codes
The method being incorporated into the heart code in Qt development platform graphical user interface modules is as follows:The first step, complete setting for source code
Meter, the program segment that multi-point touch event is parsed and the parsing of multiple spot event is transmitted will be parsed and be integrated into source code;Second step, to correlation
Makefile files and Qt development platform project files modify, then recompilate Qt development platform graphical user interface
Module;3rd step, Qt is installed, completes the ring of platform graphical user interface dynamic link library file, library file and introductory path
The renewal of border variable.
Wherein, the multi-point touch drive module includes following functions unit:
Drive module registering unit, for the registration that drive module is completed in system kernel and related initial chemical industry
Make;
Operating unit is mounted, for completing the discovery of equipment and the mounting of correlation when multi-touch device connects main frame
Operation;
Data buffer storage unit, the initial data sent for order caching multi-touch device, and it is real using chained list
The data buffer storage of existing ping-pong or FIFO modes.
Event queue file generating unit, for parsing the initial data in caching, write into event queue file more
Point touch event data.
Wherein, the event queue document analysis module includes following functions unit:
Initialization unit, for completing the initialization of multiple spot event information caching and system relevant parameter;
Multiple spot recognition unit, for traveling through event queue file, identification multi-point touch event queue text under present systems
Part, to the multi-point touch event queue document definition groove association of identification and signal;
Data resolution unit, for when multi-point touch event queue file has data renewal, groove function to be adjusted by Qt platforms
With the parsing for completing multi-point touch data.
Wherein, the multiple spot event parsing transfer module includes following functions unit:
Parameter calculation unit, for being resolved to contact relevant parameter;
Condition adjudgement unit, for completing the judgement of contacts status;
Data transfer unit, for sending the multiple spot event information of present frame to upper layer application.
Specifically, the condition adjudgement unit includes following functions subelement:
Queue initialization subelement, for initializing contact buffer queue;
Contact subelement is traveled through, for traveling through the Tracking Recognition number of contact in buffer queue;
Down state judgment sub-unit, during for not having traversal to obtain the identifier inside buffer queue, new is touched
Point information adds contact buffer queue, and contacts status is set to and pressed, contact information renewal identifier set;
Contact dynamic judgment sub-unit, during for there is no traversal to obtain the identifier inside buffer queue, comparison touch points
Whether coordinate is identical with original coordinate, if it is different, contacts status is set into movement, updates coordinate information, contact information renewal
Identifier set;If identical, contacts status is set to static, contact information renewal identifier set;
Leave state judgment sub-unit, for when being judged as that down state is sentenced or after the completion of the dynamic judgement of contact, receiving
Synchronizing signal, if receiving contact information synchronous event, the Tracking Recognition number of contact in buffer queue is traveled through again, if
Contact frame synchronization event is received, then contact information renewal identifier is detected, if it find that having the contact of non-set, by the contact
State, which is set to, to be left.
Multi-touch method and system of the present invention based on acceptance of the bid kylin operating system, can make application developer not
With being concerned about low level development platform and driving the variation of layer, it need to only use Qt multi-point touch associated user graphic interface progress straight
Exploitation is connect, realizes multi-point touch function under kylin operating system of getting the bid, while reduce multi-point touch application development
Difficulty, and improve the transplantability of multi-point touch application program.
Apparatus above embodiment is one-to-one, the simple part of device embodiment with embodiment of the method, real referring to method
Apply example.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to feature in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
The scope of the present invention should be exceeded.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory, internal memory, read-only storage,
Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In the storage medium for any other forms known.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of multi-touch method based on acceptance of the bid kylin operating system, it is characterised in that described based on acceptance of the bid kylin operation
The multi-touch method of system comprises the following steps:
S1, multi-point touch drive module is incorporated into the kernel of acceptance of the bid kylin operating system, for receiving the original number of touch screen
According to, and according to Raw Data Generation event queue file;
Integration events queue file parsing module in S2, the heart code in Qt application platform graphical user interface modules, use
In in parsing of the operating system client layer completion to event queue file data;
Multiple spot event parsing transfer module is integrated in S3, the heart code in Qt application platform graphical user interface modules, is used
In the judgement that multiple spot event is completed in operating system client layer and it is communicated up function.
2. the multi-touch method according to claim 1 based on acceptance of the bid kylin operating system, it is characterised in that the step
S1 include it is following step by step:
S11, the registration of drive module and related initial work are completed in system kernel;
S12, the discovery of completion equipment and the mounting operation of correlation when multi-touch device connects main frame;
The initial data that S13, order caching multi-touch device are sent, and ping-pong or FIFO are realized using chained list
The data buffer storage of mode;
Initial data in S14, parsing caching, multi-point touch event data is write into event queue file.
3. the multi-touch method according to claim 1 based on acceptance of the bid kylin operating system, it is characterised in that the step
S2 include it is following step by step:
S21, the initialization for completing multiple spot event information caching and system relevant parameter;
S22, event queue file is traveled through under present systems, identify multi-point touch event queue file, the multiple spot of identification is touched
Control the association of event queue document definition groove and signal;
S23, when multi-point touch event queue file has data renewal, groove function by Qt platforms call complete multi-point touch data
Parsing.
4. the multi-touch method according to claim 1 based on acceptance of the bid kylin operating system, it is characterised in that the step
S3 include it is following step by step:
S31, contact relevant parameter is resolved;
S32, the judgement for completing contacts status;
S33, the multiple spot event information to upper layer application transmission present frame.
5. the multi-touch method according to claim 4 based on acceptance of the bid kylin operating system, it is characterised in that the step
S32 include it is following step by step:
S321, initialization contact buffer queue;
S322, in buffer queue travel through contact Tracking Recognition number;
S323, when not having inside buffer queue the traversal to obtain the identifier, new contact information is added into contact buffer queue,
And contacts status is set to and pressed, contact information renewal identifier set;
S324, when there is no inside buffer queue the traversal to obtain the identifier, whether comparison touch points coordinate identical with original coordinate,
If it is different, contacts status is set into movement, coordinate information, contact information renewal identifier set are updated;If identical, will touch
Dotted state is set to static, contact information renewal identifier set;
S325, when being judged as that down state is sentenced or after the completion of the dynamic judgement of contact, synchronizing signal is received, if receiving contact
Synchronizing information event, then the Tracking Recognition number of contact in buffer queue is traveled through again, if receiving contact frame synchronization event,
Contact information renewal identifier is detected, if it find that there is the contact of non-set, the contacts status is set to and left;
S326, by the information transfers such as all current contact coordinates and state to Qt upper stratas, by the contact of all leave states
Deleted from the buffer queue of contact, and all contact information renewal identifiers are resetted, then traveled through again in buffer queue
The Tracking Recognition number of contact.
6. a kind of multi-touch system based on acceptance of the bid kylin operating system, it is characterised in that described based on acceptance of the bid kylin operation
The multi-touch system of system includes multi-point touch drive module, event queue document analysis module and the parsing of multiple spot event and passed
Pass module;
The multi-point touch drive module is incorporated into the kernel of acceptance of the bid kylin operating system, for receiving the original number of touch screen
According to, and according to Raw Data Generation event queue file;
The event queue document analysis module is integrated in the heart code in Qt application platform graphical user interface modules, is used
In in parsing of the operating system client layer completion to event queue file data;
The multiple spot event parsing transfer module is integrated in the heart code in Qt application platform graphical user interface modules, is used
In the judgement that multiple spot event is completed in operating system client layer and it is communicated up function.
7. the multi-touch method according to claim 6 based on acceptance of the bid kylin operating system, it is characterised in that the multiple spot
Touch-control drive module includes following functions unit:
Drive module registering unit, for completing the registration of drive module and related initial work in system kernel;
Operating unit is mounted, for completing the discovery of equipment and the mounting behaviour of correlation when multi-touch device connects main frame
Make;
Data buffer storage unit, the initial data sent for order caching multi-touch device, and table tennis is realized using chained list
The data buffer storage of pang mode or FIFO modes.
Event queue file generating unit, for parsing the initial data in caching, into event queue file, write-in multiple spot touches
Control event data.
8. the multi-touch method according to claim 6 based on acceptance of the bid kylin operating system, it is characterised in that the event
Queue file's parsing module includes following functions unit:
Initialization unit, for completing the initialization of multiple spot event information caching and system relevant parameter;
Multiple spot recognition unit, for traveling through event queue file under present systems, multi-point touch event queue file is identified, it is right
The multi-point touch event queue document definition groove association of identification and signal;
Data resolution unit, for when multi-point touch event queue file has data renewal, groove function have been called by Qt platforms
Into the parsing of multi-point touch data.
9. the multi-touch method according to claim 6 based on acceptance of the bid kylin operating system, it is characterised in that the multiple spot
Event parsing transfer module includes following functions unit:
Parameter calculation unit, for being resolved to contact relevant parameter;
Condition adjudgement unit, for completing the judgement of contacts status;
Data transfer unit, for sending the multiple spot event information of present frame to upper layer application.
10. the multi-touch method according to claim 9 based on acceptance of the bid kylin operating system, it is characterised in that the shape
State judging unit includes following functions subelement:
Queue initialization subelement, for initializing contact buffer queue;
Contact subelement is traveled through, for traveling through the Tracking Recognition number of contact in buffer queue;
Down state judgment sub-unit, during for not having traversal to obtain the identifier inside buffer queue, new contact is believed
Breath adds contact buffer queue, and contacts status is set to and pressed, contact information renewal identifier set;
Contact dynamic judgment sub-unit, during for there is no traversal to obtain the identifier inside buffer queue, comparison touch points coordinate
It is whether identical with original coordinate, if it is different, contacts status is set into movement, update coordinate information, contact information renewal mark
Accord with set;If identical, contacts status is set to static, contact information renewal identifier set;
Leave state judgment sub-unit, for when being judged as that down state is sentenced or after the completion of the dynamic judgement of contact, receiving synchronous
Signal, if receiving contact information synchronous event, the Tracking Recognition number of contact in buffer queue is traveled through again, if received
To contact frame synchronization event, then contact information renewal identifier is detected, if it find that having the contact of non-set, by the contacts status
It is set to and leaves.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710967058.7A CN107728841B (en) | 2017-10-17 | 2017-10-17 | Multi-point touch method and system based on bid-winning kylin operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710967058.7A CN107728841B (en) | 2017-10-17 | 2017-10-17 | Multi-point touch method and system based on bid-winning kylin operating system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107728841A true CN107728841A (en) | 2018-02-23 |
CN107728841B CN107728841B (en) | 2021-04-09 |
Family
ID=61211723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710967058.7A Active CN107728841B (en) | 2017-10-17 | 2017-10-17 | Multi-point touch method and system based on bid-winning kylin operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107728841B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817783A (en) * | 2021-03-04 | 2021-05-18 | 中国人民解放军国防科技大学 | Implementation method of digital wrist type terminal system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101893959A (en) * | 2010-06-22 | 2010-11-24 | 中科方德软件有限公司 | Method for implementing touch direction identification in linux kernel |
CN101963857A (en) * | 2009-07-22 | 2011-02-02 | 义隆电子股份有限公司 | Touch device, control method and control unit for multi-touch environment |
CN102419650A (en) * | 2011-05-06 | 2012-04-18 | 北京汇冠新技术股份有限公司 | Multi-point touch control realization method and system |
CN102929429A (en) * | 2012-10-12 | 2013-02-13 | 深圳锐取信息技术股份有限公司 | Method for realizing multi-point touch based on advanced reduced instruction set computer (RISC) machines (ARM) by using QT graphics development platform |
US20130106754A1 (en) * | 2009-05-11 | 2013-05-02 | Adobe Systems Incorporated | Determining when a touch is processed as a mouse event |
CN106775087A (en) * | 2016-12-16 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of touch-screen control method of mobile terminal, device and mobile terminal |
CN106896956A (en) * | 2017-01-18 | 2017-06-27 | 长沙湘计海盾科技有限公司 | The implementation method of multi-point touch under a kind of " road " system |
-
2017
- 2017-10-17 CN CN201710967058.7A patent/CN107728841B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130106754A1 (en) * | 2009-05-11 | 2013-05-02 | Adobe Systems Incorporated | Determining when a touch is processed as a mouse event |
CN101963857A (en) * | 2009-07-22 | 2011-02-02 | 义隆电子股份有限公司 | Touch device, control method and control unit for multi-touch environment |
CN101893959A (en) * | 2010-06-22 | 2010-11-24 | 中科方德软件有限公司 | Method for implementing touch direction identification in linux kernel |
CN102419650A (en) * | 2011-05-06 | 2012-04-18 | 北京汇冠新技术股份有限公司 | Multi-point touch control realization method and system |
CN102929429A (en) * | 2012-10-12 | 2013-02-13 | 深圳锐取信息技术股份有限公司 | Method for realizing multi-point touch based on advanced reduced instruction set computer (RISC) machines (ARM) by using QT graphics development platform |
CN106775087A (en) * | 2016-12-16 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of touch-screen control method of mobile terminal, device and mobile terminal |
CN106896956A (en) * | 2017-01-18 | 2017-06-27 | 长沙湘计海盾科技有限公司 | The implementation method of multi-point touch under a kind of " road " system |
Non-Patent Citations (2)
Title |
---|
CSLUNATIC: "基于Qt,TUIO和TSLIB的嵌入式Linux下的多点触摸设计", 《HTTPS://WWW.CNBLOGS.COM/CSLUNATIC/P/4618743.HTML》 * |
熊隆: "基于Linux操作系统的多点触摸系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科学辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112817783A (en) * | 2021-03-04 | 2021-05-18 | 中国人民解放军国防科技大学 | Implementation method of digital wrist type terminal system |
CN112817783B (en) * | 2021-03-04 | 2023-06-23 | 中国人民解放军国防科技大学 | Method for realizing digital wrist type terminal system |
Also Published As
Publication number | Publication date |
---|---|
CN107728841B (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103492978B (en) | Touch support for remoted applications | |
CN101790715B (en) | Touch event model programming interface | |
EP2950203B1 (en) | Application scenario identification method, power consumption management method and apparatus and terminal device | |
US9189147B2 (en) | Ink lag compensation techniques | |
CN101727274B (en) | Method, system and graphical user interface for enabling a user to access enterprise data on a portable electronic device | |
US8648809B2 (en) | Reconfiguration of virtual keyboard | |
US8640034B2 (en) | Remote GUI control by replication of local interactions | |
US20140089824A1 (en) | Systems And Methods For Dynamically Altering A User Interface Based On User Interface Actions | |
CN104808942A (en) | Touch Event Processing for Web Pages | |
CN103150109A (en) | Touch event model for web pages | |
US20210256077A1 (en) | Methods, devices and computer-readable storage media for processing a hosted application | |
US9632693B2 (en) | Translation of touch input into local input based on a translation profile for an application | |
US9229552B2 (en) | System and method for synchronized operation of touch device | |
JP2013175242A (en) | Method system and software for providing image sensor based human machine interfacing | |
US20180164912A1 (en) | Simulating multi-touch events on a browser system | |
CN107577415A (en) | Touch operation response method and device | |
CN107608550A (en) | Touch operation response method and device | |
CN107608551A (en) | Touch operation response method and device | |
CN111078104A (en) | Redirection method of multi-point touch equipment on cloud desktop and computer equipment | |
CN105630366A (en) | Method and apparatus for displaying object information in screen display device | |
CN107728841A (en) | Multi-touch method and system based on acceptance of the bid kylin operating system | |
CN104024991A (en) | Supporting different event models using single input source | |
CN105760077A (en) | Game control method and device | |
KR101925953B1 (en) | Method, terminal and web server for providing text editing function | |
CN104025008A (en) | Enabling performant cascading operations |
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 |