CN107728400B - Information display method and mobile terminal - Google Patents

Information display method and mobile terminal Download PDF

Info

Publication number
CN107728400B
CN107728400B CN201710975801.3A CN201710975801A CN107728400B CN 107728400 B CN107728400 B CN 107728400B CN 201710975801 A CN201710975801 A CN 201710975801A CN 107728400 B CN107728400 B CN 107728400B
Authority
CN
China
Prior art keywords
voltage value
target
mobile terminal
audio
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710975801.3A
Other languages
Chinese (zh)
Other versions
CN107728400A (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 CN201710975801.3A priority Critical patent/CN107728400B/en
Publication of CN107728400A publication Critical patent/CN107728400A/en
Application granted granted Critical
Publication of CN107728400B publication Critical patent/CN107728400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/15Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on an electrochromic effect
    • G02F1/163Operation of electrochromic cells, e.g. electrodeposition cells; Circuit arrangements therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Abstract

The invention provides an information display method and a mobile terminal. The method comprises the following steps: acquiring parameters of audio played by the mobile terminal; determining a target voltage value corresponding to the parameter; and outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electric signal of the target voltage value is input. Because electrochromic subassembly can show different colours according to the parameter of the audio frequency of mobile terminal broadcast, like this, mobile terminal when broadcasting the audio frequency, provides the visual propagation mode that shows audio information through the colour change, richens the propagation mode of audio information, can attract the user to continuously pay close attention to audio information, improves audio information propagation effect.

Description

Information display method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for displaying information and a mobile terminal.
Background
With the rapid development of mobile terminals, the functions of the mobile terminals are more and more powerful. The mobile terminal not only can provide a communication function to meet the communication requirements of people in daily life, but also can provide entertainment functions such as a shooting function and an audio and video playing function. People often play audio data such as various songs through mobile terminals. In the prior art, when a user uses the mobile terminal to play audio data, the mobile terminal plays audio information to the outside through the loudspeaker, the user can only sense the audio information through hearing, the user cannot sense the audio information through vision, and the user easily feels fatigue to the audio information.
Therefore, when the existing mobile terminal plays audio, the problems of single audio information transmission mode and poor audio information transmission effect exist.
Disclosure of Invention
The embodiment of the invention provides an information display method and a mobile terminal, and aims to solve the problem that the existing mobile terminal is poor in audio transmission effect when playing audio.
In order to solve the technical problem, the invention is realized as follows: acquiring parameters of audio played by the mobile terminal; determining a target voltage value corresponding to the parameter; and outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electric signal of the target voltage value is input.
In a first aspect, an embodiment of the present invention provides an information display method, including:
acquiring parameters of audio played by the mobile terminal;
determining a target voltage value corresponding to the parameter;
and outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter 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 acquisition module is used for acquiring parameters of the audio played by the mobile terminal;
the determining module is used for determining a target voltage value corresponding to the parameter;
and the output module is used for outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays the color for indicating the parameter when the electric signal of the target voltage value is input.
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 method of displaying information as described above when executing the computer program.
In the embodiment of the invention, the parameters of the audio played by the mobile terminal are obtained; determining a target voltage value corresponding to the parameter; and outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electric signal of the target voltage value is input. Because electrochromic subassembly can show different colours according to the parameter of the audio frequency of mobile terminal broadcast, like this, mobile terminal when broadcasting the audio frequency, provides the visual propagation mode that shows the parameter of audio frequency through the color variation, richens the audio frequency propagation mode, can attract the user to continuously pay close attention to the audio frequency of mobile terminal broadcast, improves audio frequency propagation effect.
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 method for displaying information according to an embodiment of the present invention;
FIG. 3 is a second flowchart of a method for displaying information according to an embodiment of the present invention;
fig. 4 is one of the structural diagrams of a mobile terminal according to an embodiment of the present invention;
fig. 5 is one of the structural diagrams of a determination module in a mobile terminal according to an embodiment of the present invention;
fig. 6 is a second block diagram of a determination module in the mobile terminal according to the embodiment of the present invention;
fig. 7 is a structural diagram of an acquisition module in the mobile terminal according to the embodiment of the present invention;
fig. 8 is a third block diagram of a determination module in a mobile terminal according to an embodiment of the present invention;
fig. 9 is a block diagram of an output module in a mobile terminal according to an embodiment of the present invention;
fig. 10 is a second block 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. Upon application of a voltage to the electrochromic element, the electrochromic material may change the displayed color, e.g., from red to green, in response 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 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 this embodiment, the electrochromic component may be disposed in a housing of the mobile terminal, so that the housing of the mobile terminal changes color along with parameters of audio played by the mobile terminal. The electrochromic assembly may be disposed in a portion or all of the area of the housing of the mobile terminal, for example, the electrochromic assembly may be disposed at an edge of the housing, and for example, the electrochromic assembly may be disposed in the entire housing.
Referring to fig. 2, fig. 2 is a flowchart of a method for displaying information according to an embodiment of the present invention, which may be applied to a mobile terminal having an electrochromic device, as shown in fig. 2, the method for displaying information includes the following steps:
step 201, obtaining parameters of the audio played by the mobile terminal.
In this embodiment, the audio played by the mobile terminal may be songs such as ordinary pop music and classical pure music. The parameter of the audio may include data representing a characteristic of the audio, and specifically, the parameter of the audio may include at least one of a tempo, a frequency, a duration, a pitch, a strength, and a timbre.
In this embodiment, step 201 may include the following steps: the method comprises the steps of obtaining waveform characteristics of audio played by the mobile terminal, and extracting parameters such as duration, frequency, tone intensity, tone color, beat speed and the like of the audio from the waveform characteristics.
Step 202, determining a target voltage value corresponding to the parameter.
Before this step, the mobile terminal may pre-store a correspondence between the audio parameter and a voltage value at which the mobile terminal outputs the electrical signal to the electrochromic component. In this step, a voltage value corresponding to the audio played by the mobile terminal, i.e., a target voltage value, may be determined according to the correspondence.
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 for indicating the parameter.
In this step, when an electric signal of a target voltage value is input to the electrochromic device, the electrochromic device may change color according to the input voltage value. Before this step, the voltage value required to be input when the electrochromic device displays a darker color can be associated with a larger audio parameter. For example, if the audio parameter is the Beat speed, the Beat speed is greater than 110 beats (Beat Per Minute, BPM), which indicates that the Beat speed is faster; the input voltage required to display the color of the electrochromic element as red is 3 volts, and 120BPM can be assigned to 3 volts. When the input voltage of the electrochromic component is 3 volts, the electrochromic component displays red, and thus, the user can be informed of a larger beat speed of the played audio of the mobile terminal by displaying red. This is by way of example only. The mobile terminal can receive user operation and set the initial color of the electrochromic component so that the electrochromic component changes color according to the input voltage value. For example, the user may set the electrochromic initial color to be red, the electrochromic element may change to dark red or light red according to the change of the voltage value, or the like, the user may also set the electrochromic initial color to be transparent, and the electrochromic element may change to light blue, dark blue, or the like according to the change of the voltage value.
It should be noted that, the target color corresponding to the audio parameter played by the mobile terminal may also be determined according to the correspondence between the audio parameter and the color; and determining a target voltage value corresponding to the target color according to the corresponding relation between the color and the voltage value. For example, if the parameter of the audio frequency is the Beat speed, and the Beat speed is greater than 110 Beats (BPM), it indicates that the Beat speed is fast, the corresponding color is red when the Beat speed is greater than 110BPM, the voltage required to be input when the color of the electrochromic device is displayed as red is 3 volts, 120BPM can be corresponding to red, and red can be corresponding to 3 volts. When the beat speed of the audio played by the mobile terminal is 120BPM, determining that the corresponding target color is red according to the corresponding relation between the beat speed and the color, and determining that the voltage value corresponding to the red is 3V according to the corresponding relation between the color and the voltage value. Therefore, the corresponding target voltage value can be determined according to the parameters of the audio played by the mobile terminal.
Therefore, when the parameter of the audio played by the mobile terminal of the mobile terminal is larger, the color displayed by the electrochromic component is darker so as to prompt the user that the currently played audio has larger audio parameter; when the color displayed by the electrochromic component is lighter, the user is prompted that the currently played audio has smaller audio parameters, the experience of visually perceiving the audio is provided for the user through the display of different colors, the user can be attracted to continuously pay attention to the audio played by the mobile terminal, and the audio propagation effect is improved.
In this embodiment of the present invention, the mobile terminal may be: 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 information display method of the embodiment of the invention obtains the parameters of the audio played by the mobile terminal; determining a target voltage value corresponding to the parameter; and outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electric signal of the target voltage value is input. Because electrochromic subassembly can show for different colours according to the parameter of the audio frequency of mobile terminal broadcast, like this, mobile terminal when broadcasting the audio frequency, provides the visual propagation mode that shows the parameter of audio frequency through the colour change, richens the audio frequency propagation mode, can attract the user to continuously pay close attention to the audio frequency of mobile terminal broadcast, improves audio frequency propagation effect.
Referring to fig. 3, the main difference between the present embodiment and the above-described embodiments is that a voltage value corresponding to a target tempo range in which the tempo of the audio played by the mobile terminal is located is taken as a target voltage value. Fig. 3 is a flowchart of a method for displaying information according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step 301, obtaining parameters of the audio played by the mobile terminal, where the parameters include a tempo.
The implementation process and beneficial effects of this step can be referred to the description of step 201, and are not described herein again.
Step 302, determining a target tempo range where the tempo is located.
In this step, the mobile terminal may divide the tempo into a plurality of tempo ranges in advance, and may determine, according to the tempo ranges, a tempo range in which the tempo is located, that is, a target tempo range. For example, the tempo is in a high tempo range above 110BPM, the tempo is in a higher tempo range from 90 to 110BPM, the tempo is in a medium tempo range from 70 to 90BPM, the tempo is in a lower tempo range from 40 to 70BPM, and the tempo is in a low tempo range below 40 BPM. If the tempo is 115BPM, the tempo can be determined to be a high tempo.
Step 303, determining a voltage value corresponding to the target tempo range according to a correspondence between a tempo range and a voltage value obtained in advance, and taking the voltage value corresponding to the target tempo range as the target voltage value.
Before this step, the mobile terminal may set in advance a correspondence relationship of the tempo range and the voltage value. In this step, the mobile terminal may determine a voltage value corresponding to the target tempo range according to the correspondence. For example, a voltage value corresponding to a beat rate higher than 110BPM is 3 volts, a beat rate between 90 and 110BPM corresponds to 2.5 volts, a beat rate between 70 and 90BPM corresponds to 2 volts, a beat rate between 40 and 70BPM corresponds to 1.5 volts, a voltage value corresponding to a beat rate lower than 40BPM is 1 volt, and if the target beat rate range is 90 to 110BPM, the target voltage value is 2.5 volts.
It should be noted that, in this embodiment, the steps 302-303 are specific steps included in the step 202, and the step 202 may also include the following steps: if the parameters comprise the beat speed, determining the target audio type to which the audio data belongs according to the beat speed; and determining a voltage value corresponding to the target audio type according to a pre-acquired corresponding relation between the audio type and the voltage value, and taking the voltage value corresponding to the target audio type as the target voltage value.
In the above steps, the mobile terminal may divide the audio into a plurality of audio types in advance according to the tempo, and the audio types may include a dynamic type, a relaxing type, a lyric type, and the like. According to the beat speed corresponding to the audio played by the mobile terminal, the audio type to which the played audio belongs, namely the target audio type, can be determined. For example, audio with a tempo higher than 100BPM is of a dynamic type, the tempo is between 70 and 100BPM for lyric type, and the tempo is lower than 70 comfort type. If the tempo is 115BPM, it can be determined that the audio type is a motion type.
In the above steps, the mobile terminal may preset a corresponding relationship between the audio type and the voltage value. In this step, the mobile terminal may determine a voltage value corresponding to the target audio type according to the correspondence. For example, the voltage value corresponding to the motion type is 3 volts, the lyric type corresponds to 2 volts, the voltage value corresponding to the relaxation type is 1 volt, and if the target audio type is the motion type, the target voltage value is 3 volts.
And 304, outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electric signal of the target voltage value is input.
The implementation process and beneficial effects of this step can be referred to the description of step 203, and are not described herein again.
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 color change of the electrochromic component can be improved, so that the efficiency of real-time indication of the audio parameters can be improved.
After the voltage of the electric signal is adjusted to the target voltage value, the electrochromic assembly can display the color corresponding to the target voltage value, a user can visually perceive the change process of the audio parameter, the user can be attracted to continuously pay attention to the audio played by the mobile terminal, and the audio propagation effect is 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 details are not repeated herein to avoid repetition.
It is further added that step 201 of the embodiment shown in fig. 2 may include the following steps: searching a target parameter change curve corresponding to the audio played by the mobile terminal from pre-stored audio parameter change curves; and determining the parameters of the audio played by the mobile terminal according to the target parameter variation curve.
Specifically, the audio parameter variation curve includes real-time parameters of the audio during playing, for example, the audio parameter variation curve may be a tempo of a first audio with a duration of 5 minutes during playing, and a tempo of a second audio with a duration of 6 minutes during playing. And if the mobile terminal plays the first audio, determining the current beat speed in the process of playing the first audio.
It is further added that step 202 may include the following steps: searching a target voltage value change curve corresponding to the audio played by the mobile terminal from pre-stored voltage value change curves; and determining a target voltage value corresponding to the parameter according to the target voltage value change curve.
Specifically, the voltage value change curve is a voltage value change curve corresponding to the audio parameter, for example, the voltage value change curve may be a voltage value change curve corresponding to a tempo of the first audio and a voltage value change curve corresponding to a tempo of the second audio. If the mobile terminal plays the first audio and the tempo of the first audio is 100BPM, the voltage value corresponding to the tempo of 100BPM is taken as the target voltage value in the voltage value change curve corresponding to the tempo of the first audio.
In the embodiment of the invention, on the basis of the embodiment corresponding to fig. 2, the voltage value corresponding to the target beat speed range in which the beat speed of the audio played by the mobile terminal is located is taken as the target voltage value, so that the beat speed can be divided into a plurality of levels, the electrochromic component can be displayed into different colors when the played audio is in different beat speed levels, the user is prompted about the corresponding beat speed of the currently played audio, the experience of visually perceiving the beat speed of the audio is provided for the user, the user can be attracted to continuously pay attention to the audio of the mobile terminal, and the audio propagation effect is improved.
Referring to fig. 4, fig. 4 is a structural diagram of a mobile terminal according to an embodiment of the present invention, and as shown in fig. 4, the mobile terminal 400 includes: the device comprises an acquisition module 401, a determination module 402 and an output module 403, wherein the acquisition module 401 is connected with the determination module 402, and the determination module 402 is connected with the output module 403.
An obtaining module 401, configured to obtain parameters of an audio played by the mobile terminal;
a determining module 402, configured to determine a target voltage value corresponding to the parameter;
an output module 403, configured to output the electrical signal of the target voltage value to the electrochromic component, where the electrochromic component displays a color for indicating the parameter when the electrical signal of the target voltage value is input.
Optionally, the parameter includes at least one of tempo, frequency, duration, pitch, intensity, and timbre.
Optionally, as shown in fig. 5, the parameter includes a tempo, and the determining module 402 includes:
a first determining sub-module 4021, configured to determine a target tempo range in which the tempo is located;
the second determining submodule 4022 is configured to determine a voltage value corresponding to the target tempo range according to a correspondence between a tempo range and a voltage value obtained in advance, and use the voltage value corresponding to the target tempo range as the target voltage value.
Optionally, as shown in fig. 6, the determining module 402 includes:
a third determining sub-module 4023, configured to determine, if the parameter includes a tempo, a target audio type to which the audio data belongs according to the tempo;
the fourth determining submodule 4024 is configured to determine a voltage value corresponding to the target audio type according to a correspondence between a pre-acquired audio type and a voltage value, and use the voltage value corresponding to the target audio type as the target voltage value.
Optionally, as shown in fig. 7, the obtaining module 401 includes:
the first searching submodule 4011 is configured to search a target parameter variation curve corresponding to the audio played by the mobile terminal from pre-stored audio parameter variation curves;
and a fifth determining submodule 4012, configured to determine a parameter of the audio played by the mobile terminal according to the target parameter variation curve.
Optionally, at least a portion of an edge of a housing of the mobile terminal is provided with the electrochromic assembly.
Optionally, as shown in fig. 8, the determining module 402 includes:
the second searching submodule 4025 is configured to search a target voltage value change curve corresponding to the audio played by the mobile terminal from pre-stored voltage value change curves;
the sixth determining sub-module 4026 is configured to determine a target voltage value corresponding to the parameter according to the target voltage value change curve.
Optionally, as shown in fig. 9, the output module 403 includes:
the detection submodule 4031 is used for detecting the current voltage value of the electric signal output to the electrochromic assembly;
a determining submodule 4032, configured to determine whether the target voltage value is greater than the current voltage value;
a first adjusting submodule 4033, configured to adjust the voltage value of the electrical signal from the current voltage value to the target voltage value if the target voltage value is greater than or equal to the current voltage value;
a second adjusting submodule 4034, configured to, if the target voltage value is smaller than the current voltage value, adjust the voltage value of the electrical signal from the current voltage value to a reverse voltage value of 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 400 can implement each process implemented by the mobile terminal in the method embodiments corresponding to fig. 2 and fig. 3, and is not described herein again to avoid repetition. According to the mobile terminal 400 of the embodiment of the invention, the electrochromic component can display different colors according to the parameters of the audio played by the mobile terminal, so that the mobile terminal provides a visual transmission mode for displaying the parameters of the audio through color change while playing the audio, the audio transmission mode is enriched, a user can be attracted to continuously pay attention to the audio played by the mobile terminal, and the audio transmission effect is improved.
Fig. 10 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. The mobile terminal 1000 is also provided with an electrochromic component. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 10 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 terminal, a wearable device, a pedometer, and the like.
The processor 1010 is configured to obtain parameters of an audio played by the mobile terminal; determining a target voltage value corresponding to the parameter; and outputting an electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electric signal of the target voltage value is input.
Because electrochromic subassembly can show different colours according to the parameter of the audio frequency of mobile terminal broadcast, like this, mobile terminal when broadcasting the audio frequency, provides the visual propagation mode that shows the parameter of audio frequency through the color variation, richens the audio frequency propagation mode, can attract the user to continuously pay close attention to the audio frequency of mobile terminal broadcast, improves audio frequency propagation effect.
Optionally, the parameters include: at least one of tempo, frequency, duration, pitch, intensity, and timbre.
Optionally, the parameter includes a beat speed, and the processor 1010 executes the step of determining the target voltage value corresponding to the parameter, including: determining a target beat speed range in which the beat speed is located; and determining a voltage value corresponding to the target tempo range according to a corresponding relation between the tempo range and the voltage value acquired in advance, and taking the voltage value corresponding to the target tempo range as the target voltage value.
Optionally, the processor 1010 executes the step of determining the target voltage value corresponding to the parameter, including: if the parameters comprise the beat speed, determining the target audio type to which the audio data belongs according to the beat speed; and determining a voltage value corresponding to the target audio type according to a pre-acquired corresponding relation between the audio type and the voltage value, and taking the voltage value corresponding to the target audio type as the target voltage value.
Optionally, the processor 1010 executes the step of obtaining the parameter of the audio played by the mobile terminal, including: searching a target parameter change curve corresponding to the audio played by the mobile terminal from pre-stored audio parameter change curves; determining parameters of audio played by the mobile terminal according to the target parameter variation curve;
processor 1010 performs the step of determining a target voltage value corresponding to the parameter, including: searching a target voltage value change curve corresponding to the audio played by the mobile terminal from pre-stored voltage value change curves; and determining a target voltage value corresponding to the parameter according to the target voltage value change curve.
Optionally, the processor 1010 executes 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 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 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 1001 may 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 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures 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 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 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 1001 in case of a phone call mode.
The mobile terminal 1000 can also include at least one sensor 1005, 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 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the mobile terminal 1000 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 1005 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 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 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 1007 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 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 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 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may 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 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 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 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 1008 is an interface through which an external device is connected to the mobile terminal 1000. 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 1008 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 1000 or may be used to transmit data between the mobile terminal 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage 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, and the like), 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 1009 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 1010 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 1009 and calling data stored in the memory 1009, thereby integrally monitoring the mobile terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 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 1010.
The mobile terminal 1000 may also include a power supply 1011 (e.g., a battery) for powering the various components, and the power supply 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process in the above information display method embodiment, 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 information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted 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 (7)

1. A method for displaying information, applied to a mobile terminal provided with an electrochromic component, includes:
acquiring parameters of audio played by the mobile terminal;
determining a target voltage value corresponding to the parameter;
outputting an electrical signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays a color for indicating the parameter when the electrical signal of the target voltage value is input;
wherein the parameters include:
at least one of tempo, frequency, duration, tone, intensity, and timbre;
wherein, the step of obtaining the parameters of the audio played by the mobile terminal comprises:
searching a target parameter change curve corresponding to the audio played by the mobile terminal from pre-stored audio parameter change curves;
determining parameters of audio played by the mobile terminal according to the target parameter variation curve;
the step of determining a target voltage value corresponding to the parameter includes:
searching a target voltage value change curve corresponding to the audio parameter played by the mobile terminal from pre-stored voltage value change curves;
determining a target voltage value corresponding to the parameter according to the target voltage value change curve;
and the parameter includes a tempo, the step of determining a target voltage value corresponding to the parameter further includes:
determining a target beat speed range in which the beat speed is located;
and determining a voltage value corresponding to the target tempo range according to a corresponding relation between the tempo range and the voltage value acquired in advance, and taking the voltage value corresponding to the target tempo range as the target voltage value.
2. The method of claim 1, wherein the step of determining the target voltage value corresponding to the parameter comprises:
if the parameters comprise the beat speed, determining the target audio type to which the audio data belongs according to the beat speed;
and determining a voltage value corresponding to the target audio type according to a pre-acquired corresponding relation between the audio type and the voltage value, and taking the voltage value corresponding to the target audio type as the target voltage value.
3. The method of displaying information according to any one of claims 1-2, wherein the step of outputting the electric signal of the target voltage value to the electrochromic device 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, 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.
4. A mobile terminal, comprising a mobile terminal provided with an electrochromic component, further comprising:
the acquisition module is used for acquiring parameters of the audio played by the mobile terminal;
the determining module is used for determining a target voltage value corresponding to the parameter;
the output module is used for outputting the electric signal of the target voltage value to the electrochromic component, wherein the electrochromic component displays the color for indicating the parameter when the electric signal of the target voltage value is input;
wherein the parameters include:
at least one of tempo, frequency, duration, pitch, intensity, and timbre;
wherein the acquisition module comprises:
the first searching submodule is used for searching a target parameter change curve corresponding to the audio played by the mobile terminal from pre-stored audio parameter change curves;
a fifth determining submodule, configured to determine a parameter of an audio played by the mobile terminal according to the target parameter variation curve;
the determining module comprises:
the second searching submodule is used for searching a target voltage value change curve corresponding to the audio parameter played by the mobile terminal from the pre-stored voltage value change curves;
a sixth determining submodule, configured to determine a target voltage value corresponding to the parameter according to the target voltage value change curve;
and, the parameter comprises tempo, the determining module further comprises:
the first determining submodule is used for determining a target tempo range where the tempo is located;
and the second determining submodule is used for determining a voltage value corresponding to the target tempo range according to the corresponding relation between the tempo range and the voltage value acquired in advance, and taking the voltage value corresponding to the target tempo range as the target voltage value.
5. The mobile terminal of claim 4, wherein the determining module comprises:
a third determining submodule, configured to determine, if the parameter includes a tempo, a target audio type to which the audio data belongs according to the tempo;
and the fourth determining submodule is used for determining a voltage value corresponding to the target audio type according to the corresponding relation between the pre-acquired audio type and the voltage value, and taking the voltage value corresponding to the target audio type as the target voltage value.
6. The mobile terminal of any of claims 4-5, wherein the output module comprises:
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 or not;
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 target voltage value is greater than or equal to the current voltage value;
and 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 target voltage value is smaller than the current voltage value.
7. A mobile terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the steps in the method of displaying information according to any one of claims 1 to 3 when executing the computer program.
CN201710975801.3A 2017-10-19 2017-10-19 Information display method and mobile terminal Active CN107728400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710975801.3A CN107728400B (en) 2017-10-19 2017-10-19 Information display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710975801.3A CN107728400B (en) 2017-10-19 2017-10-19 Information display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107728400A CN107728400A (en) 2018-02-23
CN107728400B true CN107728400B (en) 2020-09-22

Family

ID=61211764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710975801.3A Active CN107728400B (en) 2017-10-19 2017-10-19 Information display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107728400B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240415B (en) * 2018-08-14 2021-01-08 Oppo广东移动通信有限公司 Electronic device control method, electronic device control device, storage medium and electronic device
CN109992228A (en) * 2019-02-18 2019-07-09 维沃移动通信有限公司 A kind of interface display parameter method of adjustment and terminal device
CN111880349A (en) * 2020-08-29 2020-11-03 努比亚技术有限公司 Electrochromic display control method, device and computer readable storage medium
CN112188708B (en) * 2020-09-29 2023-05-12 恩平市威力斯电子科技有限公司 Music accompaniment method and device based on mobile terminal and terminal equipment
CN112667192A (en) * 2020-12-22 2021-04-16 北京小米移动软件有限公司 Shell display state control method and device, electronic equipment and storage medium
CN112667193A (en) * 2020-12-22 2021-04-16 北京小米移动软件有限公司 Shell display state control method and device, electronic equipment and storage medium
CN112612438A (en) * 2020-12-30 2021-04-06 北京小米移动软件有限公司 Shell display state control method and device, electronic equipment and storage medium
CN114326245B (en) * 2022-01-06 2023-07-21 岚图汽车科技有限公司 Musical rhythm electrochromic car window glass governing system
CN114554008A (en) * 2022-01-19 2022-05-27 荣耀终端有限公司 Control method for battery cover color change and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1524350A (en) * 2001-03-29 2004-08-25 哈茉尼彩色音技术开发公司 Telephone and method for converting sound to image and displaying on screen thereof
CN101030161A (en) * 2006-02-28 2007-09-05 华为技术有限公司 Electronic device and method for controlling electronic device casing coloring
CN103032014A (en) * 2012-12-27 2013-04-10 苏州久三智能科技有限公司 Sound-controlled color change window
CN106131324A (en) * 2016-06-28 2016-11-16 广东欧珀移动通信有限公司 Audio data processing method, device and terminal
CN106340307A (en) * 2016-08-31 2017-01-18 天脉聚源(北京)科技有限公司 Method and device used for displaying audio information
CN107037659A (en) * 2017-04-27 2017-08-11 维沃移动通信有限公司 A kind of sheen lamp control method and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2426552A1 (en) * 2006-03-03 2012-03-07 Gentex Corporation Electro-optic elements incorporating improved thin-film coatings
CN101459714A (en) * 2007-12-13 2009-06-17 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal and method for color changing during call incoming
CN101969503A (en) * 2010-10-25 2011-02-09 华为终端有限公司 Mobile terminal and method for changing color of mobile terminal
US20140192256A1 (en) * 2013-01-04 2014-07-10 Apple Inc. Electro-optic aperture device
CN103237116B (en) * 2013-03-25 2015-03-18 广东欧珀移动通信有限公司 Method and device for assisting guitar tuning by utilizing mobile terminals
CN103312844B (en) * 2013-06-27 2016-12-28 华为技术有限公司 A kind of terminal, color changing method and color-changing device
CN104869256A (en) * 2015-06-02 2015-08-26 上海斐讯数据通信技术有限公司 Mobile terminal and mobile terminal shell discoloring method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1524350A (en) * 2001-03-29 2004-08-25 哈茉尼彩色音技术开发公司 Telephone and method for converting sound to image and displaying on screen thereof
CN101030161A (en) * 2006-02-28 2007-09-05 华为技术有限公司 Electronic device and method for controlling electronic device casing coloring
CN103032014A (en) * 2012-12-27 2013-04-10 苏州久三智能科技有限公司 Sound-controlled color change window
CN106131324A (en) * 2016-06-28 2016-11-16 广东欧珀移动通信有限公司 Audio data processing method, device and terminal
CN106340307A (en) * 2016-08-31 2017-01-18 天脉聚源(北京)科技有限公司 Method and device used for displaying audio information
CN107037659A (en) * 2017-04-27 2017-08-11 维沃移动通信有限公司 A kind of sheen lamp control method and mobile terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107728400B (en) Information display method and mobile terminal
CN108111675B (en) Notification message processing method and device and mobile terminal
CN107621738B (en) Control method of mobile terminal and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN107707761B (en) information prompting method and mobile terminal
CN108874357B (en) Prompting method and mobile terminal
CN107635072B (en) Control method of mobile terminal and mobile terminal
CN107645610B (en) Control method of mobile terminal and mobile terminal
CN107818038B (en) Information prompting method and mobile terminal
CN107613362A (en) A kind of video display control method and mobile terminal
CN107819935B (en) Control method of mobile terminal and mobile terminal
CN108628515B (en) Multimedia content operation method and mobile terminal
CN107843993B (en) Control method for visual angle of display screen, mobile terminal and computer storage medium
CN111130989B (en) Information display and sending method and electronic equipment
CN107748640B (en) Screen-off display method and mobile terminal
CN111010608B (en) Video playing method and electronic equipment
CN107707430B (en) Control method of mobile terminal and mobile terminal
CN107734172B (en) Information display method and mobile terminal
CN108629171A (en) A kind of unread message processing method and terminal
CN107613139B (en) Schedule reminding method and mobile terminal
CN108845785B (en) Display method and terminal
CN107633850A (en) A kind of volume adjusting method and electronic equipment
CN108600079B (en) Chat record display method and mobile terminal
CN107835298B (en) Control method of mobile terminal and mobile terminal
CN108270853B (en) Message processing method and mobile 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