Summary of the invention
The technical matters that the present invention will solve be for the dummy keyboard that overcomes touch-screen mobile phone in the prior art all be that unified static state represents form and causes the user visually to lack dynamic visual experience and strong visual impact; Thereby reduced the defective of user's experience, provide a kind of can be to the elder generation of dummy keyboard latter two display system and a kind of of dummy keyboard of portable terminal of being carried out the demonstration of line and color by the button of touch-control utilize the display packing of the dummy keyboard of the portable terminal that said display system realizes.
The present invention solves above-mentioned technical matters through following technical proposals:
The invention provides a kind of display packing of dummy keyboard of portable terminal, its characteristics are that said display packing is directed against two priorities of said dummy keyboard by the button of touch-control, and said display packing may further comprise the steps:
S
1, receive user's instruction, from a function library, call an output function F (P
1, P
2);
S
2, obtain the coordinate P of said two buttons
1, P
2, P
1Be the coordinate of the button of touch-control formerly, P
2Coordinate for the button of touch-control in the back;
S
3, with P
1, P
2Bring said output function F (P into
1, P
2) in calculate with obtain one output the result, said output result representes the show layers of said dummy keyboard;
S
4, said output result is drawn on the display interface of said portable terminal.
Each button in the dummy keyboard all can have a coordinate that characterizes the position, and with coordinate P
1, P
2Said output function F (P for independent variable
1, P
2) obtain said output result through calculating.Like this; At first through the said output function of pre-stored in a function library; According to the instruction of user's input, call said output function again, then user successively two buttons of touch-control is calculated; Just can obtain said output result, said output result is mainly the show layers with some special visual effects between the button of said dummy keyboard and user's touch-control.
Preferably, step S
1Described in output function be a track explicit function F
1(P
1, P
2), step S
3In with P
1, P
2Bring said track explicit function F into
1(P
1, P
2) in calculate to obtain an output trajectory, said output trajectory is the line between said two buttons, step S
4In in said display screen, draw said line.Said track explicit function F
1(P
1, P
2) be output function a kind of in the said function library, can be with P
1, P
2Bring said track explicit function into and calculate and obtain said line, and step S
4In will in the display screen of said portable terminal, draw out said line.
Preferably, step S
4In be starting point with the button of said touch-control formerly; With said button at back touch-control is that terminal point is drawn said line; After obtaining said line; Can be dynamically on the display screen of said portable terminal from the button of said touch-control formerly to said in the back button of touch-control draw out said line, and the user visually can observe said line intuitively and dynamically drawn out the process of coming.
Preferably; The color of said two buttons is according to the specific color sequences demonstration that circulates successively, and said specific color sequences is red, orange, yellow, green, blue, blue, purple, when the user clicks a plurality of button successively through dummy keyboard; Each button will come to show successively according to described color sequences respectively; Like this, on visual effect, the user just can observe the various colors demonstration of each button of touch-control successively intuitively.
Preferably; The color of said line and said touch-control formerly or in the back color of the button of touch-control is identical; Through being that the color of button of touch-control is identical with said touch-control formerly or in the back with described line color settings; Like this, on visual effect, the user just can observe the dynamic drafting of the line that different keys forms intuitively and the various colors of line shows.
Preferably, step S
4In in one first set time section, draw said line.
Preferably, step S
4In after said line is completed, in one second set time section, show said line, after just said line was completed, the demonstration time on the display screen of said portable terminal was the said second set time section.
Preferably, step S
4In when said line is shown, further comprising the steps of:
S
41, from said function library, call a line explicit function f (t), said line explicit function f (t) is characterized in the length of the line that shows in the said second set time section and the corresponding relation of time;
S
42, in the said second set time section, show said line according to said line explicit function f (t).Set the length of said line and the corresponding relation of time through said line explicit function f (t); Just utilize said line explicit function f (t) to be provided with: through a certain set time section; Be presented at the length how many said lines in the display screen also remains, like this, on visual effect; The user just can observe along with change of time intuitively, the demonstration situation of said line.
Preferably, step S
42In, said line explicit function f (t) is a decreasing function, in the said second set time section, stops to show said line according to said line explicit function f (t) with constant speed.Through said line explicit function f (t) is set to decreasing function once; Like this, along with the increase of time, the length of said line can reduce gradually; On visual effect, the user just can observe the process that said line fades away intuitively in display screen.
Preferably, said line is a segment of curve, a straight-line segment or a broken line, owing in the said function library multiple output function is arranged, and can both be with P for different output functions
1, P
2Bring into and calculate, thereby obtain different output results, and be embodied in the display screen be exactly said two successively the line that constitutes of the button of touch-controls have various form, like segment of curve, straight-line segment or broken line.
Preferably, step S
1Described in output function be a color explicit function F
2(P
1, P
2), step S
3In with P
1, P
2Bring said explicit function F into
2(P
1, P
2) calculate obtaining a color display result, the color that said color display result is said two buttons is according to the specific color sequences demonstration that circulates successively, and said specific color sequences is red, orange, yellow, green, blue, blue, purple, step S
4In in said display screen, draw said color display result.In this case, no longer include line between the button of said two priority touch-controls, the various colors of each button of touch-control shows and have only successively.
The objective of the invention is to also to provide a kind of display system of dummy keyboard of portable terminal, its characteristics are, by the button of touch-control, said display system comprises said display system to two priorities of said dummy keyboard:
One output function calling module is used to receive user's instruction, from a function library, calls an output function F (P
1, P
2);
One button coordinate obtaining module is used to obtain the coordinate P of said two buttons
1, P
2, P
1Be the coordinate of the button of touch-control formerly, P
2Coordinate for the button of touch-control in the back;
One computing module is used for P
1, P
2Bring said output function F (P into
1, P
2) in calculate with obtain one output the result, said output result representes the show layers of said dummy keyboard;
One display module is used for said output result is drawn on the display interface of said portable terminal.
Preferably, the said output function that calls of said output function calling module is track explicit function F
1(P
1, P
2), said computing module is used for P
1, P
2Bring said track explicit function F into
1(P
1, P
2) in calculate to obtain an output trajectory, said output trajectory is the line between said two buttons, said display module is used for drawing said line at the display screen of said portable terminal.
Preferably, the button that said display module is used for said touch-control formerly is a starting point, is that terminal point is drawn said line with said button at back touch-control.
Preferably, the color of said two buttons is according to the specific color sequences demonstration that circulates successively, and said specific color sequences is red, orange, yellow, green, blue, blue, purple.
Preferably, the color of said line and said touch-control formerly or in the back color of the button of touch-control is identical.
Preferably, said display module is used in one first set time section, drawing said line.
Preferably, said display module also is used for after said line is completed, and in one second set time section, shows said line.
Preferably; Said display module is when showing said line; Also be used for calling a line explicit function f (t) from said function library; Said line explicit function f (t) is characterized in the length of the line that shows in the said second set time section and the corresponding relation of time, and in the said second set time section, shows said line according to said line explicit function f (t).
Preferably, said line explicit function f (t) is a decreasing function, and in the said second set time section, said display module also is used for stopping to show said line according to said line explicit function f (t) with constant speed.
Preferably, said line is a segment of curve, a straight-line segment or a broken line.
Preferably, the said output function that calls of said output function calling module is a color explicit function F
2(P
1, P
2), said computing module also is used for P
1, P
2Bring said explicit function F into
2(P
1, P
2) calculate to obtain a color display result; The color that said color display result is said two buttons is according to the specific color sequences demonstration that circulates successively; Said specific color sequences is red, orange, yellow, green, blue, blue, purple, and said display module is used for drawing said color display result at said display screen.
Positive progressive effect of the present invention is: the present invention is analyzed and calculates by the button of touch-control through the priority to the dummy keyboard of portable terminal; Obtain line and the demonstration of color between the button; Thereby make by the button of touch-control in display screen, show more eye-catching; And the color that shows is variation more; Visually give dynamic more visual effect of user and strong visual impact; Promoted user's experience, and the present invention can make dummy keyboard by the button of touch-control and more not strong by the visual contrasts such as color of the button of touch-control, thereby make the insensitive people of vision can be more prone to each button on the ground identification dummy keyboard.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to specify technical scheme of the present invention.
As shown in Figure 1, the display system of the dummy keyboard of portable terminal of the present invention comprises an output function calling module 1, a button coordinate obtaining module 2, a computing module 3 and a display module 4.
Display system of the present invention can be handled by the button of touch-control to two priorities of said dummy keyboard, obtains said two priorities by the demonstration of the special visual effect of having of the button of touch-control.Wherein, each button in the said dummy keyboard all can have a coordinate that characterizes the position, and with coordinate P
1, P
2Said output function F (P for independent variable
1, P
2) obtain said output result through calculating.
In the practical implementation process, at first, said output function calling module 1 can receive the instruction that the user sends, and from a function library of said portable terminal, calls an output function F (P
1, P
2), then, when the user utilized said dummy keyboard to carry out the operations such as input of literal, said button coordinate obtaining module 2 just can be obtained the user coordinate P of two buttons of touch-control successively
1, P
2, P wherein
1Be the coordinate of the button of touch-control formerly, P
2Coordinate for the button of touch-control in the back.And said computing module 3 will be with P
1, P
2Bring said output function F (P into
1, P
2) in calculate; Thereby just can obtain an output result; Said output result can represent that said dummy keyboard is presented at the show layers in the display screen of said portable terminal, and said display module 4 just can be drawn on said output result in the display interface of said portable terminal.
Can store a plurality of different output functions in the said function library, and said output function calling module 1 can be from wherein accessing a track explicit function F
1(P
1, P
2), said track explicit function F
1(P
1, P
2) be a kind of in said a plurality of output function, said computing module 3 just can be with P
1, P
2Bring said track explicit function F into
1(P
1, P
2) in calculate to obtain an output trajectory, said output trajectory is the line between said two buttons, and said display module 4 just can be drawn out said line in the display screen of said portable terminal.
When concrete the realization; Said display module 4 can be starting point with the button of said touch-control formerly; With said button at back touch-control is that terminal point is drawn, and on visual effect, the user just can observe said line intuitively and drawn the process of coming out from the beginning to the end.Simultaneously, can the color of said two buttons be provided with, as successively being come the demonstration that circulates successively according to a specific color sequences by the color of the button of touch-control, said specific color sequences can be set to red, orange, yellow, green, blue, blue, purple.Like this; When the user clicked a plurality of button successively through dummy keyboard, each button will come to show successively according to described color sequences respectively, like this; On visual effect, the user just can observe the various colors demonstration of each button of touch-control successively intuitively.
Likewise; In order to strengthen user's visual experience; Can also carry out the setting of color to the line between the different key, as being that the color of button of touch-control is identical with said touch-control formerly or in the back, like this with the color settings of said line; On visual effect, the user just can observe the dynamic drafting of the line that different keys forms intuitively and the various colors of line shows.
And since said function library in store multiple output function, for different output functions with P
1, P
2Can obtain different output results after bringing and calculate the back into, and be embodied in the display screen be exactly said two successively the line that constitutes of the button of touch-controls have various form, like segment of curve, straight-line segment or broken line etc.Wherein, Said display module 4 can be drawn said line in one first set time section; Like this, the user just can observe out in display screen through the said first set time section, and said line is intactly drawn the process of coming out from the beginning to the end; And after said line completed, the demonstration time on the display screen of said portable terminal can be set to one second set time section.
In the practical implementation process; Can at first from said function library, access a line explicit function f (t); Said line explicit function f (t) has characterized the length of the line that in the said second set time section, shows and the corresponding relation of time; Like this, in the said second set time section, show said line according to said line explicit function f (t).Set the length of said line and the corresponding relation of time through said line explicit function f (t); Just utilize said line explicit function f (t) to be set to through a certain set time section; Be presented at the length how many said lines in the display screen also remains, like this, on visual effect; The user just can observe along with change of time intuitively, the demonstration situation of said line.
More specifically, said line explicit function f (t) can be decreasing function once, in the said second set time section, stops to show said line according to said line explicit function f (t) with constant speed.Like this, along with the increase of time, the length of said line can reduce gradually, and on visual effect, the user just can observe the process that said line fades away intuitively in display screen.
Certainly, when concrete the realization, the said output function that said output function calling module 1 calls also can be a color explicit function F
2(P
1, P
2), said computing module 3 is with P
1, P
2Bring said explicit function F into
2(P
1, P
2) calculate to obtain a color display result; The color that said color display result is said two buttons is according to the specific color sequences demonstration that circulates successively; Said specific color sequences is red, orange, yellow, green, blue, blue, purple, and said display module 4 just can be drawn said color display result in said display screen.In this case, no longer include line between the button of said two priority touch-controls, the various colors of each button of touch-control shows and have only successively.
As shown in Figure 2, the present invention utilizes the display packing of the dummy keyboard of the portable terminal that the display system of dummy keyboard of the portable terminal of present embodiment realizes may further comprise the steps:
An output function F (P is called in step 100, reception user's instruction from a function library
1, P
2).
Step 101, obtain the coordinate P of said two buttons
1, P
2, P
1Be the coordinate of the button of touch-control formerly, P
2Coordinate for the button of touch-control in the back.
Step 102, with P
1, P
2Bring said output function F (P into
1, P
2) in calculate with obtain one output the result, said output result representes the show layers of said dummy keyboard.
Step 103, said output result is drawn on the display interface of said portable terminal, so far flow process finishes.
Wherein, The concrete algorithm flow of present embodiment can roughly be set to: the each effectively touch area of button of record; If in the time (as 5 second) of the time interval in appointment of time of back touch controlled key and touch controlled key formerly, then just with the central point of touch controlled key formerly as starting point, be terminal point with central point at back touch controlled key; (for example laterally move earlier and vertically move again according to certain rule; The center that perhaps runs into dummy keyboard is just done to terminal point and is once turned back etc.) calculate the line road warp between starting point and the terminal point, and if more than the time (as 5 second) of the time interval in said appointment of the time of back touch controlled key and touch controlled key formerly, then remove the relevant information of touch controlled key formerly; Only be retained in the relevant information of back touch controlled key, and as the button of new touch-control formerly.
After the line path is confirmed; (for example whenever drew the line segment of designated length according to certain rule at a distance from 0.1 second; Perhaps whenever drew the line segment of a kind of particular color or pinup picture etc. at a distance from 0.1 second) come draw line segments from starting point to terminal point; And after line segment is completed, can carry out conversion to the line segment of having drawn according to certain rule (for example every line segment of designated length of wiping at a distance from 0.1 second, or the color of every line segment at a distance from 0.1 second conversion assigned address or pinup picture etc.) equally; After treating that line segment all disappears or display effect is all over, stop action.
Understand the present invention more for the ease of those skilled in the art; Combine user's concrete operations flow process that the present invention is carried out brief description at this: the user can at first select a kind of display mode of dummy keyboard; Like the first line between latter two button is segment of curve, and button and line all have the pattern of color demonstration.Like this; When the button of user's touch-control dummy keyboard; Like the priority touch-control button " A " and button " B ", the effect that is presented in the display screen is exactly that a segment of curve is arranged between button " A " and " B ", like the line of an arc; And line is to be starting point with button " A ", is that terminal point is drawn out with " B ".And red during the color of button " A ", the color of " B " is orange, and the color relation of the line between " A " " B " can be red, thereby just can give the procedure for displaying of user with dynamic line and color, and eye-catching and strong visual impact.
Though more than described embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited appended claims.Those skilled in the art can make numerous variations or modification to these embodiments under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.