Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, below by specific embodiment, describe.
embodiment mono-
Fig. 1 shows the flow process of the interface of mobile terminal slip display packing that the embodiment of the present invention provides, and details are as follows:
In step S101, the sliding speed of detection display screen current interface;
Described sliding speed refers to the instantaneous sliding speed of display screen current interface.After the sliding speed of display screen current interface being detected, store described sliding speed.Described display screen includes but not limited to the display screen in the terminal devices such as mobile phone, panel computer, computing machine.
In step S102, judge whether the sliding speed at described interface is greater than the speed preset value;
Described speed preset value is pre-configured.Different users is different to twinkling impression, and the user can need to arrange the speed preset value according to the vision of oneself.
Described interface sliding speed and speed preset value are compared to analysis, if the sliding speed that the comparative analysis result is described interface is greater than the speed preset value, perform step S103, otherwise, return to step S101, continue the sliding speed at detection display screen interface.
As an exemplifying embodiment of the present invention, during pre-configured speed preset value, provide three kinds of speed preset values to be selected for the user, three kinds of speed preset values are respectively speed preset value 100m/s, 200m/s, 300m/s.When the user selects the speed preset value to be configured to 200m/s, when the sliding speed at described interface is greater than speed preset value 200m/s, execution step S103.
In step S103, upgrade the pixel color of display screen current interface;
The display screen current interface that described display screen current interface is indication in step S101.
The pixel color of upgrading the display screen current interface comprises the background pixel color of renewal display screen current interface and the pixel color of display screen current interface displayed content, make the pixel color of upgrading later display screen current interface displayed content approach the background pixel color of display screen current interface, on display screen, the shown content of current interface will be streaked with the pixel color after upgrading.And speed is higher, the pixel color of display screen current interface displayed content more approaches the background pixel color of display screen current interface.
In embodiments of the present invention, the sliding speed of shielding current interface by detection display, judge whether described sliding speed is greater than the speed preset value, if judgment result is that while being greater than, upgrade the pixel color of display screen current interface, make the pixel color of upgrading later display screen current interface displayed content approach the background pixel color of display screen current interface.When display screen current interface high-speed slide, on display screen, the shown content of current interface will be streaked with the pixel color after upgrading.And speed is higher, the pixel color of display screen current interface displayed content more approaches the background pixel color of display screen current interface, the rolling eye problem produced thereby the slip of solution display screen interface is too fast.
Fig. 2 shows the specific implementation flow process of the interface of mobile terminal slip display packing step S103 that the present embodiment provides, and as shown in Figure 2, the step S103 in Fig. 1 embodiment is specially:
In step S201, obtain the pixel color value X of background of described display screen current interface and the pixel color value Y of current interface displayed content;
The pixel color Y value of the pixel color value X of the background of described display screen current interface and current interface displayed content is the pixel color value of the red R of Essential colour, green G, blue B.Three kinds of red R of Essential colour, green G, blue B co-controlling the color of each pixel of display screen.
In step S202, according to described background pixel color value X and content pixel color value Y, recalculate content pixel color value Z;
Similarly, the shown content pixel color value Z of the described display screen current interface calculated is the pixel color value about three kinds of red R of Essential colour, green G, blue B.The described formula recalculated is:
Z=k×X+(1-k)×Y,1≥k>0.8;
K means the color-weighted value of background pixel, and k is larger, means that the pixel color of background is darker, and k is less, means that the pixel color of background is more shallow, and during k=1, the background pixel look is former background pixel color.
Along with the sliding speed of display screen current interface is reduced to and is less than the speed preset value from being greater than the speed preset value, described weighted value k is reduced to 0 gradually, and display screen is by pixel color display interface originally.Described 0 the mode of being reduced to gradually can be the mode according to linearity or nonlinear function.
In step S203, according to described background pixel color value Y with recalculate the content pixel color value Z obtained, upgrade the pixel color of display screen current interface.
When display screen current interface high-speed slide, display screen shows is the background pixel color at interface and recalculates the content pixel color obtained, make the background pixel color of the pixel color of display screen current interface displayed content close to current interface, the shown content of display screen current interface presents in the mode of virtualization, thereby has completed the pixel color that upgrades the display screen current interface.Further, along with the decline of display screen current interface sliding speed, when described sliding speed is reduced to while being less than the speed preset value from being greater than the speed preset value, described weighted value k is reduced to 0 gradually, display screen recovers interface pixel color originally gradually, shows interface originally.
In embodiments of the present invention, when display screen current interface high-speed slide, display screen shows is the background pixel color at interface and recalculates the content pixel color obtained, make the background pixel color of the pixel color of display screen current interface displayed content close to the display screen current interface, on display screen, the shown content of current interface will be streaked with the pixel color after upgrading.And speed is higher, the pixel color of display screen current interface displayed content more approaches the background pixel color of display screen current interface, thereby has completed the pixel color that upgrades current interface.
Fig. 3 shows the structure of the mobile terminal slip display device that the present embodiment provides.This device can be arranged in the terminal devices such as mobile phone, panel computer, computing machine, for moving Fig. 1 of the present invention and the described interface of mobile terminal slip of Fig. 2 embodiment display packing.For convenience of explanation, only show the part relevant to the present embodiment.
With reference to Fig. 3, this device comprises:
Speed detection unit 31, the sliding speed of detection display screen current interface;
Speed judging unit 32, judge whether the sliding speed at described interface is greater than the speed preset value;
When the sliding speed at the described interface of judgement is less than or equal to the speed preset value, continue the sliding speed at detection display screen interface.
Pixel color updating block 33, when the sliding speed at the described interface of judgement is greater than the speed preset value, upgrade the pixel color of display screen current interface.
Further, described pixel color updating block 33 comprises:
Pixel color acquisition module 331, obtain the background pixel color value X of described display screen current interface and the pixel color value Y of current interface displayed content;
Pixel color computing module 332, according to described background pixel color value X and described content pixel color value Y, recalculate the pixel color value Z of the content of current interface;
Update module 333, according to described background pixel color value Y and the pixel color that recalculates the content pixel color value Z renewal display screen current interface obtained.
Wherein, X, Y and Z are the pixel color value about three kinds of red R of Essential colour, green G, blue B.Three kinds of red R of Essential colour, green G, blue B co-controlling the color of each pixel of display screen.X means the background pixel color value X=(R of display screen current interface
x, G
x, B
x), Y means the pixel color value Y=(R of display screen current interface displayed content
y, G
y, B
y), when Z means that sliding speed is greater than the speed preset value, display screen shows the pixel color value of the content of current interface, and k means background pixel look weighted value, and k is larger, means that the pixel color of background is darker, and k is less, means that the pixel color of background is more shallow.
Along with the sliding speed of display screen current interface is reduced to while being less than the speed preset value from being greater than the speed preset value, described weighted value k is reduced to 0 gradually, the normal display interface of display screen.It can be the mode according to linearity or nonlinear function that described weighted value k is reduced to 0 mode gradually.
As an exemplifying embodiment of the present invention, the user can be according to individual visual perception's needs, pre-configured speed preset value.
Speed preset value dispensing unit 34, the configuration speed preset value.
In embodiments of the present invention, the sliding speed of shielding current interface by detection display, judge whether described sliding speed is greater than the speed preset value, if judgment result is that while being greater than, upgrade the pixel color of display screen current interface, make the pixel color of upgrading later display screen current interface displayed content approach the background pixel color of display screen current interface.When display screen current interface high-speed slide, the display screen current interface will be streaked to upgrade later pixel color, thereby solve prior art due to the too fast rolling eye problem produced of display screen interface slip.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention.For example, unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.Again for example, the computing formula that recalculates display screen current interface displayed content pixel color is not limited to described computing formula, as the case may be, revises computing formula or increase, reduces computing formula and calculating standard.Again for example, for described speed preset value, include but not limited to described three kinds of speed preset values, can as the case may be, revise numerical value.
For a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in claim scope of the present invention.