Method, device and terminal for setting interface colors

A color and interface technology, applied in the computer field, can solve the problems of large irritation to human eyes and limited change of interface color, etc., to achieve rich effects and reduce irritation

Inactive Publication Date: 2013-11-20
XIAOMI INC
View PDF6 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem that the interface color of the browser in the background technology is very limited and highly irritating to human eyes, an embodiment of the present invention provides an interface color setting method, device and terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and terminal for setting interface colors
  • Method, device and terminal for setting interface colors
  • Method, device and terminal for setting interface colors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] Please refer to figure 1 , which shows a method flow chart of the interface color setting method provided in Embodiment 1 of the present invention, the interface color setting method may include:

[0032] Step 101, obtaining the webpage source code of the current webpage of the browser;

[0033] Step 102, determine the interface color of the display interface of the browser according to the tags related to the color of the webpage in the source code of the webpage.

[0034] To sum up, the interface color setting method provided by this embodiment determines the interface color of the display interface of the browser according to the tags related to the color of the webpage in the source code of the webpage by obtaining the webpage source code of the current webpage of the browser; The change of the interface color of the browser is very limited, which is very irritating to human eyes; the interface color can be set according to the color of the current webpage, that is...

Embodiment 2

[0037] Please refer to figure 2 , which shows the method flow chart of the interface color setting method provided by the second embodiment of the present invention. In this embodiment, the tags related to the color of the web page in the source code of the web page only include any one of the web page icon tag, the background color tag and the background picture tag For example, the interface color setting method may include:

[0038] Step 201, obtaining the webpage source code of the current webpage of the browser;

[0039] When the user uses the browser in the terminal to browse the webpage, the browser in the terminal can obtain the webpage source code of the current webpage according to the webpage address of the currently requested webpage.

[0040] Step 202, obtaining the color value corresponding to the label related to the color of the webpage in the source code of the webpage; wherein, the label related to the color of the webpage includes any one of a webpage icon...

Embodiment 3

[0086] Please refer to image 3 , which shows the method flow chart of the interface color setting method provided by the third embodiment of the present invention, the interface color setting method may include:

[0087] Step 301, obtaining the webpage source code of the current webpage of the browser;

[0088] When the user uses the browser in the terminal to browse the webpage, the browser in the terminal can obtain the webpage source code of the current webpage according to the webpage address of the currently requested webpage.

[0089] Step 302, obtaining the color value corresponding to the label related to the color of the webpage in the source code of the webpage, and the label related to the color of the webpage includes at least two of the icon label, the background color label and the background image label;

[0090] Since the programmer can define the relevant content of the webpage in the form of tags in the source code of the webpage, after the terminal obtains...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method, a device and a terminal for setting interface colors, and belongs to the technical field of computers. The method for setting the interface colors includes acquiring web page source codes of a current web page of a browser; determining interface colors of a display interface of the browser according to a tag, which is relevant to web page colors, in the web page source codes. The method, the device and the terminal have the advantages that problems of extremely limited variation of interface colors of browsers and high irritation on human eyes in the prior art are solved; the interface colors can be set according to the web page colors of the current web page, in other words, different interface colors can be set according to different web pages displayed on the browser, and accordingly an effect of enriching the variation of the interface colors is realized; as the interface colors can be set according to the web page colors of the current web page, the interface colors can be matched with the web page colors, and the irritation on the human eyes is relieved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method, device and terminal for setting interface color. Background technique [0002] A browser is one of the most frequently used and important application programs in a terminal such as a mobile phone, a tablet computer, a desktop computer or an e-reader. [0003] In order to make the interface of the browser more colorful when the user uses the browser to browse the web, the browser is usually provided with a skin. However, the skins of most browsers are fixed at present, and only a small number of browsers allow users to change the skins through settings; Select a skin from the selected skin, and set the selected skin as the browser skin, that is, set the color of the skin as the interface color of the browser. [0004] In the process of realizing the present invention, the inventors have found that the above-mentioned scheme has at least the following defects: [000...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F17/30
Inventor 王建平左景龙袁博
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products