CN107729100B - Interface display control method and mobile terminal - Google Patents

Interface display control method and mobile terminal Download PDF

Info

Publication number
CN107729100B
CN107729100B CN201710883681.4A CN201710883681A CN107729100B CN 107729100 B CN107729100 B CN 107729100B CN 201710883681 A CN201710883681 A CN 201710883681A CN 107729100 B CN107729100 B CN 107729100B
Authority
CN
China
Prior art keywords
user interface
application program
background
color tone
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710883681.4A
Other languages
Chinese (zh)
Other versions
CN107729100A (en
Inventor
孙山林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710883681.4A priority Critical patent/CN107729100B/en
Publication of CN107729100A publication Critical patent/CN107729100A/en
Application granted granted Critical
Publication of CN107729100B publication Critical patent/CN107729100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an interface display control method and a mobile terminal, wherein the method comprises the following steps: starting a first application program and displaying a user interface of the first application program; acquiring the light intensity of the current ambient light; and when the light intensity meets a preset condition, setting the background of the user interface of the second application program according to the tone of the user interface of the first application program. According to the invention, the background of the user interface of the second application program is set based on the tone of the user interface of the first application program, so that the display effect of the user interface can be improved, the problem of dazzling or unclear vision is avoided, and the visual experience effect is improved.

Description

Interface display control method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to an interface display control method and a mobile terminal.
Background
With the development of society, mobile phones have become indispensable communication and entertainment tools in people's daily life. However, since the display interfaces of different applications in the mobile phone are all displayed according to the predetermined settings of the respective applications, when switching from one application to another application, the background color or the background picture on the display interface may be completely opposite to the background color or the background picture when the previous application is displayed, so that the user may be irritated or may not see the display interface clearly. For example, when a user needs to send text information when playing a game, an input method application program needs to be called at this time, and if the background color of the display interface of the game application is black and the background color of the display interface of the input method application is white, when the input method interface is opened, the problem of severe eye irritation to the user may be caused due to large color difference change of hue. Similarly, if the background color of the display interface of the previous application is white and the background color of the display interface of the next application is black, the display interface is switched from the white hue to the black hue, so that the content displayed on the display interface is not clearly seen by the user, the eye fatigue of the user is caused, and the user experience effect is poor.
In summary, the mobile terminal in the prior art has a problem that when the application display interface is switched to another application display interface, the eyes of the user are irritated or the application display interface displayed after the user is not clear.
Disclosure of Invention
The embodiment of the invention provides an interface display control method and a mobile terminal, and aims to solve the problem that when one application display interface is switched to another application display interface in the prior art, the eyes of a user are easily stimulated or the application display interface displayed after the user cannot see clearly.
In order to solve the technical problem, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides an interface display control method, where the method includes:
starting a first application program and displaying a user interface of the first application program;
acquiring the light intensity of the current ambient light;
and when the light intensity meets a preset condition, setting a background of a user interface of a second application program according to the tone of the user interface of the first application program, wherein the user interface of the second application program is a system interface or a user interface of an application program displayed behind the first application program.
In a second aspect, an embodiment of the present invention provides a mobile terminal, including:
the first display module is used for starting a first application program and displaying a user interface of the first application program;
the acquisition module is used for acquiring the light intensity of the current ambient light;
and the setting module is used for setting the background of a user interface of a second application program according to the tone of the user interface of the first application program when the light intensity meets a preset condition, wherein the user interface of the second application program is a system interface or a user interface of an application program displayed behind the first application program.
In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the interface display control method are implemented.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the interface display control method.
According to the embodiment of the invention, the background of the user interface of the second application program is set based on the tone of the user interface of the first application program, so that the display effect of the user interface can be improved, the problem of dazzling or unclear vision is avoided, and the visual experience effect is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating a method for controlling interface display in an embodiment of the present invention;
fig. 2 shows one of the structural block diagrams of the mobile terminal in the embodiment of the present invention;
fig. 3 shows a second block diagram of the mobile terminal according to the embodiment of the invention;
fig. 4 shows a third block diagram of the mobile terminal according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, which is a flowchart of an interface display control method according to an embodiment of the present invention, the method includes the following steps:
step 101, starting a first application program, and displaying a user interface of the first application program.
When the mobile terminal starts the first application program, displaying a user interface of the first application program on a display interface of the mobile terminal.
For example, assuming that the first application is "WeChat", when the mobile terminal starts the application "WeChat", a user interface of the application "WeChat" is displayed on a display interface of the mobile terminal.
Step 102, obtaining the light intensity of the current ambient light.
In this step, specifically, after the user interface of the first application program is displayed, the light intensity of the current ambient light may be obtained, so that the mobile terminal can determine whether the background of the user interface of the second application program, which is displayed after adjustment, needs to be determined according to the light intensity of the current ambient light.
Specifically, when the light intensity of the current ambient light is obtained, the light intensity of the current ambient light may be obtained through a photosensitive sensor arranged in the mobile terminal when a call instruction of the second application program is received. Therefore, the light intensity of the current ambient light is obtained only when the call instruction of the second application program is received, but the ambient light brightness value of the current ambient light is not obtained when the user interface of the first application program is displayed, so that the photosensitive sensor can be started only when the call instruction of the second application program is received by the mobile terminal, and the photosensitive sensor does not need to be started when the call instruction of the second application program is not received, thereby avoiding unnecessary electric quantity output of the mobile terminal and saving the electric quantity used by the mobile terminal.
For example, assuming that the second application is "browser", when a call instruction for the application "browser" is received, the light brightness of the current ambient light is obtained by the photosensitive sensor, so as to avoid unnecessary power output of the mobile terminal.
And 103, when the light intensity meets a preset condition, setting the background of the user interface of the second application program according to the tone of the user interface of the first application program.
In this step, specifically, the user interface of the second application may be a system interface, or may be a user interface of an application displayed after the first application.
In addition, specifically, a difference between a color tone of the background of the user interface of the second application and a color tone of the user interface of the first application may be smaller than a preset value. That is, when the light intensity satisfies the preset condition and the background of the user interface of the second application program is set according to the color tone of the user interface of the first application program, the color tone of the background of the user interface of the second application program may be set to a color tone having a difference from the color tone of the user interface of the first application program smaller than the preset value when the light intensity satisfies the preset condition. When the user interface of the second application program is called, the difference value between the color tone of the background of the user interface of the second application program and the color tone of the user interface of the first application program is smaller than the preset value, so that when the user interface of the second application program is displayed or switched to be displayed at the same time, the situation that the eyes of a user are stimulated or the user cannot see the user interface of the second application program clearly due to the fact that the color tone of the user interface of the first application program is greatly different from the color tone of the background of the user interface of the second application program is avoided, and the eyesight of the user is protected.
In addition, specifically, when the light intensity satisfies the preset condition and the background of the user interface of the second application program is set according to the color tone of the user interface of the first application program, the background of the user interface of the second application program may be set according to the color tone of the user interface of the first application program when the ambient light intensity is greater than the first preset intensity threshold or the light intensity is less than the second preset intensity threshold. Of course, the first preset intensity threshold is greater than the second preset intensity threshold. Therefore, when the light intensity is moderate, the color tone change of the display interface of the mobile terminal cannot cause damage to human eyes, and the background of the user interface of the second application program displayed after setting is not needed. When the light intensity is too high or too low, and the change of the color tone of the mobile terminal is large, the situation of stimulating the eyes of the user or displaying the content of the application display interface after the user cannot see clearly can be caused, so that only when the light intensity meets the preset condition, namely the light intensity is greater than the first preset intensity threshold value or the light intensity is less than the second preset intensity threshold value, the background of the user interface of the second application program is set, the calculation amount of the mobile terminal is reduced, and the situation that the user eyes are stimulated or the user interface of the second application program cannot see clearly due to the fact that the color tone of the user interface of the first application program is greatly different from the color tone of the background of the user interface of the second application program when the user interface of the second application program is displayed in the environment with strong light or weak light is avoided, the eyesight of the user is protected.
Therefore, when the light intensity of the current ambient light meets the preset condition, the background of the user interface of the second application program is set according to the color tone of the user interface of the first application program, so that the display effect of the user interface can be improved, the situation that the eyes of a user are stimulated or the user cannot see the user interface of the second application program clearly due to the fact that the color tone of the user interface of the first application program is greatly different from the color tone of the background of the user interface of the second application program when the user interface of the second application program is displayed or switched to be displayed simultaneously is avoided, the eyesight of the user is protected, and the problem that the eyes of the user are stimulated or the user cannot see the displayed application display interface clearly when the user interface is switched from one application display interface to another application display interface in the prior art is solved.
Furthermore, when setting the background of the user interface of the second application program according to the color tone of the user interface of the first application program, selecting a background picture from a background picture library preset by the mobile terminal according to the color tone of the user interface of the first application program; the difference value between the color tone of the background picture and the color tone of the user interface of the first application program is smaller than a preset value; the background picture is then set as the background for the second application. Therefore, by selecting the background picture with the difference value smaller than the preset value between the background picture and the color tone of the user interface of the first application program in the background picture library and setting the background picture as the background of the user interface of the second application program, the color tone of the background of the user interface of the second application program is closer to the color tone of the user interface of the first application program, so that when the user interface of the second application program is switched to be displayed or displayed simultaneously, the situation that the eyes of a user are stimulated or the user cannot see the user interface of the second application program clearly due to the fact that the color tone of the user interface of the first application program is different from the color tone of the background of the user interface of the second application program is avoided, and the eyesight of the user is protected. In addition, the background picture is selected from the preset background picture library, so that the interestingness of the background of the user interface of the second application program is increased.
Specifically, a background gallery is preset in the mobile terminal, and a plurality of background pictures with different tones are arranged in the background gallery. In addition, the background pictures in the background picture library can also be pictures added by the user according to own preference. Of course, the background picture may be a single-tone background-color picture, or may be a picture including an image.
For example, when the first application program is "WeChat" and the second application program is "browser", if the tone value of the application program "WeChat" is A, a background picture with a tone value of B may be selected from a background gallery preset in the mobile terminal according to the tone value A, and the background picture with a tone value of B may be set as the background of the second application program. Of course, the difference between the hue value B and the hue value a is smaller than the preset value. The tone of the background of the user interface of the second application program is close to the tone of the user interface of the first application program, so that the condition that the eyes of a user are irritated or the user interface of the second application program is not obscured by the user can not occur when the user interface of the second application program is switched to be displayed or displayed at the same time, and the eyesight of the user is protected.
Furthermore, after setting the background of the user interface of the second application according to the color tone of the user interface of the first application, the current display interface can be switched from the user interface of the first application to the user interface of the second application. At this time, because the difference value between the color tone of the background of the user interface of the switched second application program and the color tone of the user interface of the first application program is smaller than the preset value, that is, the color tones of the user interfaces displayed before and after are relatively similar, the situation that the eyes of the user are injured due to large color tone change when the user interface of the second application program is switched and displayed is avoided, the situation that the user cannot clearly see the user interface of the switched and displayed second application program is avoided, and the eyesight of the user is protected.
For example, assuming that the first application program is "WeChat", the second application program is "browser", and when the user interface of the application program "WeChat" is displayed on the current display interface of the mobile terminal, the mobile terminal sets the hue value of the background of the user interface of the application program "browser" to be B according to the hue value of the application program "WeChat" as A, where the difference between B and A is smaller than a preset value, at this time, the current display interface may be switched from the user interface of "WeChat" to the user interface of "browser" according to the user operation. At this time, because the color tone of the background of the user interface of the browser is closer to the color tone of the user interface of the WeChat, the situation that the eyes of the user are injured due to large color tone change before and after the user interface of the application program is switched is avoided, the situation that the user cannot see the user interface of the second application program after the switching display clearly is avoided, and the eyesight of the user is protected.
In addition, further, after the background of the user interface of the second application program is set according to the color tone of the user interface of the first application program, the user interface of the second application program can be displayed on a preset area of the user interface of the first application program. At this time, because the difference value between the color tone of the background of the user interface of the second application program displayed simultaneously and the color tone of the user interface of the first application program is smaller than the preset value, that is, the color tones of the two user interfaces displayed on the display interface simultaneously are relatively similar, the situation that the eyes of the user are injured due to large color tone difference when the user interfaces of the second application programs are displayed simultaneously is avoided, the situation that the user cannot see the user interfaces of the second application programs displayed simultaneously is avoided, and the eyesight of the user is protected.
For example, assuming that the first application program is "WeChat", the second application program is "search dog Pinyin input method", and when the user interface of the application program "WeChat" is displayed on the current display interface of the mobile terminal, the mobile terminal sets the hue value of the background of the user interface of the application program "search dog Pinyin input method" to be B according to the hue value of the application program "WeChat" as A, where the difference between B and A is smaller than a preset value, at this time, the user interface of the "search dog Pinyin input method" may be displayed on the user interface of "WeChat" according to the operation of the user. At this time, because the color tone of the background of the user interface of the 'dog search pinyin input method' is closer to the color tone of the user interface of the 'WeChat', the situation that the eyes of the user are injured due to the fact that the color tone of the user interface of the application program which is suddenly displayed is greatly different from the color tone of the user interface of the application program which is started to be displayed is avoided, the situation that the user cannot clearly see the user interface of the second application program which is suddenly displayed is avoided, and the eyesight of the user is protected.
According to the embodiment, when the light intensity of the current ambient light meets the preset condition, the background of the user interface of the second application program is set according to the color tone of the user interface of the first application program, so that the display effect of the user interface can be improved, the situation that the eyes of a user are stimulated or the user cannot see the user interface of the second application program clearly due to the fact that the color tone of the user interface of the first application program is greatly different from the color tone of the background of the user interface of the second application program when the user interface of the second application program is displayed or switched to display the user interface of the second application program is achieved, the eyesight of the user is protected, and the problem that the eyes of the user are stimulated or the user cannot see the displayed application display interface clearly when the user is switched from one application display interface to another application display interface in the prior art is solved.
In addition, as shown in fig. 2, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
a first display module 201, configured to start a first application and display a user interface of the first application;
an obtaining module 202, configured to obtain light intensity of current ambient light;
a setting module 203, configured to set a background of a user interface of a second application program according to a color tone of the user interface of the first application program when the light intensity satisfies a preset condition, where the user interface of the second application program is a system interface or a user interface of an application program displayed after the first application program.
In the embodiment, when the first display module starts the first application program, the user interface of the first application program is displayed, the light intensity of the current ambient light is acquired by the acquisition module, and then when the light intensity meets the preset condition, the setting module sets the background of the user interface of the second application program according to the hue of the user interface of the first application program, so that the display effect of the user interface can be improved, and therefore, when the user interface of the second application program is displayed or switched to be displayed simultaneously, the situation that the eyes of a user are stimulated or the user cannot see the user interface of the second application program clearly due to the fact that the hue of the user interface of the first application program is different from the hue of the background of the user interface of the second application program is avoided, the eyesight of the user is protected, and the problem that in the prior art, when the user interface is switched from one application display interface to another application display interface is solved, problems easily arise in that the user's eyes are irritated or the application display interface displayed after the user is blinded.
Optionally, the setting module 203 is configured to set, when the light intensity satisfies a preset condition, a color tone of a background of the user interface of the second application program to a color tone of which a difference value with respect to a color tone of the user interface of the first application program is smaller than a preset value.
Optionally, the setting module 203 is configured to set a background of the user interface of the second application program according to the color tone of the user interface of the first application program when the light intensity is greater than a first preset intensity threshold, or when the light intensity is less than a second preset intensity threshold.
As shown in fig. 3, optionally, the setting module 203 includes:
a selecting unit 2031, configured to select a background picture from a background gallery preset in the mobile terminal according to the color tone of the user interface of the first application; wherein a difference value between the color tone of the background picture and the color tone of the user interface of the first application program is smaller than a preset value;
a setting unit 2032 configured to set the background picture as a background of the second application.
Optionally, the mobile terminal further includes:
a switching module 204, configured to switch a current display interface from the user interface of the first application to the user interface of the second application.
Optionally, the mobile terminal further includes:
a second display module 205, configured to display the user interface of the second application on a preset area of the user interface of the first application.
In this way, the mobile terminal in the embodiment of the present invention, when the light intensity of the current ambient light satisfies the preset condition, setting the background of the user interface of the second application program according to the tone of the user interface of the first application program enables to improve the display effect of the user interface, so that when the user interface of the second application program is displayed or switched to be displayed at the same time, the user interface of the first application program and the user interface of the second application program do not have a larger color tone difference, but a situation arises in which the user's eyes are irritated or the user interface of the second application is rendered invisible to the user, the eyesight of the user is protected, and the problems that when the display interface is switched from one application display interface to another application display interface in the prior art are solved, problems easily arise in that the user's eyes are irritated or the application display interface displayed after the user is blinded.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to start a first application program and display a user interface of the first application program; acquiring the light intensity of the current ambient light; and when the light intensity meets a preset condition, setting a background of a user interface of a second application program according to the tone of the user interface of the first application program, wherein the user interface of the second application program is a system interface or a user interface of an application program displayed behind the first application program.
The mobile terminal provided by the embodiment can determine that when the light intensity of the current ambient light meets the preset condition, setting the background of the user interface of the second application program according to the tone of the user interface of the first application program enables to improve the display effect of the user interface, so that when the user interface of the second application program is displayed or switched to be displayed at the same time, the user interface of the first application program and the user interface of the second application program do not have a larger color tone difference, but a situation arises in which the user's eyes are irritated or the user interface of the second application is rendered invisible to the user, the eyesight of the user is protected, and the problems that when the display interface is switched from one application display interface to another application display interface in the prior art are solved, problems easily arise in that the user's eyes are irritated or the application display interface displayed after the user is blinded.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned embodiment of the interface display control method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the interface display control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An interface display control method, characterized in that the method comprises:
starting a first application program and displaying a user interface of the first application program;
acquiring the light intensity of the current ambient light;
when the light intensity meets a preset condition, setting a background of a user interface of a second application program according to the color tone of the user interface of the first application program, wherein the user interface of the second application program is the user interface of the application program displayed behind the first application program;
when the light intensity meets a preset condition, setting the background of the user interface of the second application program according to the tone of the user interface of the first application program, including:
when the light intensity is greater than a first preset intensity threshold value or the light intensity is less than a second preset intensity threshold value, setting a background of a user interface of a second application program according to the color tone of the user interface of the first application program; wherein the first preset intensity threshold is greater than the second preset intensity threshold;
the step of setting the background of the user interface of the second application program according to the color tone of the user interface of the first application program comprises the following steps:
selecting a background picture from a background picture library preset by the mobile terminal according to the tone of the user interface of the first application program; wherein a difference value between the color tone of the background picture and the color tone of the user interface of the first application program is smaller than a preset value;
and setting the background picture as the background of the user interface of the second application program.
2. The method according to claim 1, wherein setting a background of a user interface of a second application according to a color tone of the user interface of the first application when the light intensity satisfies a preset condition comprises:
and when the light intensity meets a preset condition, setting the color tone of the background of the user interface of the second application program to be a color tone of which the difference value with the color tone of the user interface of the first application program is smaller than a preset value.
3. The method of claim 1, wherein after setting a background of a user interface of a second application according to a color tone of the user interface of the first application, further comprising:
and switching the current display interface from the user interface of the first application program to the user interface of the second application program.
4. The method of claim 1, wherein after setting a background of a user interface of a second application according to a color tone of the user interface of the first application, further comprising:
and displaying the user interface of the second application program on a preset area of the user interface of the first application program.
5. A mobile terminal, comprising:
the first display module is used for starting a first application program and displaying a user interface of the first application program;
the acquisition module is used for acquiring the light intensity of the current ambient light;
the setting module is used for setting the background of a user interface of a second application program according to the color tone of the user interface of the first application program when the light intensity meets a preset condition, wherein the user interface of the second application program is the user interface of the application program displayed behind the first application program;
the setting module is used for setting the background of the user interface of the second application program according to the color tone of the user interface of the first application program when the light intensity is greater than a first preset intensity threshold value or the light intensity is less than a second preset intensity threshold value; wherein the first preset intensity threshold is greater than the second preset intensity threshold;
the setting module includes:
the selection unit is used for selecting a background picture from a background picture library preset by the mobile terminal according to the tone of the user interface of the first application program; wherein a difference value between the color tone of the background picture and the color tone of the user interface of the first application program is smaller than a preset value;
and the setting unit is used for setting the background picture as the background of the user interface of the second application program.
6. The mobile terminal of claim 5, wherein the setting module is configured to set a color tone of a background of the user interface of the second application program to a color tone of which a difference value with respect to a color tone of the user interface of the first application program is smaller than a preset value when the light intensity satisfies a preset condition.
7. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the switching module is used for switching the current display interface from the user interface of the first application program to the user interface of the second application program.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the second display module is used for displaying the user interface of the second application program on a preset area of the user interface of the first application program.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the interface display control method according to any one of claims 1 to 4.
CN201710883681.4A 2017-09-26 2017-09-26 Interface display control method and mobile terminal Active CN107729100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710883681.4A CN107729100B (en) 2017-09-26 2017-09-26 Interface display control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710883681.4A CN107729100B (en) 2017-09-26 2017-09-26 Interface display control method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107729100A CN107729100A (en) 2018-02-23
CN107729100B true CN107729100B (en) 2020-04-28

Family

ID=61206443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710883681.4A Active CN107729100B (en) 2017-09-26 2017-09-26 Interface display control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107729100B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257221A (en) * 2018-02-24 2018-07-06 网易(杭州)网络有限公司 hue adjusting method, device and storage medium, electronic device
CN108710512B (en) * 2018-05-15 2020-01-14 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and intelligent terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950241A (en) * 2010-09-17 2011-01-19 百度在线网络技术(北京)有限公司 Method and equipment for automatically adjusting visual characteristic of page
CN103164519A (en) * 2013-03-08 2013-06-19 优视科技有限公司 Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar
KR20140007660A (en) * 2012-07-10 2014-01-20 주식회사 인프라웨어 Method of auto-adjusting background color of word processor using light sensor in mobile devices, and computer-readable recording medium with background color auto-adjusting program for the same
CN103730102A (en) * 2013-12-30 2014-04-16 联想(北京)有限公司 Information processing method and electronic equipment
CN106101433A (en) * 2016-07-04 2016-11-09 北京小米移动软件有限公司 Notification message display packing and device
CN107179889A (en) * 2016-03-09 2017-09-19 阿里巴巴集团控股有限公司 Interface color conditioning method, webpage color conditioning method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719944A (en) * 2009-12-09 2010-06-02 中兴通讯股份有限公司 Terminal for sensing light and method for adjusting human-computer interface by sensing light
CN102413227A (en) * 2011-09-07 2012-04-11 深圳桑菲消费通信有限公司 Mobile phone, display method of mobile phone and system thereof
CN103258520B (en) * 2012-02-17 2015-12-16 联想(北京)有限公司 A kind of information processing method, system and a kind of electronic equipment
CN104777973A (en) * 2014-01-14 2015-07-15 腾讯科技(深圳)有限公司 Interface display control method and device
CN106055235A (en) * 2016-05-27 2016-10-26 内蒙古自治区民航机场集团有限责任公司 Method for realizing ultrahigh-resolution display of handheld terminal in strong-light environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950241A (en) * 2010-09-17 2011-01-19 百度在线网络技术(北京)有限公司 Method and equipment for automatically adjusting visual characteristic of page
KR20140007660A (en) * 2012-07-10 2014-01-20 주식회사 인프라웨어 Method of auto-adjusting background color of word processor using light sensor in mobile devices, and computer-readable recording medium with background color auto-adjusting program for the same
CN103164519A (en) * 2013-03-08 2013-06-19 优视科技有限公司 Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar
CN103730102A (en) * 2013-12-30 2014-04-16 联想(北京)有限公司 Information processing method and electronic equipment
CN107179889A (en) * 2016-03-09 2017-09-19 阿里巴巴集团控股有限公司 Interface color conditioning method, webpage color conditioning method and device
CN106101433A (en) * 2016-07-04 2016-11-09 北京小米移动软件有限公司 Notification message display packing and device

Also Published As

Publication number Publication date
CN107729100A (en) 2018-02-23

Similar Documents

Publication Publication Date Title
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108073343B (en) display interface adjusting method and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108196753B (en) Interface switching method and mobile terminal
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN108984145B (en) Brightness adjusting method and electronic equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108196781B (en) Interface display method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN110969981A (en) Screen display parameter adjusting method and electronic equipment
CN109597546B (en) Icon processing method and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109521937B (en) Screen display control method and mobile terminal
CN109558046B (en) Information display method and terminal equipment
CN108762877B (en) Control method of mobile terminal interface and mobile terminal
CN108845785B (en) Display method and terminal
CN108469944B (en) Display control method and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN107734172B (en) Information display method and mobile terminal
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN111125800B (en) Icon display method and electronic equipment
CN110290263B (en) Image display method and mobile terminal
CN110191426B (en) Information sharing method and terminal

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