CN109032739A - A kind of interface display method, terminal and computer storage medium - Google Patents
A kind of interface display method, terminal and computer storage medium Download PDFInfo
- Publication number
- CN109032739A CN109032739A CN201810804178.XA CN201810804178A CN109032739A CN 109032739 A CN109032739 A CN 109032739A CN 201810804178 A CN201810804178 A CN 201810804178A CN 109032739 A CN109032739 A CN 109032739A
- Authority
- CN
- China
- Prior art keywords
- background color
- mask
- designated mode
- page
- terminal
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of interface display method, terminal and computer storage mediums, for adjusting virtual key region background color.Wherein method includes: to determine corresponding mask based on designated mode, and the page of application is drawn according to the mask, so that the page after drawing is shown as the designated mode on terminal interface;The original background color in virtual key region in terminal is extracted, and the original background color is merged with the mask, obtains target background color;The original background color in the virtual key region is changed to the target background color.It can be seen that, the present invention program is in view of ambient brightness locating for user, to propose the mode based on interface display mode change virtual key display background color, so that the brightness of display interface entirety is adjusted accordingly according to the variation of user's local environment brightness, eyes of user is avoided to damage, optimize display effect, promotes user experience.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of interface display method, terminal and computer storage are situated between
Matter.
Background technique
Universal with intelligent terminal with the development of internet technology, user likes installing various applications on intelligent terminal
(APP) come meet oneself office, management, reading, music, in terms of daily demand.In addition, according to difference
Occasion, various applications can also realize different display effect or display pattern.For example, for e-book application product and
The brightness at e-book reading interface can be turned up in speech, daytime automatically according to daylight, and night then correspondingly turns down brightness and enters night
Mode, so that user can avoid the damage of eyes under the premise of seeing text clearly.
But in the prior art, it such as during realizing the interface display effect of Night, can not change simultaneously
The display effect of the included virtual key of terminal system, is caused on terminal interface, the display area of application product has been adjusted to night
Mode, but virtual key remains as the display pattern of original brightness, causes visual contrast to user, influences user experience.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State a kind of interface display method, terminal and the computer storage medium of problem.
According to an aspect of the invention, there is provided a kind of interface display method, which comprises be based on designated mode
It determines corresponding mask, the page of application is drawn according to the mask, so that the page after drawing is shown as on terminal interface
The designated mode;Extract the original background color in virtual key region in terminal, and by the original background color and the mask into
Row merges, and obtains target background color;The original background color in the virtual key region is changed to the target background color.
According to another aspect of the present invention, a kind of terminal is provided, comprising: processor, memory, communication interface and communication are total
Line, the processor, the memory and the communication interface complete mutual communication by the communication bus;It is described to deposit
Reservoir makes the processor execute following operation for storing an at least executable instruction, the executable instruction: based on specified
Mode determines corresponding mask, and the page of application is drawn according to the mask, so that the page after drawing is shown on terminal interface
It is shown as the designated mode;The original background color in virtual key region in terminal is extracted, and by the original background color and the illiteracy
Layer merges, and obtains target background color;The original background color in the virtual key region is changed to the target background color.
According to another aspect of the invention, a kind of computer storage medium is provided, at least one is stored in storage medium
Executable instruction, executable instruction make processor execute following operation: corresponding mask are determined based on designated mode, according to described
Mask draws the page of application, so that the page after drawing is shown as the designated mode on terminal interface;It extracts in terminal
The original background color in virtual key region, and the original background color is merged with the mask, obtain target background color;It will
The original background color in the virtual key region is changed to the target background color.
Interface display method, terminal and computer storage medium according to the present invention, it is contemplated that environment locating for user is bright
Degree, so that the mode based on interface display mode change virtual key display background color is proposed, so that display interface entirety is bright
Degree is adjusted accordingly according to the variation of user's local environment brightness, and eyes of user is avoided to damage, and improves user experience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the interface display method of the offer of the embodiment of the present invention one;
Fig. 2A shows the flow chart of interface display method provided by Embodiment 2 of the present invention;
Fig. 2 B shows a kind of effect diagram of interface display method provided by Embodiment 2 of the present invention;
Fig. 2 C shows the effect diagram of another interface display method provided by Embodiment 2 of the present invention;
Fig. 3 shows a kind of structural schematic diagram of terminal of the offer of the embodiment of the present invention three.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
Embodiment one
Fig. 1 shows the flow chart of the interface display method of the offer of the embodiment of the present invention one, for adjusting virtual key region
Background color.As shown in Figure 1, method includes the following steps:
Step S101 determines corresponding mask based on designated mode, and the page of application is drawn according to mask, so that after drawing
The page designated mode is shown as on terminal interface.
Wherein, designated mode is the display pattern of interface of mobile terminal, such as may include: non-Night, night mould
Formula, eyeshield mode or any other according to self-defined pattern of user demand setting etc., terminal interface is aobvious under different modes
Show that effect can be different.Specifically, designated mode can also be arranged automatically by user's self-setting by operating system.Show
Example property, when designated mode is arranged automatically by operating system, if the intensity of illumination that operating system detects is less than preset condition
When, Night is set by the designated mode automatically.In the present embodiment, mask is color corresponding with designated mode
Mask is presented as the display effect of designated mode if drawing application page according to mask, and display effect is not under different modes
Together, therefore, the color of corresponding mask is also different.Such as tone and transparency etc. can change.
Illustratively, when designated mode is Night, corresponding mask color is translucent grey.Specifically, can
After the color drafting of other elements finishes on the background colour and the page of the page, finally drawn on the page according to mask color
Translucent grey processed, so that the page after completing is indicated generally at the effect of Night.
Step S102, extracts the original background color in virtual key region in terminal, and original background color is closed with mask
And obtain target background color.
Wherein, virtual key is set to terminal interface or touches on screen, and original background color is what manufacturer terminal was set
Factory color.When the display pattern of terminal interface changes, the background colour of virtual key should also be adaptively adjusted, to reach
Integral consistent display effect.Specifically, by the way that original background color mask corresponding with designated mode is merged to obtain
Target background color, the target background color is consistent with the application page display effect under designated mode, to reach virtual keypad
Domain is consistent with the display effect of application page.
Illustratively, when intensity of illumination is less than a certain preset condition in environment locating for the user, the display interface of terminal
Night is switched to, Night corresponds to the mask of translucent grey, and the brightness of the original background color in virtual key region is logical
The corresponding display brightness of Night can be often higher than, therefore, it is necessary to close translucent grey mask and virtual key original background color
And using the color after merging as target background color, for example, the color of original background color and mask is overlapped, after superposition
Color be target background color, the target background color is suitable with the page display effect of Night.
The original background color in virtual key region is changed to target background color by step S103.
After determining target background color, it sets target background color to the background colour in virtual key region, replaces original back
Scenery, so that the display effect in virtual key region is suitable with the display effect in application page, entire terminal interface is from view
It sees in feel and more coordinates.
According to interface display method provided in this embodiment, can be used for recommending electricity to user according to the moving condition of user
The philosophical works.It is primarily based on designated mode and determines corresponding mask, the page of application is drawn according to mask, so that the page after drawing exists
Designated mode is shown as on terminal interface;The original background color in virtual key region on terminal interface is extracted, and by original background color
It is merged with mask, obtains target background color;The original background color in virtual key region is changed to target background color.Work as display
Virtual key display background color is changed when a certain display pattern, based on interface display mode in interface, so that display interface is whole
Brightness adjusted accordingly according to the variation of user's local environment brightness, avoid eyes of user from damaging, promoted user experience.
Embodiment two
Fig. 2A shows the flow chart of interface display method provided by Embodiment 2 of the present invention, in interface display mode
When change, the background color in virtual key region is modified.On the basis of the above embodiments, as shown in Figure 2 A, this method include with
Lower step:
Step S201, response user instructs the setting of designated mode, or adjusts rule according to preset designated mode,
Based on the corresponding mask of designated mode, the page of application is drawn according to mask, so that the page after drawing is shown on terminal interface
It is shown as designated mode.
Wherein, user is configured designated mode, can be by clicking the specified mould on terminal interface or on touch screen
Formula is opened control key and is realized, can also carry out voice control by microphone and open designated mode.For example, user opens Night
When, " opening Night " can be said against microphone, after operating system receives above-mentioned voice signal, identify user instruction
To open Night, then the corresponding instruction for opening Night is executed.
Wherein, designated mode adjustment rule can be according to preset threshold value corresponding with varying environment brightness, use
It is compared in the ambient brightness that user is presently in, judges whether user is in the corresponding environment of designated mode, in turn
It determines the need for switching to designated mode.Specific ambient brightness threshold value can according to the actual situation and experience is set
It is fixed.For example, being 0.3 lux as Night intensity of illumination threshold value using intensity of illumination, when the intensity of illumination that terminal receives
When less than the threshold value, then judges that user is in the night-environment of no light or low illumination, interface display is switched into night mould
Formula.Further, it is also possible to adjust designated mode according to time interval, such as it is set as customized at 9 points to 12 points of the morning of the morning
Suitable eyes of user browsing pages luminance patterns, and at night 9 points eyeshield mode is then set as to 5:00 AM, to protect
Eyes of user is protected, is avoided damage to.The embodiment of the present invention is not limited in any way designated mode adjustment rule.
Step S202 extracts the original background color in virtual key region in terminal, corresponding based on original background color and mask
The respective transparency of color is overlapped respective triple channel color value, obtains the triple channel color value of target background color, and will
The transparency of target background color is set as nontransparent.
In this step, after operating system executes unlatching designated mode instruction, automatically extract what virtual key region was currently shown
Background colour, i.e. the original background color in virtual key region.
Optionally, after the original background color in operating system extraction virtual key region, original background color is saved.
Wherein, original background chromatic graph layer and mask have respective transparency parameter.Illustratively, transparency can use 0
Numerical value between to 1 indicates that transparency value is bigger, and figure layer transparency is higher.For example, the transparency of translucent grey can be used
0.5 indicates.
Wherein, triple channel color value is more general color showing method, by indicating red with the numerical value between 0 to 255
The variation of (R, Red), green (G, Green), blue (B, Blue) three Color Channels, using the mutual superposition in each channel come
To various colors.For example, the triple channel color value of white is (255,255,255), the triple channel color value of black be (0,0,
0), the triple channel color value of middle grey is (127,127,127).
In the present embodiment, triple channel color value is overlapped to obtain the triple channel color value of target background color, it can be using such as
Under type is realized: the triple channel color value of original background color being multiplied with the transparency of original background color respectively, respectively by mask pair
It answers the triple channel color value of color to be multiplied with the transparency of mask, the above-mentioned result being multiplied twice is separately summed by channel,
It the triple channel color value of target background color is obtained, then sets nontransparent for the transparency of target background color, is i.e. target background color
Transparency is 0, to obtain the display effect in final virtual key region.
The original background color in virtual key region is changed to target background color by step S203.
Step S204, response user instructs the cancellation of designated mode, or adjusts according to preset cancellation designated mode
Rule is cancelled the effect drawn based on mask to the page, and restores the original background color in virtual key region.
Wherein, user closes designated mode, can be by clicking the specified mould on terminal interface or on touch screen
Formula is closed key and is realized, voice input can also be carried out by microphone and closes designated mode.For example, closing Night
When, user can say " closing Night " against microphone, after operating system receives above-mentioned voice signal, identify user
Instruction then executes the corresponding instruction for closing Night to close Night.
Wherein, cancelling designated mode adjustment rule can be according to preset threshold corresponding with varying environment brightness
Value, for being compared with the ambient brightness that user is presently in, judges whether to need to close designated mode.Specific environment is bright
Spend it is preset can according to the actual situation and experience is set.For example, being 0.3 lux as Night using intensity of illumination
Intensity of illumination threshold value then judges that user is in non-night-environment when the intensity of illumination that terminal receives is greater than the threshold value, carries out
Close the operation of Night.Further, it is also possible to adjust cancellation designated mode according to the time interval of setting, herein no longer in detail
It states.
In this step, after operating system executes closing designated mode instruction, the automatic background colour for restoring virtual key region is extremely
Original background color.
Optionally, designated mode includes at least one of the following: Night, eyeshield mode, self-defined pattern.
Wherein, different designated modes corresponds to different mask colors, and by the original background of mask and virtual key region
The application page of obtained target background color then under designated mode corresponding with the mask is consistent after color merges.
Illustratively, to be usually user show mould used in the no light or the night-environment of low illumination to Night
Formula, under Night display effect, usual screen display brightness is lower, therefore, generallys use the lower mask of brightness and original
Beginning background colour merges.For example, the color of the corresponding mask of Night can be translucent grey, triple channel color value be (127,
127,127), transparency 0.5.
Illustratively, eyeshield mode is usually user's display pattern used in the slightly weak environment of illumination, such as the cloudy day,
In the environment such as interior, under eyeshield mode display effect, usual screen display brightness is slightly lower, therefore, it is necessary to be warmed up partially using color,
The slightly lower mask of brightness merges with original background color.For example, the color of the corresponding mask of eyeshield mode can be translucent Huang
Color, triple channel color value are (255,109,136), transparency 0.6.
Illustratively, in self-defined pattern, user can be aobvious to screen according to the brightness of light in oneself local environment
Show that brightness and tone are adjusted, different brightness and tone correspond to different mask colors.For example, active user is in strong light
According to outdoor environment in, it is highest that user, which adjusts display brightness, and tone is pure white, then needs that color is partially white, brightness is higher
Mask merges with original display background.For example, under the brightness and tone display pattern, the color of corresponding mask can be
The higher white of lightness, triple channel color value are (255,255,255), transparency 0.8.
Illustratively, Fig. 2 B shows a kind of effect diagram of interface display method provided in this embodiment, referring to figure
2B, terminal display interface include display area 210 and virtual key region 220.
Illustratively, when in the environment that user is in no light or low illumination, mobile terminal response Night is set
Instruction is set, or adjusts rule according to preset Night, the corresponding mask of Night is based on, is drawn and shown according to mask
The page of application is drawn display area 210, so that display area 210 is in the effect for being shown as Night.
In above-mentioned drafting display area 210, it is shown as it on the basis of effect of Night, Fig. 2 C shows this reality
The effect diagram of another interface implementing method of example offer is applied, C, display interface include 210 He of display area referring to fig. 2
Virtual key region 220.
Illustratively, the original background color in virtual key region 220 in terminal is extracted, is based on original background color and mask respectively
Transparency, be to be overlapped to respective triple channel color, obtain the triple channel color value of target background color, and by target background
The transparency of color is set as nontransparent.On the basis of the above, the original background color in virtual key region 220 is changed to target background
Color, so that the display effect in virtual key region 220 is consistent with the display effect of terminal display area 210, to mention to user
For good interface reading experience.According to interface display method provided in this embodiment, it can be used for adjusting virtual key region back
Scape display color.It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, be based on referring to
Mould-fixed determines corresponding mask, and the page of application is drawn according to mask, so that the page after drawing is shown on terminal interface
For designated mode;The original background color for extracting virtual key region on terminal interface, it is corresponding based on the original background color and mask
The respective transparency of color, respective triple channel color value is merged, the triple channel color value of target background color is obtained, and
It sets nontransparent for the transparency of target background color, obtains target background color of the virtual key under the Night;It will be virtual
The original background color of key range is changed to target background color.In addition, responding user when the ambient brightness described in user changes
Cancellation instruction to designated mode, or rule is adjusted according to preset cancellation designated mode, cancel based on mask to the page
The effect that face is drawn, and restore the original background color in the virtual key region, with for restore interface to designated mode it
Preceding display effect enables the display color in virtual key region to be adjusted according to the intensity of illumination in user's local environment
It is whole, it avoids the brightness in virtual key region and display interface from biggish deviation integrally occur, avoids the damage to eyes of user, promoted
The Experience Degree of user.
Embodiment three
Fig. 3 shows a kind of structural schematic diagram for terminal that according to embodiments of the present invention three provide, present invention specific implementation
Example does not limit the specific implementation of terminal.
As shown in figure 3, the terminal may include: processor (processor) 302, communication interface (Communications
Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:
Processor 302, communication interface 304 and memory 306 complete mutual communication by communication bus 308.
Communication interface 304, for being communicated with the network element of other equipment such as client or other terminals etc..
Processor 302 can specifically execute the phase in above-mentioned e-book recommended method embodiment for executing program 310
Close step.
Specifically, program 310 may include program code, which includes computer operation instruction.
Processor 302 can be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that terminal includes can be same type of processor, such as one or more CPU;It is also possible to
Different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high speed RAM memory, it is also possible to further include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 executes following operation:
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing
Face is shown as designated mode on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is closed with the mask
And obtain target background color;
The original background color in the virtual key region is changed to the target background color.
In a kind of optional mode, program 310 specifically be can be also used for so that processor 302 executes following operation:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described
Designated mode determines corresponding mask, and the page of application is drawn according to the mask.
In a kind of optional mode, program 310 specifically be can be also used for so that processor 302 executes following operation:
Based on the original background color and the respective transparency of the corresponding color of the mask, to respective triple channel color value
It is overlapped, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
In a kind of optional mode, program 310 specifically be can be also used for so that processor 302 executes following operation:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancel
Based on the effect that the mask draws the page, and restore the original background color in the virtual key region.
In a kind of optional mode, the designated mode includes at least one of the following: Night, eyeshield mould
Formula, self-defined pattern.
Example IV
The embodiment of the present invention four additionally provides a kind of nonvolatile computer storage media, and the computer storage medium is deposited
An at least executable instruction is contained, which can be performed the interface display side in above-mentioned any means embodiment
Method.
Executable instruction specifically can be used for so that processor executes following operation:
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing
Face is shown as designated mode on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is closed with the mask
And obtain target background color;
The original background color in the virtual key region is changed to the target background color.
In a kind of optional mode, the executable instruction also makes the processor execute following operation:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described
Designated mode determines corresponding mask, and the page of application is drawn according to the mask color.
In a kind of optional mode, the executable instruction also makes the processor execute following operation:
Based on the original background color and the respective transparency of the corresponding color of the mask, to respective triple channel color value
It is overlapped, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
In a kind of optional mode, the executable instruction also makes the processor execute following operation:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancel
Based on the effect that the mask draws the page, and restore the original background color in the virtual key region.
In a kind of optional mode, the designated mode includes at least one of the following: Night, eyeshield mould
Formula, self-defined pattern.
Further, the invention also discloses the following contents:
A1. a kind of interface display method, which comprises
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing
Face is shown as the designated mode on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is closed with the mask
And obtain target background color;
The original background color in the virtual key region is changed to the target background color.
A2. the method according to a1, wherein corresponding mask is determined based on designated mode, is drawn according to the mask
The page of application further comprises:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described
Designated mode determines corresponding mask, and the page of application is drawn according to the mask.
A3. the method according to a1, wherein the original background color is merged with the mask, obtains target
Background colour further comprises:
Based on the original background color and the respective transparency of the corresponding color of the mask, to respective triple channel color value
It is overlapped, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
A4. the method according to a1, wherein the method also includes:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancel
Based on the effect that the mask draws the page, and restore the original background color in the virtual key region.
A5. the method according to any one of claim a1-a4, wherein the designated mode includes in following
It is at least one: Night, eyeshield mode, self-defined pattern.
B6. a kind of terminal, comprising: processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is following that the executable instruction executes the processor
Operation:
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing
Face is shown as the designated mode on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is closed with the mask
And obtain target background color;
The original background color in the virtual key region is changed to the target background color.
B7. the terminal according to b6, the executable instruction also make the processor execute following operation:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described
Designated mode determines corresponding mask, and the page of application is drawn according to the mask.
B8. the terminal according to b6, the executable instruction also make the processor execute following operation:
Based on the original background color and the respective transparency of the corresponding color of the mask, to respective triple channel color value
It is overlapped, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
B9. the terminal according to b6, the executable instruction also make the processor execute following operation:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancel
Based on the effect that the mask draws the page, and restore the original background color in the virtual key region.
B10. the terminal according to any one of b6-b9, wherein the designated mode includes at least one in following
Kind: Night, eyeshield mode, self-defined pattern.
C11. a kind of computer storage medium is stored with an at least executable instruction in the storage medium, described to hold
Row instruction makes processor execute following operation:
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing
Face is shown as the designated mode on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is closed with the mask
And obtain target background color;
The original background color in the virtual key region is changed to the target background color.
C12. the computer storage medium according to c11, it is following that the executable instruction also executes the processor
Operation:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described
Designated mode determines corresponding mask, and the page of application is drawn according to the mask.
C13. the computer storage medium according to c11, it is following that the executable instruction also executes the processor
Operation:
Based on the original background color and the respective transparency of the corresponding color of the mask, to respective triple channel color value
It is overlapped, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
C14. the computer storage medium according to c11, it is following that the executable instruction also executes the processor
Operation:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancel
Based on the effect that the mask draws the page, and restore the original background color in the virtual key region.
C15. the computer storage medium according to any one of c11-c14, wherein the designated mode includes following
At least one of: Night, eyeshield mode, self-defined pattern.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.The use of word first, second, and third does not indicate any sequence.These words can be construed to title.
Claims (10)
1. a kind of interface display method, which comprises
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing exists
The designated mode is shown as on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is merged with the mask, is obtained
To target background color;
The original background color in the virtual key region is changed to the target background color.
2. according to the method described in claim 1, wherein, determining corresponding mask based on designated mode, being drawn according to the mask
The page for making application further comprises:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described specified
Mode determines corresponding mask, and the page of application is drawn according to the mask.
3. according to the method described in claim 1, wherein, the original background color being merged with the mask, obtains mesh
Background colour is marked, further comprises:
Based on the original background color and the respective transparency of the corresponding color of the mask, respective triple channel color value is carried out
Superposition, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
4. according to the method described in claim 1, wherein, the method also includes:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancellation is based on
The effect that the mask draws the page, and restore the original background color in the virtual key region.
5. method according to any of claims 1-4, wherein the designated mode includes at least one in following
Kind: Night, eyeshield mode, self-defined pattern.
6. a kind of terminal, comprising: processor, memory, communication interface and communication bus, the processor, the memory and
The communication interface completes mutual communication by the communication bus;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction
Make:
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing exists
The designated mode is shown as on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is merged with the mask, is obtained
To target background color;
The original background color in the virtual key region is changed to the target background color.
7. terminal according to claim 6, the executable instruction also makes the processor execute following operation:
It responds user to instruct the setting of designated mode, or adjusts rule according to preset designated mode, based on described specified
Mode determines corresponding mask, and the page of application is drawn according to the mask.
8. terminal according to claim 6, the executable instruction also makes the processor execute following operation:
Based on the original background color and the respective transparency of the corresponding color of the mask, respective triple channel color value is carried out
Superposition, obtains the triple channel color value of target background color, and set nontransparent for the transparency of target background color.
9. terminal according to claim 6, the executable instruction also makes the processor execute following operation:
It responds user to instruct the cancellation of designated mode, or adjusts rule according to preset cancellation designated mode, cancellation is based on
The effect that the mask draws the page, and restore the original background color in the virtual key region.
10. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is set to execute following operation:
Corresponding mask is determined based on designated mode, the page of application is drawn according to the mask, so that the page after drawing exists
The designated mode is shown as on terminal interface;
The original background color in virtual key region in terminal is extracted, and the original background color is merged with the mask, is obtained
To target background color;
The original background color in the virtual key region is changed to the target background color.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810804178.XA CN109032739B (en) | 2018-07-20 | 2018-07-20 | A kind of interface display method, terminal and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810804178.XA CN109032739B (en) | 2018-07-20 | 2018-07-20 | A kind of interface display method, terminal and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109032739A true CN109032739A (en) | 2018-12-18 |
CN109032739B CN109032739B (en) | 2019-10-15 |
Family
ID=64643875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810804178.XA Active CN109032739B (en) | 2018-07-20 | 2018-07-20 | A kind of interface display method, terminal and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032739B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110703961A (en) * | 2019-08-26 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Cover layer display method and device, electronic equipment and storage medium |
CN111090384A (en) * | 2019-12-20 | 2020-05-01 | 京东方科技集团股份有限公司 | Soft keyboard display method and device |
CN111124568A (en) * | 2019-12-05 | 2020-05-08 | 珠海市魅族科技有限公司 | Fast application night mode starting method and device, electronic equipment and storage medium |
CN111477135A (en) * | 2020-04-08 | 2020-07-31 | 上海闻泰电子科技有限公司 | Screen display method, equipment and storage medium |
CN111475238A (en) * | 2020-03-13 | 2020-07-31 | 五八有限公司 | Page processing method and device, electronic equipment and storage medium |
CN111857912A (en) * | 2020-07-03 | 2020-10-30 | Oppo广东移动通信有限公司 | Interface processing method and device, electronic equipment and computer readable storage medium |
WO2021168675A1 (en) * | 2020-02-26 | 2021-09-02 | Boe Technology Group Co., Ltd. | Computer-implemented method, apparatus, and computer-program product |
CN113407135A (en) * | 2021-06-23 | 2021-09-17 | 青岛海信移动通信技术股份有限公司 | Display control method applied to ink screen and related device |
EP3901941A1 (en) * | 2020-04-23 | 2021-10-27 | Beijing Xiaomi Mobile Software Co., Ltd. | Screen display adjusting method, apparatus and storage medium |
CN113778584A (en) * | 2021-08-04 | 2021-12-10 | 瑞芯微电子股份有限公司 | Method for independently controlling application background color and storage device |
CN114138394A (en) * | 2021-12-06 | 2022-03-04 | 北京得间科技有限公司 | Night display mode processing method, electronic device and computer storage medium |
CN117114978A (en) * | 2023-10-24 | 2023-11-24 | 深圳软牛科技有限公司 | Picture cropping and restoring method and device based on iOS and related medium thereof |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462312A (en) * | 2014-11-28 | 2015-03-25 | 北京奇虎科技有限公司 | Web page displaying method and browser client side |
CN106610761A (en) * | 2015-10-21 | 2017-05-03 | 中兴通讯股份有限公司 | Icon color adjusting method and device |
-
2018
- 2018-07-20 CN CN201810804178.XA patent/CN109032739B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462312A (en) * | 2014-11-28 | 2015-03-25 | 北京奇虎科技有限公司 | Web page displaying method and browser client side |
CN106610761A (en) * | 2015-10-21 | 2017-05-03 | 中兴通讯股份有限公司 | Icon color adjusting method and device |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110703961A (en) * | 2019-08-26 | 2020-01-17 | 北京达佳互联信息技术有限公司 | Cover layer display method and device, electronic equipment and storage medium |
CN111124568A (en) * | 2019-12-05 | 2020-05-08 | 珠海市魅族科技有限公司 | Fast application night mode starting method and device, electronic equipment and storage medium |
CN111090384B (en) * | 2019-12-20 | 2021-11-02 | 京东方科技集团股份有限公司 | Soft keyboard display method and device |
CN111090384A (en) * | 2019-12-20 | 2020-05-01 | 京东方科技集团股份有限公司 | Soft keyboard display method and device |
WO2021168675A1 (en) * | 2020-02-26 | 2021-09-02 | Boe Technology Group Co., Ltd. | Computer-implemented method, apparatus, and computer-program product |
CN111475238B (en) * | 2020-03-13 | 2023-12-05 | 五八有限公司 | Page processing method and device, electronic equipment and storage medium |
CN111475238A (en) * | 2020-03-13 | 2020-07-31 | 五八有限公司 | Page processing method and device, electronic equipment and storage medium |
CN111477135B (en) * | 2020-04-08 | 2023-10-10 | 上海闻泰电子科技有限公司 | Screen display method, device and storage medium |
CN111477135A (en) * | 2020-04-08 | 2020-07-31 | 上海闻泰电子科技有限公司 | Screen display method, equipment and storage medium |
EP3901941A1 (en) * | 2020-04-23 | 2021-10-27 | Beijing Xiaomi Mobile Software Co., Ltd. | Screen display adjusting method, apparatus and storage medium |
CN111857912A (en) * | 2020-07-03 | 2020-10-30 | Oppo广东移动通信有限公司 | Interface processing method and device, electronic equipment and computer readable storage medium |
CN113407135A (en) * | 2021-06-23 | 2021-09-17 | 青岛海信移动通信技术股份有限公司 | Display control method applied to ink screen and related device |
CN113778584A (en) * | 2021-08-04 | 2021-12-10 | 瑞芯微电子股份有限公司 | Method for independently controlling application background color and storage device |
CN114138394A (en) * | 2021-12-06 | 2022-03-04 | 北京得间科技有限公司 | Night display mode processing method, electronic device and computer storage medium |
CN117114978A (en) * | 2023-10-24 | 2023-11-24 | 深圳软牛科技有限公司 | Picture cropping and restoring method and device based on iOS and related medium thereof |
CN117114978B (en) * | 2023-10-24 | 2024-03-29 | 深圳软牛科技集团股份有限公司 | Picture cropping and restoring method and device based on iOS and related medium thereof |
Also Published As
Publication number | Publication date |
---|---|
CN109032739B (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032739B (en) | A kind of interface display method, terminal and computer storage medium | |
US20170219829A1 (en) | Systems, devices, and methods for preventing eyebox degradation in a wearable heads-up display | |
CN103914314B (en) | Method and device for adjusting brightness of display screen | |
CN105118475A (en) | Brightness or brightness and chroma adjusting method of LED display screen | |
CN104007950A (en) | Method of protecting eye for intelligent equipment | |
CN107799093A (en) | Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal | |
CN107342066A (en) | Screen luminance adjustment method, device and its equipment | |
CN107743203A (en) | A kind of parameter regulation means, terminal and computer-readable recording medium | |
CN107391150A (en) | The adaptive variation of mobile terminal topic tone and system | |
CN103730102A (en) | Information processing method and electronic equipment | |
CN103793156A (en) | Control method of application programs in mobile terminal system | |
CN108717691A (en) | A kind of image interfusion method, device, electronic equipment and medium | |
CN105388611A (en) | Wearable-type equipment and system for extending display of intelligent equipment | |
CN109725419A (en) | Head-mounted display apparatus and color difference intensifying method | |
CN114236834A (en) | Screen brightness adjusting method and device of head-mounted display equipment and head-mounted display equipment | |
CN106251827B (en) | Control method and control device | |
CN110444181A (en) | Display methods, device, terminal and computer readable storage medium | |
CN110254344A (en) | A kind of management method and device of atmosphere lamp effect | |
US20210225321A1 (en) | Focus assist mode for user interfaces | |
CN112686939A (en) | Depth image rendering method, device and equipment and computer readable storage medium | |
CN104462470A (en) | Display method and device for dynamic image | |
CN103577181A (en) | Method for regulating skin brightness of input method and terminal | |
US20200111446A1 (en) | Implementing a fault tolerant color palette | |
CN106020759A (en) | Display processing method and device for terminal device, application and operation system | |
CN110211083A (en) | A kind of image processing method and device |
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 |