CN107621738B - Control method of mobile terminal and mobile terminal - Google Patents

Control method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN107621738B
CN107621738B CN201710976367.0A CN201710976367A CN107621738B CN 107621738 B CN107621738 B CN 107621738B CN 201710976367 A CN201710976367 A CN 201710976367A CN 107621738 B CN107621738 B CN 107621738B
Authority
CN
China
Prior art keywords
voltage value
color
mobile terminal
target voltage
image
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
CN201710976367.0A
Other languages
Chinese (zh)
Other versions
CN107621738A (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 CN201710976367.0A priority Critical patent/CN107621738B/en
Publication of CN107621738A publication Critical patent/CN107621738A/en
Application granted granted Critical
Publication of CN107621738B publication Critical patent/CN107621738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention relates to the technical field of communication, and provides a control method of a mobile terminal and the mobile terminal. The method comprises the following steps: detecting a first color of an image acquired by the mobile terminal; determining a target voltage value according to the first color; and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input. Therefore, the user can control the appearance of the mobile terminal to display the color required by the user, and the appearance of the mobile terminal can display abundant and personalized colors.

Description

Control method of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a control method for a mobile terminal and a mobile terminal.
Background
With the development of mobile terminals, users have made higher demands on the appearance of the mobile terminals while expecting an increase in the functions of the mobile terminals. In order to meet the requirements of different users, mobile terminals with rich appearance colors are introduced in the market for the users to select. For example, the same family of mobile terminals may include multiple types of mobile terminals having only different backshells to meet the preference of the user. However, since the appearance color of the mobile terminal is a fixed color, it is difficult for the user to obtain a mobile terminal with a personalized appearance.
Therefore, the appearance color of the existing mobile terminal is single.
Disclosure of Invention
The embodiment of the invention provides a control method of a mobile terminal and the mobile terminal, which aim to solve the problem that the appearance color of the conventional mobile terminal is single.
In order to solve the technical problem, the invention is realized as follows: detecting a first color of an image acquired by the mobile terminal; determining a target voltage value according to the first color; and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input.
In a first aspect, an embodiment of the present invention provides a method for controlling a mobile terminal, which is applied to a mobile terminal with an electrochromic device, and includes:
detecting a first color of an image acquired by the mobile terminal;
determining a target voltage value according to the first color;
and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the detection module is used for detecting a first color of an image acquired by the mobile terminal;
the determining module is used for determining a target voltage value according to the first color detected by the detecting module;
and the output module is used for outputting the electric signal of the target voltage value determined by the determination module to the electrochromic assembly, wherein when the electric signal of the target voltage value is input, the electrochromic assembly displays the color corresponding to the target voltage value.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the control method of the mobile terminal as described above when executing the computer program.
In the embodiment of the invention, a first color of an image acquired by the mobile terminal is detected; determining a target voltage value according to the first color; and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input. Therefore, the user can control the appearance of the mobile terminal to display the color required by the user, and the appearance of the mobile terminal can display abundant and personalized colors.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced 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 exercise.
FIG. 1 is a schematic structural diagram of an electrochromic assembly provided by an embodiment of the present invention;
fig. 2 is a flowchart of a control method of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a second flowchart of a control method of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a third flowchart of a control method of a mobile terminal according to an embodiment of the present invention;
fig. 5 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of a determination module in a mobile terminal according to an embodiment of the present invention;
fig. 7 is a block diagram of an output module in a mobile terminal according to an embodiment of the present invention;
fig. 8 is a second structural diagram of a mobile terminal according to an 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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electrochromic device according to an embodiment of the present invention. Electrochromism refers to a phenomenon in which optical properties (reflectivity, transmittance, absorption, etc.) of a material undergo a stable and reversible color change under the action of an applied electric field, and may be expressed as a change in color and transparency in appearance.
As shown in fig. 1, the electrochromic assembly is composed of a substrate, a conductive layer, an ionic layer, a solid core, a color-changing layer, a conductive layer, and a substrate. The electrochromic element is similar to a lithium battery, and when a voltage is applied to the electrochromic element, the electrochromic material can change color, for example, from red to green, according to the voltage.
When the electrochromic component is powered on in the forward direction, ions flow from the ion layer to the color changing layer through the solid core, and the color changing component changes color in the forward direction, for example, from green to red. The color change of the electrochromic element is more obvious as the energizing voltage is larger and the time is longer. When the electrochromic element is energized in the reverse direction, i.e., the voltage is reversed, ions flow from the color shifting layer through the solid core back to the ion layer, and the color shifting element reverses color, e.g., changes from red back to green. The color change of the electrochromic component is more obvious as the energizing voltage is larger and the time is longer.
The electrochromic component can be electrochromic glass or electrochromic film. In the present invention, the electrochromic assembly may be provided in a rear case or a screen cover of the mobile terminal.
Referring to fig. 2, fig. 2 is a flowchart of a control method of a mobile terminal according to an embodiment of the present invention, where the method is applied to a mobile terminal having an electrochromic device. As shown in fig. 2, the control method of the mobile terminal includes the steps of:
step 201, detecting a first color of an image acquired by the mobile terminal.
The image acquired by the mobile terminal can be an image acquired by the mobile terminal through a camera in the shooting process, and can also be an image displayed on a screen by the mobile terminal. The image may be a video or a picture.
The first color of the image may be a color of any region in the image, and the color may be obtained according to a user operation or automatically obtained by the mobile terminal. For example, the mobile terminal photographs a blue sky, and when photographing a preview, the user selects a focus area in an image, and the mobile terminal may acquire a color of the image within the focus area. When multiple colors are contained in the image, prompt information of the multiple colors can be output to prompt a user to select any one of the colors.
Step 202, determining a target voltage value according to the first color.
The mobile terminal may pre-store a correspondence between a voltage value of the electric signal input to the electrochromic device and a color displayed by the electrochromic device, and thus, the target voltage value may be determined according to the correspondence and the color.
In this step, the determining the target voltage value according to the first color may specifically be determining a target voltage value corresponding to the first color or a target voltage value corresponding to a color range in which the first color is located. In addition, a target voltage value corresponding to a color opposite to the first color may also be determined.
Step 203, outputting the electrical signal of the target voltage value to the electrochromic component, wherein when the electrical signal of the target voltage value is input to the electrochromic component, the electrochromic component displays a color corresponding to the target voltage value.
Because the mobile terminal stores the corresponding relation between the voltage value of the input electric signal to the electrochromic module and the color displayed by the electrochromic module, when the target voltage value is input to the electrochromic module, the electrochromic module displays the color corresponding to the target voltage value. For example, the target voltage value is 1V, the corresponding color is light red, and when an electric signal of 1V is input to the electrochromic device, the electrochromic device displays light red.
When the target voltage value of the electric signal required to be input is greater than or less than the current voltage value of the electric signal input to the electrochromic component by the mobile terminal, the mobile terminal can directly input the electric signal with the current voltage value to the electrochromic component. For example, the mobile terminal is inputting an electrical signal with a voltage value of 2V to the electrochromic device, and if the target voltage value is 3V or 1V, the mobile terminal may directly input an electrical signal with a voltage value of 3V or 1V to the electrochromic device.
In implementation, the electrochromic component may be disposed on a rear case or a screen cover of the mobile terminal, for example, may be disposed on the whole area or a partial area of the rear case.
To facilitate understanding of the implementation process of the present embodiment, the following description is made.
For example, when a user uses the mobile terminal to shoot a blue sky, the mobile terminal obtains the color of the blue sky collected by the camera in the shooting preview process, namely the blue color, the mobile terminal obtains a target voltage value corresponding to the blue color as 1V according to a preset corresponding relation between the color and the voltage value, and the mobile terminal inputs an electric signal with the voltage value as 1V to the electrochromic assembly. The electrochromic element displays blue color according to the inputted electric signal.
In the embodiment of the present invention, the control method of the mobile terminal may be applied to a mobile terminal, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The control method of the mobile terminal of the embodiment of the invention comprises the steps of detecting a first color of an image acquired by the mobile terminal; determining a target voltage value according to the first color; and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input. Therefore, the user can control the appearance of the mobile terminal to display the color required by the user, and the appearance of the mobile terminal can display abundant and personalized colors.
Referring to fig. 3, the present embodiment is mainly different from the above-described embodiments in that a target voltage value corresponding to a first color is determined. Fig. 3 is a flowchart of a control method of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 3, the method includes the following steps:
step 301, detecting a first color of an image acquired by the mobile terminal.
The implementation manner of this step may refer to the description in step 201, and is not described herein again to avoid repetition.
In this step, the image is an image collected by a camera of the mobile terminal, or the image is an image displayed by the mobile terminal.
The image collected by the camera may be an image collected by the camera in a shooting preview process or an image collected by the camera after receiving a shooting instruction, and the image may be a video or a picture. The image may also be an image displayed on a screen of the mobile terminal. For example, when a user views a picture in an album, the mobile terminal displays the picture. In this way, when a user needs to change the appearance of the mobile terminal into a color, a favorite image can be photographed using the camera so that the housing of the mobile terminal is displayed as the color of the image. The mobile terminal can flexibly display the color of the appearance according to the preference of the user, and the user experience can be improved.
It should be noted that this embodiment may also be applied to the embodiment corresponding to fig. 2 to achieve the same beneficial effects, and the details are not repeated herein to avoid repetition.
And when the electrochromic component comprises at least two sub-electrochromic components, detecting the colors of at least two image areas of the image acquired by the mobile terminal.
In this embodiment, the electrochromic assembly may include two sub-electrochromic assemblies, three sub-electrochromic assemblies, or more than three sub-electrochromic assemblies, and the number of image areas may be the same as the number of sub-electrochromic assemblies, wherein each sub-electrochromic assembly may correspond to each image area.
The color of the image area may be a color at an arbitrary position within the image area or an average value of colors within the image area.
It should be noted that this embodiment may also be applied to the embodiment corresponding to fig. 2 to achieve the same beneficial effects, and the details are not repeated herein to avoid repetition.
Step 302, determining a target voltage value corresponding to the first color.
The mobile terminal may pre-store a correspondence between a voltage value of the electric signal input to the electrochromic device and a color displayed by the electrochromic device, and thus, the target voltage value may be determined according to the correspondence and the color.
In this step, a voltage value corresponding to the first color, i.e., a target voltage value, may be determined according to the above correspondence.
When the electrochromic element comprises at least two sub-electrochromic elements, in this step at least two voltage values corresponding to the colors of the at least two image areas are determined.
In this embodiment, the mobile terminal may previously store a correspondence relationship between the voltage value input to each sub-electrochromic element and the color displayed by the sub-electrochromic element, and determine the voltage value corresponding to the color of each image area according to the correspondence relationship.
It should be noted that this embodiment may also be applied to the embodiment corresponding to fig. 2 to achieve the same beneficial effects, and the details are not repeated herein to avoid repetition.
And 303, outputting an electric signal of the target voltage value to the electrochromic component, wherein when the electric signal of the target voltage value is input to the electrochromic component, the electrochromic component displays a color matched with the first color.
The implementation process of this step may refer to the description in step 203, and is not described herein again to avoid repetition.
When the step is implemented, detecting the current voltage value of the electric signal output to the electrochromic component; judging whether the target voltage value is larger than the current voltage value; if the target voltage value is larger than or equal to the current voltage value, adjusting the voltage value of the electric signal from the current voltage value to the target voltage value; if the target voltage value is smaller than the current voltage value, the voltage value of the electric signal is adjusted from the current voltage value to a reverse voltage value of the current voltage value, and the voltage value of the electric signal is adjusted from the reverse voltage value to the target voltage value within a preset time.
In this embodiment, the current voltage value may be a voltage value of an electrical signal being output to the electrochromic assembly by the mobile terminal, and the current voltage value may be compared with the target voltage value after the mobile terminal detects the current voltage value. If the target voltage value is greater than or equal to the current voltage value, the current voltage value can be adjusted to the target voltage value, at this time, the electrochromic device is powered on in the forward direction, and the color of the electrochromic device begins to change, for example, the electrochromic device changes from light to dark.
If the target voltage value is smaller than the current voltage value, the electrochromic module may be reversely powered on, and specifically, the current voltage value may be adjusted to the reverse voltage value of the current voltage value, and the reverse voltage value may be adjusted to the target voltage value within a preset time. After reverse energization of the electrochromic element, the electrochromic element begins to change color in the reverse direction, for example, the electrochromic element changes from light to dark and then from dark to light. In this way, the efficiency of the color change of the electrochromic assembly can be improved.
It should be noted that this embodiment may also be applied to the embodiments corresponding to fig. 2 and fig. 4 to achieve the same beneficial effects, and in order to avoid repetition, the details are not repeated here.
The color matching the first color may be the same color as the first color or a color having a similarity to the first color within a preset range. Since the target voltage value corresponds to the first color, when an electric signal of the target voltage value is input to the electrochromic device, the electrochromic device displays the first color or a color similar to the first color.
When the electrochromic component comprises at least two sub-electrochromic components, at least two electric signals of the at least two voltage values are respectively output to the at least two sub-electrochromic components, wherein when the electrochromic component inputs the at least two electric signals, the at least two sub-electrochromic components respectively display colors matched with the colors of the at least two image areas.
In this embodiment, since the number of image areas may correspond to the number of sub electrochromic elements to which an electric signal is input to each sub electrochromic element, respectively, each sub electrochromic element displays a color of the image area corresponding thereto. When the image is divided into more areas and the number of the sub-electrochromic assemblies is larger, the sub-electrochromic assemblies can display the pattern and the texture of the image instead of a single color, so that the appearance color of the mobile terminal is richer, and the mobile terminal is more attractive.
It should be noted that this embodiment may also be applied to the embodiment corresponding to fig. 2 to achieve the same beneficial effects, and the details are not repeated herein to avoid repetition.
The control method of the mobile terminal of the embodiment of the invention comprises the steps of detecting a first color of an image acquired by the mobile terminal; determining a target voltage value according to the first color; and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input. Therefore, the user can control the appearance of the mobile terminal to display the color required by the user, and the appearance of the mobile terminal can display abundant and personalized colors.
Referring to fig. 4, the present embodiment is mainly different from the above-described embodiments in that a target voltage value corresponding to a second color opposite to the first color is determined. Fig. 4 is a flowchart of a control method of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 4, the method includes the following steps:
step 401, detecting a first color of an image acquired by the mobile terminal.
The implementation manner of this step may refer to the description in step 201, and is not described herein again to avoid repetition.
Step 402, obtaining a second color opposite to the first color.
Each color can be represented by the superposition of the three primary colors red, green and blue in the industry color standard, and the color code of any color can be subtracted from the color code of white to obtain the color opposite to the color. For example, using the above color standard, the color code of white is (255, 255, 255), and the color code of the opposite color of white is (0, 0, 0), i.e., black; the opposite color of the color coded as (200, 200, 200) is the corresponding color of (55, 55, 55).
And 403, determining a target voltage value corresponding to the second color.
The mobile terminal may pre-store a correspondence between a voltage value of the electric signal input to the electrochromic device and a color displayed by the electrochromic device, and thus, the target voltage value may be determined according to the correspondence and the second color. In specific implementation, a color range in which the second color is located may be determined, and a target voltage value corresponding to the color range in which the second color is located may be determined.
And step 404, outputting an electric signal of the target voltage value to the electrochromic component, wherein when the electric signal of the target voltage value is input to the electrochromic component, the electrochromic component displays a color matched with the second color.
The implementation process of this step may refer to the description in step 203, and is not described herein again to avoid repetition. The color matching the second color may be the same color as the second color or a color having a similarity to the second color within a preset range. Since the target voltage value corresponds to the second color, when an electric signal of the target voltage value is input to the electrochromic device, the electrochromic device displays the second color or a color similar to the second color.
In particular, the electrochromic element may be disposed on a rear case or a screen cover of the mobile terminal, for example, at an edge of the rear case, so that a user can easily observe the displayed color. Therefore, the user can control the appearance of the mobile terminal to be displayed as the color required by the user so as to be different from the colors of other objects, and the mobile terminal can present a personalized effect. For example, when a plurality of mobile terminals are put together in a meeting, the user can display the appearance of the mobile terminal as a distinctive color in the manner according to the present embodiment, which is easier for the user to find. For another example, when the user sits on a red sofa, the appearance of the mobile terminal can be controlled to be displayed in green, so that the user can conveniently and quickly find the mobile terminal.
Referring to fig. 5, fig. 5 is a structural diagram of a mobile terminal provided with an electrochromic device according to an embodiment of the present invention. As shown in fig. 5, the mobile terminal 500 includes: a detection module 501, a determination module 502 and an output module 503.
The detecting module 501 is configured to detect a first color of an image acquired by the mobile terminal; a determining module 502, configured to determine a target voltage value according to the first color detected by the detecting module 501; an output module 503, configured to output the electrical signal of the target voltage value determined by the determining module 502 to the electrochromic component, where the electrochromic component displays a color corresponding to the target voltage value when the electrical signal of the target voltage value is input.
Optionally, the determining module 502 is specifically configured to determine a target voltage value corresponding to the first color, where the electrochromic component displays a color matching the first color when an electrical signal of the target voltage value is input.
Optionally, the image is an image collected by a camera of the mobile terminal, or the image is an image displayed by the mobile terminal.
Optionally, the electrochromic component includes at least two sub-electrochromic components, and the detecting module 501 is specifically configured to detect colors of at least two image areas of an image acquired by the mobile terminal; the determining module 502 is specifically configured to determine at least two voltage values corresponding to the colors of the at least two image areas; the output module 503 is specifically configured to output at least two electrical signals of the at least two voltage values to the at least two sub-electrochromic components, respectively, where when the at least two electrical signals are input to the electrochromic component, the at least two sub-electrochromic components respectively display colors matching the colors of the at least two image areas.
Optionally, as shown in fig. 6, the determining module 502 includes: an acquisition submodule 5021 for acquiring a second color opposite to the first color; the determining submodule 5022 is configured to determine a target voltage value corresponding to the second color acquired by the acquiring submodule 5021.
Optionally, as shown in fig. 7, the output module 503 includes: a detection sub-module 5031 for detecting a current voltage value of the electrical signal output to the electrochromic assembly; a determining submodule 5032, configured to determine whether the target voltage value is greater than the current voltage value detected by the detecting submodule 5031; a first adjusting submodule 5033, configured to adjust the voltage value of the electrical signal from the current voltage value to the target voltage value if the determining submodule 5032 determines that the target voltage value is greater than or equal to the current voltage value; a second adjusting submodule 5034, configured to adjust the voltage value of the electrical signal from the current voltage value to a reverse voltage value of the current voltage value if the determining submodule 5032 determines that the target voltage value is smaller than the current voltage value, and adjust the voltage value of the electrical signal from the reverse voltage value to the target voltage value within a preset time.
The mobile terminal 500 can implement each process implemented by the mobile terminal in the method embodiments of fig. 2 to fig. 4, and is not described herein again to avoid repetition.
According to the mobile terminal 500 of the embodiment of the invention, the user can control the appearance of the mobile terminal to display the color required by the user, and the appearance of the mobile terminal can display abundant and personalized colors.
Fig. 8 is a schematic hardware structure diagram of a mobile terminal implementing various embodiments of the present invention, the mobile terminal being provided with an electrochromic component, where the mobile terminal 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 8 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, 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 mobile terminal, a wearable device, a pedometer, and the like.
The processor 810 is configured to detect a first color of an image acquired by the mobile terminal; determining a target voltage value according to the first color; and outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input.
Therefore, the user can control the appearance of the mobile terminal to display the color required by the user, and the appearance of the mobile terminal can display abundant and personalized colors.
Optionally, the processor 810 performs the step of determining the target voltage value according to the first color, including: and determining a target voltage value corresponding to the first color, wherein the electrochromic component displays a color matching the first color when an electric signal of the target voltage value is input.
Optionally, the image is an image collected by a camera of the mobile terminal, or the image is an image displayed by the mobile terminal.
Optionally, the electrochromic component includes at least two sub-electrochromic components, and the processor 810 performs the step of detecting the first color of the image acquired by the mobile terminal, including: detecting colors of at least two image areas of an image acquired by the mobile terminal; the step of determining a target voltage value corresponding to the first color includes: determining at least two voltage values corresponding to the colors of the at least two image areas; the step of outputting the electrical signal of the target voltage value to the electrochromic assembly includes: and outputting at least two electrical signals of the at least two voltage values to the at least two sub-electrochromic components respectively, wherein when the at least two electrical signals are input into the electrochromic components, the at least two sub-electrochromic components respectively display colors matched with the colors of the at least two image areas.
Optionally, the processor 810 performs the step of determining the target voltage value according to the first color, including: acquiring a second color opposite to the first color; and determining a target voltage value corresponding to the second color, wherein the electrochromic component displays a color matching the second color when an electric signal of the target voltage value is input.
Optionally, the processor 810 performs the step of outputting the electrical signal of the target voltage value to the electrochromic component, including: detecting a current voltage value of an electric signal output to the electrochromic component; judging whether the target voltage value is larger than the current voltage value; if the target voltage value is larger than or equal to the current voltage value, adjusting the voltage value of the electric signal from the current voltage value to the target voltage value; if the target voltage value is smaller than the current voltage value, the voltage value of the electric signal is adjusted from the current voltage value to a reverse voltage value of the current voltage value, and the voltage value of the electric signal is adjusted from the reverse voltage value to the target voltage value within a preset time.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 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 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 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 frequency unit 801 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 802, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the mobile terminal 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (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 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process 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 801 in case of a phone call mode.
The mobile terminal 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the mobile terminal 800 moves 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 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 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 807 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 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 808 is an interface through which an external device is connected to the mobile terminal 800. 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 808 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 800 or may be used to transmit data between the mobile terminal 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 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 809 can include high speed random access memory, and can 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 810 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 running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby integrally monitoring the mobile terminal. Processor 810 may include one or more processing units; preferably, the processor 810 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 processor 810.
The mobile terminal 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may be logically coupled to the processor 810 via a power management system that may be used to manage charging, discharging, and power consumption.
In addition, the mobile terminal 800 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, including a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process in the above control method embodiment of the mobile terminal, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
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 control method embodiment of the mobile terminal, 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 mobile 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. A control method of a mobile terminal is applied to the mobile terminal provided with an electrochromic component, and comprises the following steps:
detecting a first color of an image acquired by the mobile terminal;
determining a target voltage value according to the first color;
outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color corresponding to the target voltage value when the electric signal of the target voltage value is input;
the step of outputting the electrical signal of the target voltage value to the electrochromic assembly includes:
detecting a current voltage value of an electric signal output to the electrochromic component;
judging whether the target voltage value is larger than the current voltage value;
if the target voltage value is larger than or equal to the current voltage value, adjusting the voltage value of the electric signal from the current voltage value to the target voltage value;
if the target voltage value is smaller than the current voltage value, adjusting the voltage value of the electric signal from the current voltage value to a reverse voltage value of the current voltage value, and adjusting the voltage value of the electric signal from the reverse voltage value to the target voltage value within a preset time;
the image is acquired by a camera of the mobile terminal, and the first color is an image color in a focus area in the image selected by a user during shooting preview; or,
the image is displayed by the mobile terminal, the image displayed by the mobile terminal is an image selected by a user based on an image in an album, and the first color is a color at any position in an image area of the image or an average value of the colors in the image area of the image.
2. The method of claim 1, wherein the step of determining the target voltage value according to the first color comprises:
and determining a target voltage value corresponding to the first color, wherein the electrochromic component displays a color matching the first color when an electric signal of the target voltage value is input.
3. The method according to claim 1 or 2, wherein the electrochromic element comprises at least two sub-electrochromic elements, and the step of detecting the first color of the image acquired by the mobile terminal comprises:
detecting colors of at least two image areas of an image acquired by the mobile terminal;
the step of determining a target voltage value corresponding to the first color includes:
determining at least two voltage values corresponding to the colors of the at least two image areas;
the step of outputting the electrical signal of the target voltage value to the electrochromic assembly includes:
and outputting at least two electrical signals of the at least two voltage values to the at least two sub-electrochromic components respectively, wherein when the at least two electrical signals are input into the electrochromic components, the at least two sub-electrochromic components respectively display colors matched with the colors of the at least two image areas.
4. The method of claim 1, wherein the step of determining the target voltage value according to the first color comprises:
acquiring a second color opposite to the first color;
and determining a target voltage value corresponding to the second color, wherein the electrochromic component displays a color matching the second color when an electric signal of the target voltage value is input.
5. A mobile terminal provided with an electrochromic component, the mobile terminal comprising:
the detection module is used for detecting a first color of an image acquired by the mobile terminal;
the determining module is used for determining a target voltage value according to the first color detected by the detecting module;
an output module, configured to output the electrical signal of the target voltage value determined by the determination module to the electrochromic component, where the electrochromic component displays a color corresponding to the target voltage value when the electrical signal of the target voltage value is input;
the output module includes:
the detection submodule is used for detecting the current voltage value of the electric signal output to the electrochromic assembly;
the judgment submodule is used for judging whether the target voltage value is larger than the current voltage value detected by the detection submodule;
the first adjusting submodule is used for adjusting the voltage value of the electric signal from the current voltage value to the target voltage value if the judging submodule judges that the target voltage value is greater than or equal to the current voltage value;
the second adjusting submodule is used for adjusting the voltage value of the electric signal from the current voltage value to a reverse voltage value of the current voltage value and adjusting the voltage value of the electric signal from the reverse voltage value to the target voltage value within a preset time if the judging submodule judges that the target voltage value is smaller than the current voltage value;
the image is acquired by a camera of the mobile terminal, and the first color is an image color in a focus area in the image selected by a user during shooting preview; or,
the image is displayed by the mobile terminal, the image displayed by the mobile terminal is an image selected by a user based on an image in an album, and the first color is a color at any position in an image area of the image or an average value of the colors in the image area of the image.
6. The mobile terminal of claim 5, wherein the determining module is specifically configured to determine a target voltage value corresponding to the first color, and wherein the electrochromic component displays a color matching the first color when an electrical signal of the target voltage value is input.
7. The mobile terminal according to claim 5 or 6, wherein the electrochromic component comprises at least two sub-electrochromic components, and the detection module is specifically configured to detect colors of at least two image areas of an image acquired by the mobile terminal;
the determining module is specifically configured to determine at least two voltage values corresponding to the colors of the at least two image areas;
the output module is specifically configured to output at least two electrical signals of the at least two voltage values to the at least two sub-electrochromic components, respectively, where when the at least two electrical signals are input to the electrochromic components, the at least two sub-electrochromic components respectively display colors matching the colors of the at least two image areas.
8. The mobile terminal of claim 5, wherein the determining module comprises:
an obtaining sub-module for obtaining a second color opposite to the first color;
and the determining submodule is used for determining a target voltage value corresponding to the second color acquired by the acquiring submodule.
9. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps in the control method of a mobile terminal according to any of claims 1 to 4.
CN201710976367.0A 2017-10-19 2017-10-19 Control method of mobile terminal and mobile terminal Active CN107621738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710976367.0A CN107621738B (en) 2017-10-19 2017-10-19 Control method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710976367.0A CN107621738B (en) 2017-10-19 2017-10-19 Control method of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN107621738A CN107621738A (en) 2018-01-23
CN107621738B true CN107621738B (en) 2021-01-08

Family

ID=61092696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710976367.0A Active CN107621738B (en) 2017-10-19 2017-10-19 Control method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN107621738B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646995A (en) * 2018-03-30 2018-10-12 维沃移动通信有限公司 A kind of control method, device and the mobile terminal of display color
CN108710246A (en) * 2018-05-17 2018-10-26 合肥威迪变色玻璃有限公司 A kind of electrochomeric glass Self-control method
CN108718367B (en) * 2018-08-14 2020-07-07 Oppo广东移动通信有限公司 Electronic device control method, electronic device control device, storage medium and electronic device
CN113138733B (en) * 2020-01-20 2023-02-28 Oppo广东移动通信有限公司 Electronic equipment and method for controlling shell color thereof
CN112000268B (en) * 2020-08-27 2022-12-30 恩平市奥科电子科技有限公司 Electrochromic control method and device and computer readable storage medium
CN112203022B (en) * 2020-10-28 2022-08-19 努比亚技术有限公司 Electrochromic control method and device and computer readable storage medium
CN114624936A (en) * 2020-12-10 2022-06-14 北京小米移动软件有限公司 Mobile terminal
CN112865234A (en) * 2021-01-20 2021-05-28 北京小米移动软件有限公司 Mobile terminal and control method thereof
CN114995000B (en) * 2021-02-24 2024-03-19 北京小米移动软件有限公司 Electronic equipment
CN113945058A (en) * 2021-03-03 2022-01-18 海信(山东)冰箱有限公司 Refrigerator control method and refrigerator
WO2022267975A1 (en) * 2021-06-25 2022-12-29 深圳市光羿科技有限公司 Electrochromic device, control method and apparatus therefor
CN113433757B (en) * 2021-06-25 2023-02-03 深圳市光羿科技有限公司 Control method and device of electrochromic device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360403A (en) * 2008-09-23 2009-02-04 无敌科技(西安)有限公司 Apparatus and method capable of automatically adjusting outer color
CN101577747A (en) * 2009-05-08 2009-11-11 中兴通讯股份有限公司 Electronic device and method for changing color of shell thereof
CN102176728A (en) * 2009-10-24 2011-09-07 佛山市顺德区汉达精密电子科技有限公司 Electronic device for changing color according to background light source and color correcting method of electrochromic layer
CN105676556A (en) * 2016-03-18 2016-06-15 电子科技大学 Environment color self-adaption device and method based on electrochromic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9743486B2 (en) * 2009-10-30 2017-08-22 E Ink Holdings Inc. Electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360403A (en) * 2008-09-23 2009-02-04 无敌科技(西安)有限公司 Apparatus and method capable of automatically adjusting outer color
CN101577747A (en) * 2009-05-08 2009-11-11 中兴通讯股份有限公司 Electronic device and method for changing color of shell thereof
CN102176728A (en) * 2009-10-24 2011-09-07 佛山市顺德区汉达精密电子科技有限公司 Electronic device for changing color according to background light source and color correcting method of electrochromic layer
CN105676556A (en) * 2016-03-18 2016-06-15 电子科技大学 Environment color self-adaption device and method based on electrochromic device

Also Published As

Publication number Publication date
CN107621738A (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN107621738B (en) Control method of mobile terminal and mobile terminal
CN107957839B (en) Display control method and mobile terminal
CN107645610B (en) Control method of mobile terminal and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN107783887B (en) Control method of mobile terminal and mobile terminal
CN107786817B (en) A kind of photographic method and mobile terminal
CN108495029B (en) Photographing method and mobile terminal
CN107817939B (en) Image processing method and mobile terminal
CN107707761B (en) information prompting method and mobile terminal
CN107728400B (en) Information display method and mobile terminal
CN109361867B (en) Filter processing method and mobile terminal
CN107819935B (en) Control method of mobile terminal and mobile terminal
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN107818038B (en) Information prompting method and mobile terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN107635072B (en) Control method of mobile terminal and mobile terminal
CN110602407B (en) Shooting method and electronic equipment
CN107644396B (en) Lip color adjusting method and device
US11842029B2 (en) Image display method and mobile terminal
CN108040209B (en) Shooting method and mobile terminal
CN109788204A (en) Shoot processing method and terminal device
CN109257463B (en) Terminal device, control method thereof and computer-readable storage medium
CN110865745A (en) Screen capturing method and terminal equipment
CN110290331B (en) Screen control method and terminal
CN109491634B (en) Screen display control method and terminal equipment

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