CN109582427B - TFT screen display method of wearable device - Google Patents

TFT screen display method of wearable device Download PDF

Info

Publication number
CN109582427B
CN109582427B CN201811488205.3A CN201811488205A CN109582427B CN 109582427 B CN109582427 B CN 109582427B CN 201811488205 A CN201811488205 A CN 201811488205A CN 109582427 B CN109582427 B CN 109582427B
Authority
CN
China
Prior art keywords
data
wallpaper
display content
ram
icon
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
CN201811488205.3A
Other languages
Chinese (zh)
Other versions
CN109582427A (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.)
Shenzhen Ultra Easy Technology Co ltd
Original Assignee
Shenzhen Ultra Easy Technology 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 Ultra Easy Technology Co ltd filed Critical Shenzhen Ultra Easy Technology Co ltd
Priority to CN201811488205.3A priority Critical patent/CN109582427B/en
Publication of CN109582427A publication Critical patent/CN109582427A/en
Application granted granted Critical
Publication of CN109582427B publication Critical patent/CN109582427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/163Wearable computers, e.g. on a belt
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a display method of a TFT screen of wearable equipment, which comprises the steps of storing display contents into an RAM (random access memory) and displaying the display contents on a TFT screen, wherein the display contents comprise wallpaper data and icon data, and storing the wallpaper data in the display contents into a memory; when the animation is started, the display content in the RAM is shifted, and the display content is updated: separating the icon data from the wallpaper data in the display content, removing the wallpaper data, calling the originally stored wallpaper data from the memory, combining the wallpaper data with the icon data in the display content after the deviation, filling the data of the corresponding part of the next interface to the corresponding deviation position in the RAM according to the deviation amount, thereby obtaining new display content, and storing the new display content to the corresponding position of the RAM. In the display process, new display content is synthesized again, and the effect that the wallpaper and the icons have animation effects simultaneously on the TFT screen frame by frame is achieved; the icon has a transparent effect, can be combined with the background more attractively, can generate a UI effect similar to that of the existing smart phone, and improves user experience.

Description

TFT screen display method of wearable device
Technical Field
The invention relates to wearable equipment, in particular to a TFT screen display method of the wearable equipment.
Background
A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. Wearable equipment is not only a hardware equipment, realizes powerful function through software support and data interaction, high in the clouds interaction more, and wearable equipment will bring very big transition to our life, perception, if: intelligent bracelet.
Generally, a TFT screen provided in a wearable device refers to a 16-bit true color screen. At present, the display effect of the smart band equipped with a TFT screen is limited, the User Interface (UI) display is similar to the effect of the traditional 'function machine' era of the mobile phone, and a black background is added with a colored icon. And moreover, transition animation is not generated when the interface is switched, the screen effect is single, and the display is monotonous.
Accordingly, the prior art is deficient and needs improvement.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a TFT screen display method of wearable equipment.
The technical scheme of the invention is as follows: the invention provides a display method of a TFT screen of wearable equipment, which comprises the steps of storing display contents into an RAM (random access memory) and displaying the display contents on the TFT screen, wherein the display contents comprise wallpaper data and icon data, and storing the wallpaper data in the display contents into a memory; when the animation is started, the display content in the RAM is shifted, and the display content is updated: separating the icon data from the wallpaper data in the display content, removing the wallpaper data, calling the originally stored wallpaper data from the memory, combining the wallpaper data with the icon data in the display content after the deviation, filling the data of the corresponding part of the next interface to the corresponding deviation position in the RAM according to the deviation amount, thereby obtaining new display content, and storing the new display content to the corresponding position of the RAM.
And (4) shifting the icon, wherein an overlapping area is formed between the icon and the wallpaper in the process of moving upwards, and the color of each pixel point in the overlapping area is calculated according to the required transparency.
The color of each pixel point in the overlapping region comprises red, green and blue, wherein:
red lightness ═ (R1X + R2 (100-X))/100;
the lightness of green (G1X + G2 (100-X))/100;
the brightness of blue (B1X + B2 (100-X))/100;
x is required transparency and is set in advance; r1, G1, B1 are the original brightness values of red, green, blue of the pixel points corresponding to the icon, respectively, and R2, G2, B2 are the original brightness values of red, green, blue of the pixel points corresponding to the wallpaper, respectively.
Before the display content is stored in the RAM, the RAM with the same size as the screen GRAM is applied in the memory according to the screen size of the TFT screen.
The TFT screen is a 16-bit true color screen.
The memory is a FLASH memory.
By adopting the scheme, the invention provides the TFT screen display method of the wearable device, new display content is synthesized again in the display process, and the effect that the wallpaper and the icon have animation effect simultaneously on the TFT screen frame by frame is realized; the icon has a transparent effect, can be combined with the background more attractively, can generate a UI effect similar to that of the existing smart phone, and improves user experience.
Drawings
FIG. 1 is a scrolling flowchart of a TFT screen display method of a wearable device according to the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and the specific embodiments.
The invention provides a display method of a TFT screen of wearable equipment. Firstly, in order to ensure smooth screen refreshing animation, a RAM with the same size as the GRAM of the screen is applied in a memory according to the screen size of the TFT screen. Such as: the size of the RAM is:
[SCREEN_WIDTH_SIZE*SCREEN_HIGH_SIZE*2]
storing display contents into a RAM (random access memory) and displaying the display contents on a TFT (thin film transistor) screen, wherein the display contents comprise wallpaper data and icon data, and storing the wallpaper data in the display contents into a memory; when the animation is started, the display content in the RAM is shifted, and the display content is updated: separating icon data from wallpaper data in the display content, removing the wallpaper data, calling the originally stored wallpaper data from a memory, combining the wallpaper data with the icon data in the display content after the wallpaper data is offset, filling data of a corresponding part of a next interface (such as a UI of the next interface) to a corresponding offset position in the RAM according to the offset, so as to obtain new display content, storing the new display content to the corresponding position of the RAM, and writing the new display content into a screen GRAM through a hardware interface to finish the display.
In order to solve the transparency problem of the overlapped part of the icon and the wallpaper, the color of the pixel of the overlapped part is reset: and (4) shifting the icon, wherein an overlapping area is formed between the icon and the wallpaper in the process of moving upwards, and the color of each pixel point in the overlapping area is calculated according to the required transparency.
The color of each pixel point in the overlapping region comprises red, green and blue, wherein:
red lightness ═ (R1X + R2 (100-X))/100;
the lightness of green (G1X + G2 (100-X))/100;
the brightness of blue (B1X + B2 (100-X))/100;
x is required transparency and is set according to actual needs; r1, G1 and B1 are original brightness values of red, green and blue of pixel points corresponding to the icon respectively, and R2, G2 and B2 are original brightness values of red, green and blue of pixel points corresponding to the wallpaper respectively, and can be obtained by directly reading parameter values of the icon and the wallpaper. .
The TFT screen is a 16-bit true color screen. The memory is a FLASH memory.
As shown in fig. 1, the wallpaper with the spiral threads, the previous icon (interface) is a, the next icon (interface) is B, and a transition animation effect is achieved when switching from icon a to icon B in the sliding process.
In summary, the invention provides a wearable device TFT screen display method, which re-synthesizes new display content during the display process, so that the wallpaper and icons can be animated on the TFT screen frame by frame; the icon has a transparent effect, can be combined with the background more attractively, can generate a UI effect similar to that of the existing smart phone, and improves user experience.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (4)

1. A wearable device TFT screen display method is characterized in that contents to be displayed are stored in an RAM and displayed on a TFT screen, the displayed contents comprise wallpaper data and icon data, and the wallpaper data in the displayed contents are stored in a memory; when the animation is started, the display content in the RAM is shifted, and the display content is updated: separating the icon data from the wallpaper data in the display content, removing the wallpaper data, calling the originally stored wallpaper data from the memory, combining the wallpaper data with the icon data in the display content after the offset, filling the data of the corresponding part of the next interface to the corresponding offset position in the RAM according to the offset, thereby obtaining new display content, and storing the new display content to the corresponding position of the RAM;
the icon is shifted, an overlapping area is formed between the icon and the wallpaper in the process of moving upwards, and the color of each pixel point in the overlapping area is calculated according to the required transparency;
the color of each pixel point in the overlapping region comprises red, green and blue, wherein:
red lightness ═ (R1X + R2 (100-X))/100;
the lightness of green (G1X + G2 (100-X))/100;
the brightness of blue (B1X + B2 (100-X))/100;
x is the required transparency, R1, G1 and B1 are the original brightness values of red, green and blue of the pixel points corresponding to the icons respectively, and R2, G2 and B2 are the original brightness values of red, green and blue of the pixel points corresponding to the wallpaper respectively.
2. The wearable device TFT screen display method of claim 1, wherein a RAM with the same size as the screen GRAM is applied in a memory according to the screen size of the TFT screen before the content to be displayed is stored in the RAM.
3. The wearable device TFT screen display method according to claim 1, wherein the TFT screen is a 16-bit true color screen.
4. The wearable device TFT screen display method according to claim 1, wherein the memory is a FLASH memory.
CN201811488205.3A 2018-12-06 2018-12-06 TFT screen display method of wearable device Active CN109582427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811488205.3A CN109582427B (en) 2018-12-06 2018-12-06 TFT screen display method of wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811488205.3A CN109582427B (en) 2018-12-06 2018-12-06 TFT screen display method of wearable device

Publications (2)

Publication Number Publication Date
CN109582427A CN109582427A (en) 2019-04-05
CN109582427B true CN109582427B (en) 2022-03-11

Family

ID=65927315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811488205.3A Active CN109582427B (en) 2018-12-06 2018-12-06 TFT screen display method of wearable device

Country Status (1)

Country Link
CN (1) CN109582427B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857511B (en) * 2020-07-17 2022-05-17 维沃移动通信有限公司 Wallpaper display control method and device and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308445B (en) * 2008-06-26 2010-10-13 无敌科技(西安)有限公司 Method for effectively relieving menu icon under picture background
CN101615298B (en) * 2009-08-12 2011-09-28 腾讯科技(深圳)有限公司 Method and device for playing animation
CN101930367B (en) * 2010-08-25 2014-04-30 中兴通讯股份有限公司 Implementation method of switching images and mobile terminal
CN102541441B (en) * 2011-11-18 2013-11-06 广东欧珀移动通信有限公司 Gradual change control method for transverse/vertical screen switch of handheld device
WO2014200735A1 (en) * 2013-06-09 2014-12-18 Apple Inc. Device, method, and graphical user interface for managing folders with multiple pages
CN105468353B (en) * 2015-11-06 2020-06-09 网易(杭州)网络有限公司 Method and device for realizing interface animation, mobile terminal and computer terminal
CN107704300A (en) * 2017-09-25 2018-02-16 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320391A (en) * 2014-07-31 2016-02-10 宇龙计算机通信科技(深圳)有限公司 Method for adjusting display effect of standby interface and terminal

Also Published As

Publication number Publication date
CN109582427A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN106873863B (en) Method and device for setting interface switching animation
CN108701351B (en) Image display enhancement method and device
US10346011B2 (en) User interface for the application of image effects to images
CN111225150A (en) Method for processing interpolation frame and related product
WO2012100700A1 (en) Method and device for implementing many display modes for general icon
CN106775543A (en) A kind of terminal display control method and device
CN110609649B (en) Interface display method, device and storage medium
CN109032898A (en) A kind of display methods of icon, device, equipment and storage medium
CN105808035B (en) Icon display method and device
CN106251382B (en) Method and system for realizing picture style switching, camera rendering and theme updating
CN109582427B (en) TFT screen display method of wearable device
WO2023066294A1 (en) Icon display method and apparatus, and electronic device
US10325569B2 (en) Method and apparatus for coding image information for display
CN106502510A (en) The adaptation processing method at icon and interface, device
CN112486611A (en) Page switching display method and device, storage medium and electronic equipment
CN113010249A (en) Page switching method, device, equipment and medium
US20200192554A1 (en) Terminal device, display control method implemented by the terminal device, computer readable storage medium and computer program product
Lin et al. ShiftMask: Dynamic OLED power shifting based on visual acuity for interactive mobile applications
CN113157357A (en) Page display method, device, terminal and storage medium
US20170031583A1 (en) Adaptive user interface
CN109302629A (en) A kind of method and display terminal for for picture switching picture frame
US20140300627A1 (en) Method and apparatus indicating scroll position on a display
CN103324743B (en) A kind of webpage zoom on electronic equipment and the method and apparatus of alignment
CN102707893A (en) Display system and display method for virtual keyboard of mobile terminals
CN109766069B (en) Auxiliary display method, device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant