CN103488399B - Method and device for mobile terminal interface sliding display - Google Patents

Method and device for mobile terminal interface sliding display Download PDF

Info

Publication number
CN103488399B
CN103488399B CN201310433367.8A CN201310433367A CN103488399B CN 103488399 B CN103488399 B CN 103488399B CN 201310433367 A CN201310433367 A CN 201310433367A CN 103488399 B CN103488399 B CN 103488399B
Authority
CN
China
Prior art keywords
pixel color
display screen
current interface
interface
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310433367.8A
Other languages
Chinese (zh)
Other versions
CN103488399A (en
Inventor
王映理
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
SHENZHEN OPPO COMMUNICATION SOFTWARE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN OPPO COMMUNICATION SOFTWARE Co Ltd filed Critical SHENZHEN OPPO COMMUNICATION SOFTWARE Co Ltd
Priority to CN201310433367.8A priority Critical patent/CN103488399B/en
Publication of CN103488399A publication Critical patent/CN103488399A/en
Application granted granted Critical
Publication of CN103488399B publication Critical patent/CN103488399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention belongs to the field of mobile terminals and particularly relates to a method and device for mobile terminal interface sliding display. The method comprises the steps of detecting a sliding speed of a current interface of a display screen; judging whether the sliding speed of the interface is larger than a preset speed value; and if the sliding speed of the interface is larger than the preset speed value, updating a pixel color of the current interface of the display screen. According to the method and device for mobile terminal interface sliding display, by updating the pixel color of the current interface of the display screen when the sliding speed of the current interface of the display screen is too quick, the problem of dazzling caused by the fact that the interface of the display screen slides too quickly in the prior art is solved.

Description

A kind of interface of mobile terminal slip display packing and device
Technical field
The invention belongs to field of mobile terminals, more particularly, to a kind of interface of mobile terminal slip display packing and device.
Background technology
Display screen is referred to be shown on screen certain e-file by specific transmission equipment and is re-reflected into human eye A kind of show tools, the such as display screen of television set, computer, mobile phone etc..One of its important technical parameter is colorfulness.Aobvious Color shown by display screen all to be controlled by red (r), green (g), blue (b) three kinds of Essential colour, that is, each of display screen The color of pixel all to be controlled by red (r), green (g), blue (b) three kinds of Essential colour.
When we browse webpage, see novel, if will skip that roll display screen current page is needed.Eye recognition is quick The object of movement has ending effect.If during the excessive velocities that display screen current interface is slided, an interface can be led to firm Streak, next interface draws again, the eyes of user are it is seen that the effect of two interface content superpositions.When shown by interface When content color is all different, user is easily allowed to feel twinkling.
Content of the invention
The present invention provides the method and device that a kind of interface of mobile terminal slides display, to solve prior art due to interface Slide the too fast rolling eye problem leading to.
The present invention is achieved in that a kind of interface of mobile terminal slip display packing, and methods described includes:
The sliding speed of detection display screen current interface;
Judge whether the sliding speed at described interface is more than speed preset value;
If so, update the pixel color of display screen current interface.
The present invention also provides a kind of interface of mobile terminal slip display device, and described device includes:
Speed detection unit, for detecting the sliding speed of display screen current interface;
Speed judgment unit, whether the sliding speed for judging described interface is more than speed preset value;
Pixel color updating block, during for being more than speed preset value in the sliding speed judging described interface, updates aobvious The pixel color of display screen current interface.
In the present invention, by obtaining the sliding speed of display screen current interface, whether judge the sliding speed at described interface Preset value more than speed.If the determination result is YES, then update the pixel color of display screen current interface so that described interface shows The content shown is close with background colour.Therefore in high-speed slide display screen, user it is seen that virtualization interface content, without Produce color overlaid twinkling effect, thus solve prior art due to Surface active component too fast and produce rolling eye problem.
Brief description
Fig. 1 is the flow chart of interface of mobile terminal slip display packing provided in an embodiment of the present invention
Fig. 2 be interface of mobile terminal slip display packing step s103 provided in an embodiment of the present invention implement flow process
Fig. 3 is the structure chart of interface of mobile terminal slip display device provided in an embodiment of the present invention
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, below in conjunction with drawings and Examples, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only in order to explain the present invention, and It is not used in the restriction present invention.
In order to technical solutions according to the invention are described, to illustrate below by specific embodiment.
Embodiment one
Fig. 1 shows the flow process of interface of mobile terminal slip display packing provided in an embodiment of the present invention, 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.The cunning of display screen current interface is detected After dynamic speed, store described sliding speed.Described display screen includes but is not limited to the terminal such as mobile phone, panel computer, computer and sets Display screen in standby.
In step s102, judge whether the sliding speed at described interface is more than speed preset value;
Described speed preset value is pre-configured with.Different users is different to twinkling impression, and user can be according to oneself Vision need arrange speed preset value.
Described Surface active component speed and speed preset value are compared analysis, if comparative analysiss result is described interface Sliding speed is more than speed preset value, then execution step s103, otherwise, return to step s101, continues detection display screen interface Sliding speed.
As one of present invention enforcement example, when being pre-configured with speed preset value, provide three kinds of speed preset values for Family is selected, and three kinds of speed preset values are respectively speed preset value 100m/s, 200m/s, 300m/s.User selects speed pre- If value is configured to 200m/s, when the sliding speed at described interface is more than speed preset value 200m/s, execution step s103.
In step s103, update the pixel color of display screen current interface;
Described display screen current interface is the display screen current interface of indication in step s101.
The pixel color updating display screen current interface includes updating the background pixel color of display screen current interface and shows The pixel color of display screen current interface displayed content is so that update the pixel face of display screen current interface displayed content later , close to the background pixel color of display screen current interface, the content shown by current interface on display screen is by with the picture after updating for color Plain color is streaked.And speed is higher, the pixel color of display screen current interface displayed content works as prezone closer to display screen The background pixel color in face.
In embodiments of the present invention, by detecting the sliding speed of display screen current interface, judge that described sliding speed is No more than speed preset value, if judged result be more than when, update display screen current interface pixel color so that update after The pixel color of display screen current interface displayed content is close to the background pixel color of display screen current interface.Work as in display screen During front interface high-speed slide, the content shown by current interface on display screen will be streaked with the pixel color after updating.And speed Degree is higher, the pixel color of display screen current interface displayed content closer to the background pixel color of display screen current interface, Thus solve display screen interface slide too fast and produce rolling eye problem.
Fig. 2 show the present embodiment provide interface of mobile terminal slip display packing step s103 implement stream Journey, as shown in Fig. 2 step s103 in Fig. 1 embodiment particularly as follows:
In step s201, obtain pixel color value x of background of described display screen current interface and current interface is shown Show pixel color value y of content;
Pixel color value x of background of described display screen current interface and pixel color y of current interface displayed content Value is the red r of Essential colour, green g, the pixel color value of blue b.The red r of three kinds of Essential colour, green g, blue b co- controlling each picture of display screen The color of element.
In step s202, according to described background pixel color value x and content pixel color value y, recalculate content picture Plain color value z;
Similarly, content pixel color value z shown by described calculated display screen current interface is with regard to three kinds The red r of Essential colour, green g, the pixel color value of blue b.The described formula that recalculates is:
z=k×x+(1-k)×y,1≥k>0.8;
K represents the color-weighted value of background pixel, and k is bigger, represents that the pixel color of background is deeper, k is less, represents background Pixel color is more shallow, and during k=1, background pixel color is former background pixel color.
With display screen current interface sliding speed from decreasing below speed preset value more than speed preset value, described Weighted value k is gradually decreased as 0, and display screen presses the pixel color display interface of script.Described be gradually decreased as 0 mode can be According to linear or nonlinear function mode.
In step s203, according to described background pixel color value y and recalculate content pixel color value z obtaining, Update the pixel color of display screen current interface.
When display screen current interface high-speed slide, display screen is shown that the background pixel color at interface and recalculates The content pixel color that obtains so that display screen current interface displayed content pixel color close to current interface background Pixel color, the content shown by display screen current interface is presented in the way of blurring, thus it is current to complete renewal display screen The pixel color at interface.Further, with the decline of display screen current interface sliding speed, when described sliding speed is from more than speed When degree preset value decreases below speed preset value, described weighted value k is gradually decreased as 0, and display screen gradually recovers the boundary of script Face pixel color, the interface of display script.
In embodiments of the present invention, when display screen current interface high-speed slide, display screen is shown that the background at interface Pixel color and recalculate the content pixel color obtaining so that the pixel color of display screen current interface displayed content connects It is bordering on the background pixel color of display screen current interface, the content shown by current interface on display screen is by with the pixel after updating Color is streaked.And speed is higher, the pixel color of display screen current interface displayed content is closer to display screen current interface Background pixel color, thus complete update current interface pixel color.
Fig. 3 shows the structure of the mobile terminal slip display device that the present embodiment provides.This device may be located at mobile phone, In the terminal units such as panel computer, computer, the interface of mobile terminal for running described in Fig. 1 and Fig. 2 embodiment of the present invention is slided Dynamic display packing.For convenience of description, illustrate only part related to the present embodiment.
With reference to Fig. 3, this device includes:
Speed detection unit 31, the sliding speed of detection display screen current interface;
Speed judgment unit 32, judges whether the sliding speed at described interface is more than speed preset value;
When the sliding speed judging described interface is less than or equal to speed preset value, continue the cunning of detection display screen interface Dynamic speed.
Pixel color updating block 33, when the sliding speed judging described interface is more than speed preset value, updates display The pixel color of screen current interface.
Further, described pixel color updating block 33 includes:
Pixel color acquisition module 331, obtains background pixel color value x and the current interface of described display screen current interface Pixel color value y of displayed content;
Pixel color computing module 332, according to described background pixel color value x and described content pixel color value y, again Calculate pixel color value z of the content of current interface;
Update module 333, according to described background pixel color value y and recalculate content pixel color value z obtaining more The pixel color of new display screen current interface.
Wherein, x, y and z be with regard to the red r of three kinds of Essential colour, green g, blue b pixel color value.The red r of three kinds of Essential colour, green g, The blue b co- controlling color of each pixel of display screen.X represents the background pixel color value x=(r of display screen current interfacex,gx, bx), y represents the pixel color value y=(r of display screen current interface displayed contenty,gy,by), z represents that sliding speed is more than speed During degree preset value, display screen shows the pixel color value of the content of current interface, and k represents background pixel color weighted value, and k is bigger, table Show that the pixel color of background is deeper, k is less, represent that the pixel color of background is more shallow.
With display screen current interface sliding speed when decreasing below speed preset value more than speed preset value, institute State weighted value k and be gradually decreased as 0, the normal display interface of display screen.The mode that described weighted value k is gradually decreased as 0 can be by According to linear or nonlinear function mode.
As an enforcement example of the present invention, user can be pre-configured with speed according to the needs of personal visual perception Preset value.
Speed preset value dispensing unit 34, configuration speed preset value.
In embodiments of the present invention, by detecting the sliding speed of display screen current interface, judge that described sliding speed is No more than speed preset value, if judged result be more than when, update display screen current interface pixel color so that update after The pixel color of display screen current interface displayed content is close to the background pixel color of display screen current interface.Work as in display screen During front interface high-speed slide, display screen current interface will be streaked with updating later pixel color, thus solve prior art by In display screen interface slide too fast and produce rolling eye problem.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention.For example, unit Divided according to function logic, but be not limited to above-mentioned division, as long as being capable of corresponding function;Separately Outward, the specific name of each functional unit, also only to facilitate mutual distinguish, is not limited to protection scope of the present invention.Again For example, the computing formula recalculating display screen current interface displayed content pixel color is not limited to described computing formula, root According to concrete condition, change computing formula or increase, reduce computing formula and calculate standard.Again for example, for described speed Preset value, including but not limited to described three kinds of speed preset values, numerical value can be changed as the case may be.
For a person skilled in the art, the present invention can have various modifications and variations.All spirit in the present invention Within principle, any modification, equivalent substitution and improvement made etc., should be included within scope of the presently claimed invention.

Claims (8)

1. a kind of interface of mobile terminal slip display packing is it is characterised in that methods described comprises the steps:
The sliding speed of detection display screen current interface;
Judge whether the sliding speed at described interface is more than speed preset value;
If so, update the pixel color of display screen current interface;
Wherein, described update display screen current interface pixel color step particularly as follows:
Obtain pixel color value x of background of described display screen current interface and the pixel color value of current interface displayed content y;
Pixel color value x according to described background and pixel color value y of content, recalculate pixel color value z of content;
Pixel color value x according to described background and pixel color value z recalculating the content obtaining, update display screen current The pixel color at interface.
2. the method for claim 1 is it is characterised in that methods described also includes:
When the sliding speed of described display screen current interface is less than or equal to described speed preset value, continues detection display screen and work as The sliding speed of front interface.
3. the method for claim 1 is it is characterised in that methods described further includes following step:
It is pre-configured with speed preset value.
4. the method for claim 1 is it is characterised in that the formula of described pixel color value z recalculating content is:
Z=k × x+ (1-k) × y, 1 >=k > 0.8;
Wherein, x, y and z are the red r of Essential colour, green g, the pixel color value of blue b, and x represents the picture of the background of display screen current interface Plain color value x=(rx,gx,bx), y represents the pixel color value y=(r of display screen current interface displayed contenty,gy,by), z When representing that sliding speed is more than speed preset value, display screen shows the pixel color value of the content of current interface;K represents weighted value.
5. a kind of interface of mobile terminal slip display device is it is characterised in that described device includes:
Speed detection unit, for detecting the sliding speed of display screen current interface;
Speed judgment unit, whether the sliding speed for judging described interface is more than speed preset value;
Pixel color updating block, during for being more than speed preset value in the sliding speed judging described interface, updates display screen The pixel color of current interface;
Wherein, described pixel color updating block includes:
Pixel color acquisition module, for obtaining pixel color value x of background and the current interface of described display screen current interface Pixel color value y of displayed content;
Pixel color computing module, for pixel color value y of pixel color value x according to described background and described content, weight New pixel color value z calculating current interface displayed content;
Update module, for pixel color value x according to described background and pixel color value z recalculating the content obtaining, Update the pixel color of display screen current interface.
6. device as claimed in claim 5 is it is characterised in that described speed judgment unit also includes:
When the sliding speed of described display screen current interface is less than or equal to speed preset value, continues detection display screen and work as prezone The sliding speed in face.
7. device as claimed in claim 5 is it is characterised in that described device also includes:
Speed preset value dispensing unit, for configuration speed preset value.
8. device as claimed in claim 5 is it is characterised in that the formula of described pixel color value z recalculating content is:
Z=k × x+ (1-k) × y, 1 >=k > 0.8;
Wherein, x, y and z are the red r of Essential colour, green g, the pixel color value of blue b, and x represents the picture of the background of display screen current interface Plain color value x=(rx,gx,bx), y represents the pixel color value y=(r of display screen current interface displayed contenty,gy,by), z When representing that sliding speed is more than speed preset value, display screen shows the pixel color value of the content of current interface;K represents weighted value.
CN201310433367.8A 2013-09-22 2013-09-22 Method and device for mobile terminal interface sliding display Active CN103488399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310433367.8A CN103488399B (en) 2013-09-22 2013-09-22 Method and device for mobile terminal interface sliding display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310433367.8A CN103488399B (en) 2013-09-22 2013-09-22 Method and device for mobile terminal interface sliding display

Publications (2)

Publication Number Publication Date
CN103488399A CN103488399A (en) 2014-01-01
CN103488399B true CN103488399B (en) 2017-02-01

Family

ID=49828676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310433367.8A Active CN103488399B (en) 2013-09-22 2013-09-22 Method and device for mobile terminal interface sliding display

Country Status (1)

Country Link
CN (1) CN103488399B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108491060A (en) * 2018-02-05 2018-09-04 上海掌门科技有限公司 A kind of power-saving method and device of automatic adjustment screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104331A (en) * 2007-10-22 2009-05-14 Sharp Corp Luminance adjustment method for display system, and display system
CN101464746A (en) * 2007-12-21 2009-06-24 宏达国际电子股份有限公司 Method for controlling electronic apparatus and electronic apparatus using the method
CN101739203A (en) * 2008-11-11 2010-06-16 佳能株式会社 Display control apparatus and display control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706718A (en) * 2009-11-05 2010-05-12 中兴通讯股份有限公司 Method and device for automatically changing desktop text color
CN101950241B (en) * 2010-09-17 2012-04-25 百度在线网络技术(北京)有限公司 Method and equipment for automatically adjusting visual characteristic of page
CN103020248A (en) * 2012-12-19 2013-04-03 青岛海信传媒网络技术有限公司 Video file thumbnail generating method and generating device
CN103116466A (en) * 2013-03-04 2013-05-22 珠海金山办公软件有限公司 Touch screen device and method and system used for carrying out withdrawing operation or restoring operation in touch screen device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009104331A (en) * 2007-10-22 2009-05-14 Sharp Corp Luminance adjustment method for display system, and display system
CN101464746A (en) * 2007-12-21 2009-06-24 宏达国际电子股份有限公司 Method for controlling electronic apparatus and electronic apparatus using the method
CN101739203A (en) * 2008-11-11 2010-06-16 佳能株式会社 Display control apparatus and display control method

Also Published As

Publication number Publication date
CN103488399A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN102508666B (en) Method and device for adjusting application prompt message in application program
US8948504B2 (en) Device and machine readable medium for determining image hue
US20110305386A1 (en) Color Indication Tool for Colorblindness
CN106610761A (en) Icon color adjusting method and device
CN102439559A (en) Character display method and device
CN104536650B (en) A kind of parallax page turning man-machine interaction method based on IOS systems
CN101419532B (en) Method for changing information content dimension in mobile terminal and the mobile terminal
CN104299252B (en) A kind of transition method and its system of picture display switching
CN108885497B (en) Information processing apparatus, information processing method, and computer readable medium
CN103616954A (en) Virtual keyboard system, implementation method and mobile terminal
CN104765437A (en) Power saving method and power saving system
CN113282212A (en) Interface display method, interface display device and electronic equipment
CN104252350A (en) Method and device for loading picture in listbox
CN103488399B (en) Method and device for mobile terminal interface sliding display
CN106445501A (en) Display method of notification bar, and terminal
WO2019184017A1 (en) Control display method and electronic device
CN102707893B (en) Display system and display method for virtual keyboard of mobile terminals
CN104090719B (en) Mobile terminal is according to the method and system of acceleration knots modification translating displayed content
CN107085521A (en) A kind of icon display method and device
CN113874917A (en) Method and apparatus for generating composite image based on color extracted from input image
CN114863008B (en) Image processing method, image processing device, electronic equipment and storage medium
CN104484148B (en) Desktop background picture update method and device
CN104461425A (en) Screen content display adjusting method and device and terminal
CN104867170A (en) Method and system for drawing density distribution diagram of bus routes
WO2017198092A1 (en) Touch feedback method and apparatus, and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170331

Address after: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee after: Guangdong OPPO Mobile Communications Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road No. 013 Fu technology building B block 6 Building

Patentee before: Shenzhen OPPO Communication Software Co., Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.