CN106921784A - A kind of system theme Night switching method and apparatus of mobile terminal - Google Patents

A kind of system theme Night switching method and apparatus of mobile terminal Download PDF

Info

Publication number
CN106921784A
CN106921784A CN201510993393.5A CN201510993393A CN106921784A CN 106921784 A CN106921784 A CN 106921784A CN 201510993393 A CN201510993393 A CN 201510993393A CN 106921784 A CN106921784 A CN 106921784A
Authority
CN
China
Prior art keywords
night
mobile terminal
default
theme
parameter
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
CN201510993393.5A
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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510993393.5A priority Critical patent/CN106921784A/en
Publication of CN106921784A publication Critical patent/CN106921784A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application provides a kind of system theme Night changing method of mobile terminal, including:The Night switching for receiving user's triggering is indicated;After the switching instruction is received, Night hand-off process is carried out;The Night hand-off process includes:By default application programming interface API, the Night of the third party application with Night in mobile terminal is opened.The embodiment of the present application passes through, and receiving when user triggers and when reaching specific triggering mode, unified call each application program with Night switches to Night, simplifies user's operation.

Description

A kind of system theme Night switching method and apparatus of mobile terminal
Technical field
The application is related to technical field of mobile terminals, the system theme night of more particularly to a kind of mobile terminal Between mode switching method and a kind of mobile terminal system theme Night switching device.
Background technology
At present, mobile terminal has turned into people's indispensable part of life, and people spend largely daily Time in each application program of mobile terminal.
In order that obtaining user obtains preferable visual experience at night or when rather dark, it is mobile whole Many application programs are all provided with Night in end.But it is, it is necessary to manually in switching Night Opened, when user continuously uses multiple application programs, it is necessary to which user is manually opened one by one;And When daytime or bright light is reached, user needs to restart the night mould for closing each application program again Formula, operates extremely cumbersome.Also, sometimes user is not aware that application program has Night work( Can so that user's vision suffers damage.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present application overcomes above mentioned problem or extremely to provide one kind The system theme Night changing method and phase of a kind of mobile terminal for partially solving the above problems A kind of system theme Night switching device of the mobile terminal answered.
In order to solve the above problems, the embodiment of the present application discloses a kind of system theme night of mobile terminal Mode switching method, including:
The Night switching for receiving user's triggering is indicated;
After the switching instruction is received, Night hand-off process is carried out;
The Night hand-off process includes:
By default application programming interface API, opening has the of Night in mobile terminal The Night of tripartite's application program.
Preferably, the Night hand-off process also includes:
By default application programming interface API, closing the third party with Night should With the Night of program.
Preferably, the Night hand-off process also includes:
Default Night theme is called in the topology file of mobile terminal, by the Night The brightness of theme regulation interface of mobile terminal and color.
Preferably, the default Night theme is provided with:Night background color parameter, the night back of the body Scape luminance parameter, night character color parameter, night Character Intensity parameter;
It is described that default day mode theme is called in the topology file of mobile terminal, by it is described in the daytime The brightness of pattern theme regulation interface of mobile terminal and the step of color it is:
According to the night background color parameter, night background luminance parameter, night character color parameter, The brightness of night Character Intensity parameter adjustment interface of mobile terminal and color.
Preferably, the Night hand-off process also includes:
Default day mode theme is called in the topology file of mobile terminal, by the day mode The brightness of theme regulation interface of mobile terminal and color.
Preferably, the default day mode theme is provided with:In the daytime background color parameter, carry on the back in the daytime Scape luminance parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
It is described that default day mode theme is called in the topology file of mobile terminal, by it is described in the daytime The brightness of pattern theme regulation interface of mobile terminal and the step of color it is:
According to stating background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day in the daytime Between Character Intensity parameter adjustment interface of mobile terminal brightness and color.
Preferably, also include:
Obtain current time and detection current environment brightness;
When current time reaches default time and current environment brightness is less than default first luminance threshold Or during higher than default second luminance threshold, the mobile terminal carries out Night hand-off process automatically.
Preferably, also include:
Detection current environment brightness;
When within the default time period, the ambient brightness for detecting is below default 3rd luminance threshold or all During higher than default four luminance threshold, the mobile terminal carries out Night hand-off process automatically.
Simultaneously disclosed herein as well is a kind of system theme Night switching device of mobile terminal, bag Include:
Triggering receiver module, the Night for receiving user's triggering switches instruction;
First hand-off process module, for after the switching instruction is received, carrying out at Night switching Reason;
The first hand-off process module is further included:
Night opens submodule, for by default application programming interface API, opening and moving There is the Night of the third party application of Night in dynamic terminal.
Preferably, the first hand-off process module is still further comprised:
Night closes submodule, for by default application programming interface API, closing institute State the Night of the third party application with Night.
Preferably, the first hand-off process module also includes:
First theme calls submodule, for calling default night mould in the topology file of mobile terminal Formula theme, brightness and the color of interface of mobile terminal are adjusted by the Night theme.
Preferably, the default Night theme is provided with:Night background color parameter, the night back of the body Scape luminance parameter, night character color parameter, night Character Intensity parameter;
First theme calls submodule to further include:
Night parameter adjustment submodule, for according to the night background color parameter, night background luminance Parameter, night character color parameter, the brightness of night Character Intensity parameter adjustment interface of mobile terminal and face Color.
Preferably, the first hand-off process module also includes:
Second theme calls submodule, for calling default mould in the daytime in the topology file of mobile terminal Formula theme, brightness and the color of interface of mobile terminal are adjusted by the day mode theme.
Preferably, the default day mode theme is provided with:In the daytime background color parameter, carry on the back in the daytime Scape luminance parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
The second theme calls submodule to further include:
In the daytime parameter adjustment submodule, for according to state in the daytime background color parameter, in the daytime background luminance join Number, in the daytime character color parameter, the brightness of the interface of mobile terminal of Character Intensity parameter adjustment in the daytime and color.
Preferably, also include:
Time luminance acquisition module, for obtaining current time and detection current environment brightness;
Second hand-off process module, for reaching default time and current environment brightness when current time During less than default first luminance threshold or higher than default second luminance threshold, the mobile terminal is carried out automatically Night hand-off process.
Preferably, also include:
Ambient brightness detection module, for detecting current environment brightness;
3rd hand-off process module, for when within the default time period, the ambient brightness for detecting is all low During in default 3rd luminance threshold or all higher than default four luminance threshold, the mobile terminal is carried out automatically Night hand-off process.
The embodiment of the present application includes advantages below:
The embodiment of the present application passes through, when receiving when user triggers and reaching specific triggering mode, Unified call each application program with Night switches to Night, simplifies user's operation.
For the application program without Night function, by calling default Night theme, come Change brightness and the color at interface, protect user's eyesight.
Brief description of the drawings
Fig. 1 is a kind of system theme Night changing method embodiment 1 of mobile terminal of the application Flow chart of steps;
Fig. 2 is a kind of system theme Night changing method embodiment 2 of mobile terminal of the application Flow chart of steps;
Fig. 3 is a kind of system theme Night changing method embodiment 3 of mobile terminal of the application Flow chart of steps;
Fig. 4 is a kind of system theme Night switching device embodiment 1 of mobile terminal of the application Structured flowchart;
Fig. 5 is a kind of system theme Night switching device embodiment 2 of mobile terminal of the application Structured flowchart;
Fig. 6 is a kind of system theme Night switching device embodiment 3 of mobile terminal of the application Structured flowchart
Specific embodiment
To enable above-mentioned purpose, the feature and advantage of the application more obvious understandable, below in conjunction with the accompanying drawings The application is described in further detail with specific embodiment.
One of core idea of the embodiment of the present application is that each has Night by unified call Application program switches to Night, simplifies user's operation.
Reference picture 1, shows a kind of system theme Night changing method of mobile terminal of the application The step of embodiment 1 flow chart, specifically may include steps of:
Step 101, the Night switching for receiving user's triggering is indicated;
The triggering method of user includes:Clicking operation, slide at mobile terminal screen interface, length By operation, pressing operation of side switch etc..
Step 102, after the switching instruction is received, carries out Night hand-off process;
After the switching for receiving user's triggering is indicated, Night hand-off process is carried out
The Night hand-off process includes following sub-step:
Sub-step S11, by default application programming interface API, has in unlatching mobile terminal The Night of the third party application of Night;
For the application program with Night, there is the night that program developer sets inside program Between mode switch function, when user uses, it is necessary to application program internal trigger switching, or application Select to start night program in the starter launcher of program.When user is using multiple application programs, It is accomplished by constantly starting the application program of each application program Night so that operation becomes cumbersome, drops Low Consumer's Experience.
And in the embodiment of the present application, there is the API of the application program of Night by calling each (Application Programming Interface, application programming interface) applies journey starting each The Night function of sequence so that user no longer needs the night for starting each application program one by one Mode capabilities, simplify user's operation, improve Consumer's Experience.
Used as a kind of preferred exemplary of the embodiment of the present application, the Night hand-off process also includes as follows Sub-step:
Sub-step S12, by default application programming interface API, closes described with night mould The Night of the third party application of formula.
Because the essence of Night is to heighten brightness and the font color etc. of screen, needs are heightened in brightness More electricity are consumed, thus when daytime or bright light is reached, user usually would turn off application The Night of program is to save electricity, but user is when closing application program carries Night, and Need in the switching of application program internal trigger, or select to close in the starter launcher of application program Close night program.When user is using multiple application programs, it is necessary to constantly close each application program night Between pattern application program so that operation become cumbersome, reduce Consumer's Experience.
And in the embodiment of the present application, the night mould of each application program is closed by the API of application program Formula function so that user no longer needs the Night function of closing each application program one by one, User's operation is simplified, Consumer's Experience is improved.
Used as a kind of preferred exemplary of the embodiment of the present application, the Night hand-off process also includes as follows Sub-step:
Sub-step S13, calls default Night theme in the topology file of mobile terminal, passes through The brightness of the Night theme regulation interface of mobile terminal and color.
In the embodiment of the present application, the default Night theme is provided with:Night background color is joined Number, night background luminance parameter, night character color parameter, night Character Intensity parameter;
The sub-step S13 is specifically as follows:It is bright according to the night background color parameter, night background Degree parameter, night character color parameter, the brightness of night Character Intensity parameter adjustment interface of mobile terminal and Color.
For the application program without Night, at night or when rather dark, user is only The overall brightness of screen can be adjusted in the setting option of mobile terminal, and font color, background cannot be changed The parameters such as color, and, at night or when rather dark, font color and background color can be very The visual experience of good change user.
Therefore, in the embodiment of the present application, Night theme is provided with the topology file of mobile terminal, The brightness of interface of mobile terminal, regulation font color, background color are improved by calling Night theme.
Used as a kind of preferred exemplary of the embodiment of the present application, the Night hand-off process also includes as follows Sub-step:
Sub-step S14, calls default day mode theme in the topology file of mobile terminal, passes through The brightness of the day mode theme regulation interface of mobile terminal and color.
In the embodiment of the present application, the default day mode theme is provided with:In the daytime background color is joined Number, in the daytime background luminance parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
The sub-step 14 is specifically as follows:
According to stating background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day in the daytime Between Character Intensity parameter adjustment interface of mobile terminal brightness and color.
In the embodiment of the present application, day mode theme is additionally provided with, when reaching daytime or bright light When, user can reduce the brightness of interface of mobile terminal by directly switching day mode, adjust word Body color, background color.
Reference picture 2, shows a kind of system theme Night changing method of mobile terminal of the application The step of embodiment 2 flow chart, specifically may include steps of:
Step 201, obtains current time and detection current environment brightness;
In implementing, ambient brightness can be detected by the built-in light intensity inductor of mobile terminal, when The preceding time obtains according to the clock of mobile terminal.
Step 202, when current time reaches default time and current environment brightness is less than default first Luminance threshold or during higher than default second luminance threshold, the mobile terminal carries out Night switching automatically Treatment;
Wherein, preset the first luminance threshold and be less than default second luminance threshold;
In the embodiment of the present application, when the triggering for being not received by user is indicated, mobile terminal can be with root Judge whether to need to carry out Night hand-off process according to current time and current ambient brightness amount. Wherein, default time, default first luminance threshold and default second luminance threshold can be by users voluntarily Setting, or configured by server.
In the embodiment of the present application, step 202 can specifically include following sub-step:
Sub-step S21, by default application programming interface API, has in unlatching mobile terminal The Night of the third party application of Night;
For the application program with Night, Preset Time and present intensity are reached in current time During less than default first luminance threshold, by default application programming interface API, open mobile whole The Night of the third party application with Night in end.
Sub-step S22, by default application programming interface API, closes described with night mould The Night of the third party application of formula;
For the application program with Night, Preset Time and present intensity are reached in current time When height presets the second luminance threshold, by default application programming interface API, have described in closing The Night of the third party application of Night.
Sub-step S23, calls default Night theme in the topology file of mobile terminal, passes through The brightness of the Night theme regulation interface of mobile terminal and color;
In the embodiment of the present application, user using without Night application program during, When current time reaches Preset Time and present intensity is less than default first luminance threshold, can pass through Night theme adjusts brightness and the color of interface of mobile terminal to adjust.
Wherein, default Night theme is provided with:Night background color parameter, night background luminance Parameter, night character color parameter, night Character Intensity parameter;
In a kind of preferred exemplary of the embodiment of the present application, sub-step S23 is specifically as follows:
According to the night background color parameter, night background luminance parameter, night character color parameter, The brightness of night Character Intensity parameter adjustment interface of mobile terminal and color.
Sub-step S24, calls default day mode theme in the topology file of mobile terminal, passes through The brightness of the day mode theme regulation interface of mobile terminal and color.
In the embodiment of the present application, user using without Night application program during, When current time reaches Preset Time and present intensity default second luminance threshold high, can be by night Between pattern theme come adjust regulation interface of mobile terminal brightness and color.
Wherein, default day mode theme is provided with:In the daytime background color parameter, in the daytime background luminance Parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
In a kind of preferred exemplary of the embodiment of the present application, sub-step S24 is specifically as follows:
According to stating background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day in the daytime Between Character Intensity parameter adjustment interface of mobile terminal brightness and color.
Reference picture 3, shows a kind of system theme Night changing method of mobile terminal of the application The step of embodiment 3 flow chart, specifically may include steps of:
Step 301, detects current environment brightness;
In implementing, ambient brightness can be detected by the built-in light intensity inductor of mobile terminal.
Step 302, when within the default time period, it is bright that the ambient brightness for detecting is below the default 3rd Degree threshold value is all higher than that the mobile terminal carries out Night switching automatically when presetting four luminance thresholds Treatment;
In the embodiment of the present application, when the triggering for being not received by user is indicated, mobile terminal can be with root Choose whether to carry out Night hand-off process according to the situation of ambient brightness in a period of time.
In the embodiment of the present application, step 302 can specifically include following sub-step:
Sub-step S31, by default application programming interface API, has in unlatching mobile terminal The Night of the third party application of Night;
For the application program with Night, ambient brightness is below default within the default time period 3rd luminance threshold, by default application programming interface API, has night in unlatching mobile terminal Between pattern third party application Night.
Sub-step S32, by default application programming interface API, closes described with night mould The Night of the third party application of formula;
For the application program with Night, ambient brightness is all higher than default within the default time period 4th luminance threshold, by default application programming interface API, closes described with Night Third party application Night.
Sub-step S33, calls default Night theme in the topology file of mobile terminal, passes through The brightness of the Night theme regulation interface of mobile terminal and color;
In the embodiment of the present application, user using without Night application program during, Ambient brightness is below default 3rd luminance threshold within the default time period, can be by Night master Inscribe the brightness to adjust regulation interface of mobile terminal and color.
Wherein, default Night theme is provided with:Night background color parameter, night background luminance Parameter, night character color parameter, night Character Intensity parameter;
In a kind of preferred exemplary of the embodiment of the present application, sub-step S33 is specifically as follows:
According to the night background color parameter, night background luminance parameter, night character color parameter, The brightness of night Character Intensity parameter adjustment interface of mobile terminal and color.
Sub-step S34, calls default day mode theme in the topology file of mobile terminal, passes through The brightness of the day mode theme regulation interface of mobile terminal and color.
In the embodiment of the present application, user using without Night application program during, Ambient brightness, can be by Night master all higher than default 4th luminance threshold within the default time period Inscribe the brightness to adjust regulation interface of mobile terminal and color.
Wherein, default day mode theme is provided with:In the daytime background color parameter, in the daytime background luminance Parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
In a kind of preferred exemplary of the embodiment of the present application, sub-step S34 is specifically as follows:
According to stating background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day in the daytime Between Character Intensity parameter adjustment interface of mobile terminal brightness and color.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it is The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not by described Sequence of movement limitation because according to the embodiment of the present application, some steps can using other orders or Person is carried out simultaneously.Secondly, those skilled in the art should also know, embodiment described in this description Preferred embodiment is belonged to, necessary to involved action not necessarily the embodiment of the present application.
Reference picture 4, shows a kind of system theme Night switching device of mobile terminal of the application The structured flowchart of embodiment 1, can specifically include such as lower module:
Triggering receiver module 41, the Night for receiving user's triggering switches instruction;
First hand-off process module 42, for after the switching instruction is received, carrying out Night switching Treatment;
The first hand-off process module 41 may further include:
Night opens submodule 4101, for by default application programming interface API, opening Open the Night of the third party application with Night in mobile terminal.
Used as a kind of preferred exemplary of the embodiment of the present application, the first hand-off process module 41 can be with Further include::
Night closes submodule, for by default application programming interface API, closing institute State the Night of the third party application with Night.
Used as a kind of preferred exemplary of the embodiment of the present application, the first hand-off process module 41 can be with Further include::
First theme calls submodule, for calling default night mould in the topology file of mobile terminal Formula theme, brightness and the color of interface of mobile terminal are adjusted by the Night theme.
Wherein, the default Night theme is provided with:Night background color parameter, night background Luminance parameter, night character color parameter, night Character Intensity parameter;
First theme calls submodule may further include:
Night parameter adjustment submodule, for according to the night background color parameter, night background luminance Parameter, night character color parameter, the brightness of night Character Intensity parameter adjustment interface of mobile terminal and face Color.
Used as a kind of preferred exemplary of the embodiment of the present application, the first hand-off process module 41 can be with Further include::
Second theme calls submodule, for calling default mould in the daytime in the topology file of mobile terminal Formula theme, brightness and the color of interface of mobile terminal are adjusted by the day mode theme.
Wherein, the default day mode theme is provided with:In the daytime background color parameter, in the daytime background Luminance parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
The second theme calls submodule to further include:
In the daytime parameter adjustment submodule, for according to state in the daytime background color parameter, in the daytime background luminance join Number, in the daytime character color parameter, the brightness of the interface of mobile terminal of Character Intensity parameter adjustment in the daytime and color.
Reference picture 5, shows a kind of system theme Night switching device of mobile terminal of the application The structured flowchart of embodiment 2, can specifically include such as lower module:
Triggering receiver module 51, the Night for receiving user's triggering switches instruction;
First hand-off process module 52, for after the switching instruction is received, carrying out Night switching Treatment;
Time luminance acquisition module 53, for obtaining current time and detection current environment brightness;
Second hand-off process module 54, for reaching default time and current environment is bright when current time When degree is less than default first luminance threshold or higher than default second luminance threshold, the mobile terminal enters automatically Row Night hand-off process.
Reference picture 6, shows a kind of system theme Night switching device of mobile terminal of the application The structured flowchart of embodiment 3, can specifically include such as lower module:
Triggering receiver module 61, the Night for receiving user's triggering switches instruction;
First hand-off process module 62, for after the switching instruction is received, carrying out Night switching Treatment;
Ambient brightness detection module 63, for detecting current environment brightness;
3rd hand-off process module 64, for when within the default time period, the ambient brightness for detecting is all During less than default 3rd luminance threshold or all higher than default four luminance threshold, the mobile terminal enters automatically Row Night hand-off process.
For device embodiment, because it is substantially similar to embodiment of the method, so the comparing of description Simply, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, and each embodiment is stressed Be all difference with other embodiment, between each embodiment identical similar part mutually referring to .
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present application can be provided as method, dress Put or computer program product.Therefore, the embodiment of the present application can using complete hardware embodiment, completely The form of the embodiment in terms of software implementation or combination software and hardware.And, the embodiment of the present application Can use can be situated between in one or more computers for wherein including computer usable program code with storage The computer journey implemented in matter (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of sequence product.
The embodiment of the present application is with reference to the method according to the embodiment of the present application, terminal device (system) and meter The flow chart and/or block diagram of calculation machine program product is described.It should be understood that can be by computer program instructions Realize each flow and/or square frame and flow chart and/or the square frame in flow chart and/or block diagram The combination of flow and/or square frame in figure.Can provide these computer program instructions to all-purpose computer, The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipments is producing One machine so that by the computing device of computer or other programmable data processing terminal equipments Instruction produce for realizing in one flow of flow chart or multiple one square frame of flow and/or block diagram or The device of the function of being specified in multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas to process In the computer-readable memory that terminal device works in a specific way so that storage is in the computer-readable Instruction in memory is produced and includes the manufacture of command device, and command device realization is in flow chart one The function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing terminals set It is standby upper so that execution series of operation steps is in terms of producing on computer or other programmable terminal equipments The treatment that calculation machine is realized, so as to the instruction performed on computer or other programmable terminal equipments provides use In realization in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames The step of function of specifying.
Although having been described for the preferred embodiment of the embodiment of the present application, those skilled in the art are once Basic creative concept is known, then other change and modification can be made to these embodiments.So, Appended claims are intended to be construed to include preferred embodiment and fall into the institute of the embodiment of the present application scope Have altered and change.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires Or imply between these entities or operation there is any this actual relation or order.And, art Language " including ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that Process, method, article or terminal device including a series of key elements not only include those key elements, and Also include other key elements for being not expressly set out, or also include for this process, method, article or The intrinsic key element of person's terminal device.In the absence of more restrictions, by sentence " including It is individual ... " limit key element, it is not excluded that at the process including the key element, method, article or end Also there is other identical element in end equipment.
Above to a kind of system theme Night changing method of mobile terminal provided herein and A kind of system theme Night switching device of mobile terminal, is described in detail, used herein Specific case is set forth to the principle and implementation method of the application, and the explanation of above example is It is used to help understand the present processes and its core concept;Simultaneously for the general technology people of this area Member, according to the thought of the application, will change in specific embodiments and applications, comprehensive Upper described, this specification content should not be construed as the limitation to the application.
The embodiment of the present application discloses the system theme Night changing method of A1, a kind of mobile terminal, Including:
The Night switching for receiving user's triggering is indicated;
After the switching instruction is received, Night hand-off process is carried out;
The Night hand-off process includes:
By default application programming interface API, opening has the of Night in mobile terminal The Night of tripartite's application program.
A2, the method as described in A1, the Night hand-off process also include:
By default application programming interface API, closing the third party with Night should With the Night of program.
A3, the method as described in A2, the Night hand-off process also include:
Default Night theme is called in the topology file of mobile terminal, by the Night The brightness of theme regulation interface of mobile terminal and color.
A4, the method as described in A3, the default Night theme are provided with:Night background face Color parameter, night background luminance parameter, night character color parameter, night Character Intensity parameter;
It is described that default day mode theme is called in the topology file of mobile terminal, by it is described in the daytime The brightness of pattern theme regulation interface of mobile terminal and the step of color it is:
According to the night background color parameter, night background luminance parameter, night character color parameter, The brightness of night Character Intensity parameter adjustment interface of mobile terminal and color.
A5, the method as described in A4, the Night hand-off process also include:
Default day mode theme is called in the topology file of mobile terminal, by the day mode The brightness of theme regulation interface of mobile terminal and color.
A6, the method as described in A5, the default day mode theme are provided with:In the daytime background face Color parameter, in the daytime background luminance parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
It is described that default day mode theme is called in the topology file of mobile terminal, by it is described in the daytime The brightness of pattern theme regulation interface of mobile terminal and the step of color it is:
According to stating background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day in the daytime Between Character Intensity parameter adjustment interface of mobile terminal brightness and color.
A7, the method as described in any one of A1-A6, also include:
Obtain current time and detection current environment brightness;
When current time reaches default time and current environment brightness is less than default first luminance threshold Or during higher than default second luminance threshold, the mobile terminal carries out Night hand-off process automatically.
A8, the method as described in any one of A1-A6, also include:
Detection current environment brightness;
When within the default time period, the ambient brightness for detecting is below default 3rd luminance threshold or all During higher than default four luminance threshold, the mobile terminal carries out Night hand-off process automatically.
The embodiment of the present application also discloses B9, a kind of system theme Night of mobile terminal is cut simultaneously Changing device, including:
Triggering receiver module, the Night for receiving user's triggering switches instruction;
First hand-off process module, for after the switching instruction is received, carrying out at Night switching Reason;
The first hand-off process module is further included:
Night opens submodule, for by default application programming interface API, opening and moving There is the Night of the third party application of Night in dynamic terminal.
B10, the device as described in B9, the first hand-off process module are still further comprised:
Night closes submodule, for by default application programming interface API, closing institute State the Night of the third party application with Night.
B11, the device as described in B10, the first hand-off process module also include:
First theme calls submodule, for calling default night mould in the topology file of mobile terminal Formula theme, brightness and the color of interface of mobile terminal are adjusted by the Night theme.
B12, the device as described in B11,
The default Night theme is provided with:Night background color parameter, night background luminance ginseng Number, night character color parameter, night Character Intensity parameter;
First theme calls submodule to further include:
Night parameter adjustment submodule, for according to the night background color parameter, night background luminance Parameter, night character color parameter, the brightness of night Character Intensity parameter adjustment interface of mobile terminal and face Color.
B13, the device as described in B12, the first hand-off process module also include:
Second theme calls submodule, for calling default mould in the daytime in the topology file of mobile terminal Formula theme, brightness and the color of interface of mobile terminal are adjusted by the day mode theme.
B14, the device as described in B13, the default day mode theme are provided with:In the daytime background Color parameter, in the daytime background luminance parameter, in the daytime character color parameter, in the daytime Character Intensity parameter;
The second theme calls submodule to further include:
In the daytime parameter adjustment submodule, for according to state in the daytime background color parameter, in the daytime background luminance join Number, in the daytime character color parameter, the brightness of the interface of mobile terminal of Character Intensity parameter adjustment in the daytime and color.
B15, the device as described in any one of B9-B14, also include:
Time luminance acquisition module, for obtaining current time and detection current environment brightness;
Second hand-off process module, for reaching default time and current environment brightness when current time During less than default first luminance threshold or higher than default second luminance threshold, the mobile terminal is carried out automatically Night hand-off process.
B16, the device as described in any one of B9-B14, also include:
Ambient brightness detection module, for detecting current environment brightness;
3rd hand-off process module, for when within the default time period, the ambient brightness for detecting is all low During in default 3rd luminance threshold or all higher than default four luminance threshold, the mobile terminal is carried out automatically Night hand-off process.

Claims (10)

1. the system theme Night changing method of a kind of mobile terminal, including:
The Night switching for receiving user's triggering is indicated;
After the switching instruction is received, Night hand-off process is carried out;
The Night hand-off process includes:
By default application programming interface API, opening has the of Night in mobile terminal The Night of tripartite's application program.
2. method according to claim 1, it is characterised in that the Night hand-off process Also include:
By default application programming interface API, closing the third party with Night should With the Night of program.
3. method according to claim 2, it is characterised in that the Night hand-off process Also include:
Default Night theme is called in the topology file of mobile terminal, by the Night The brightness of theme regulation interface of mobile terminal and color.
4. method according to claim 3, it is characterised in that
The default Night theme is provided with:Night background color parameter, night background luminance ginseng Number, night character color parameter, night Character Intensity parameter;
It is described that default day mode theme is called in the topology file of mobile terminal, by it is described in the daytime The brightness of pattern theme regulation interface of mobile terminal and the step of color it is:
According to the night background color parameter, night background luminance parameter, night character color parameter, The brightness of night Character Intensity parameter adjustment interface of mobile terminal and color.
5. method according to claim 4, it is characterised in that the Night hand-off process Also include:
Default day mode theme is called in the topology file of mobile terminal, by the day mode The brightness of theme regulation interface of mobile terminal and color.
6. method according to claim 5, it is characterised in that the default day mode master Topic is provided with:In the daytime background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day Between Character Intensity parameter;
It is described that default day mode theme is called in the topology file of mobile terminal, by it is described in the daytime The brightness of pattern theme regulation interface of mobile terminal and the step of color it is:
According to stating background color parameter, in the daytime background luminance parameter, in the daytime character color parameter, day in the daytime Between Character Intensity parameter adjustment interface of mobile terminal brightness and color.
7. the method according to claim any one of 1-6, it is characterised in that also include:
Obtain current time and detection current environment brightness;
When current time reaches default time and current environment brightness is less than default first luminance threshold Or during higher than default second luminance threshold, the mobile terminal carries out Night hand-off process automatically.
8. the method according to claim any one of 1-6, it is characterised in that also include:
Detection current environment brightness;
When within the default time period, the ambient brightness for detecting is below default 3rd luminance threshold or all During higher than default four luminance threshold, the mobile terminal carries out Night hand-off process automatically.
9. the system theme Night switching device of a kind of mobile terminal, including:
Triggering receiver module, the Night for receiving user's triggering switches instruction;
First hand-off process module, for after the switching instruction is received, carrying out at Night switching Reason;
The first hand-off process module is further included:
Night opens submodule, for by default application programming interface API, opening and moving There is the Night of the third party application of Night in dynamic terminal.
10. device according to claim 9, it is characterised in that the first hand-off process module Still further comprise:
Night closes submodule, for by default application programming interface API, closing institute State the Night of the third party application with Night.
CN201510993393.5A 2015-12-24 2015-12-24 A kind of system theme Night switching method and apparatus of mobile terminal Pending CN106921784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510993393.5A CN106921784A (en) 2015-12-24 2015-12-24 A kind of system theme Night switching method and apparatus of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510993393.5A CN106921784A (en) 2015-12-24 2015-12-24 A kind of system theme Night switching method and apparatus of mobile terminal

Publications (1)

Publication Number Publication Date
CN106921784A true CN106921784A (en) 2017-07-04

Family

ID=59459666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510993393.5A Pending CN106921784A (en) 2015-12-24 2015-12-24 A kind of system theme Night switching method and apparatus of mobile terminal

Country Status (1)

Country Link
CN (1) CN106921784A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885435A (en) * 2017-11-27 2018-04-06 深圳市金立通信设备有限公司 A kind of display control method, terminal and computer-readable medium
CN109032449A (en) * 2018-08-10 2018-12-18 网易传媒科技(北京)有限公司 Apparatus control method, device, medium and calculating equipment
CN109600518A (en) * 2019-01-30 2019-04-09 努比亚技术有限公司 Application method, mobile terminal, the readable storage medium storing program for executing of eyeshield display pattern
CN109614196A (en) * 2018-12-14 2019-04-12 北京向上心科技有限公司 Application program theme matches method of adjusting color, system, equipment and medium
CN110538381A (en) * 2018-05-29 2019-12-06 华为技术有限公司 illumination adjustment method and terminal
CN110609722A (en) * 2019-08-09 2019-12-24 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
CN111832249A (en) * 2019-04-11 2020-10-27 珠海金山办公软件有限公司 Document display method and device and electronic equipment
CN112181557A (en) * 2020-09-22 2021-01-05 西安闻泰电子科技有限公司 Theme switching method and device, electronic equipment and storage medium
US12014663B2 (en) 2019-08-09 2024-06-18 Huawei Technologies Co., Ltd. Dark mode display interface processing method, electronic device, and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885435A (en) * 2017-11-27 2018-04-06 深圳市金立通信设备有限公司 A kind of display control method, terminal and computer-readable medium
CN110538381A (en) * 2018-05-29 2019-12-06 华为技术有限公司 illumination adjustment method and terminal
CN110538381B (en) * 2018-05-29 2021-06-22 华为技术有限公司 Illumination adjustment method and terminal
US11857731B2 (en) 2018-05-29 2024-01-02 Huawei Technologies Co., Ltd. Light adjustment method and terminal
CN109032449A (en) * 2018-08-10 2018-12-18 网易传媒科技(北京)有限公司 Apparatus control method, device, medium and calculating equipment
CN109614196A (en) * 2018-12-14 2019-04-12 北京向上心科技有限公司 Application program theme matches method of adjusting color, system, equipment and medium
CN109600518A (en) * 2019-01-30 2019-04-09 努比亚技术有限公司 Application method, mobile terminal, the readable storage medium storing program for executing of eyeshield display pattern
CN111832249A (en) * 2019-04-11 2020-10-27 珠海金山办公软件有限公司 Document display method and device and electronic equipment
CN110609722A (en) * 2019-08-09 2019-12-24 华为技术有限公司 Dark mode display interface processing method, electronic equipment and storage medium
US12014663B2 (en) 2019-08-09 2024-06-18 Huawei Technologies Co., Ltd. Dark mode display interface processing method, electronic device, and storage medium
CN112181557A (en) * 2020-09-22 2021-01-05 西安闻泰电子科技有限公司 Theme switching method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106921784A (en) A kind of system theme Night switching method and apparatus of mobile terminal
CN105788536B (en) Back light brightness regulating method, device and terminal device
CN103310763B (en) Method, device and a kind of equipment that a kind of mobile device show state switches
CN107391062A (en) A kind of method, apparatus and its mobile terminal for adjusting screen display
CN106445151B (en) A kind of control method and terminal of screen luminance of terminal
CN105575366B (en) Switch the method and system of backlight governing speed
CN108989571A (en) A kind of adaptive font method of adjustment and device for mobile phone word read
CN109754866A (en) Attention training method, device and computer readable storage medium
CN103607758A (en) Terminal screen power saving processing method, device thereof and terminal
CN105895052A (en) Screen backlight brightness adjusting method and device
CN106231103A (en) A kind of method and system realizing volume and brightness regulation based on Proximity Sensor
CN107993604A (en) The adjusting method and equipment of a kind of display screen
CN104795054B (en) A kind of automatic brightness adjustment method and system
CN107454344B (en) A kind of acquisition parameters setting method and user terminal
CN103929546A (en) Method and device for protecting eyes of user based on intelligent terminal
CN103200313A (en) Method of converting between normal mode and specific mode of handheld equipment and handheld equipment
CN105334961A (en) Method for controlling mobile terminal based on eyeball tracking and mobile terminal
CN105843038A (en) Method and device for controlling alarm clock
CN104020976A (en) Method and device for adjusting screen brightness
CN106020447B (en) The proximity sensor parameter regulation means and system of touch type electronic equipment
CN108200279A (en) backlight adjusting method, device and equipment
CN106484356A (en) Adjust the method and device of brightness of image
CN106210278A (en) A kind of method of screen control and terminal
CN108470552A (en) Display methods, device and storage medium
CN103957327B (en) The method of the contextual model automatic switchover of mobile terminal and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170704

WD01 Invention patent application deemed withdrawn after publication