A kind of method and system of operation intelligent terminal touch screen failure region
Technical field
The present invention relates to system equipment management domains, and changing intelligent terminal touch screen by dynamic more particularly to one kind loses
The coordinate of clever region icon central point, the method for realizing operating terminal touch screen failure region.
Background technology
In data communication system equipment, by taking intelligent large-screen mobile phone most common at present as an example, typically TP (is touched
Screen), substantially no number key and directionkeys, therefore, almost all of man-machine interactive operation (is touched by TP
Screen) come what is completed, when some subregion hardware damage of TP touch screens, then the icon in the region, word etc. can all touch failure,
It cannot achieve the man-machine interactive operation of the touch failure region.
In the prior art, when the subregions Touch panel of the intelligent terminals such as smart mobile phone, IPAD touch failure,
Be typically only capable to more renew TP touch screen devices, TP touch screens and the LCD of display screen be bonded together, need to touch TP
It touches screen and LCD is replaced together, troublesome in poeration and cost is relatively high.
Presence in view of the foregoing, a kind of touch screen Touch of new, effective, inexpensive solution intelligent terminal
The invention that the subregions panel touch the method and system of failure is imperative.
Invention content
The shortcomings that in view of the above-described prior art, the purpose of the present invention is to provide a kind of touches of operation intelligent terminal
The method and system for shielding failure region, changed by dynamic the central point of TP touch screens failure regions icon horizontal coordinate or
Vertical coordinate realizes the operation to TP touch screens failure region, and by the significant data on mobile phone, backup comes out in time.
The substance of technical solution of the present invention can be changed in this way by popping up rectangle frame in bottom of screen or left side
Become TP touch screens failure region icon screen relative position so that TP touch screens failure region icon central point is new
Coordinate value realizes the operation of the TP touch screens failure region of the intelligent terminal of smart mobile phone in operable normal range (NR).This method
It is easy to operate, it is at low cost, it is simple and fast, efficiency is higher.
In order to achieve the above objects and other related objects, the present invention provides a kind of operation intelligent terminal touch screen failure region
Method, include at least following steps:
It sets background monitoring service routine to starting up's service routine, is maintained in opening initialization file, as
Finger daemon is in running background, the operation of monitoring and setting key;
It is then opened when the main thread of background monitoring service routine detects that the operation of setting key meets preset mode of operation
Thread is opened, rectangular window is popped up in the screen of intelligent terminal;And
When touch screen failure region icon central point coordinate value between screen vertical or horizontal min coordinates value with
When between maximum coordinate value among, you can the icon and word of the failure region of operation touch-screen.
Preferably, the method for the operation intelligent terminal touch screen failure region, the width etc. of the rectangular window
In screen level maximum resolution, highly it is equal to the half of the vertical maximum resolution of screen-icon.
Preferably, the method for the operation intelligent terminal touch screen failure region, further includes following steps:
When the main thread of background monitoring service routine detects that the operation of setting key meets preset first mode of operation,
Thread P1 is opened, a rectangular window is popped up in the bottom of the screen of intelligent terminal;
The wherein width w of rectangular window is equal to screen level maximum resolution, and it is maximum point vertical that height h is equal to screen-icon
The half of resolution, in this way, the vertical coordinate Y0 of the failure region icon central point of touch screen becomes Y1 (Y1=Y0+h);
When Y1 values are when between screen vertical min coordinates value Ymin and screen vertical maximum coordinate value among Ymax, you can
The icon and word of the failure region of operation touch-screen.
Preferably, the method for the operation intelligent terminal touch screen failure region, further includes following steps:
If when the vertical coordinate value of the failure region icon central point of touch screen exceeds the effective range of vertical resolution,
Setting key then is operated again according to preset first mode of operation, opens thread P2, in the bottom bullet again of the screen of intelligent terminal
Go out second new rectangular window;
The vertical coordinate Y0 of touch screen failure region central point becomes Y2 (Y2=Y0+h*2), works as Ymin<=Y2<=
When Ymax, you can the icon and word of operation touch-screen failure region;Otherwise,
Circulating repetition aforesaid operations step, until the vertical coordinate of touch screen failure region central point meets Ymin<=Yi<
When=Ymax.
Preferably, the method for the operation intelligent terminal touch screen failure region, further includes following steps:
When the main thread of background monitoring service routine detects that the operation of setting key meets preset second mode of operation,
Thread Q1 is opened, a rectangular window can be popped up in the left side of the screen of intelligent terminal;Wherein,
Rectangular window width w is equal to the half of the horizontal maximum resolution of screen-icon, and height h is equal to screen vertical maximum point
Resolution;
The horizontal coordinate X0 of the failure region central point of touch screen becomes X1 (X1=X0+w), when X1 values are between screen water
When between flat min coordinates value Xmin and screen level maximum coordinate value among Xmax, you can the icon of the failure region of operation touch-screen
And word;Otherwise,
This step of circulating repetition, until the vertical coordinate Xmin of the failure region central point of touch screen<=Xi<=Xmax
When.
Preferably, the method for the operation intelligent terminal touch screen failure region,
The acquiescence effective time of the rectangular window is 30 seconds, and rectangular window is automatically closed when more than 30 seconds;
The preset mode of operation includes the first mode of operation and the second mode of operation, and first mode of operation is:
Volume+key is transferred to maximum value, then continuous by 5 times;Second mode of operation is:Volume-key is transferred to minimum value, then continuous by 5
It is secondary.
In order to achieve the above objects and other related objects, a kind of system of operation intelligent terminal touch screen failure region,
Including:
Monitoring modular sets background monitoring service routine to starting up's service routine, is maintained at opening initialization text
In part, as finger daemon in running background, the operation of monitoring and setting key;
Rectangular window pop-up module, when to detect that the operation of setting key meets default for the main thread of background monitoring service routine
Mode of operation when then open thread, pop up rectangular window in the screen of intelligent terminal;And
Failure region operation module, when touch screen failure region icon central point coordinate value between screen coordinate value
When between maximum coordinate value among, you can the icon and word of the failure region of operation touch-screen.
Preferably, the system of the operation intelligent terminal touch screen failure region, its rectangular window
Width is equal to screen level maximum resolution, is highly equal to the half of the vertical maximum resolution of screen-icon.
Preferably, the system of the operation intelligent terminal touch screen failure region, it is described when background monitoring services journey
When the main thread of sequence detects that the operation of setting key meets preset first mode of operation, that is, thread P1 is opened, in intelligent terminal
Screen bottom pop up a rectangular window;
The wherein width w of rectangular window is equal to screen level maximum resolution, and it is maximum point vertical that height h is equal to screen-icon
The half of resolution, in this way, the vertical coordinate Y0 of the failure region icon central point of touch screen becomes Y1 (Y1=Y0+h);
When Y1 values are when between screen vertical min coordinates value Ymin and screen vertical maximum coordinate value among Ymax, you can
The icon and word of the failure region of operation touch-screen.
Preferably, the system of the operation intelligent terminal touch screen failure region, if when the failure region of touch screen
The vertical coordinate value of icon central point exceeds the effective range of vertical resolution, then is grasped again according to preset first mode of operation
Make setting key, opens thread P2, second new rectangular window is popped up again in the bottom of the screen of intelligent terminal;
The vertical coordinate Y0 of touch screen failure region central point becomes Y2 (Y2=Y0+h*2), works as Ymin<=Y2<=
When Ymax, you can the icon and word of operation touch-screen failure region;Otherwise,
Circulating repetition aforesaid operations step, until the vertical coordinate of touch screen failure region central point meets Ymin<=Yi<
When=Ymax.
Preferably, the system of the operation intelligent terminal touch screen failure region, when background monitoring service routine
When main thread detects that the operation of setting key meets preset second mode of operation, thread Q1 is opened, in the screen of intelligent terminal
Left side can pop up a rectangular window;Wherein,
Rectangular window width w is equal to the half of the horizontal maximum resolution of screen-icon, and height h is equal to screen vertical maximum point
Resolution;
The horizontal coordinate X0 of the failure region central point of touch screen becomes X1 (X1=X0+w), when X1 values are between screen water
When between flat min coordinates value Xmin and screen level maximum coordinate value among Xmax, you can the icon of the failure region of operation touch-screen
And word;Otherwise,
This step of circulating repetition, until the vertical coordinate Xmin of the failure region central point of touch screen<=Xi<=Xmax
When.
Preferably, the system of the operation intelligent terminal touch screen failure region, the acquiescence of the rectangular window have
It is 30 seconds to imitate the time, and rectangular window is automatically closed when more than 30 seconds;The preset mode of operation include the first mode of operation and
Second mode of operation, first mode of operation are:Volume+key is transferred to maximum value, then continuous by 5 times;The second operation side
Formula is:Volume-key is transferred to minimum value, then continuous by 5 times.
As described above, a kind of method and system of operation intelligent terminal touch screen failure region of the present invention, have following
Advantageous effect:
The present invention changes the horizontal coordinate or vertical coordinate of the central point of the failure regions TP icon by dynamic, realizes to TP
The operation of failure region, by the significant data on mobile phone, backup comes out in time, so that in the icon of TP touch screens failure region
The new coordinate value of heart point realizes the behaviour of the TP touch screens failure region of the intelligent terminal of smart mobile phone in operable normal range (NR)
Make.This method is easy to operate, at low cost, simple and fast, efficiency is higher.
Description of the drawings
Fig. 1 is shown as a kind of schematic process flow diagram of the method for operation intelligent terminal touch screen failure region of the present invention.
Fig. 2 is shown as a kind of flow of the preferred embodiment of the method for operation intelligent terminal touch screen failure region of the present invention
Schematic block diagram.
The touch screen that Fig. 3 is shown as in a kind of operation of the method for operation intelligent terminal touch screen failure region of the present invention shows
It is intended to.
Fig. 4 is shown as a kind of structure diagram of the system of operation intelligent terminal touch screen failure region of the present invention.
Component label instructions
11 main control cards
12 CPU modules
13 backboards
S10~S18 steps S10~S18
S31~S33 steps S21~S25
Specific implementation mode
Illustrate that embodiments of the present invention, those skilled in the art can be by this specification below by way of specific specific example
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that the diagram provided in following embodiment only illustrates the basic structure of the present invention in a schematic way
Think, component count, shape and size when only display is with related component in the present invention rather than according to actual implementation in schema then
Draw, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
The present invention provides a kind of method and system of operation intelligent terminal touch screen failure region, changes TP by dynamic
The horizontal coordinate or vertical coordinate of the central point of touch screen failure region icon realize the operation to TP touch screens failure region,
With this, by the significant data on mobile phone, backup comes out in time, lowers the loss of loss and important information.
Generally, the substance of technical solution of the present invention is by popping up square in the positions such as bottom of screen or side
Shape frame, can change in this way TP touch screens failure region icon screen relative position so that TP touch screens Dead Zone
The new coordinate value of domain icon central point realizes the TP touch screens Dead Zone of the intelligent terminal of such as mobile phone in operable normal range (NR)
The operation in domain.The inventive method is easy to operate, at low cost, simple and fast, efficiency is higher.
A kind of method of operation intelligent terminal touch screen failure region provided by the invention sets certain intelligent terminal first
The background monitoring service routine (such as entitled TP_Daemon) of technical solution be multithread programs.Its main thread is for examining
The operation for surveying volume key is opened first new thread, is being shielded when volume+key or volume-key button number meet certain condition
Curtain bottom either left side pop-up window, by entire screen all icons upwards or move right.
- Fig. 3 is please referred to Fig.1, a kind of operation intelligent terminal touch screen of the present invention will be described in detail with preferred embodiment as follows
The detailed implementation process of technical solution of the method for failure region is as follows:
It sets background monitoring service routine TP_Daemon to starting up's service routine, is maintained at opening initialization text
In part, after the starting up such as intelligent terminal such as mobile phone, background monitoring service routine TP_Daemon is as finger daemon rear
Platform is run, monitoring and setting key, such as:The operation of volume key.
When the main thread of background monitoring service routine TP_Daemon detects that volume+key is transferred to maximum value, then continuous press 5
After secondary, that is, first new thread P1 is opened, a rectangular window, (its can be popped up in the bottom of the screen of intelligent terminal such as mobile phone
The width w of middle rectangular window is equal to screen level maximum resolution, and height h is equal to the one of the vertical maximum resolution of screen-icon
Partly) the vertical coordinate Y0 of the failure region icon central point of TP touch screens so just becomes Y1 (Y1=Y0+h), when Y1 values are being situated between
When between screen vertical min coordinates value Ymin and screen vertical maximum coordinate value among Ymax, the figure of the failure region of TP touch screens
Mark and word etc. can operate.
If Y1 values exceed the effective range of vertical resolution, then continuously press 5 volume+keys, second new line is opened
Journey P2 then can pop up second new rectangular window, the Dead Zone of TP touch screens in the bottom of the screen of intelligent terminal such as mobile phone
The vertical coordinate Y0 of domain central point just becomes Y2 (Y2=Y0+h*2), works as Ymin<=Y2<When=Ymax, the failure of TP touch screens
The icon and word in region etc. can operate, otherwise this step of circulating repetition, until the failure region center of TP touch screens
The vertical coordinate Ymin of point<=Yi<When=Ymax.
Similarly, when background monitoring service routine TP_Daemon main threads detect that volume-key is transferred to minimum value, then continuously
After 5 times, first new thread Q1 is opened, rectangular window (its can be popped up in the left side of the screen of intelligent terminal such as mobile phone
Middle rectangular window width w is equal to the half of the horizontal maximum resolution of screen-icon, and height h is equal to screen vertical maximum resolution),
The horizontal coordinate X0 of the failure region central point of TP touch screens so just becomes X1 (X1=X0+w), when X1 values are between screen water
When between flat min coordinates value Xmin and screen level maximum coordinate value among Xmax, the icon and word of the failure region of TP touch screens
Etc. that can operate, otherwise this step of circulating repetition, until the horizontal coordinate Xmin of the failure region central point of TP touch screens<
=Xi<When=Xmax.
5, the acquiescence effective time of the rectangular window each popped up is 30 seconds, and when more than 30 seconds, thread Pi can be exited, from
The dynamic rectangular window for closing oneself pop-up, can recycle memory source in this way.Certainly, effective time value can repair as needed
Change, still, in order to effectively recycle memory source, effective time value should not be always arranged long.
Referring to Fig. 3, a kind of one of technical solution of method of operation intelligent terminal touch screen failure region of the present invention
The implementation steps of preferred embodiment are as follows:
Step S10 is executed, is started;
Step S11 is executed, background monitoring service routine TP_Daemon is set to starting up's service routine, is maintained at
In opening initialization file.
Step S12 is executed, into the main thread of background monitoring service routine TP_Daemon.
Step S13 is executed, the main thread of background monitoring service routine TP_Daemon detects whether volume+key is transferred to most
Big value.
Step S14 is executed, when main thread detects whether volume+key is transferred to maximum value, then continues to monitor touch potential N
Value, if after continuously pressing 5 times,
Step S15 is executed, first new thread P1 is opened at once, can be popped up in the bottom of the screen of intelligent terminal such as mobile phone
One rectangular window.
Step S16 is executed, the wherein width w of rectangular window is equal to screen level maximum resolution, and height h is equal to screen map
The half of vertical maximum resolution is marked, the vertical coordinate Y0 of the failure region icon central point of such TP touch screens just becomes Y1
(Y1=Y0+h), when Y1 values are when between screen vertical min coordinates value Ymin and screen vertical maximum coordinate value among Ymax,
Then,
Execute step S17, by entire screen all icons upwards or move right, operate TP touch screens Dead Zone
The icon and word in domain.Otherwise,
If Y1 values exceed the effective range of vertical resolution, then continuously press 5 volume+keys, second new line is opened
Journey P2 then can pop up second new rectangular window, the Dead Zone of TP touch screens in the bottom of the screen of intelligent terminal such as mobile phone
The vertical coordinate Y0 of domain central point just becomes Y2 (Y2=Y0+h*2), works as Ymin<=Y2<When=Ymax, the failure of TP touch screens
The icon and word in region etc. can operate, otherwise this step of circulating repetition, until the failure region center of TP touch screens
The vertical coordinate Ymin of point<=Yi<When=Ymax;
Step S18 is executed, is terminated.
Similarly, when background monitoring service routine TP_Daemon main threads detect that volume-key is transferred to minimum value, then continuously
After 5 times, first new thread Q1 is opened, rectangular window (its can be popped up in the left side of the screen of intelligent terminal such as mobile phone
Middle rectangular window width w is equal to the half of the horizontal maximum resolution of screen-icon, and height h is equal to screen vertical maximum resolution),
The horizontal coordinate X0 of the failure region central point of TP touch screens so just becomes X1 (X1=X0+w), when X1 values are between screen water
When between flat min coordinates value Xmin and screen level maximum coordinate value among Xmax, the icon and word of the failure region of TP touch screens
Etc. that can operate, otherwise this step of circulating repetition, until the vertical coordinate Xmin of the failure region central point of TP touch screens<
=Xi<When=Xmax.It is identical as above-mentioned steps principle, it repeats no more.
Fig. 2-Fig. 3 is please referred to, in short, the present invention provides a kind of method of operation intelligent terminal touch screen failure region,
Including at least following steps:
Step S31 is executed, background monitoring service routine is set to starting up's service routine, is maintained at opening initialization
In file, as finger daemon in running background, the operation of monitoring and setting key;
Step S32 is executed, when the main thread of background monitoring service routine detects that the operation of setting key meets preset behaviour
Make then to open thread when mode, rectangular window is popped up in the screen of intelligent terminal;And
Step S33 is executed, when the coordinate value of the failure region icon central point of touch screen is most sitting for a while between screen vertical
When between scale value and maximum coordinate value among, you can the icon and word of the failure region of operation touch-screen.Its rectangular window
Width is equal to screen level maximum resolution, is highly equal to the half of the vertical maximum resolution of screen-icon.
When the main thread of background monitoring service routine detects that the operation of setting key meets preset first mode of operation:Sound
When amount+key is transferred to maximum value, then it is continuous by 5 times, that is, thread P1 is opened, a rectangle is popped up in the bottom of the screen of intelligent terminal
Window;The wherein width w of rectangular window is equal to screen level maximum resolution, and height h is equal to the vertical maximum resolution of screen-icon
The half of rate, in this way, the vertical coordinate Y0 of the failure region icon central point of touch screen becomes Y1 (Y1=Y0+h);When Y1 values exist
When between screen vertical min coordinates value Ymin and screen vertical maximum coordinate value among Ymax, you can the failure of operation touch-screen
The icon and word in region.If when the vertical coordinate value of the failure region icon central point of touch screen exceeds vertical resolution
Effective range then operates setting key again according to preset first mode of operation, opens thread P2, in the screen of intelligent terminal
Second new rectangular window is popped up again in bottom;The vertical coordinate Y0 of touch screen failure region central point becomes Y2 (Y2=Y0+
H*2), work as Ymin<=Y2<When=Ymax, you can the icon and word of operation touch-screen failure region;Otherwise, in circulating repetition
Operating procedure is stated, until the vertical coordinate of touch screen failure region central point meets Ymin<=Yi<When=Ymax.
When the main thread of background monitoring service routine detects that the operation of setting key meets preset second mode of operation:
Volume-key is transferred to minimum value, then continuous by 5 times, opens thread Q1, a rectangle can be popped up in the left side of the screen of intelligent terminal
Window;Wherein, rectangular window width w is equal to the half of the horizontal maximum resolution of screen-icon, and it is maximum that height h is equal to screen vertical
Resolution ratio;The horizontal coordinate X0 of the failure region central point of touch screen becomes X1 (X1=X0+w), when X1 values are between screen water
When between flat min coordinates value Xmin and screen level maximum coordinate value among Xmax, you can the icon of the failure region of operation touch-screen
And word;Otherwise, this step of circulating repetition, until the vertical coordinate Xmin of the failure region central point of touch screen<=Xi<=
When Xmax.
Referring to Fig. 4, the present invention also provides a kind of systems of operation intelligent terminal touch screen failure region comprising:
Monitoring modular 11 sets background monitoring service routine to starting up's service routine, is maintained at opening initialization
In file, as finger daemon in running background, the operation of monitoring and setting key;
Rectangular window pop-up module 12, when to detect that the operation of setting key meets pre- for the main thread of background monitoring service routine
If mode of operation when then open thread, pop up rectangular window in the screen of intelligent terminal;And
Failure region operation module 13, when touch screen failure region icon central point coordinate value between screen vertical
Or when between horizontal min coordinates value and maximum coordinate value among, you can the icon and word of the failure region of operation touch-screen.
The width of the rectangular window is equal to screen level maximum resolution, is highly equal to the vertical maximum resolution of screen-icon
The half of rate.It is described when the main thread of background monitoring service routine detects that the operation of setting key meets preset first operation side
Formula:Volume+key is transferred to maximum value, then continuous when pressing 5 times, that is, thread P1 is opened, in the bottom pop-up one of the screen of intelligent terminal
A rectangular window;The wherein width w of rectangular window is equal to screen level maximum resolution, and height h is equal to screen-icon vertically most
The half of big resolution ratio, in this way, the vertical coordinate Y0 of the failure region icon central point of touch screen becomes Y1 (Y1=Y0+h);When
Y1 values are when between screen vertical min coordinates value Ymin and screen vertical maximum coordinate value among Ymax, you can operation touch-screen
Failure region icon and word.If when the vertical coordinate value of the failure region icon central point of touch screen is divided beyond vertical
The effective range of resolution, then again according to preset first mode of operation:Volume+key is transferred to maximum value, then continuous by 5 operations
Setting key opens thread P2, second new rectangular window is popped up again in the bottom of the screen of intelligent terminal;The touch screen failure
The vertical coordinate Y0 of regional center point becomes Y2 (Y2=Y0+h*2), works as Ymin<=Y2<When=Ymax, you can operation touch-screen
The icon and word of failure region;Otherwise, circulating repetition aforesaid operations step, it is vertical until touch screen failure region central point
Coordinate meets Ymin<=Yi<When=Ymax.
When the main thread of background monitoring service routine detects that the operation of setting key meets preset second mode of operation:Sound
Amount-key is transferred to minimum value, then continuous when pressing 5 times, opens thread Q1, a rectangle can be popped up in the left side of the screen of intelligent terminal
Window;Wherein, rectangular window width w is equal to the half of the horizontal maximum resolution of screen-icon, and it is maximum that height h is equal to screen vertical
Resolution ratio;The horizontal coordinate X0 of the failure region central point of touch screen becomes X1 (X1=X0+w), when X1 values are between screen water
When between flat min coordinates value Xmin and screen level maximum coordinate value among Xmax, you can the icon of the failure region of operation touch-screen
And word;Otherwise, this step of circulating repetition, until the vertical coordinate Xmin of the failure region central point of touch screen<=Xi<=
When Xmax.The acquiescence effective time of the wherein described rectangular window is 30 seconds, and rectangular window is automatically closed when more than 30 seconds;It is described pre-
If mode of operation include the first mode of operation and the second mode of operation.
In conclusion the present invention is based on by popping up rectangle frame in the positions such as bottom of screen or side, can change in this way
TP touch screens failure region icon screen relative position so that the new seat of TP touch screens failure region icon central point
Scale value realizes the operation of the TP touch screens failure region of the intelligent terminal of such as mobile phone in operable normal range (NR).The invented party
Method is easy to operate, at low cost, simple and fast, efficiency is higher.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe
The personage for knowing this technology can all carry out modifications and changes to above-described embodiment without violating the spirit and scope of the present invention.Cause
This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as
At all equivalent modifications or change, should by the present invention claim be covered.