CN106126139A - Terminal display processing method and device and electronic equipment - Google Patents

Terminal display processing method and device and electronic equipment Download PDF

Info

Publication number
CN106126139A
CN106126139A CN201610420963.6A CN201610420963A CN106126139A CN 106126139 A CN106126139 A CN 106126139A CN 201610420963 A CN201610420963 A CN 201610420963A CN 106126139 A CN106126139 A CN 106126139A
Authority
CN
China
Prior art keywords
superposed layer
pixel
color
region
level windows
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.)
Pending
Application number
CN201610420963.6A
Other languages
Chinese (zh)
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610420963.6A priority Critical patent/CN106126139A/en
Publication of CN106126139A publication Critical patent/CN106126139A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a terminal display processing method, a terminal display processing device and electronic equipment, wherein the method comprises the following steps: acquiring a top-layer window corresponding to an application program which is running by a terminal; arranging a transparent suspension layer on the top layer window; and setting the color of the pixel points in at least one part of area of the transparent suspension layer to deviate from blue. By adopting the embodiment of the invention, the blue light emitted by the screen of the terminal can be reduced, thereby being beneficial to reducing the blue light entering human eyes and reducing the damage of the blue light to the human eyes when a user uses the terminal.

Description

The processing method of a kind of terminal demonstration, device and electronic equipment
Technical field
The present invention relates to terminal demonstration technical field, more particularly to processing method, device and the electricity of a kind of terminal demonstration Subset.
Background technology
Along with the development of electronic technology, the terminal such as mobile phone, panel computer is widely used, and the use of these terminals exists To the work of people, live and while amusement brings convenience, bring potential safety hazard also to the health of people.Specifically, this The display screen of a little terminals generally uses LCDs, and LCDs itself is non-luminous, and why we can pass through LCDs browses information and is because after LCDs having back light, and backlight generally uses blue light (that is: ripple The visible ray of a length of 380-500nm).
But, blue light is the high-energy light that wavelength is shorter, frequency is higher, it is possible to penetrates crystalline lens and goes directly retina.Blue light Irradiating retina and can produce free radical, these free radicals can cause retinal pigment epithelium to become feeble and die, and causes user's vision to be damaged Wound.
Summary of the invention
Embodiments provide the processing method of a kind of terminal demonstration, device and electronic equipment, it is possible to solve liquid crystal The technical problem of the study of blue light injury eyes of user that screen sends.
Embodiment of the present invention first aspect provides the processing method of a kind of terminal demonstration, including:
Obtain the top-level windows that the application program that is currently running of terminal is corresponding;
It is arranged above with transparent superposed layer in described top-level windows;
The color of the pixel at least some of region of described transparent superposed layer is set to deviation blueness.
In conjunction with first aspect, in the first possible embodiment of first aspect,
The described color of pixel at least some of region of described transparent superposed layer being set to deviates blueness, wraps Include: the color of each pixel at least some of region of described transparent superposed layer is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for picture corresponding to any position i at least some of region of described superposed layer Vegetarian refreshments Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with the application program that described superposed layer terminal is currently running described Pixel P corresponding for position iiRed value, green value and blue valve.
In conjunction with first aspect, in the embodiment that the second of first aspect is possible,
It is set to deviation indigo plant in the described color by the pixel at least some of region of described transparent superposed layer Before color, described method also includes:
Determine the application program that described top-level windows is corresponding;
Determine the application type of application program corresponding to described top-level windows;
The described color by the pixel at least some of region of described transparent superposed layer is set to deviation blueness, Including:
The red value of the application type according to application program corresponding to default top-level windows and the pixel in superposed layer, The color of each pixel at least some of region of described superposed layer is configured by the corresponding relation of green value and blue valve, The color of each pixel in described at least some of region is set to deviation blueness.
In conjunction with the first possible embodiment of first aspect or second aspect, possible at the third of first aspect In embodiment, described it is arranged above with a transparent superposed layer in described top-level windows;Including:
Corresponding between application type and the transparency of superposed layer according to application program corresponding to default top-level windows The transparency of described superposed layer is configured by relation.
In conjunction with the first possible embodiment of first aspect or second aspect, possible the 4th kind of first aspect In embodiment,
The application type of the application program that described top-level windows is corresponding includes: read application, Video Applications, game apply and Social networking application.
The first in conjunction with first aspect or first aspect may to any one in the 4th kind of possible embodiment Embodiment, in the 5th kind of possible embodiment of first aspect, the size of described superposed layer and display circle of terminal Face in the same size.
The first in conjunction with first aspect or first aspect may to any one in the 4th kind of possible embodiment Embodiment, in the 6th kind of possible embodiment of first aspect, the size of described superposed layer and described top-level windows In the same size.
The first in conjunction with first aspect or first aspect may to any one in the 4th kind of possible embodiment Embodiment, in the 7th kind of possible embodiment of first aspect, described by least the one of described transparent superposed layer The color of the pixel in subregion is set to deviation blueness, including:
If the display interface that the application program that described terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically The color of each pixel at least some of region of described transparent superposed layer is set, by each in described at least some of region The color of pixel is set to deviation blueness.
Embodiment of the present invention second aspect provides the processing means of a kind of terminal demonstration, including:
First acquiring unit, for obtaining the top-level windows that application program that terminal is currently running is corresponding;
First arranges unit, for described first acquiring unit obtain described top-level windows be arranged above with transparent Superposed layer;
Second arranges unit, for the color of the pixel at least some of region of described transparent superposed layer being set It is set to deviation blueness.
In conjunction with second aspect, in the first possible embodiment of second aspect, described second to arrange unit concrete For,
To the color of each pixel at least some of region of described transparent superposed layer according to equation below carry out as Lower setting:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for picture corresponding to any position i at least some of region of described superposed layer Vegetarian refreshments Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed Colour, green value and blue valve.
In conjunction with second aspect, in the embodiment that the second of second aspect is possible, also include
First determines unit, for determining the application program that described top-level windows is corresponding;
Second determines unit, for determining the application type of application program corresponding to described top-level windows;
Described second arrange unit specifically for, according to the application type of application program corresponding to default top-level windows with The corresponding relation of the red value of the pixel in superposed layer, green value and blue valve at least some of region to described superposed layer In the color of each pixel be configured, the color of each pixel in described at least some of region is set to deviation blueness.
In conjunction with the first possible embodiment of second aspect or second aspect, possible at the third of second aspect In embodiment,
Described first arranges unit is additionally operable to, according to the application type of application program corresponding to default top-level windows with outstanding The transparency of described superposed layer is configured by the corresponding relation between the transparency of floating layer.
In conjunction with the first possible embodiment of second aspect or second aspect, possible the 4th kind of second aspect In embodiment,
The application type of the application program that described top-level windows is corresponding includes: read application, Video Applications, game apply and Social networking application.
The first in conjunction with second aspect or second aspect may to any one in the 4th kind of possible embodiment Embodiment, in the 5th kind of possible embodiment of second aspect, the size of described superposed layer and display circle of terminal Face in the same size.
The first in conjunction with second aspect or second aspect may to any one in the 4th kind of possible embodiment Embodiment, in the 6th kind of possible embodiment of second aspect, the size of described superposed layer and described top-level windows In the same size.
The first in conjunction with second aspect or second aspect may to any one in the 4th kind of possible embodiment Embodiment, in the 7th kind of possible embodiment of second aspect, described second arrange unit specifically for, if described The display interface that application program that terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically arranges described transparent The color of each pixel at least some of region of superposed layer, sets the color of each pixel in described at least some of region It is set to deviation blueness.
The embodiment of the present invention third aspect provides a kind of electronic equipment, including: processor, memorizer, communication interface and total Line;
Described processor, described memorizer and described communication interface are connected by described bus and complete mutual leading to Letter;
Described memorizer storage executable program code;
Described processor is run by the executable program code of storage in the described memorizer of reading and performs with described The program that program code is corresponding, for the processing method performing a kind of terminal demonstration;Wherein, the process side of described terminal demonstration Method includes:
Obtain the top-level windows that the application program that is currently running of terminal is corresponding;
It is arranged above with transparent superposed layer in described top-level windows;
The color of the pixel at least some of region of described transparent superposed layer is set to deviation blueness.
It can be seen that use the technical scheme that the embodiment of the present invention provides, by arranging transparent suspension in top-level windows Layer, and the color of the pixel at least some of region of transparent superposed layer is set to deviation blueness.Can reduce Cross the blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light when user uses terminal The injury that human eye is caused.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required use in embodiment being described below Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for this From the point of view of the those of ordinary skill of field, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic flow sheet of the processing method of a kind of terminal demonstration that embodiments of the invention provide;
Fig. 2 is the schematic flow sheet of the processing method of a kind of terminal demonstration that another embodiment of the present invention provides;
Fig. 3 is the structural representation of the processing means of a kind of terminal demonstration that embodiments of the invention provide;
Fig. 4 is the structural representation of the processing means of a kind of terminal demonstration that another embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of electronic equipment that embodiments of the invention provide.
Detailed description of the invention
Embodiments provide the processing method of a kind of terminal demonstration, device and electronic equipment, it is possible to reduce and pass through The blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light pair when user uses terminal The injury that human eye causes.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, all should belong to the model of present invention protection Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " and " in description and claims of this specification and above-mentioned accompanying drawing Four " it is etc. for distinguishing different object rather than for describing particular order.Additionally, term " includes " and " having " and it Any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, be System, product or equipment are not limited to step or the unit listed, but the most also include step or the list do not listed Unit, or the most also include other step intrinsic for these processes, method, product or equipment or unit.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end End.
Refer to the flow process of processing method that Fig. 1, Fig. 1 are a kind of terminal demonstration that one embodiment of the present of invention provides show It is intended to, as it is shown in figure 1, the processing method of a kind of terminal demonstration of one embodiment of the present of invention offer can include following interior Hold:
101, the top-level windows that the application program that is currently running of terminal is corresponding is obtained.
Optionally, in some possible embodiments of the present invention, the acquisition that can be provided by the operating system of terminal The modes such as the function of top-level windows obtain the top-level windows that application program that terminal is currently running is corresponding.
102, it is arranged above with transparent superposed layer in described top-level windows.
Optionally, in some possible embodiments of the present invention, it is arranged above with transparent superposed layer in top-level windows, Can also include: right according between application type and the transparency of superposed layer of application program corresponding to default top-level windows Should be related to that the transparency to described superposed layer is configured.For example, Application Type can be pre-set when being A, outstanding The transparency of floating layer is 95%;When Application Type is B, the transparency of superposed layer is 90%;When Application Type is C, The transparency of superposed layer is 88% etc..Specifically, the application type of the application program that top-level windows is corresponding may include that reading should By, Video Applications, game application and social networking application etc..
Optionally, in some possible embodiments of the present invention, the size of superposed layer can be with the display interface of terminal In the same size.
Optionally, in some possible embodiments of the present invention, the size of superposed layer and the size of described top-level windows Unanimously.
103, the color of the pixel at least some of region of described transparent superposed layer is set to deviation blueness.
Optionally, in some possible embodiments of the present invention, by least some of district of described transparent superposed layer In territory, the color of pixel is set to deviation blueness, may include that at least some of region to described transparent superposed layer The color of each pixel is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for picture corresponding to any position i at least some of region of described superposed layer Vegetarian refreshments Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed Colour, green value and blue valve.
The boundary that when display interface corresponding with described superposed layer is to be not provided with superposed layer, user is seen by terminal display screen Face, specifically, if top-level windows corresponding to the application program that is currently running of terminal is full screen display, then corresponding with described superposed layer Display interface be described top-level windows.If the top-level windows that the application program that terminal is currently running is corresponding is not full screen display, Then corresponding with described superposed layer display interface can include that described top-level windows and other application programs show in the terminal A part of interface or a part of interface etc. of terminal desktop.
It should be noted thatThe picture corresponding for arranging any position i after superposed layer The accounting of blue valve in vegetarian refreshments,For blue in the pixel that any position i described before arranging superposed layer is corresponding The accounting of value.According to above-mentioned formula, after arranging superposed layer, the accounting of the blue valve that the pixel of same position is corresponding reduces , so advantageously reduce the blue light that the screen through terminal sends.
When being embodied as, superposed layer can be set to the color that only one of which is identical, it is also possible to by the difference of superposed layer Region is set to have different colors.When superposed layer being set to the identical color of only one of which, all pictures in superposed layer The color of vegetarian refreshments is the same.Such as, can arrange the red value of each pixel in superposed layer be F0, green value be AC and blueness Value is 00, or arrange the red value of each pixel in superposed layer be F0, green value is AC and blue valve is 14, or arranges outstanding In floating layer, the red value of each pixel is F0, green value is AC and blue valve is 0B etc., wherein, the red value of each pixel, green The span of colour and blue valve is all 0~FF.It is understood that the color of pixel in superposed layer can also be arranged For not all the same value, as long as at least some of region arranges the ratio of blue valve when user before and after superposed layer watches same position Reduce.
Optionally, in some possible embodiments of the present invention, described by least one of described transparent superposed layer The color of the pixel in subregion is set to deviation blueness, including:
If the display interface that the application program that described terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically The color of each pixel at least some of region of described transparent superposed layer is set, by each in described at least some of region The color of pixel is set to deviation blueness.
It can be seen that use the technical scheme that the embodiment of the present invention provides, by arranging transparent suspension in top-level windows Layer, and the color of the pixel at least some of region of transparent superposed layer is set to deviation blueness.Can reduce Cross the blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light when user uses terminal The injury that human eye is caused, on the other hand, the technical scheme that the embodiment of the present invention provides due to need not other pad pasting, be conducive to saving About cost.
Refer to the flow process of processing method that Fig. 2, Fig. 2 are a kind of terminal demonstration that one embodiment of the present of invention provides show It is intended to, as in figure 2 it is shown, the processing method of a kind of terminal demonstration of one embodiment of the present of invention offer can include following interior Hold:
201, the top-level windows that the application program that is currently running of terminal is corresponding is obtained.
Optionally, in some possible embodiments of the present invention, the acquisition that can be provided by the operating system of terminal The modes such as the function of top-level windows obtain the top-level windows that application program that terminal is currently running is corresponding.
202, the application program that described top-level windows is corresponding is determined.
Optionally, in some possible embodiments of the present invention, the acquisition that can be provided by the operating system of terminal The modes such as the function of the application program that top-level windows is corresponding determine the application program that top-level windows is corresponding.
203, the application type of application program corresponding to described top-level windows is determined.
For example, the application type of the application program that top-level windows is corresponding may include that reading application, Video Applications, Game application and social networking application etc..
Optionally, in some possible embodiments of the present invention, application can be determined by the title of application program The type of program, for example can pre-set the data base of application name and Application Type, when obtaining application The when of the title of program, the data base pre-set by lookup, it is possible to determine the type of application program.
204, it is arranged above with transparent superposed layer in described top-level windows.
Optionally, in some possible embodiments of the present invention, it is arranged above with transparent superposed layer in top-level windows, Can also include: right according between application type and the transparency of superposed layer of application program corresponding to default top-level windows Should be related to that the transparency to described superposed layer is configured.For example, Application Type can be pre-set when being A, outstanding The transparency of floating layer is 95%;When Application Type is B, the transparency of superposed layer is 90%;When Application Type is C, The transparency of superposed layer is 88% etc..Specifically, the application type of the application program that top-level windows is corresponding may include that reading should By, Video Applications, game application and social networking application etc..
Optionally, in some possible embodiments of the present invention, the size of superposed layer can be with the display interface of terminal In the same size.
Optionally, in some possible embodiments of the present invention, the size of superposed layer and the size of described top-level windows Unanimously.
205, red according to the application type of application program corresponding to top-level windows preset and the pixel in superposed layer The color of each pixel at least some of region of described superposed layer is carried out by the corresponding relation of colour, green value and blue valve Arrange, the color of each pixel in described at least some of region is set to deviation blueness.
Optionally, in some possible embodiments of the present invention, by least some of district of described transparent superposed layer In territory, the color of pixel is set to deviation blueness, may include that at least some of region to described transparent superposed layer The color of each pixel is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for picture corresponding to any position i at least some of region of described superposed layer Vegetarian refreshments Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed Colour, green value and blue valve.
The boundary that when display interface corresponding with described superposed layer is to be not provided with superposed layer, user is seen by terminal display screen Face, specifically, if top-level windows corresponding to the application program that is currently running of terminal is full screen display, then corresponding with described superposed layer Display interface be described top-level windows.If the top-level windows that the application program that terminal is currently running is corresponding is not full screen display, Then corresponding with described superposed layer display interface can include that described top-level windows and other application programs show in the terminal A part of interface or a part of interface etc. of terminal desktop.
It should be noted thatThe picture corresponding for arranging any position i after superposed layer The accounting of blue valve in vegetarian refreshments,For blue in the pixel that any position i described before arranging superposed layer is corresponding The accounting of value.According to above-mentioned formula, after arranging superposed layer, the accounting of the blue valve that the pixel of same position is corresponding reduces , so advantageously reduce the blue light that the screen through terminal sends.
When being embodied as, superposed layer can be set to the color that only one of which is identical, it is also possible to by the difference of superposed layer Region is set to have different colors.When superposed layer being set to the identical color of only one of which, all pictures in superposed layer The color of vegetarian refreshments is the same.Such as, can arrange the red value of each pixel in superposed layer be F0, green value be AC and blueness Value is 00, or arrange the red value of each pixel in superposed layer be F0, green value is AC and blue valve is 14, or arranges outstanding In floating layer, the red value of each pixel is F0, green value is AC and blue valve is 0B etc., wherein, the red value of each pixel, green The span of colour and blue valve is all 0~FF.It is understood that the color of pixel in superposed layer can also be arranged For not all the same value, as long as at least some of region arranges the ratio of blue valve when user before and after superposed layer watches same position Reduce.
Optionally, in some possible embodiments of the present invention, described by least one of described transparent superposed layer The color of the pixel in subregion is set to deviation blueness, including:
If the display interface that the application program that described terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically The color of each pixel at least some of region of described transparent superposed layer is set, by each in described at least some of region The color of pixel is set to deviation blueness.
It can be seen that use the technical scheme that the embodiment of the present invention provides, by arranging transparent suspension in top-level windows Layer, and the color of the pixel at least some of region of transparent superposed layer is set to deviation blueness.Can reduce Cross the blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light when user uses terminal The injury that human eye is caused.
The structure of the processing means referring to a kind of terminal demonstration that Fig. 3, Fig. 3 provide for one embodiment of the present of invention is shown It is intended to.As it is shown on figure 3, the processing means 300 of a kind of terminal demonstration of embodiment of the present invention offer may include that the first acquisition list Unit 310, first arranges unit 320 and second and arranges unit 330.
First acquiring unit 310, for obtaining the top-level windows that application program that terminal is currently running is corresponding.
Optionally, in some possible embodiments of the present invention, the acquisition that can be provided by the operating system of terminal The modes such as the function of top-level windows obtain the top-level windows that application program that terminal is currently running is corresponding.
First arranges unit 320, for being arranged above with in the described top-level windows of described first acquiring unit acquisition Bright superposed layer.
Optionally, in some possible embodiments of the present invention, it is arranged above with transparent superposed layer in top-level windows, Can also include: right according between application type and the transparency of superposed layer of application program corresponding to default top-level windows Should be related to that the transparency to described superposed layer is configured.For example, Application Type can be pre-set when being A, outstanding The transparency of floating layer is 95%;When Application Type is B, the transparency of superposed layer is 90%;When Application Type is C, The transparency of superposed layer is 88% etc..Specifically, the application type of the application program that top-level windows is corresponding may include that reading should By, Video Applications, game application and social networking application etc..
Optionally, in some possible embodiments of the present invention, the size of superposed layer can be with the display interface of terminal In the same size.
Optionally, in some possible embodiments of the present invention, the size of superposed layer and the size of described top-level windows Unanimously.
Second arranges unit 330, for by the face of the pixel at least some of region of described transparent superposed layer Color is set to deviation blueness.
Optionally, in some possible embodiments of the present invention, second arrange unit specifically for, to described transparent In at least some of region of superposed layer, the color of each pixel is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for picture corresponding to any position i at least some of region of described superposed layer Vegetarian refreshments Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed Colour, green value and blue valve.
The boundary that when display interface corresponding with described superposed layer is to be not provided with superposed layer, user is seen by terminal display screen Face, specifically, if top-level windows corresponding to the application program that is currently running of terminal is full screen display, then corresponding with described superposed layer Display interface be described top-level windows.If the top-level windows that the application program that terminal is currently running is corresponding is not full screen display, Then corresponding with described superposed layer display interface can include that described top-level windows and other application programs show in the terminal A part of interface or a part of interface etc. of terminal desktop.
It should be noted thatThe picture corresponding for arranging any position i after superposed layer The accounting of blue valve in vegetarian refreshments,For blue in the pixel that any position i described before arranging superposed layer is corresponding The accounting of value.According to above-mentioned formula, after arranging superposed layer, the accounting of the blue valve that the pixel of same position is corresponding reduces , so advantageously reduce the blue light that the screen through terminal sends.
When being embodied as, superposed layer can be set to the color that only one of which is identical, it is also possible to by the difference of superposed layer Region is set to have different colors.When superposed layer being set to the identical color of only one of which, all pictures in superposed layer The color of vegetarian refreshments is the same.Such as, can arrange the red value of each pixel in superposed layer be F0, green value be AC and blueness Value is 00, or arrange the red value of each pixel in superposed layer be F0, green value is AC and blue valve is 14, or arranges outstanding In floating layer, the red value of each pixel is F0, green value is AC and blue valve is 0B etc., wherein, the red value of each pixel, green The span of colour and blue valve is all 0~FF.It is understood that the color of pixel in superposed layer can also be arranged For not all the same value, as long as at least some of region arranges the ratio of blue valve when user before and after superposed layer watches same position Reduce.
Optionally, in some possible embodiments of the present invention, second arrange unit specifically for,
If the display interface that the application program that described terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically The color of each pixel at least some of region of described transparent superposed layer is set, by each in described at least some of region The color of pixel is set to deviation blueness.
It can be seen that use the technical scheme that the embodiment of the present invention provides, by arranging transparent suspension in top-level windows Layer, and the color of the pixel at least some of region of transparent superposed layer is set to deviation blueness.Can reduce Cross the blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light when user uses terminal The injury that human eye is caused.
The structure of the processing means referring to a kind of terminal demonstration that Fig. 4, Fig. 4 provide for one embodiment of the present of invention is shown It is intended to.As shown in Figure 4, the processing means 400 of a kind of terminal demonstration that the embodiment of the present invention provides may include that the first acquisition list Unit 410, first determines unit 420, second determines unit 430, first arranges unit 440 and second and arrange unit 450.
First acquiring unit 410, for obtaining the top-level windows that application program that terminal is currently running is corresponding.
Optionally, in some possible embodiments of the present invention, the acquisition that can be provided by the operating system of terminal The modes such as the function of top-level windows obtain the top-level windows that application program that terminal is currently running is corresponding.
First determines unit 420, for determining the application program that described top-level windows is corresponding.
Optionally, in some possible embodiments of the present invention, the acquisition that can be provided by the operating system of terminal The modes such as the function of the application program that top-level windows is corresponding determine the application program that top-level windows is corresponding.
Second determines unit 430, for determining the application type of application program corresponding to described top-level windows.
For example, the application type of the application program that top-level windows is corresponding may include that reading application, Video Applications, Game application and social networking application etc..
Optionally, in some possible embodiments of the present invention, application can be determined by the title of application program The type of program, for example can pre-set the data base of application name and Application Type, when obtaining application The when of the title of program, the data base pre-set by lookup, it is possible to determine the type of application program.
First arranges unit 440, for being arranged above with in the described top-level windows of described first acquiring unit acquisition Bright superposed layer.
Optionally, in some possible embodiments of the present invention, it is arranged above with transparent superposed layer in top-level windows, Can also include: right according between application type and the transparency of superposed layer of application program corresponding to default top-level windows Should be related to that the transparency to described superposed layer is configured.For example, Application Type can be pre-set when being A, outstanding The transparency of floating layer is 95%;When Application Type is B, the transparency of superposed layer is 90%;When Application Type is C, The transparency of superposed layer is 88% etc..Specifically, the application type of the application program that top-level windows is corresponding may include that reading should By, Video Applications, game application and social networking application etc..
Optionally, in some possible embodiments of the present invention, the size of superposed layer can be with the display interface of terminal In the same size.
Optionally, in some possible embodiments of the present invention, the size of superposed layer and the size of described top-level windows Unanimously.
Second arranges unit 450, for by the face of the pixel at least some of region of described transparent superposed layer Color is set to deviation blueness.
Optionally, in some possible embodiments of the present invention, by least some of district of described transparent superposed layer In territory, the color of pixel is set to deviation blueness, may include that at least some of region to described transparent superposed layer The color of each pixel is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for picture corresponding to any position i at least some of region of described superposed layer Vegetarian refreshments Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed Colour, green value and blue valve.
The boundary that when display interface corresponding with described superposed layer is to be not provided with superposed layer, user is seen by terminal display screen Face, specifically, if top-level windows corresponding to the application program that is currently running of terminal is full screen display, then corresponding with described superposed layer Display interface be described top-level windows.If the top-level windows that the application program that terminal is currently running is corresponding is not full screen display, Then corresponding with described superposed layer display interface can include that described top-level windows and other application programs show in the terminal A part of interface or a part of interface etc. of terminal desktop.
It should be noted thatThe picture corresponding for arranging any position i after superposed layer The accounting of blue valve in vegetarian refreshments,For blue in the pixel that any position i described before arranging superposed layer is corresponding The accounting of value.According to above-mentioned formula, after arranging superposed layer, the accounting of the blue valve that the pixel of same position is corresponding reduces , so advantageously reduce the blue light that the screen through terminal sends.
When being embodied as, superposed layer can be set to the color that only one of which is identical, it is also possible to by the difference of superposed layer Region is set to have different colors.When superposed layer being set to the identical color of only one of which, all pictures in superposed layer The color of vegetarian refreshments is the same.Such as, can arrange the red value of each pixel in superposed layer be F0, green value be AC and blueness Value is 00, or arrange the red value of each pixel in superposed layer be F0, green value is AC and blue valve is 14, or arranges outstanding In floating layer, the red value of each pixel is F0, green value is AC and blue valve is 0B etc., wherein, the red value of each pixel, green The span of colour and blue valve is all 0~FF.It is understood that the color of pixel in superposed layer can also be arranged For not all the same value, as long as at least some of region arranges the ratio of blue valve when user before and after superposed layer watches same position Reduce.
Optionally, in some possible embodiments of the present invention, described by least one of described transparent superposed layer The color of the pixel in subregion is set to deviation blueness, including:
If the display interface that the application program that described terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically The color of each pixel at least some of region of described transparent superposed layer is set, by each in described at least some of region The color of pixel is set to deviation blueness.
It can be seen that use the technical scheme that the embodiment of the present invention provides, by arranging transparent suspension in top-level windows Layer, and the color of the pixel at least some of region of transparent superposed layer is set to deviation blueness.Can reduce Cross the blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light when user uses terminal The injury that human eye is caused.
See the structural representation of a kind of electronic equipment that Fig. 5, Fig. 5 provide, described electronic equipment for the embodiment of the present invention 500, may include that
Processor 510, memorizer 520, communication interface 530 and bus 540;
Wherein, described processor 510, described memorizer 520 and described communication interface 530 are connected by described bus 540 And complete mutual communication;
Described memorizer 502 stores executable program code;
Described processor 501 runs with described by reading the executable program code of storage in described memorizer 502 The program that executable program code is corresponding, for the processing method performing a kind of terminal demonstration;One of which terminal demonstration Processing method includes herein below:
Obtain the top-level windows that the application program that is currently running of terminal is corresponding;
It is arranged above with transparent superposed layer in described top-level windows;
The color of the pixel at least some of region of described transparent superposed layer is set to deviation blueness.
It can be seen that use the technical scheme that the embodiment of the present invention provides, by arranging transparent suspension in top-level windows Layer, and the color of the pixel at least some of region of transparent superposed layer is set to deviation blueness.Can reduce Cross the blue light that the screen of terminal sends, thus advantageously reduce the blue light entered in human eye, reduce blue light when user uses terminal The injury that human eye is caused.
The embodiment of the present invention additionally provides a kind of storage medium, and wherein, this storage medium is used for storing application program, described Application program is for operationally performing the processing method of a kind of terminal demonstration described in the embodiment of the present invention.
The embodiment of the present invention additionally provides a kind of application program, and wherein, this application program is for operationally performing this The processing method of a kind of terminal demonstration described in bright embodiment.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know Knowing, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention Necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.Such as, device embodiment described above is schematic, the division of the most described unit, is only a kind of logic Function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or can collect Become to another system, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other Conjunction or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, permissible It it is electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be for personal computer, server or the network equipment etc.) perform the whole of method described in each embodiment of the present invention or Part steps.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can store program code Medium.
The above, above example only in order to technical solution of the present invention to be described, is not intended to limit;Although with reference to aforementioned The present invention has been described in detail by embodiment, wherein, it will be understood by those within the art that: it still can be right Technical scheme described in foregoing embodiments is modified, or wherein portion of techniques feature is carried out equivalent;And this A little amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the processing method of a terminal demonstration, it is characterised in that including:
Obtain the top-level windows that the application program that is currently running of terminal is corresponding;
It is arranged above with transparent superposed layer in described top-level windows;
The color of the pixel at least some of region of described transparent superposed layer is set to deviation blueness.
Method the most according to claim 1, it is characterised in that
The described color of pixel at least some of region of described transparent superposed layer being set to deviates blueness, including: The color of each pixel at least some of region of described transparent superposed layer is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for pixel corresponding to any position i at least some of region of described superposed layer Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed value, Green value and blue valve.
Method the most according to claim 1, it is characterised in that
It is set to deviate blueness in the described color by the pixel at least some of region of described transparent superposed layer Before, described method also includes:
Determine the application program that described top-level windows is corresponding;
Determine the application type of application program corresponding to described top-level windows;
The described color by the pixel at least some of region of described transparent superposed layer is set to deviation blueness, bag Include:
Application type according to application program corresponding to default top-level windows and the red value of pixel in superposed layer, green The color of each pixel at least some of region of described superposed layer is configured, by institute by the corresponding relation of value and blue valve State the color of each pixel at least some of region and be set to deviation blueness.
Method the most according to claim 3, it is characterised in that described described top-level windows be arranged above with one transparent Superposed layer;Including:
The corresponding relation between application type and the transparency of superposed layer according to application program corresponding to default top-level windows The transparency of described superposed layer is configured.
5. according to the method described in any one of Claims 1-4, it is characterised in that described by described transparent superposed layer extremely The color of the pixel in few a part of region is set to deviation blueness, including:
If the display interface that the application program that described terminal is currently running is corresponding is the display interface of dynamically change, the most dynamically arrange The color of each pixel at least some of region of described transparent superposed layer, by each pixel in described at least some of region The color of point is set to deviation blueness.
6. the processing means of a terminal demonstration, it is characterised in that including:
First acquiring unit, for obtaining the top-level windows that application program that terminal is currently running is corresponding;
First arranges unit, for described first acquiring unit obtain described top-level windows be arranged above with transparent suspension Layer;
Second arranges unit, for the color of the pixel at least some of region of described transparent superposed layer being set to Deviation blueness.
Processing means the most according to claim 6, it is characterised in that described second arrange unit specifically for,
The color of each pixel at least some of region of described transparent superposed layer is configured according to equation below:
B i + B i &prime; ( R i + G i + B i ) + ( R i &prime; + G i &prime; + B i &prime; ) < B i R i + G i + B i
Wherein, described Ri′、Gi' and Bi' for pixel corresponding to any position i at least some of region of described superposed layer Pi' red value, green value and blue valve;
Described Ri、GiAnd BiFor the display interface corresponding with described superposed layer at described pixel P corresponding for position iiRed value, Green value and blue valve.
Processing means the most according to claim 6, it is characterised in that also include
First determines unit, for determining the application program that described top-level windows is corresponding;
Second determines unit, for determining the application type of application program corresponding to described top-level windows;
Described second arrange unit specifically for, according to application type and the suspension of application program corresponding to default top-level windows The corresponding relation of the red value of the pixel in Ceng, green value and blue valve is to each at least some of region of described superposed layer The color of pixel is configured, and the color of each pixel in described at least some of region is set to deviation blueness.
Processing means the most according to claim 8, it is characterised in that
Described first arranges unit is additionally operable to, according to application type and the superposed layer of application program corresponding to default top-level windows Transparency between corresponding relation the transparency of described superposed layer is configured.
10. an electronic equipment, it is characterised in that including: processor, memorizer, communication interface and bus;
Described processor, described memorizer and described communication interface are connected by described bus and complete mutual communicating;
Described memorizer storage executable program code;
Described processor runs and described executable program by reading the executable program code of storage in described memorizer The program that code is corresponding, for the processing method performing a kind of terminal demonstration;Wherein, the processing method bag of described terminal demonstration Include:
Obtain the top-level windows that the application program that is currently running of terminal is corresponding;
It is arranged above with transparent superposed layer in described top-level windows;
The color of the pixel at least some of region of described transparent superposed layer is set to deviation blueness.
CN201610420963.6A 2016-06-13 2016-06-13 Terminal display processing method and device and electronic equipment Pending CN106126139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610420963.6A CN106126139A (en) 2016-06-13 2016-06-13 Terminal display processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610420963.6A CN106126139A (en) 2016-06-13 2016-06-13 Terminal display processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106126139A true CN106126139A (en) 2016-11-16

Family

ID=57269998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610420963.6A Pending CN106126139A (en) 2016-06-13 2016-06-13 Terminal display processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106126139A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122153A (en) * 2017-05-11 2017-09-01 大陆汽车车身电子系统(芜湖)有限公司 A kind of automobile instrument method for displaying image
CN107734164A (en) * 2017-10-10 2018-02-23 广东欧珀移动通信有限公司 Parameter setting window treating method and apparatus
CN109241787A (en) * 2018-07-24 2019-01-18 上海碳蓝网络科技有限公司 Calling detection method, equipment and the computer readable storage medium of image input device
CN109525706A (en) * 2018-09-29 2019-03-26 努比亚技术有限公司 Flexible screen terminal control method, flexible screen terminal and computer readable storage medium
CN109794061A (en) * 2019-01-08 2019-05-24 努比亚技术有限公司 A kind of method, terminal and the computer readable storage medium of picture processing
CN110941413A (en) * 2019-12-09 2020-03-31 Oppo广东移动通信有限公司 Display screen generation method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355478A (en) * 2000-11-28 2002-06-26 英业达(上海)有限公司 Method for improving display effect of network page
CN104570182A (en) * 2013-10-14 2015-04-29 窦晓鸣 Screen for blue light protection electronic equipment
CN105302517A (en) * 2015-10-20 2016-02-03 魅族科技(中国)有限公司 Method and device for regulating display color of terminal screen
CN107219673A (en) * 2017-08-01 2017-09-29 深圳市华星光电技术有限公司 Display panel and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355478A (en) * 2000-11-28 2002-06-26 英业达(上海)有限公司 Method for improving display effect of network page
CN104570182A (en) * 2013-10-14 2015-04-29 窦晓鸣 Screen for blue light protection electronic equipment
CN105302517A (en) * 2015-10-20 2016-02-03 魅族科技(中国)有限公司 Method and device for regulating display color of terminal screen
CN107219673A (en) * 2017-08-01 2017-09-29 深圳市华星光电技术有限公司 Display panel and display device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122153A (en) * 2017-05-11 2017-09-01 大陆汽车车身电子系统(芜湖)有限公司 A kind of automobile instrument method for displaying image
CN107122153B (en) * 2017-05-11 2020-07-21 大陆汽车车身电子系统(芜湖)有限公司 Automobile instrument image display method
CN107734164A (en) * 2017-10-10 2018-02-23 广东欧珀移动通信有限公司 Parameter setting window treating method and apparatus
CN109241787A (en) * 2018-07-24 2019-01-18 上海碳蓝网络科技有限公司 Calling detection method, equipment and the computer readable storage medium of image input device
CN109525706A (en) * 2018-09-29 2019-03-26 努比亚技术有限公司 Flexible screen terminal control method, flexible screen terminal and computer readable storage medium
CN109794061A (en) * 2019-01-08 2019-05-24 努比亚技术有限公司 A kind of method, terminal and the computer readable storage medium of picture processing
CN110941413A (en) * 2019-12-09 2020-03-31 Oppo广东移动通信有限公司 Display screen generation method and related device
CN110941413B (en) * 2019-12-09 2023-04-11 Oppo广东移动通信有限公司 Display screen generation method and related device

Similar Documents

Publication Publication Date Title
CN106126139A (en) Terminal display processing method and device and electronic equipment
US20200412854A1 (en) Terminal Device
CN103442128B (en) A kind of method and apparatus of display communication event
CN107993604A (en) Display screen adjusting method and device
CN105431771A (en) Reducing discoloration of a display stack
CN104808908B (en) A kind of display interface processing method and processing device
CN104007950A (en) Method of protecting eye for intelligent equipment
CN108873469A (en) Display device and its downward back tabula rasa
CN104020599A (en) Display system
CN109599055A (en) A kind of driving method of display panel, driving device and display device
CN105354460A (en) Unlocking method, unlocking device and intelligent terminal
CN107622760A (en) LCD display methods and LCD drive circuits
CN103824540B (en) A kind of display methods and electronic equipment
CN107145000A (en) Automobile-used touch control display apparatus
CN106648775A (en) Double-open switching method and system for application program and terminal equipment
CN108287421A (en) Transparent display
CN105629525B (en) Display panel, substrate bending apparatus, display device and its manufacturing method
CN204479879U (en) Display screen
CN104240677A (en) Electronic equipment and parameter adjusting method
CN108564923A (en) High dynamic contrast image display method and apparatus based on subregion backlight
US9311866B2 (en) Method for selecting FRC pattern
CN205787385U (en) The convertible intelligent glasses of permeability status
WO2014190807A1 (en) Auto focus device and method for liquid crystal display
CN105575339A (en) Display method and display device
CN207354364U (en) Display screen and mobile 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161116

RJ01 Rejection of invention patent application after publication