CN102789336A - Multi-screen splicing touch control method and system - Google Patents

Multi-screen splicing touch control method and system Download PDF

Info

Publication number
CN102789336A
CN102789336A CN2012102452733A CN201210245273A CN102789336A CN 102789336 A CN102789336 A CN 102789336A CN 2012102452733 A CN2012102452733 A CN 2012102452733A CN 201210245273 A CN201210245273 A CN 201210245273A CN 102789336 A CN102789336 A CN 102789336A
Authority
CN
China
Prior art keywords
data
touch
screen
whole
frame
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
Application number
CN2012102452733A
Other languages
Chinese (zh)
Other versions
CN102789336B (en
Inventor
曾平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Group Co 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 CN201210245273.3A priority Critical patent/CN102789336B/en
Publication of CN102789336A publication Critical patent/CN102789336A/en
Application granted granted Critical
Publication of CN102789336B publication Critical patent/CN102789336B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a multi-screen splicing touch control method and a system. The method comprises the following steps of: respectively reading the data of each touch screen in an asynchronous callback manner and obtaining whole-frame data through respectively carrying out packet head analysis on the data of each touch screen in the process of reading the data of each touch screen; after the whole-frame data is obtained, obtaining data volume stored in a data buffer area corresponding to the touch screen corresponding to the whole-frame data, comparing the data volume stored in the data buffer area with a preset buffer area threshold value, deleting the whole-frame data of a corresponding data buffer area queue head if the data volume is larger than or equal to the buffer area threshold value and storing the currently-obtained whole-frame data into a data buffer area queue tail; directly storing the currently-obtained whole-frame data into the data buffer area queue tail if the data volume is less than the buffer area threshold value; and respectively reading and processing the one-frame data of the data buffer area queue head on each touch screen every a preset time. The invention can solve the problems of touch time delay caused by data asynchronization and touch interrupt caused by discontinuity.

Description

Multi-screen splicing touch control method and system
Technical field
The present invention relates to the touch technology field, particularly a kind of multi-screen splicing touch control method and system.
Background technology
Along with the high speed development of infotech, touch technology has been widely used in all trades and professions, and it provides a kind of novel man-machine interaction mode, is user's bringing great convenience property of operation, has caused the new change of man-machine interaction.
At present, in the middle of the touch-control product of main flow, mobile phone for example, PAD; PC etc. generally are to use based on the touch of single touch-screen, and because there is certain restriction in used touch technology on the size of touch-screen; Can't accomplish that the touch-control of big molded dimension uses, yet along with the diversification of application market, based on the application demand of all trades and professions; Undersized touch-screen can't satisfy the growing demand of user, therefore how to realize the splicing of many touch-screens, becomes urgent day by day.Be suitable in the multi-screen splicing touching technique current; Mainly be present in infrared location technology and optical alignment technology, contrast two kinds of technology, there is no size restrictions in the optical alignment technology; More accurate positioning; Multiple spot more is prone to characteristics such as realization, and is adopted by most the admittance, thus the touch market of having opened up large screen splicing.
In the multi-screen splicing touch system of existing optical alignment; Positioning principle is following: lower limb equipment infrared laser source on combination, let its horizontal dispersion be covered with whole screen, on the front end hardware module at the DLP of each display unit (Digital Light Procession; The digital light processing) the corresponding signal-processing board that is equipped with on the ray machine; Be equipped with the optical lens of a band infrared fileter on each signal-processing board,, make it to clap complete corresponding with it whole display unit the alignment lens display unit; Signal-processing board carries out binary conversion treatment to the display unit image that photographs in real time subsequently; And go up touch point position to determine display unit screen through calculated for pixel values, and outwards send touch data through the serial interface on the signal-processing board again, connect every at PC processor end through Serial Port Line on the back-end software processing module and handle integrated circuit board; And drive the bottom layer realization human-computer interaction device data are unified to read analyzing and processing; And realizing the filtration, optimization, tracking, state exchange etc. of data, the actual touch data are sent to system layer the most at last, thereby realize the touch controllable function of total system.
Yet, carry out reading of data when handling actual, all separate active carries out because the touch data of each display unit sends; Therefore then need respectively each serial data to be carried out independent processing at the PC drive end, analyze, confirm the size of data that next need read through packet header; Up to reading a complete touch information, just can carry out touch data analyzing and processing afterwards, so respectively the serial data of each display unit is being read when handling; Will form whole mosaic screen asynchronous on data processing; And along with the increase of splicing size, display unit number, serial ports number be also with corresponding increase, and the appearance of this type of phenomenon will be all the more thereupon obviously; Thereby will have a strong impact on last touch effect, such as touching time-delay, jump point, writing phenomenon such as get lines crossed.
Summary of the invention
Based on this, being necessary provides a kind of multi-screen splicing touch control method and system to the problem of the asynchronous touch time-delay that causes of many touch screen data with the discontinuous touch interruption that causes.
The object of the invention is realized through following scheme:
A kind of multi-screen splicing touch control method comprises the steps:
Read the data of each touch-screen respectively through the mode of asynchronous readjustment, in reading the data procedures of each touch-screen, obtain whole frame data through the data of each touch-screen being carried out the packet header analysis respectively;
After getting access to whole frame data; Obtain the corresponding data buffer zone canned data amount of touch-screen to putting in order frame data; This data buffer zone canned data amount and preset buffer threshold are compared; If then delete the whole frame data of corresponding data buffer zone head of the queue more than or equal to buffer threshold; And deposit the current whole frame data that get access in the data buffer zone tail of the queue, if then directly deposit the current whole frame data that get access in the data buffer zone tail of the queue less than buffer threshold;
Every respectively frame data of the head of the queue of the data buffer of each touch-screen read and handle at a distance from Preset Time.
A kind of multi-screen splicing touch-control system comprises:
Asynchronous callback module is used for reading through the mode of asynchronous readjustment respectively the data of each touch-screen;
The touch screen data analysis module, the packet header analytic unit that comprises, first comparing unit, buffer control unit, wherein:
The data procedures that said packet header analytic unit is used for reading each touch-screen in asynchronous callback module is analyzed and is obtained whole frame data through the data of each touch-screen being carried out packet header respectively; After getting access to whole frame data; Obtain the corresponding data buffer canned data amount of touch-screen to putting in order frame data; And the data buffer canned data amount of obtaining is transferred to said first comparing unit
Said first comparing unit is used for data buffer canned data amount and preset buffer threshold are compared,
It is that current buffer zone canned data amount is during more than or equal to buffer threshold that said buffer control unit is used for comparative result when said first comparing unit; Delete the whole frame data of corresponding buffer zone head of the queue; And deposit the current whole frame data that get access in the data buffer tail of the queue; When the comparative result of said first comparing unit is a buffer zone canned data amount during less than buffer threshold, directly deposit the current whole frame data that get access in the data buffer tail of the queue;
Whole screen data analysis module is used for whenever respectively frame data of the head of the queue of the data buffer of each touch-screen being read and handling at a distance from Preset Time.
According to the scheme of the invention described above, read the data of each touch-screen through the mode of asynchronous readjustment, make the reading independently of data of each touch-screen carry out; Do not exist the mutual wait phenomenon that causes because of packet header is asynchronous to cause the time-delay of touch each other, deposit the data of each touch-screen in corresponding buffer zone, read processing through separate threads; Make the touch data of each screen can be integrated into current whole screen touch data, reach touch synchronously, avoid jumping a little; The generation of getting lines crossed; The max cap. of data buffer is set, can guarantees as far as possible that the current data that are processed are the most real-time, when buffer pool size is full; In time reject the untreated touch data that relatively lags behind, thereby reduce the time-delay that touches.
Description of drawings
Fig. 1 is the process flow diagram of multi-screen splicing touch control method embodiment of the present invention;
Fig. 2 is the structured flowchart of multi-screen splicing touch-control system embodiment of the present invention;
Fig. 3 is the structured flowchart of touch screen data analysis module first embodiment among Fig. 2;
Fig. 4 is the structured flowchart of touch screen data analysis module second embodiment among Fig. 2;
Fig. 5 is the structured flowchart of whole screen data analysis module embodiment among Fig. 2.
Embodiment
Below in conjunction with embodiment and accompanying drawing the present invention is elaborated, but embodiment of the present invention is not limited thereto.
Embodiment 1
Referring to shown in Figure 1, as shown in Figure 1 for the process flow diagram of multi-screen splicing touch control method embodiment of the present invention, the multi-screen splicing touch control method among this embodiment comprises the steps:
Step S101: read the data of each touch-screen respectively through the mode of asynchronous readjustment, in reading the data procedures of each touch-screen, obtain whole frame data through the data of each touch-screen being carried out the packet header analysis respectively, get into step S102;
Step S102: after getting access to whole frame data; Obtain the corresponding data buffer zone canned data amount of touch-screen to putting in order frame data; This data buffer zone canned data amount and preset buffer threshold are compared; If then delete the whole frame data of corresponding data buffer zone head of the queue more than or equal to buffer threshold; And deposit the current whole frame data that get access in the data buffer zone tail of the queue; If then directly deposit the current whole frame data that get access in the data buffer zone tail of the queue, get into step S103 less than buffer threshold;
Step S103: every respectively frame data of the head of the queue of the data buffer of each touch-screen read and handle at a distance from Preset Time.
According to the scheme of the invention described above, read the data of each touch-screen through the mode of asynchronous readjustment, make the reading independently of data of each touch-screen carry out; Do not exist the mutual wait phenomenon that causes because of packet header is asynchronous to cause the time-delay of touch each other, deposit the data of each touch-screen in corresponding buffer zone, read processing through separate threads; Make the touch data of each screen can be integrated into current whole screen touch data, reach touch synchronously, avoid jumping a little; The generation of getting lines crossed; The max cap. of data buffer is set, can guarantees as far as possible that the current data that are processed are the most real-time, when buffer pool size is full; In time reject the untreated touch data that relatively lags behind, thereby reduce the time-delay that touches.
In order better to understand the scheme of present embodiment, be discussed in more detail above-mentioned each step below:
Read the data of each touch-screen respectively through the mode of asynchronous readjustment; In actual mechanical process; Asynchronous data can be set respectively through the serial ports that each touch-screen is connected to be read and respectively the data of each touch-screen is carried out data behind the readjustment and read; Make the reading independently of data of each touch-screen carry out, do not exist the mutual wait phenomenon that causes because of packet header is asynchronous to cause the time-delay of touch each other;
Obtain whole frame data through the data of each touch-screen being carried out the packet header analysis respectively; Be to judge whether the current byte data that reads is the packet header sign indicating number; Be then disposablely to read ensuing whole frame touch data, otherwise continue to read next byte data that circulation is up to reading the packet header sign indicating number; Accomplish obtaining of whole frame data, can guarantee to get access to whole frame data like this; The corresponding data buffer canned data amount of obtaining putting in order frame data of touch-screen is the following current whole frame data that get access in order to judge whether this data buffer can also store; If the current whole frame data that get access to of insufficient memory storage are then deleted the whole frame data of corresponding buffer zone head of the queue; And deposit the current whole frame data that get access in the buffer zone tail of the queue; If storage space is enough stored the current whole frame data that get access to and is then directly deposited the current whole frame data that get access in the buffer zone tail of the queue; Whole frame data that buffer zone can only memory limited like this and in real-time update, the data that can guarantee buffer stores are the most real-time data;
Every " Preset Time " in Preset Time reads frame data of the head of the queue of the current buffer zone of each touch-screen respectively can be set according to actual conditions; Like 10ms; Simultaneously; Handle through separate threads at frame data of the head of the queue of the current buffer zone that reads each touch-screen, can reach like this and touch synchronously, avoid the generation of jumping point, getting lines crossed.
Because the surface laser source generally all is to need to regulate dispersion angle through the physics regulator; Therefore be difficult to be adjusted to the even layout of complete level; Cause the discontinuous of touch data because of laser is out-of-level so will there be the subregion; Thereby will influence the touch effect, move phenomenons such as interrupting, write disconnected pen such as pulling, for good head it off; Therein among embodiment, in step S102, get access to behind the whole frame data and obtain comprising the steps: between the corresponding data buffer canned data amount of the touch-screen that should put in order frame data
Step S102a: analyze in the whole frame data that get access to whether comprise the touch point data; If do not comprise the touch point data; Get into step S102b; If comprise the touch point data; Get into step S102c, wherein, whether comprise the touch point data in the whole frame data that analysis gets access to and to adopt prior art; As the pixel value in the whole frame data of each touch-screen is carried out binary conversion treatment, do not repeat them here;
Step S102b: the corresponding current data offset of touch-screen that obtains the corresponding current whole frame data that get access to; And this compensation data value and predefined compensation threshold value compared; If be less than or equal to the compensation threshold value, then the current data offset is being carried out after increasing, obtain next whole frame data; If greater than the compensation threshold value, then obtain corresponding data buffer zone canned data amount and step afterwards among the execution in step S102;
If comprise the touch point data, then the compensation data value is reset to after zero and then obtain corresponding data buffer zone canned data amount and step afterwards among the execution in step S102.
Therein among embodiment, head of the queue one frame data to the current buffer zone of each touch-screen of reading among the above-mentioned steps S103 are handled specifically and can be comprised the steps:
Step S103a: based on the resolution ratio of the display unit of each touch-screen of combination; Head of the queue one frame data of the current buffering area of each touch-screen of reading are changed the touch data that obtains the whole screen of present frame through screen coordinate; Get into step S103b; Wherein, The touch data that data through each touch-screen obtain whole screen can adopt prior art, does not repeat them here;
Step S103b: present frame whole screen touch data and the whole screen of former frame touch data are compared; Analyze the state value that rises and falls of each touch point; And each touch point followed the tracks of and upgrade, comprise that the touch point what kind of has taken place moved and touch point etc. whether occurs and get into step S103c;
Step S103c: storage is also upgraded the whole screen of present frame touch data; Take this step to be because step S103b needs present frame whole screen touch data and the whole screen of former frame touch data to compare; Each storage is also upgraded the whole screen of present frame touch data, and then the whole screen of present frame touch data just has been the whole screen of the former frame touch data of the whole screen of frame touch data thereafter.
Therein among embodiment, among the step S103b to following the tracks of and upgrade and can comprise the steps: in each touch point
The distance between the corresponding touch point in the touch data is shielded with former frame is whole in the touch point in the whole screen of the calculating present frame touch data, and this distance and distance threshold are compared; If be less than or equal to distance threshold, then upgrade touch point position, just the distance between former and later two touch points hour can think that these two touch points are continuous, new landing do not occur; If greater than distance threshold, then touch point in the whole screen of the present frame touch data is identified as new drop point.
Carrying out data when reading, the time of the data packet head of each touch-screen that reads through each serial ports is asynchronous, may have the gap of quite a few frame data between the two; So the capacity of buffer zone is set, promptly the maximum storage data volume of buffer zone has practical meaning; The capacity of general data buffer zone can be selected the 2-3 frame for use, and the meaning of design compensation value is possibly be mingled with in the timely deal with data abnormal frame data of existence, interrupts and cause touching; For example disconnected etc., the compensation threshold value should not be established greatly, is traditionally arranged to be the 2-3 frame; Then remove abnormal frame within the compensation threshold value; Fill up normal frame data, then abandon compensation outside the offset, directly be used as normal frame and handle.
Embodiment 2
Multi-screen splicing touch control method according to the invention described above; The present invention also provides a kind of multi-screen splicing touch-control system, referring to shown in Figure 2, and multi-screen splicing touch-control system of the present invention; Comprise: asynchronous callback module 201, touch screen data analysis module 202, whole screen data analysis module 203, wherein:
Asynchronous callback module 201; Be used for reading by the mode of asynchronous readjustment respectively the data of each touch-screen; Wherein, In actual mechanical process; Asynchronous data can be set respectively by the serial ports that each touch-screen is connected to be read and respectively the data of each touch-screen is carried out data behind the readjustment and read; Make each touch-screen data read separate carrying out, do not exist the mutual wait phenomenon that causes because of packet header is asynchronous to cause the time-delay of touch each other;
Touch screen data analysis module 202, as shown in Figure 3, comprise packet header analytic unit 301, first comparing unit 302, buffer control unit 303, wherein:
The data procedures that packet header analytic unit 301 is used for reading each touch-screen in asynchronous callback module 201 is analyzed and is obtained whole frame data through the data of each touch-screen being carried out packet header respectively; After getting access to whole frame data, obtain the corresponding data buffer canned data amount of touch-screen, and the data buffer canned data amount of obtaining is transferred to said first comparing unit 302 putting in order frame data; Wherein, Obtaining whole frame data through the data of each touch-screen being carried out the packet header analysis respectively, is to judge whether the current byte data that reads is the packet header sign indicating number, is the then disposable ensuing whole frame touch data that reads; Otherwise continue to read next byte data; Circulation is accomplished obtaining of whole frame data up to reading the packet header sign indicating number, can guarantee to get access to whole frame data like this; The corresponding data buffer canned data amount of obtaining putting in order frame data of touch-screen is to judge the following current whole frame data that get access to whether this data buffer can also store for said first comparing unit 302,
First comparing unit 302 is used for data buffer canned data amount and preset buffer threshold are compared,
It is that current buffer zone canned data amount is during more than or equal to buffer threshold that buffer control unit 303 is used for comparative result when first comparing unit 302; Delete the whole frame data of corresponding buffer zone head of the queue; And deposit the current whole frame data that get access in the data buffer tail of the queue; When the comparative result of first comparing unit 302 is that buffer zone canned data amount is during less than buffer threshold; Directly deposit the current whole frame data that get access in the data buffer tail of the queue, whole frame data that buffer zone can only memory limited like this and in real-time update, the data that can guarantee buffer stores are the most real-time data;
Whole screen data analysis module 203 is used for whenever respectively frame data of the head of the queue of the data buffer of each touch-screen being read and handling at a distance from Preset Time, and wherein, Preset Time can be set according to actual conditions; Like 10ms; Simultaneously, handle through separate threads, can reach like this and touch synchronously at frame data of the head of the queue of the current buffer zone that reads each touch-screen; Avoid jumping some the generation of getting lines crossed.
According to the scheme of the invention described above, read the data of each touch-screen through the mode of asynchronous readjustment, make the reading independently of data of each touch-screen carry out; Do not exist the mutual wait phenomenon that causes because of packet header is asynchronous to cause the time-delay of touch each other, deposit the data of each touch-screen in corresponding buffer zone, read processing through separate threads; Make the touch data of each screen can be integrated into current whole screen touch data, reach touch synchronously, avoid jumping a little; The generation of getting lines crossed; The data buffer threshold value is set, can guarantees as far as possible that the current data that are processed are the most real-time, when buffer pool size is full; In time reject the untreated touch data that relatively lags behind, thereby reduce the time-delay that touches.
Because the surface laser source generally all is to need to regulate dispersion angle through the physics regulator; Therefore be difficult to be adjusted to the even layout of complete level; So will exist the subregion to cause the discontinuous of touch data because of laser is out-of-level, thereby will influence the touch effect, move phenomenons such as interrupting, write disconnected pen such as pulling; For good head it off; Among embodiment, as shown in Figure 4 therein, touch screen data analysis module 202 can also comprise judging unit 304 and compensating unit 305:
Judging unit 304; Be used for analyzing the whole frame data that get access to and whether comprise the touch point data; Wherein, Whether comprise the touch point data in the whole frame data that analysis gets access to and to adopt prior art,, do not repeat them here as the pixel value in the whole frame data of each touch-screen is carried out binary conversion treatment;
Compensating unit 305 is used in the result of determination of judging unit 304 when not comprising the touch point data; Obtain current compensation data value; And compensation data value of obtaining and predefined compensation threshold value compared; If be less than or equal to the compensation threshold value; Then the data offset is carried out sending the instruction of obtaining the next frame data from increasing the back to packet header analytic unit 301,, then send and obtain data buffer canned data amount instruction to packet header analytic unit 301 if greater than the compensation threshold value;, the compensation data value is reset to zero back send to packet header analytic unit 301 and obtain data buffer canned data amount instruction when not comprising the touch point data in the result of determination of judging unit 304;
Correspondingly; Packet header analytic unit 301 also is used for after receiving the instruction of obtaining the next frame data, touch screen data is carried out packet header analyze, after getting access to next whole frame data; The whole frame data that obtain are transferred to 304 judging units; Packet header analytic unit 301 also is used for after obtaining data buffer canned data amount instruction, obtain the current buffer zone canned data amount of corresponding touch-screen, and the current buffer zone canned data amount that will obtain being transferred to first comparing unit 302.
Among embodiment, as shown in Figure 5 therein, whole screen data analysis module 203 can comprise that specifically whole screen data obtain unit 401, second comparing unit 402, storage unit 403, wherein:
Whole screen data obtain unit 401, are used for the resolution according to the display unit of each touch-screen of combination, and head of the queue one frame data of the current buffer zone of each touch-screen that reads are changed the touch data that obtains the whole screen of present frame through screen coordinate;
Second comparing unit 402 is used for the whole screen of present frame touch data and the whole screen of former frame touch data are compared, and analyzes the state value that rises and falls of each touch point, and to each touch point follow the tracks of with upgrade after with the whole data storing of shielding of present frame to storage unit;
Storage unit 403, storage is also upgraded the whole screen of present frame data, and wherein each storage is also upgraded the whole screen of present frame touch data, and then the whole screen of present frame touch data just has been the whole screen of the former frame touch data of the whole screen of frame touch data thereafter.
Therein among embodiment; Provided and a kind ofly specifically distinguished new drop point or the mode that touches continuously, be specially second comparing unit 402 and calculate in the whole screen of the present frames touch data distance between the touch point in the touch point and the whole screen of former frame touch data, and this distance and distance threshold are compared through second comparing unit 402; If be less than or equal to distance threshold; Then upgrade touch point position,, then touch point in the whole screen of the frame touch data is identified as a new drop point if greater than distance threshold.
Carrying out data when reading, the time of the data packet head of each touch-screen that reads through each serial ports is asynchronous, may have the gap of quite a few frame data between the two; So the capacity of buffer zone is set, promptly the maximum storage data volume of buffer zone has practical meaning; The capacity of general data buffer zone can be selected the 2-3 frame for use, and the meaning of design compensation value is possibly be mingled with in the timely deal with data abnormal frame data of existence, interrupts and cause touching; For example disconnected etc., the compensation threshold value should not be established greatly, is traditionally arranged to be the 2-3 frame; Then remove abnormal frame within the compensation threshold value; Fill up normal frame data, then abandon compensation outside the offset, directly be used as normal frame and handle.
Embodiment 3
In order further to understand scheme of the present invention, specifically be exemplified as example with one below the present invention is set forth, but the invention is not restricted to the scheme in the present embodiment.Multi-screen touch control method in the present embodiment comprises the steps:
(1) creates driver on the bottom layer driving layer architecture based on HID (Human Interface Device, human interface device) equipment;
(2) during the driver initialization; The parameter of carrying out registration table earlier reads; Read the line number of combination, the columns of combination, display unit resolution, the serial equipment name that each combination is corresponding, read successfully continued and carry out (3) step, read failure and then directly return error code;
(3) line number of creating combination in the driver multiply by a columns serial equipment operand of combination and the data buffering chained list, synchrolock, compensation data count value etc. of correspondence with it; Create successful continued and carry out (4) step, create failure and then directly return error code;
(4) normally start in the call back function at the driving arrangement power supply; Judge by the open mode flag whether serial equipment is opened; Be all serial equipment parameters of then initialization; Comprise baud rate, data bit, position of rest etc.; Otherwise directly return; This step guarantees that data read the energy operate as normal when power supply during from sleep state to normal operating conditions;
(5) report message is read in processing in the device control readjustment;
(6) in reading report message processing function; Through the serial equipment name that registration table reads, open each touch panel device successively, successful then the open mode flag is set; And all serial equipment parameters of initialization; Comprise baud rate, data bit, position of rest etc., and proceed step (7), the then direct error code of failure.
(7) treat that step (6) completes successfully after, create the system works thread, successful then continue in order to follow-up data sync integrated operation of carrying out, fail and then directly return error code;
(8) treat that step (7) completes successfully after, according to the serial equipment number, successively serial equipment is carried out asynchronous data and reads, and corresponding each data call back function is set;
(9) in each data call back function, the data that read being carried out packet header analyzes; Judge whether to be the packet header sign indicating number, be then disposablely to read ensuing whole frame touch data, otherwise continue to read next byte data; Circulation is accomplished reading of whole frame data up to reading the packet header sign indicating number;
(10) after the whole frame data of completion read, analyze and whether to have the touch point in the whole frame data, if there is not the touch point in the data; Then the size of comparing data compensating gage numerical value and compensation threshold value if compensating gage numerical value is less than or equal to the compensation threshold value, then increases 1 with count value; Proceed to connect down operation, if compensating gage numerical value, then reduces count value and composes 0 during threshold value greater than compensation; Return (9) step; If there is the touch point in the data, then judge the size (be corresponding embodiment 1 with embodiment 2 in data buffer canned data amount) of corresponding current data buffering chained list, if data buffering chain table size is more than or equal to preset buffer threshold then delete the chained list header data; And at the new touch data of chained list afterbody insertion; If the data link table size less than preset buffer threshold, is then directly inserted new touch data at the chained list afterbody, proceed step (11).
(11) in the system thread that step (7) is created, set waiting-timeout 10ms and then carry out a touch data processing operation;
(12) each touch-screen touch data buffering chained list of traversal queries; Take out touch data information successively; And, deposit it in touch data Processing Structure array through after the coordinate conversion of different screen, integrate to constitute and put in order the screen touch data; It is synchronous to make it to reach full frame touch data, so that next carry out data tracking and the processing of various touch condition.
(13) through the whole screen of contrast present frame touch data and the whole touch data that shields of previous frame, obtaining whether there is the dot information that rises and falls, is then to touch point rise and fall status indicator and assignment; Otherwise carry out the tracking of touch point, compare through the distance between the two frame touch points before and after calculating and with the predeterminable range threshold values, if smaller or equal to this apart from threshold values; Then upgrade touch point position; If apart from threshold values, then be identified as new drop point greater than this, the sign that assignment is new and the state that rises and falls.
(14) accomplishing touch point sign size sorts to current whole screen touch data structural array; The touch data structure that is designated starting point is rejected array; Then remaining data are deposited in and drive in the context buffer zone; When handling, desired data in (13) step is provided to get the whole screen of frame touch data ready.
(15) the touch data structural array that will accomplish processing is at last carried out the package of HID form to it, and is delivered toward the upper strata again through after the system coordinates conversion, has promptly accomplished the treatment scheme of the whole screen of single frames data.
(16) continue afterwards circular treatment from step (5) to step (15), promptly realized the touch function of multi-screen splicing wall.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.

Claims (10)

1. a multi-screen splicing touch control method is characterized in that, comprises the steps:
Read the data of each touch-screen respectively through the mode of asynchronous readjustment, in reading the data procedures of each touch-screen, obtain whole frame data through the data of each touch-screen being carried out the packet header analysis respectively;
After getting access to whole frame data; Obtain the corresponding data buffer zone canned data amount of touch-screen to putting in order frame data; This data buffer zone canned data amount and preset buffer threshold are compared; If then delete the whole frame data of corresponding data buffer zone head of the queue more than or equal to buffer threshold; And deposit the current whole frame data that get access in the data buffer zone tail of the queue, if then directly deposit the current whole frame data that get access in the data buffer zone tail of the queue less than buffer threshold;
Every respectively frame data of the head of the queue of the data buffer of each touch-screen read and handle at a distance from Preset Time.
2. multi-screen splicing touch control method according to claim 1 is characterized in that, said get access to whole frame data after, in the said step that also comprises before obtaining the data buffer canned data amount corresponding to the touch-screen that should put in order frame data:
Whether comprise the touch point data in the whole frame data that analysis gets access to;
If do not comprise the touch point data; Then obtain the corresponding current data offset of touch-screen of the corresponding current whole frame data that get access to; And this compensation data value and predefined compensation threshold value compared; If be less than or equal to the compensation threshold value; Then the current data offset is being carried out after increasing; Obtain next whole frame data,, then carry out the corresponding data buffer zone canned data amount step of obtaining putting in order frame data of touch-screen if greater than the compensation threshold value;
If comprise the touch point data, then the compensation data value is reset to zero back and carry out the corresponding data buffer canned data amount step of obtaining putting in order frame data of touch-screen.
3. multi-screen splicing touch control method according to claim 1 is characterized in that, said respectively frame data of the head of the queue of the current buffer zone of each touch-screen being read comprises the steps:
According to the resolution of the display unit of each touch-screen of combination, head of the queue one frame data of the current buffer zone of each touch-screen that reads are changed obtaining the whole screen of present frame touch data through screen coordinate;
The whole screen of present frame touch data and the whole screen of former frame touch data are compared, analyze the state value that rises and falls of each touch point, and to following the tracks of and upgrade in each touch point;
Storage is also upgraded the whole screen of present frame touch data.
4. multi-screen splicing touch control method according to claim 3 is characterized in that, and is said and each touch point followed the tracks of with renewal comprise the steps:
The distance between the corresponding touch point in the touch data is shielded with former frame is whole in the touch point in the whole screen of the calculating present frame touch data, and this distance and distance threshold are compared;
If be less than or equal to distance threshold, then upgrade touch point position;
If greater than distance threshold, then touch point in the whole screen of the present frame touch data is identified as new drop point.
5. according to the described multi-screen splicing touch control method of one of claim 2 to 4, it is characterized in that said data buffer capacity is the 2-3 frame, said compensation data value threshold value is the 2-3 frame.
6. a multi-screen splicing touch-control system is characterized in that, comprising:
Asynchronous callback module is used for reading through the mode of asynchronous readjustment respectively the data of each touch-screen;
The touch screen data analysis module, the packet header analytic unit that comprises, first comparing unit, buffer control unit, wherein:
The data procedures that said packet header analytic unit is used for reading each touch-screen in asynchronous callback module is analyzed and is obtained whole frame data through the data of each touch-screen being carried out packet header respectively; After getting access to whole frame data; Obtain the corresponding data buffer canned data amount of touch-screen to putting in order frame data; And the data buffer canned data amount of obtaining is transferred to said first comparing unit
Said first comparing unit is used for data buffer canned data amount and preset buffer threshold are compared,
It is that current buffer zone canned data amount is during more than or equal to buffer threshold that said buffer control unit is used for comparative result when said first comparing unit; Delete the whole frame data of corresponding buffer zone head of the queue; And deposit the current whole frame data that get access in the data buffer tail of the queue; When the comparative result of said first comparing unit is a buffer zone canned data amount during less than buffer threshold, directly deposit the current whole frame data that get access in the data buffer tail of the queue;
Whole screen data analysis module is used for whenever respectively frame data of the head of the queue of the data buffer of each touch-screen being read and handling at a distance from Preset Time.
7. multi-screen splicing touch-control system according to claim 6 is characterized in that, the touch screen data analysis module also comprises judging unit and compensating unit:
Said judging unit is used for analyzing the whole frame data that get access to and whether comprises the touch point data;
Said compensating unit is used in the result of determination of said judging unit when not comprising the touch point data; Obtain current compensation data value; And compensation data value of obtaining and predefined compensation threshold value compared; If be less than or equal to the compensation threshold value; Then the data offset is carried out sending the instruction of obtaining the next frame data from increasing the back to said packet header analytic unit,, then send and obtain data buffer canned data amount instruction to said packet header analytic unit if greater than the compensation threshold value;, the compensation data value is reset to zero back send to said packet header analytic unit and obtain data buffer canned data amount instruction when not comprising the touch point data in the result of determination of said judging unit;
Said packet header analytic unit also is used for after receiving the instruction of obtaining the next frame data; Touch screen data is carried out packet header to be analyzed; After getting access to next whole frame data, the whole frame data that obtain are transferred to said judging unit, after obtaining data buffer canned data amount instruction; Obtain the current buffer zone canned data amount of corresponding touch-screen, and the current buffer zone canned data amount that will obtain is transferred to said first comparing unit.
8. multi-screen splicing touch-control system according to claim 6 is characterized in that, said whole screen data analysis module comprises:
Whole screen data obtain the unit, are used for the resolution according to the display unit of each touch-screen of combination, and head of the queue one frame data of the current buffer zone of each touch-screen that reads are changed the touch data that obtains the whole screen of present frame through screen coordinate;
Second comparing unit is used for the whole screen of present frame touch data and the whole screen of former frame touch data are compared, and analyzes the state value that rises and falls of each touch point, and to each touch point follow the tracks of with upgrade after with the whole data storing of shielding of present frame to storage unit;
Storage unit, storage is also upgraded the whole screen of present frame data.
9. multi-screen splicing touch-control system according to claim 8; It is characterized in that touch point and former frame are put in order the distance between the touch point in the screen touch data in the whole screen of said second comparing unit calculating present frame touch data, and this distance and distance threshold are compared; If be less than or equal to distance threshold; Then upgrade touch point position,, then touch point in the whole screen of the frame touch data is identified as a new drop point if greater than distance threshold.
10. according to the described multi-screen splicing touch-control system of one of claim 7 to 9, it is characterized in that said data buffer capacity is the 2-3 frame, said compensation data value threshold value is the 2-3 frame.
CN201210245273.3A 2012-07-04 2012-07-04 Multi-screen splicing touch control method and system Expired - Fee Related CN102789336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210245273.3A CN102789336B (en) 2012-07-04 2012-07-04 Multi-screen splicing touch control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210245273.3A CN102789336B (en) 2012-07-04 2012-07-04 Multi-screen splicing touch control method and system

Publications (2)

Publication Number Publication Date
CN102789336A true CN102789336A (en) 2012-11-21
CN102789336B CN102789336B (en) 2015-12-16

Family

ID=47154747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210245273.3A Expired - Fee Related CN102789336B (en) 2012-07-04 2012-07-04 Multi-screen splicing touch control method and system

Country Status (1)

Country Link
CN (1) CN102789336B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399676A (en) * 2013-07-10 2013-11-20 苏州泛普纳米科技有限公司 Automatic detection and adjustment method and application of anti-electromagnetic interference seamless joint touch film
CN103761004A (en) * 2014-01-10 2014-04-30 广东欧珀移动通信有限公司 Touch panel, touch terminal and method for improving touch sensitivity of touch panel
CN103970322A (en) * 2013-01-30 2014-08-06 北京汇冠新技术股份有限公司 Method and system for tracking handling of trajectory of touch screen
CN103970323A (en) * 2013-01-30 2014-08-06 北京汇冠新技术股份有限公司 Method and system for tracking of trajectory of touch screen
CN109471557A (en) * 2018-10-31 2019-03-15 合肥鑫晟光电科技有限公司 A kind of control circuit of mosaic display screen, control method and splicing display device
CN110072144A (en) * 2019-05-07 2019-07-30 威创集团股份有限公司 A kind of image mosaic processing method, device, equipment and computer storage medium
WO2020168563A1 (en) * 2019-02-22 2020-08-27 华为技术有限公司 Memory management method and apparatus
CN113168261A (en) * 2018-11-15 2021-07-23 戴尔产品有限公司 Multi-form factor Information Handling System (IHS) with touch continuity on display

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189867A1 (en) * 2008-01-30 2009-07-30 Apple, Inc. Auto Scanning for Multiple Frequency Stimulation Multi-Touch Sensor Panels
CN101739212A (en) * 2009-12-28 2010-06-16 山东大学 Handwriting input device suitable for Linux operating system
CN101984401A (en) * 2010-10-14 2011-03-09 同辉佳视(北京)信息技术有限公司 Multi-screen spliced management system and management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189867A1 (en) * 2008-01-30 2009-07-30 Apple, Inc. Auto Scanning for Multiple Frequency Stimulation Multi-Touch Sensor Panels
CN101739212A (en) * 2009-12-28 2010-06-16 山东大学 Handwriting input device suitable for Linux operating system
CN101984401A (en) * 2010-10-14 2011-03-09 同辉佳视(北京)信息技术有限公司 Multi-screen spliced management system and management method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970322B (en) * 2013-01-30 2017-09-01 北京科加触控技术有限公司 A kind of method and system of touch-screen track following processing
CN103970323A (en) * 2013-01-30 2014-08-06 北京汇冠新技术股份有限公司 Method and system for tracking of trajectory of touch screen
CN103970322A (en) * 2013-01-30 2014-08-06 北京汇冠新技术股份有限公司 Method and system for tracking handling of trajectory of touch screen
CN103399676A (en) * 2013-07-10 2013-11-20 苏州泛普纳米科技有限公司 Automatic detection and adjustment method and application of anti-electromagnetic interference seamless joint touch film
CN103399676B (en) * 2013-07-10 2016-08-10 苏州泛普纳米科技有限公司 The automatic detection and adjustment method of the seamless spliced touch control film of electromagnetism interference and application system
CN103761004B (en) * 2014-01-10 2016-10-05 广东欧珀移动通信有限公司 A kind of improve the method for touch sensitivity of touch panel, touch screen and touch control terminal
CN103761004A (en) * 2014-01-10 2014-04-30 广东欧珀移动通信有限公司 Touch panel, touch terminal and method for improving touch sensitivity of touch panel
CN109471557A (en) * 2018-10-31 2019-03-15 合肥鑫晟光电科技有限公司 A kind of control circuit of mosaic display screen, control method and splicing display device
CN109471557B (en) * 2018-10-31 2021-10-26 合肥鑫晟光电科技有限公司 Control circuit and control method of tiled display screen and tiled display device
CN113168261A (en) * 2018-11-15 2021-07-23 戴尔产品有限公司 Multi-form factor Information Handling System (IHS) with touch continuity on display
WO2020168563A1 (en) * 2019-02-22 2020-08-27 华为技术有限公司 Memory management method and apparatus
US11695710B2 (en) 2019-02-22 2023-07-04 Huawei Technologies Co., Ltd. Buffer management method and apparatus
CN110072144A (en) * 2019-05-07 2019-07-30 威创集团股份有限公司 A kind of image mosaic processing method, device, equipment and computer storage medium
CN110072144B (en) * 2019-05-07 2022-02-22 威创集团股份有限公司 Image splicing processing method, device and equipment and computer storage medium

Also Published As

Publication number Publication date
CN102789336B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN102789336A (en) Multi-screen splicing touch control method and system
US11422678B2 (en) Method and device for managing tab window indicating application group including heterogeneous applications
CN105807966B (en) Method and device for acquiring touch screen event
CN104571683B (en) Touch-sensing system and its driving method
US20120113044A1 (en) Multi-Sensor Device
US11314411B2 (en) Virtual keyboard animation
CN109144304A (en) At least one display window distributing adjustment and touch-control automatic calibrating method and system
CN1696884A (en) Input processing method and input control apparatus
WO2021203724A1 (en) Handwriting selection method and apparatus, and computer device and storage medium
WO2020015704A1 (en) Touch control method and apparatus, storage medium, and terminal device
US20120007826A1 (en) Touch-controlled electric apparatus and control method thereof
EP2691836A1 (en) Manipulating graphical objects in a multi-touch interactive system
CN102768840A (en) Video playing control method and terminal device
CN104011638A (en) Display motion quality improvement
EP2824562B1 (en) Method and apparatus to reduce display lag of soft keyboard presses
WO2019047853A1 (en) Touch message fusion method, terminal, and computer-readable storage medium
JP2023530395A (en) APP ICON CONTROL METHOD, APPARATUS AND ELECTRONIC DEVICE
CN105630595A (en) Information processing method and electronic equipment
CN102419650A (en) Multi-point touch control realization method and system
CN102467250B (en) Sensor controls
CN106201222A (en) The display packing of a kind of virtual reality interface and terminal
CN108399058A (en) A kind of signal display control method and device
CN110174864B (en) Laser marking control method, computer readable storage medium and laser marking machine
CN101807162A (en) Method for reducing module coupling degree of embedded software system and embedded software system
CN103049187A (en) Signal processing method for spliced type multi-screen interactive electronic whiteboard system

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
CP03 Change of name, title or address

Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee after: Wei Chong group Limited by Share Ltd

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151216

Termination date: 20210704