Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method to display terminal convergent-divergent and displacement, is intended to the sharpness improving viewing LCD monitor local detail, is convenient to people's viewing.
In order to realize goal of the invention, the invention provides a kind of method to display terminal arbitrfary point convergent-divergent and displacement, it comprises the following steps:
The positional information of actions menu display and touch point, when the time that it is touched exceedes Preset Time, is sent to control module by touch-screen;
Control module is according to described actions menu display, control touch-screen display can carry out convergent-divergent or displacement operation actions menu to touch point, and according to user input to the operational order of described actions menu and the positional information of touch point, convergent-divergent or shifting function are carried out to touch point.
Preferably, perform described touch-screen exceed Preset Time in the time that it is touched time, comprise before the positional information of actions menu display and touch point is sent to control module step:
Touch-screen judges whether the picture of current display exists actions menu;
When the picture of current display does not exist actions menu, judge whether the time be touched exceedes Preset Time.
Preferably, described touch-screen judges the picture of current display also comprises after whether there is actions menu:
When the picture of current display exists actions menu, judge the position that is touched whether on actions menu;
If so, then the positional information of touch point is sent to control module;
If not, to control module transmit operation menu shutdown signal, current actions menu is closed for control module according to described actions menu shutdown signal.
Preferably, described operational order at least comprise amplification, reduce, move to left, move to right, on move and move down.
Preferably, described according to user's input to the operational order of described actions menu and the positional information of touch point, convergent-divergent is carried out to touch point or shifting function specifically comprises:
According to described operational order, the starting point of touch point and effective length are modified, to carry out convergent-divergent or shifting function to touch point.
The invention provides a kind of display terminal, comprise touch-screen and control module, wherein,
Described touch-screen comprises actions menu processing unit, when the time for being touched at touch-screen exceedes Preset Time, the positional information of actions menu display and touch point is sent to control module;
Described control module comprises touch point convergent-divergent control module, for according to described actions menu display, control touch-screen display can carry out convergent-divergent or displacement operation actions menu to touch point, and according to user input to the operational order of described actions menu and the positional information of touch point, convergent-divergent or shifting function are carried out to touch point.
Preferably, described actions menu processing unit comprises:
Judgment sub-unit, for judging whether the picture of current display exists actions menu;
When the picture of current display does not exist actions menu, judge whether the time be touched exceedes Preset Time.
Preferably, described judgment sub-unit is further used for:
When the picture of current display exists actions menu, judge the position that is touched whether on actions menu;
If so, then the positional information of touch point is sent to control module;
If not, to control module transmit operation menu shutdown signal, current actions menu is closed for control module according to described actions menu shutdown signal.
Preferably, described operational order at least comprise amplification, reduce, move to left, move to right, on move and move down.
Preferably, described touch point convergent-divergent control module specifically for:
According to described operational order, the starting point of touch point and effective length are modified, to carry out convergent-divergent or shifting function to touch point.
The present invention, by directly operating the touch-screen of display terminal, carries out signal alternately by touch-screen and control module, can realize convergent-divergent and the displacement of arbitrfary point, can improve the sharpness of local detail in display terminal display frame.Picture no longer by the restriction of the physical resolution of touch LCD monitor, clearly can see the details position of picture, and convergent-divergent and shifting function simply, are convenient for people to viewing.
Embodiment
In the embodiment of the present invention, display terminal is the liquid crystal display with touch-screen, such as touch LCD monitor etc.Below for touch LCD monitor, the present invention will be described in detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
With reference to the method flow schematic diagram that Fig. 1, Fig. 1 are the present invention to display terminal arbitrfary point convergent-divergent and displacement, specifically comprise the following steps:
Step S10, the positional information of actions menu display and touch point, when the time that it is touched exceedes Preset Time, is sent to control module by touch-screen; In the embodiment of the present invention, when beholder's point touching shields, the timing unit of touch-screen inside starts timing, and judges whether the time that beholder's point touching shields exceedes its inner preset time.When the time that beholder touches touch-screen exceedes touch-screen inside preset time, touch-screen, by the communication with control module, assigns actions menu display command, and the position of this touch point is sent to control module.If the time that touch-screen is touched does not exceed preset time, touch-screen opens other function softwares, performs routine operation.Namely at touch-screen and PC (personal computer, personal computer) machine is when normally connecting, if the time that touch-screen is touched is not when exceeding touch screen module inside preset time, touch-screen will open other function softwares existing, and the routine operation software that is opening other operates accordingly.Communication mode in the embodiment of the present invention between touch-screen and control module can be serial communication, can also be other communication modes, as I2C communication etc., does not limit at this.
Step S20, control module is according to described actions menu display, control touch-screen display can carry out convergent-divergent or displacement operation actions menu to touch point, and according to user input to the operational order of described actions menu and the positional information of touch point, convergent-divergent or shifting function are carried out to touch point.After control module obtains above-mentioned display operational order, the picture of this touch-screen shows actions menu and selects for beholder.When actions menu clicked after, the operational order of control module corresponding to user's click action, carries out convergent-divergent or shifting function to touch point.What be such as triggered is left shift instruction, and above-mentioned for control touch point moves to left by control module.It should be noted that in the present embodiment, actions menu at least comprise amplification, reduce, move to left, move to right, on move, the operational order such as to move down, other operational order can also be comprised in a particular application, as screenshotss etc.Beholder carries out convergent-divergent or shifting function by selecting corresponding instruction to above-mentioned touch point.
On the picture of touch-screen display, any one effective resolution is all made up of starting point and effective length, in the embodiment of the present invention, in step S20 according to user input to the operational order of described actions menu and the positional information of touch point, convergent-divergent is carried out to touch point or shifting function comprises: according to operational order, the starting point of touch point and effective length are modified, to carry out convergent-divergent or shifting function to touch point.The specific implementation of convergent-divergent or shifting algorithm: suppose that the physical resolution of this touch-screen is hout*wout, namely the length of horizontal direction is hout, and vertical direction width is wout.The resolution of input picture is hin*win, and namely cross-directional length is hin, and vertical direction width is win, and starting point is (hstart, vstart).Realize amplifying the position of point for (i, j), each amplification coefficient clicked is g, and coefficient of reduction is k, and each displacement is m unit.
After realization is once amplified, the cross-directional length then calculating the input picture made new advances is hin/g, the width of vertical direction is win/g, because whole image can stretch, then the starting point of image also can be large along with change, and now starting point should add the part of amplifying point i.e. (i, j) left side and stretching for former starting point, then calculate starting point to become (i*hin/ (g*hout)+hstart, j*win/ (g*wout)+vstart).
When realizing first-stage reduction, the cross-directional length then calculating the input picture made new advances is hin/k, the width of vertical direction is win/k, because whole image can reduce, then the starting point of image also can along with diminishing, now starting point is former starting point (i, j) deduct the left side and reduce part, the starting point then calculated becomes (i*hin* (g-1)/(g*hout)+vstart, j*win* (g-1)/(g*wout)+vstart).
When realizing moving to left or moving to right, being the movement of whole picture, only needing starting point to add and subtract the unit of movement.When once moving to left as realized, then the starting point after recalculating is (hstart-m, vstart), and the movement in its other directions in like manner, does not repeat them here.
Method to display terminal arbitrfary point convergent-divergent and displacement provided by the invention, is operated by the direct touch-screen to touch LCD monitor, mutual by the signal of touch-screen and control module, realizes convergent-divergent and the displacement of arbitrfary point on monitoring image.Make monitoring image no longer by the restriction of the physical resolution of touch LCD monitor, clearly can see the details position of monitored picture, convergent-divergent and shifting function simply, are convenient for people to viewing.
With reference to the process flow diagram that Fig. 2, Fig. 2 are the present invention to touch-screen in method one embodiment of display terminal arbitrfary point convergent-divergent and displacement, after touch-screen is touched, perform the following step:
Step S201, judges whether the picture of current display exists actions menu; If the picture of current display exists actions menu, then perform step S202 to S204; If the picture of current display does not exist actions menu, then perform step S205 to S207.
Step S202, touch-screen judges that the position of trigger point is whether on actions menu; Such as, after first time point touching screen opening operation menu, carrying out operation to actions menu can on actions menu, also can not on actions menu, and whether touch-screen can according to this time operation of the position judgment of trigger point on actions menu at this.
Step S203, when the position of trigger point is on actions menu, the positional information of touch point is sent to control module, control module judges operational order according to described positional information, and performs convergent-divergent or shifting function; Namely when aforesaid operations is on actions menu, enter the operating instructions when actions menu, this positional information operated is sent to control module by touch-screen, control module judges this operational order according to its plug-in, and carries out corresponding convergent-divergent or shifting function according to this operational order to the position of touch point when opening menu.The operational order that it should be noted that in the present embodiment refers to amplification, reduces, moves to left, moves to right, on move, the convergent-divergent that moves down and shifting function instruction, other operational order can also be comprised in a particular application, as screenshotss etc.
Step S204, when the position touched is not on actions menu, touch-screen, to control module transmit operation menu shutdown signal, closes current actions menu for control module according to described actions menu shutdown signal.Namely when when showing actions menu, if the position touched is not on actions menu, touch-screen will send shutoff operation menu to control module, and control module controls the actions menu that touch-screen closes current picture.
Step S205, when the picture of current display does not exist actions menu, touch-screen judges whether touch-screen is exceeded preset time by the time touched continuously;
Step S206, when touch exceed preset time in the time that touch-screen is touched time, the position of actions menu display and touch point is sent to control module, control module according to actions menu signal control touch-screen display actions menu; If the current picture of touch-screen does not have actions menu, and the time that touch-screen is touched exceedes its preset time, the position of actions menu display and touch point is sent to control module, and control module will control touch-screen display actions menu according to this actions menu display.
Step S207, when touch do not exceeded preset time at touch-screen by the time touched continuously time, touch-screen opens other function softwares, perform routine operation.When touch-screen is normally connected with PC, if when the time that touch-screen is touched does not exceed touch-screen preset time, touch-screen will open other function softwares existing, and the routine operation software that is opening other operates accordingly.
The present invention also provides a kind of display terminal, can realize said method.Reference Fig. 3, Fig. 3 are the structural representation of display terminal, and it comprises touch-screen 100 and control module 200.Wherein, touch-screen 100 comprises actions menu processing unit 101, and this actions menu processing unit comprises judging unit 1011.Control module 200 can comprise movement control program, in order to process user operation instruction.In the embodiment of the present invention, touch-screen 100 can be serial communication with the communication mode of control module 200, can also be other communication modes, as I2C communication etc., does not limit at this.
Actions menu processing unit 101, when the time for being touched at touch-screen 100 exceedes Preset Time, is sent to control module 200 by the positional information of actions menu display and touch point; Such as, when the time that beholder touches touch-screen 100 exceedes touch-screen 100 inner preset time, actions menu processing unit 101, by the communication with control module 200, is assigned the order of display actions menu, and the position of this touch point is sent to control module 200.If the time that touch-screen 100 is touched does not exceed the inner preset time of touch-screen 100, actions menu processing unit 101 opens other function softwares, performs routine operation.Namely when touch-screen 100 is normally connected with PC, if the time that touch-screen 100 is touched is not when exceeding touch-screen 100 preset time, actions menu processing unit 101 will open other function softwares existing, and the routine operation software that is opening other operates accordingly.
Control module 200 comprises touch point convergent-divergent control module 201, for according to described actions menu display, control touch-screen 100 display can carry out convergent-divergent or displacement operation actions menu to touch point, and according to user input to the operational order of described actions menu and the positional information of touch point, convergent-divergent or shifting function are carried out to touch point.After control module 200 obtains above-mentioned display operational order, touch point convergent-divergent control module 201 shows actions menu and selects for beholder on the picture of this touch-screen 100.When actions menu clicked after, the operational order of control module 200 corresponding to user's click action, carries out convergent-divergent or shifting function to touch point.What be such as triggered is left shift instruction, and above-mentioned for control touch point moves to left by control module 200.It should be noted that in the present embodiment, actions menu at least comprise amplification, reduce, move to left, move to right, on move, the operational order such as to move down, other operational order can also be comprised in a particular application, as screenshotss etc.Beholder carries out convergent-divergent or shifting function by selecting corresponding instruction to above-mentioned touch point.
Touch point convergent-divergent control module 201 is further used for modifying to the starting point of touch point and effective length according to operational order, to carry out convergent-divergent or shifting function to touch point.Concrete modification process can refer to previous embodiment, does not just do repeated description at this.
In the embodiment of the present invention, actions menu processing unit 1011 comprises judgment sub-unit 1012, for judging whether the picture of current display exists actions menu; When touch-screen 100 detect be touched time, judgment sub-unit 1012 starts to judge whether the picture of the current display of touch-screen 100 exists actions menu, and timing when the timing sub-block 102 in touch-screen 100 is opened, calculates the touch time that touch-screen 100 is touched in process at this.
When there is not actions menu in the picture of current display, when this time of being touched of touch-screen 100 exceedes its preset time, touch-screen 100 is to control module 200 transmit operation menu display signal, control module 200, according to this actions menu display, controls touch-screen 100 output function menu;
When this time of being touched of touch-screen 100 does not exceed preset time, touch-screen is made a call to 100 and is opened other function softwares, performs routine operation.When touch-screen is normally connected with PC, as when the time that touch-screen 100 is touched does not exceed preset time, will open other function softwares existing, the routine operation software that is opening other operates accordingly.
Judgment sub-unit 1012, also for judging that whether position that touch-screen 100 is touched is at actions menu; When the current picture of touch-screen 100 exists actions menu, judgment sub-unit 1012 will judge position that this touch-screen is touched whether on actions menu.
When the position that this touch-screen 100 is touched is on actions menu, touch-screen 100 calculates this positional information be touched, and this positional information is sent to control module 200, control module 200 judges the operational order in institute's trigger action menu according to this positional information, and controls the corresponding operation of touch-screen execution.It should be noted that in the present embodiment, operational order refer to amplification, reduce, move to left, move to right, on move, the convergent-divergent that moves down and shifting function.This operational order, can also comprise other operational order, in a particular application as other associative operations such as screenshotss.
When the position that this touch-screen 100 is touched is not on actions menu, touch-screen 100 is by sending sub-block 103 to control module 200 transmit operation menu shutdown signal, control module 200, according to this actions menu shutdown signal, controls touch-screen 100 shutoff operation menu.
The control device of touch display terminal arbitrfary point convergent-divergent provided by the invention and displacement, is operated by the direct touch-screen to touch LCD monitor, carries out signal alternately, can realize convergent-divergent and the displacement of arbitrfary point by touch-screen and control module.Make monitoring image no longer by the restriction of the physical resolution of touch LCD monitor, clearly can see the details position of monitored picture, convergent-divergent and shifting function simply, are convenient for people to viewing.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.