A kind of method and device that multi-screen touches
Technical field
The present embodiments relate to the method and devices that the technical field of touch screen more particularly to a kind of multi-screen touch.
Background technique
Do currently on the market mosaic screen or multihead display there is no excessive with touch function, mainly due to needs
Touch size it is larger, if going to cover entire display area only with single touching box, there is technological difficulties, lateral distance
It is bigger than normal, lead to problems such as touch position inaccurate and production technology more difficult.Using single touching box use in mosaic screen or multi-screen
When display, due to being multi-screen combination, and touching device is individually, and individual is bigger than normal to have transport inconvenience, and whole outline border can be softer
It is easily-deformable it is impaired, electrical property effect is poor, infrared emission power is bigger than normal easily makes the lost of life, assemble the problems such as more difficult.
Summary of the invention
The purpose of the embodiment of the present invention is to propose a kind of method and device that multi-screen touches, it is intended to how solve using single
The problem for realizing that the touch function of mosaic screen or multihead display is relatively difficult to achieve is got rid of in a touch.
For this purpose, the embodiment of the present invention uses following technical scheme:
A kind of method that multi-screen touches, which comprises
Whether detection splicing touching box receives the touching instruction of user's triggering, and the splicing touching box includes at least one
Touching box;
If the touching instruction includes multiple points touched, time sequencing and the position of each point touched are obtained
Set coordinate;
The touching instruction is responded according to the time sequencing of each point touched and position coordinates.
It is preferably, described to detect before splicing the touching instruction whether touching box receives user's triggering, further includes:
Obtain the position coordinates for the touching box installed on each display screen;
Each touching box is positioned according to the position coordinates of the touching box on each display screen.
Preferably, whether the detection splicing touching box receives the touching instruction of user's triggering, comprising:
When detecting has touching instruction on the display screen, touching box corresponding with the display screen responds the touch
Instruction;
The touching instruction is output to control panel by touch screen corresponding with the display screen, so that the control
Plate judges the points touched according to the touching instruction.
Preferably, if the touching instruction includes multiple points touched, each points touched are obtained
Time sequencing and coordinate position before, further includes:
If receiving the touching instruction of user's triggering, the points touched are judged according to the touching instruction.
Preferably, the method also includes:
If the touching instruction only includes the points touched, individually touched according to touching instruction acquisition
Points coordinate position;
The touching instruction is responded according to the coordinate position.
A kind of device that multi-screen touches, described device include:
Whether detection module, the touching instruction of user's triggering is received for detecting splicing touching box, and the splicing touches
Frame includes at least one touching box;
First obtains module, if including multiple points touched for the touching instruction, obtains each touched
The time sequencing and position coordinates of point;
First respond module, for according to the time sequencing of each point touched and position coordinates response
Touching instruction.
Preferably, described device further include:
Second obtains module, for obtaining the position coordinates for the touching box installed on each display screen;
Locating module, for positioning each touching box according to the position coordinates of the touching box on each display screen.
Preferably, the detection module, comprising:
Response unit, for when detecting has touching instruction on the display screen, touch corresponding with the display screen
Frame responds the touching instruction;
Output unit, for the touching instruction to be output to control panel by touch screen corresponding with the display screen,
So that the control panel judges the points touched according to the touching instruction.
Preferably, described device further include:
Judgment module, if the touching instruction for receiving user's triggering, judges quilt according to the touching instruction
The points of touch.
Preferably, described device further include:
Third obtains module, if only including the points touched for the touching instruction, according to the touch
Instruction obtains the coordinate position of the points individually touched;
Second respond module, for responding the touching instruction according to the coordinate position.
Whether the embodiment of the present invention receives the touching instruction of user's triggering, the splicing touching by detection splicing touching box
Touching frame includes at least one touching box;If the touching instruction includes multiple points touched, each point touched is obtained
Time sequencing and position coordinates;The touching is responded according to the time sequencing of each point touched and position coordinates
Instruction is touched, so that single terminal equipment can be enabled to multiple identifications for touching frame datas by realizing single terminal equipment
Compatible more input equipments realize the ideal realizationization of touch function under mosaic screen and multihead display.
Detailed description of the invention
Fig. 1 is the flow diagram of the first embodiment for the method that multi-screen of the embodiment of the present invention touches;
Fig. 2 is the flow diagram of the second embodiment for the method that multi-screen of the embodiment of the present invention touches;
Fig. 3 is the flow diagram of the 3rd embodiment for the method that multi-screen of the embodiment of the present invention touches;
Fig. 4 is the flow diagram of the fourth embodiment for the method that multi-screen of the embodiment of the present invention touches;
Fig. 5 is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches;
Fig. 6 is the functional block diagram of detection module of the embodiment of the present invention 501;
Fig. 7 is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches;
Fig. 8 is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches;
Fig. 9 is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches.
Specific embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this
Locate described specific embodiment and is used only for explaining the embodiment of the present invention, rather than the restriction to the embodiment of the present invention.In addition also
It should be noted that only parts related to embodiments of the present invention are shown rather than entire infrastructure for ease of description, in attached drawing.
Embodiment one
It is the flow diagram of the first embodiment for the method that multi-screen of the embodiment of the present invention touches with reference to Fig. 1, Fig. 1.
In example 1, the method for the multi-screen touch includes:
Step 101, whether detection splicing touching box receives the touching instruction of user's triggering, and the splicing touching box includes
At least one touching box;
Preferably, whether the detection splicing touching box receives the touching instruction of user's triggering, comprising:
When detecting has touching instruction on the display screen, touching box corresponding with the display screen responds the touch
Instruction;
The touching instruction is output to control panel by touch screen corresponding with the display screen, so that the control
Plate judges the points touched according to the touching instruction.
Specifically, installing a touching box respectively on each display screen, scan process, all splicings are respectively entered
Touching box has all been connected on control panel, and when there is touch point triggering on display screen, corresponding touching box responds this touch point
Trigger action, touching box export in corresponding data to control panel, and control panel can receive the touch output of corresponding position at this time
Data, identify the points that touch at present, points touched according to it and carry out classification judgement.
Step 102, if the touching instruction includes multiple points touched, the time for obtaining each point touched is suitable
Sequence and position coordinates;
Specifically, control panel will when received data are single-point (as only one splicing touching box is being operated)
Coordinate output and tracking are carried out to the point;When received data are multiple spot (it can be and carry out multiple point touching on a frame,
Can be and carry out single-touch or multiple point touching in multiple frames), control panel will sort according to the sequencing of time, will own
Coordinate point data handled, arranged, the USB format data packet for being finally processed into standard is sent in terminal, root in terminal
Coordinate points output display is carried out according to its packet content.
Step 103, the touching instruction is responded according to the time sequencing of each point touched and position coordinates.
Specifically, when mosaic screen or multihead display are made of N number of display screen, splice the sum of touching box be also it is N number of,
Realize that the parameter of the data is given on control panel with the theory of a frame according to the combination of display screen transverse and longitudinal quantity by a screen
Parameter setting is done, control panel can divide whole display area according to parameter, be needed when in use to each on display screen
A touching box carries out a positioning setting, divides equivalent size area range according to combination, can show in its display area
Corresponding anchor point is shown, by touch anchor point position respectively record each joint frame spatial position it is corresponding with display screen
Position, control panel has carried out number storage to it, and mainly for the data source to touching box is tracked, judgement is by the
The coordinate data that several touching box issue guarantees that control panel can accurately export the data received in corresponding display screen
On.Control panel is judged according to touch currently entered points, if only export single-touch, is only touched by a touching box
It has sent out touch point, after the data receiver that control panel exports the touching box, has been handled the usb data for data being programmed for standard
The output of format packet is given to terminal device, and terminal device responds the data packet, shows touch coordinate in corresponding position;Work as touch
It when point is multiple, needs to distinguish by actual conditions, when carrying out single-touch, control panel will connect such as each touching box at this time
It receives each frame and issues corresponding data, responded according to the time that its data issues, and carry out time order and function sequence, into
Row data processing and coordinate output, the touching when current application software of terminal device can only support single-point at this time, on terminal device
Touching a little just only can output time earliest touch point and follow;If terminal applies can support multi-point touch, it will realize
Multiple point touching, in corresponding location following touch point, until all touch points are lifted;Similarly, when by least one
When a touching box carries out multi-point touch or when multiple touching box carry out single-point touch, according to the data packet of each touching box output
Time split it is whole be ranked up, control panel just in chronological sequence, after all touch points sorts one by one, is handled and is beaten
It is bundled into the transmission of usb data packet and is given to terminal, terminal responds corresponding touch according to current application and counts.
Whether the embodiment of the present invention receives the touching instruction of user's triggering, the splicing touching by detection splicing touching box
Touching frame includes at least one touching box;If the touching instruction includes multiple points touched, each point touched is obtained
Time sequencing and position coordinates;The touching is responded according to the time sequencing of each point touched and position coordinates
Instruction is touched, so that single terminal equipment can be enabled to multiple identifications for touching frame datas by realizing single terminal equipment
Compatible more input equipments realize the ideal realizationization of touch function under mosaic screen and multihead display.
Embodiment two
It is the flow diagram of the second embodiment for the method that multi-screen of the embodiment of the present invention touches with reference to Fig. 2, Fig. 2.
On the basis of example 1, it is described detection splicing touching box whether receive user triggering touching instruction it
Before, further includes:
Step 104, the position coordinates for the touching box installed on each display screen are obtained;
Step 105, each touching box is positioned according to the position coordinates of the touching box on each display screen.
Embodiment three
It is the flow diagram of the 3rd embodiment for the method that multi-screen of the embodiment of the present invention touches with reference to Fig. 3, Fig. 3.
On the basis of embodiment one or embodiment two, it is illustrated on the basis of example 2, it is described
If the touching instruction includes multiple points touched, the time sequencing and coordinate bit of each points touched are obtained
Before setting, further includes:
Step 106, if receiving the touching instruction of user triggering, judge to be touched according to the touching instruction
Points.
Example IV
It is the flow diagram of the fourth embodiment for the method that multi-screen of the embodiment of the present invention touches with reference to Fig. 4, Fig. 4.
On the basis of embodiment one or embodiment two, it is illustrated on the basis of example 2, it is described
Method further include:
Step 107, it if the touching instruction only includes the points touched, is obtained according to the touching instruction single
The coordinate position of a points touched;
Step 108, the touching instruction is responded according to the coordinate position.
Embodiment five
It is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches with reference to Fig. 5, Fig. 5.
In embodiment five, the device that the multi-screen touches includes:
Whether detection module 501 receives the touching instruction of user's triggering, the splicing touching for detecting splicing touching box
Touching frame includes at least one touching box;
It preferably, is the functional block diagram of detection module of the embodiment of the present invention 501 with reference to Fig. 6, Fig. 6.The detection
Module 501, comprising:
Response unit 601, for when detecting has touching instruction on the display screen, touching corresponding with the display screen
It touches frame and responds the touching instruction;
Output unit 602, for the touching instruction to be output to control by touch screen corresponding with the display screen
Plate, so that the control panel judges the points touched according to the touching instruction.
Specifically, installing a touching box respectively on each display screen, scan process, all splicings are respectively entered
Touching box has all been connected on control panel, and when there is touch point triggering on display screen, corresponding touching box responds this touch point
Trigger action, touching box export in corresponding data to control panel, and control panel can receive the touch output of corresponding position at this time
Data, identify the points that touch at present, points touched according to it and carry out classification judgement.
First obtains module 502, if including multiple points touched for the touching instruction, obtains each touched
Point time sequencing and position coordinates;
Specifically, control panel will when received data are single-point (as only one splicing touching box is being operated)
Coordinate output and tracking are carried out to the point;When received data are multiple spot (it can be and carry out multiple point touching on a frame,
Can be and carry out single-touch or multiple point touching in multiple frames), control panel will sort according to the sequencing of time, will own
Coordinate point data handled, arranged, the USB format data packet for being finally processed into standard is sent in terminal, root in terminal
Coordinate points output display is carried out according to its packet content.
First respond module 503, for being responded according to the time sequencing and position coordinates of each point touched
The touching instruction.
Specifically, when mosaic screen or multihead display are made of N number of display screen, splice the sum of touching box be also it is N number of,
Realize that the parameter of the data is given on control panel with the theory of a frame according to the combination of display screen transverse and longitudinal quantity by a screen
Parameter setting is done, control panel can divide whole display area according to parameter, be needed when in use to each on display screen
A touching box carries out a positioning setting, divides equivalent size area range according to combination, can show in its display area
Corresponding anchor point is shown, by touch anchor point position respectively record each joint frame spatial position it is corresponding with display screen
Position, control panel has carried out number storage to it, and mainly for the data source to touching box is tracked, judgement is by the
The coordinate data that several touching box issue guarantees that control panel can accurately export the data received in corresponding display screen
On.Control panel is judged according to touch currently entered points, if only export single-touch, is only touched by a touching box
It has sent out touch point, after the data receiver that control panel exports the touching box, has been handled the usb data for data being programmed for standard
The output of format packet is given to terminal device, and terminal device responds the data packet, shows touch coordinate in corresponding position;Work as touch
It when point is multiple, needs to distinguish by actual conditions, when carrying out single-touch, control panel will connect such as each touching box at this time
It receives each frame and issues corresponding data, responded according to the time that its data issues, and carry out time order and function sequence, into
Row data processing and coordinate output, the touching when current application software of terminal device can only support single-point at this time, on terminal device
Touching a little just only can output time earliest touch point and follow;If terminal applies can support multi-point touch, it will realize
Multiple point touching, in corresponding location following touch point, until all touch points are lifted;Similarly, when by least one
When a touching box carries out multi-point touch or when multiple touching box carry out single-point touch, according to the data packet of each touching box output
Time split it is whole be ranked up, control panel just in chronological sequence, after all touch points sorts one by one, is handled and is beaten
It is bundled into the transmission of usb data packet and is given to terminal, terminal responds corresponding touch according to current application and counts.
Whether the embodiment of the present invention receives the touching instruction of user's triggering, the splicing touching by detection splicing touching box
Touching frame includes at least one touching box;If the touching instruction includes multiple points touched, each point touched is obtained
Time sequencing and position coordinates;The touching is responded according to the time sequencing of each point touched and position coordinates
Instruction is touched, so that single terminal equipment can be enabled to multiple identifications for touching frame datas by realizing single terminal equipment
Compatible more input equipments realize the ideal realizationization of touch function under mosaic screen and multihead display.
Embodiment six
It is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches with reference to Fig. 7, Fig. 7.
On the basis of embodiment five, the device of the multi-screen touch further include:
Second obtains module 504, for obtaining the position coordinates for the touching box installed on each display screen;
Locating module 505, for positioning each touching box according to the position coordinates of the touching box on each display screen.
Embodiment seven
It is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches with reference to Fig. 8, Fig. 8.
It in embodiment five or embodiment six, is illustrated on the basis of embodiment six, the multi-screen touching
The device touched further include:
Judgment module 506, if the touching instruction for receiving user's triggering, judges according to the touching instruction
The points touched.
Embodiment eight
It is the functional block diagram for the device that multi-screen of the embodiment of the present invention touches with reference to Fig. 9, Fig. 9.
It in embodiment five or embodiment six, is illustrated on the basis of embodiment six, the multi-screen touching
The device touched further include:
Third obtains module 507, if only including the points touched for the touching instruction, according to the touching
Touch the coordinate position that instruction obtains the points individually touched;
Second respond module 508, for responding the touching instruction according to the coordinate position.
Describe the technical principle of the embodiment of the present invention in conjunction with specific embodiments above.These descriptions are intended merely to explain this
The principle of inventive embodiments, and it cannot be construed to the limitation to protection scope of the embodiment of the present invention in any way.Based on herein
Explanation, those skilled in the art, which does not need to pay for creative labor, can associate the other specific of the embodiment of the present invention
Embodiment, these modes are fallen within the protection scope of the embodiment of the present invention.