Summary of the invention
To be dummy keyboard in order to overcome touch-screen mobile phone in prior art be all the technical problem to be solved in the present invention that unified static state represents form causes user visually to lack dynamic visual experience and strong visual impact, thus reduce the defect of the experience of user, provide a kind of can to dummy keyboard first latter two to be carried out the display system of dummy keyboard of mobile terminal and a kind of display packing of dummy keyboard of the mobile terminal utilizing described display system to realize of the display of line and color by the button of touch-control.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides a kind of display packing of dummy keyboard of mobile terminal, its feature is, described display packing is for two priorities of described dummy keyboard by the button of touch-control, and described display packing comprises the following steps:
S
1, receive the instruction of user, from a function library, call an output function F(P
1, P
2);
S
2, obtain the coordinate P of described two buttons
1, P
2, P
1for the coordinate of the button at first touch-control, P
2for the coordinate of the button at rear touch-control;
S
3, by P
1, P
2bring described output function F(P into
1, P
2) in carry out calculating to obtain an Output rusults, described Output rusults represents the show layers of described dummy keyboard;
S
4, described Output rusults is drawn on the display interface of described mobile terminal.
Each button in dummy keyboard can have a coordinate characterizing position, and with coordinate P
1, P
2for the described output function F(P of independent variable
1, P
2) obtain described Output rusults by calculating.Like this, first by output function described in pre-stored in a function library, again according to the instruction of user's input, call described output function, then two buttons of user successively touch-control are calculated, just can obtain described Output rusults, described Output rusults is mainly the show layers with some special visual effects between the button of described dummy keyboard and user's touch-control.
Preferably, step S
1described in output function be a track display function F
1(P
1, P
2), step S
3middle by P
1, P
2bring described track display function F into
1(P
1, P
2) in carry out calculating to obtain an output trajectory, described output trajectory is the line between described two buttons, step S
4in in described display screen, draw described line.Described track display function F
1(P
1, P
2) be the one of output function in described function library, can by P
1, P
2bring described track display function into and carry out calculating to obtain described line, and step S
4in will draw out described line in the display screen of described mobile terminal.
Preferably, step S
4in with the described button at first touch-control for starting point, with the described button at rear touch-control for terminal draws described line, after obtaining described line, dynamically on the display screen of described mobile terminal, described line can be drawn out from the described button at first touch-control to the described button at rear touch-control, and user visually can observe described line intuitively by the process dynamically drawn out.
Preferably, the color of described two buttons is according to specific color sequences Circulating fibrocytes successively, described specific color sequences is red, orange, yellow, green, blue, blue, purple, when user clicks multiple button successively by dummy keyboard, each button will show according to described color sequences respectively successively, like this, in visual effect, user just can observe the different color display of each button of touch-control successively intuitively.
Preferably, the color of described line with described at first touch-control or identical in the color of the button of rear touch-control, by described line color is set to described at first touch-control or identical in the color of the button of rear touch-control, like this, in visual effect, user just can observe the dynamic drafting of line of different button compositions and the color display of the different of line intuitively.
Preferably, step S
4in in one first set time section, draw described line.
Preferably, step S
4in after described line is completed, in one second set time section, show described line, after namely described line is completed, the displaying time on the display screen of described mobile terminal is described second set time section.
Preferably, step S
4in when showing described line, further comprising the steps of:
S
41, from described function library, call a line explicit function f(t), described line explicit function f(t) be characterized in the length of line and the corresponding relation of time of display in described second set time section;
S
42, in described second set time section, according to described line explicit function f(t) show described line.By described line explicit function f(t) set the length of described line and the corresponding relation of time, namely utilize described line explicit function f(t) arrange: through a certain set time section, the described line be presented in display screen also remains how many length, like this, in visual effect, user just can observe the change along with the time intuitively, the display situation of described line.
Preferably, step S
42in, described line explicit function f(t) be a decreasing function, in described second set time section, according to described line explicit function f(t) come to stop the described line of display with constant speed.By by described line explicit function f(t) be set to once decreasing function, like this, along with the increase of time, the length of described line can reduce gradually, in visual effect, user just can observe the process that described line fades away in display screen intuitively.
Preferably, described line is a segment of curve, a straight-line segment or a broken line, owing to having multiple output function in described function library, and can both by P for different output functions
1, P
2bring into and calculate, thus obtain different Output rusults, and the line being embodied in display screen the button formation being exactly described two priority touch-controls has various different form, as 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
3middle by P
1, P
2bring described explicit function F into
2(P
1, P
2) carry out calculating obtaining a color display result, described color display result be the color of described two buttons according to specific color sequences Circulating fibrocytes successively, described specific color sequences is red, orange, yellow, green, blue, blue, purple, step S
4in draw in described display screen described color display result.In this case, no longer include line between the button of described two priority touch-controls, and only have the different color display of each button of touch-control successively.
The object of the invention is to the display system of the dummy keyboard additionally providing a kind of mobile terminal, its feature is, described display system is for two priorities of described dummy keyboard by the button of touch-control, and described display system comprises:
One output function calling module, for receiving the instruction of user, calls an output function F(P from a function library
1, P
2);
One button coordinate obtaining module, for obtaining the coordinate P of described two buttons
1, P
2, P
1for the coordinate of the button at first touch-control, P
2for the coordinate of the button at rear touch-control;
One computing module, for by P
1, P
2bring described output function F(P into
1, P
2) in carry out calculating to obtain an Output rusults, described Output rusults represents the show layers of described dummy keyboard;
One display module, for being drawn on the display interface of described mobile terminal by described Output rusults.
Preferably, the described output function that described output function calling module calls is track display function F
1(P
1, P
2), described computing module is used for P
1, P
2bring described track display function F into
1(P
1, P
2) in carry out calculating to obtain an output trajectory, described output trajectory is the line between described two buttons, described display module be used in the display screen of described mobile terminal, draw described line.
Preferably, described display module is used for the described button at first touch-control for starting point, with the described button at rear touch-control for terminal draws described line.
Preferably, the color of described two buttons is according to specific color sequences Circulating fibrocytes successively, and described specific color sequences is red, orange, yellow, green, blue, blue, purple.
Preferably, the color of described line with described at first touch-control or identical in the color of the button of rear touch-control.
Preferably, described display module is used for drawing described line in one first set time section.
Preferably, described display module, also for after described line is completed, shows described line in one second set time section.
Preferably, described display module is when showing described line, also for calling a line explicit function f(t from described function library), described line explicit function f(t) be characterized in the length of line and the corresponding relation of time that show in described second set time section, and in described second set time section, according to described line explicit function f(t) show described line.
Preferably, described line explicit function f(t) be a decreasing function, in described second set time section, described display module is also for according to described line explicit function f(t) come to stop the described line of display with constant speed.
Preferably, described line is a segment of curve, a straight-line segment or a broken line.
Preferably, the described output function that described output function calling module calls is a color explicit function F
2(P
1, P
2), described computing module is also for by P
1, P
2bring described explicit function F into
2(P
1, P
2) carry out calculating to obtain a color display result, described color display result is that the color of described two buttons is according to specific color sequences Circulating fibrocytes successively, described specific color sequences is red, orange, yellow, green, blue, blue, purple, and described display module is used in described display screen, draw described color display result.
Positive progressive effect of the present invention is: the present invention is carried out analysis and calculation by the priority of the dummy keyboard to mobile terminal by the button of touch-control, obtain the display of line between button and color, thus make by the button of touch-control show in display screen more eye-catching, and the color of display is more diversified, visually give the more dynamic visual effect of user and strong visual impact, improve the experience of user, and the present invention can make dummy keyboard by the button of touch-control and more not strong by visual contrasts such as the colors of the button of touch-control, thus make the insensitive people of vision can each button more easily on identification dummy keyboard.
Embodiment
Present pre-ferred embodiments is provided, to describe technical scheme of the present invention in detail below in conjunction with accompanying drawing.
As shown in Figure 1, the display system of the dummy keyboard of mobile terminal of the present invention comprises output function calling module 1, button coordinate obtaining module 2, computing module 3 and a display module 4.
Display system of the present invention can be processed by the button of touch-control for two of a described dummy keyboard priority, obtains described two priorities by the display with special visual effect of the button of touch-control.Wherein, each button in described dummy keyboard can have a coordinate characterizing position, and with coordinate P
1, P
2for the described output function F(P of independent variable
1, P
2) obtain described Output rusults by calculating.
In specific implementation process, first, described output function calling module 1 can receive the instruction that user sends, and calls an output function F(P from a function library of described mobile terminal
1, P
2), then, when user utilizes described dummy keyboard to carry out the operations such as the input of word, described button coordinate obtaining module 2 just can obtain the coordinate P of two buttons of user's priority touch-control
1, P
2, wherein P
1for the coordinate of the button at first touch-control, P
2for the coordinate of the button at rear touch-control.And described computing module 3 will by P
1, P
2bring described output function F(P into
1, P
2) in calculate, thus just can obtain an Output rusults, described Output rusults can represent that described dummy keyboard is presented at the show layers in the display screen of described mobile terminal, and described Output rusults just can be drawn in the display interface of described mobile terminal by described display module 4.
Can store multiple different output function in described function library, and described output function calling module 1 can from wherein recalling a track display function F
1(P
1, P
2), described track display function F
1(P
1, P
2) be one in described multiple output function, described computing module 3 just can by P
1, P
2bring described track display function F into
1(P
1, P
2) in carry out calculating to obtain an output trajectory, described output trajectory is the line between described two buttons, and described display module 4 just can draw out described line in the display screen of described mobile terminal.
When specific implementation, described display module 4 can with the described button at first touch-control for starting point, with the described button at rear touch-control for terminal is drawn, in visual effect, user just can observe described line drawn process out from the beginning to the end intuitively., can arrange the color of described two buttons, as successively carried out Circulating fibrocytes successively according to a specific color sequences by the color of the button of touch-control, described specific color sequences can be set to red, orange, yellow, green, blue, blue, purple meanwhile.Like this, when user clicks multiple button successively by dummy keyboard, each button will show according to described color sequences respectively successively, like this, in visual effect, user just can observe the different color display of each button of touch-control successively intuitively.
Similarly, in order to strengthen the visual experience of user, also the setting of color can be carried out to the line between different key, as can by as described in the color of line be set to as described at first touch-control or identical in the color of the button of rear touch-control, like this, in visual effect, user just can observe the dynamic drafting of line of different button compositions and the color display of the different of line intuitively.
And owing to storing multiple output function in described function library, for different output functions by P
1, P
2bring into and after calculating after can obtain different Output rusults, and to be embodied in display screen be exactly that the line that forms of the button of described two successively touch-controls has various different form, as segment of curve, straight-line segment or broken line etc.Wherein, described display module 4 can draw described line in one first set time section, like this, user just can observe out through described first set time section in display screen, described line is by the process intactly drawn out from the beginning to the end, and after described line completes, the displaying time on the display screen of described mobile terminal can be set to one second set time section.
In specific implementation process, first line explicit function f (t) can be recalled from described function library, described line explicit function f(t) characterize the length of line and the corresponding relation of time that show in described second set time section, like this, in described second set time section, according to described line explicit function f(t) show described line.By described line explicit function f(t) set the length of described line and the corresponding relation of time, namely utilize described line explicit function f(t) be arranged via a certain set time section, the described line be presented in display screen also remains how many length, like this, in visual effect, user just can observe the change along with the time intuitively, the display situation of described line.
More specifically, described line explicit function f(t) can be once decreasing function, in described second set time section, according to described line explicit function f(t) come to stop the described line of display with constant speed.Like this, along with the increase of time, the length of described line can reduce gradually, and in visual effect, user just can observe the process that described line fades away in display screen intuitively.
Certainly, when specific implementation, the described output function that described output function calling module 1 calls also can be a color explicit function F
2(P
1, P
2), described computing module 3 is by P
1, P
2bring described explicit function F into
2(P
1, P
2) carry out calculating to obtain a color display result, described color display result is that the color of described two buttons is according to specific color sequences Circulating fibrocytes successively, described specific color sequences is red, orange, yellow, green, blue, blue, purple, and described display module 4 just can draw described color display result in described display screen.In this case, no longer include line between the button of described two priority touch-controls, and only have the different color display of each button of touch-control successively.
As shown in Figure 2, the display packing of the dummy keyboard of the present invention's mobile terminal of utilizing the display system of the dummy keyboard of the mobile terminal of the present embodiment to realize comprises the following steps:
The instruction of step 100, reception user, calls an output function F(P from a function library
1, P
2).
Step 101, obtain the coordinate P of described two buttons
1, P
2, P
1for the coordinate of the button at first touch-control, P
2for the coordinate of the button at rear touch-control.
Step 102, by P
1, P
2bring described output function F(P into
1, P
2) in carry out calculating to obtain an Output rusults, described Output rusults represents the show layers of described dummy keyboard.
Step 103, be drawn on by described Output rusults on the display interface of described mobile terminal, so far flow process terminates.
Wherein, the concrete algorithm flow of the present embodiment can roughly be set to: the touch area of each effectively button of record, if the time at rear touch controlled key and the time interval at first touch controlled key are within the time of specifying (as 5 seconds), then just using the central point at first touch controlled key as starting point, with the central point at rear touch controlled key for terminal, according to certain rule, (such as first transverse shifting vertically moves again, or the center running into dummy keyboard is just done to terminal and is once turned back) calculate line road warp between starting point and terminal, if and the time at rear touch controlled key and the time interval at first touch controlled key are more than the described time (as 5 seconds) of specifying, then remove the relevant information at first touch controlled key, only be retained in the relevant information of rear touch controlled key, and as the new button at first touch-control.
After wiring path is determined, (line segment of designated length was such as drawn every 0.1 second according to certain rule, or the line segment etc. of a kind of particular color or pinup picture was drawn every 0.1 second) from starting point to terminal to draw line segment, and after line segment is completed, equally can according to certain rule (such as every the line segment of 0.1 second erasing designated length, or every the color of line segment of 0.1 second conversion assigned address or pinup picture etc.) line segment drawn is converted, after treating that line segment all disappears or display effect all terminates, stop action.
More the present invention is understood for the ease of those skilled in the art, in this concrete operations flow process in conjunction with user, brief description is carried out to the present invention: first user can select a kind of display mode of dummy keyboard, if the line first between latter two button is segment of curve, and the pattern that button and line all have color to show.Like this, when the button of user's touch-control dummy keyboard, button " A " and button " B " as priority touch-control, the effect be presented in display screen is exactly have a segment of curve between button " A " and " B ", as the line of an arc, and line is with button " A " for starting point, with " B " for terminal is drawn out.And red during the color of button " A ", the color of " B " is orange, and the color relation of line between " A " " B " can be red, thus just can to user with the procedure for displaying of dynamic line and color, and eye-catching and strong visual impact.
Although the foregoing describe the specific 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 defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.