Disclosure of Invention
The present disclosure provides an animation display method, an animation display device, a terminal, and a storage medium.
In a first aspect of the embodiments of the present disclosure, an animation display method is provided, including:
determining a current usage state of the audio device;
determining a target animation to be displayed according to the current use state;
and controlling the nixie tube to display the target animation.
In some embodiments, the determining a target animation to be displayed according to the current usage state includes:
if the current use state is as follows: the audio equipment is in a response state responding to the received voice instruction, and determines a target animation to be displayed according to the content of the voice instruction;
if the current use state is as follows: and the audio equipment is in a state without voice instruction response, and the target animation to be displayed is determined according to the current time.
In some embodiments, the determining a target animation to be displayed according to the content of the voice instruction includes:
extracting keywords in the content of the voice instruction;
and determining the target animation to be displayed according to the keywords.
In some embodiments, if the current usage state of the audio device is: the audio device is in a response state responding to the received voice command, and the control of the nixie tube to display the target animation comprises the following steps:
determining an animation display instruction corresponding to the keyword in a prestored animation display instruction set based on the keyword;
and controlling the nixie tube to display the target animation based on the animation display instruction, wherein the animation display instruction at least comprises first driving information for driving the nixie tube to be bright and dark.
In some embodiments, if the received voice instruction is a voice wake-up instruction, controlling the nixie tube to display a preset target animation according to the voice wake-up instruction, where the voice wake-up instruction is used to wake up the audio device in a response state to the voice instruction at least including the keyword.
In some embodiments, said controlling said nixie tube to display said target animation comprises:
determining a gradual change process curve for dynamically displaying the target animation;
controlling the nixie tube to dynamically display the target animation according to the gradual change process curve; the gradual change process curve is used for indicating the dynamic display process of the animation on the nixie tube.
In some embodiments, the method further comprises:
determining the dynamic display process of the animation on the nixie tube as a plurality of sequential dynamic display transition processes;
and in each dynamic display transition process, performing dynamic display on the animation according to the gradual change process curve, wherein each dynamic display transition process is partial dynamic display in the dynamic display process of the animation.
In some embodiments, the controlling the nixie tube to dynamically display the target animation according to the gradual change process curve includes:
and controlling the brightness of an LED (light emitting diode) used for displaying the animation on the nixie tube according to the gradual change process curve.
In some embodiments, the extracting the keyword from the content of the voice instruction includes:
and analyzing the voice instruction to obtain keywords contained in the content of the voice instruction.
In some embodiments, the method further comprises:
and when the audio equipment is in a state without voice instruction response, controlling the nixie tube to display the target animation to be displayed, which is determined according to the current time.
In some embodiments, the controlling the nixie tube to display the target animation to be displayed, which is determined according to the current time, includes:
determining a time display instruction for controlling the nixie tube to display the target animation corresponding to the current time based on the current time;
and controlling the nixie tube to display the target animation corresponding to the current time based on the time display instruction, wherein the time display instruction at least comprises second driving information for driving the nixie tube to be bright and dark.
In some embodiments, the method further comprises:
and after the target animation is displayed, calling an animation closing instruction to close the animation display picture.
A second aspect of the embodiments of the present disclosure provides an animation display apparatus, which is applied to an audio device, wherein the audio device includes: a nixie tube for displaying time; the device comprises:
a first determination module for determining a current usage state of the audio device;
the second determining module is used for determining the target animation to be displayed according to the current using state;
and the control module is used for controlling the nixie tube to display the target animation.
In some embodiments, the second determination module is specifically configured to
If the current use state is as follows: the audio equipment is in a response state responding to the received voice instruction, and determines a target animation to be displayed according to the content of the voice instruction;
if the current use state is as follows: and the audio equipment is in a state without voice instruction response, and the target animation to be displayed is determined according to the current time.
In some embodiments, the second determining module is further specifically configured to
Extracting keywords in the content of the voice instruction;
and determining the target animation to be displayed according to the keywords.
In some embodiments, the control module is specifically for
If the current use state of the audio equipment is as follows: when the audio equipment is in a response state responding to the received voice command, determining an animation display command corresponding to the keyword in a prestored animation display command set based on the keyword;
and controlling the nixie tube to display the target animation based on the animation display instruction, wherein the animation display instruction at least comprises first driving information for driving the nixie tube to be bright and dark.
In some embodiments, if the received voice instruction is a voice wake-up instruction, the control module is specifically configured to control the nixie tube to display a preset target animation according to the voice wake-up instruction, where the voice wake-up instruction is used to wake up the audio device in a response state to the voice instruction at least including the keyword.
In some embodiments, the control module is specifically for
Determining a gradual change process curve for dynamically displaying the target animation;
controlling the nixie tube to dynamically display the target animation according to the gradual change process curve; the gradual change process curve is used for indicating the dynamic display process of the animation on the nixie tube.
In some embodiments, the control module is further specifically for
Determining the dynamic display process of the animation on the nixie tube as a plurality of sequential dynamic display transition processes;
and in each dynamic display transition process, performing dynamic display on the animation according to the gradual change process curve, wherein each dynamic display transition process is partial dynamic display in the dynamic display process of the animation.
In some embodiments, the control module is further specifically configured to
And controlling the brightness of an LED (light emitting diode) used for displaying the animation on the nixie tube according to the gradual change process curve.
In some embodiments, the control module is further specifically configured to control the nixie tube to display the target animation to be displayed, which is determined according to the current time, when the audio device is in a state without a response of the voice command.
In some embodiments, the control module is further specifically configured to
Determining a time display instruction for controlling the nixie tube to display the target animation corresponding to the current time based on the current time;
and controlling the nixie tube to display the target animation corresponding to the current time based on the time display instruction, wherein the time display instruction at least comprises second driving information for driving the nixie tube to be bright and dark.
In a third aspect of the embodiments of the present disclosure, a terminal is provided, including: a nixie tube for displaying a target animation of the method of the first aspect, a processor and a memory, the memory having stored thereon a computer program operable on the processor for performing the steps of the method of the first aspect when the computer program is run.
A fourth aspect of embodiments of the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the animation display method in the embodiment of the disclosure is applied to audio equipment with nixie tube display. By determining a current usage state of the audio device; determining a target animation to be displayed according to the current use state; and controlling the nixie tube to display the target animation. In the application, based on the determination of the current use state of the audio equipment, the target animation is subjected to animation display through the nixie tube, the target animation can be displayed through the nixie tube when animation display is needed, and the time is displayed through the nixie tube when animation display is not needed. The digital display tube which is only used for displaying time originally is utilized to display the animation, the display function of the digital display tube is enriched, the display picture of the digital display tube is increased, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure, as detailed in the appended claims.
With the rapid development of electronic technology, the existing voice products are more and more diversified. Voice products are also increasingly meeting the diverse needs of users, and besides basic audio input and output, voice interaction with users can be realized. In addition to this, new needs such as animation display in voice products and the like are now on the market.
The embodiment of the disclosure provides an animation display method. FIG. 1 is a flow diagram illustrating an animation display method according to an exemplary embodiment. As shown in fig. 1, the animation display method includes:
step 10, determining the current use state of the audio equipment;
step 11, determining a target animation to be displayed according to the current use state;
and step 12, controlling the nixie tube to display the target animation.
In the embodiment of the present disclosure, the current usage state of the audio device at least includes: the audio device is in a responsive state in response to receiving the voice command and/or the audio device is in a state in which no voice command is responsive. When the audio equipment is in a response state responding to the received voice command, the target animation to be displayed can be determined according to the voice command, and at the moment, the nixie tube displays the target animation determined according to the voice command.
When the audio device is in a state without voice instruction response, the nixie tube can display preset animation which is displayed when no voice instruction exists, for example, the animation comprises time animation corresponding to the current time, temperature animation corresponding to the current environment temperature and the like.
In the embodiment of the present disclosure, the current usage state of the audio device at least further includes: the audio device is in a network connected state and/or the audio device is in a no network state. When the audio equipment is in a network connection state, the target animation to be displayed can be determined according to the display instruction obtained from the network, and at the moment, the nixie tube displays the target animation determined according to the display instruction. The display instructions received over the network connection may include an animation of a particular object being displayed, or an animation of a particular scene. Such as animals, plants, landscapes, etc.
When the audio device is in a state without network connection, the nixie tube can display animation preset in advance when the audio device is in the state without network connection, for example, the animation comprises time animation corresponding to the current time, temperature animation corresponding to the current environment temperature and the like.
In the embodiment of the present disclosure, the nixie tube may be composed of a plurality of 4-bit 7-segment nixie tubes. The plurality of nixie tubes are horizontally and sequentially connected and arranged, and can be combined together to display a complete target animation.
In the embodiment of the present disclosure, the audio device may be a sound box capable of performing voice interaction, or any other intelligent terminal equipped with a voice interaction device, such as a watch and a water cup capable of performing voice recognition.
The animation display method in the embodiment of the disclosure is applied to audio equipment with nixie tube display. By determining a current usage state of the audio device; determining a target animation to be displayed according to the current use state; and controlling the nixie tube to display the target animation. In the application, based on the determination of the current use state of the audio equipment, the target animation is subjected to animation display through the nixie tube, the target animation can be displayed through the nixie tube when animation display is needed, and the time is displayed through the nixie tube when animation display is not needed. Animation and time are displayed through the nixie tube, the digital readability is strong, the cost is low, and the full application of functions can be achieved according to the using state.
In some embodiments, the determining a target animation to be displayed according to the current usage state includes:
if the current use state is as follows: the audio equipment is in a response state responding to the received voice instruction, and determines a target animation to be displayed according to the content of the voice instruction;
if the current use state is as follows: and the audio equipment is in a state without voice instruction response, and the target animation to be displayed is determined according to the current time.
In an embodiment of the present disclosure, the determining a target animation to be displayed according to the content of the voice instruction includes:
extracting keywords in the content of the voice instruction;
and determining the target animation to be displayed according to the keywords.
In the embodiment of the disclosure, when the target animation to be displayed is determined according to the content of the voice instruction, the target animation to be displayed may be determined according to the keyword in the content of the voice instruction. The content related to the keyword is classified, and the classified keyword may include: animal keywords, plant keywords, scene keywords, and the like. Different types of keywords characterize different types of display animations. For example, if the keyword in the content of the extracted voice instruction is an airplane, the nixie tube can be controlled to display the animation of the airplane; for example, if the keyword in the content of the extracted voice command is a elephant, the digital tube can be controlled to display animation of the elephant.
In the embodiment of the present disclosure, the scene type keyword is used to indicate an application scene of the target animation displayed on the nixie tube. Such as promotional animations for movies, events, etc. And determining the target animation display containing the application scene according to the scene type keywords. For example, if the keyword is a soccer game, it is possible to determine a scene in which a certain soccer game is included in the target animation.
In the embodiment of the disclosure, the audio device is in a state without a voice instruction response, and the target animation to be displayed is determined according to the current time. The target animation to be displayed, which is determined according to the current time, at least comprises the following steps: the clock at the current time displays an animation, and/or a scene class animation associated with the current time. Scene-like animations associated with the current time, including movies to be shown at the movie theater associated with the current time, upcoming events associated with the current time, etc.
In some embodiments, if the current usage state of the audio device is: the audio device is in a response state responding to the received voice command, and the control of the nixie tube to display the target animation comprises the following steps:
determining an animation display instruction corresponding to the keyword in a prestored animation display instruction set based on the keyword;
and controlling the nixie tube to display the target animation based on the animation display instruction, wherein the animation display instruction at least comprises first driving information for driving the nixie tube to be bright and dark.
In the embodiment of the present disclosure, animation display instructions may be stored in advance. Different keywords correspond to different animation display instructions. After the keywords are extracted from the content of the voice instruction, the corresponding animation display instruction can be determined according to the extracted keywords; and controlling the brightness of an LED used for displaying the animation in the nixie tube according to the first driving information contained in the animation display instruction, so that the target animation is displayed on the nixie tube through the brightness of the LED.
In the embodiment of the present disclosure, the set of animation display instructions stored in advance may include animation display instructions corresponding to various keywords. For example, a first animation display instruction corresponding to an animal type keyword, a second animation display instruction corresponding to a plant type keyword, and a third animation display instruction corresponding to a scene type keyword are included. And controlling the nixie tube to perform corresponding animation display through different animation display instructions.
In some embodiments, if the received voice instruction is a voice wake-up instruction, controlling the nixie tube to display a preset target animation according to the voice wake-up instruction, where the voice wake-up instruction is used to wake up the audio device in a response state to the voice instruction at least including the keyword.
In the embodiment of the present disclosure, before receiving a formal voice command, the audio device needs to be awakened, so that the audio device is in a ready state for responding to the voice command at least containing the keyword. When the audio equipment is in a preparation state for responding to the voice command at least containing the keywords, preset target animations can be displayed through the data pipe.
In some embodiments, said controlling said nixie tube to display said target animation comprises:
determining a gradual change process curve for dynamically displaying the target animation;
controlling the nixie tube to dynamically display the target animation according to the gradual change process curve; the gradual change process curve is used for indicating the dynamic display process of the animation on the nixie tube.
In an embodiment of the present disclosure, determining a gradual change process curve for dynamically displaying the target animation includes: and determining the gradual change process curve according to the extracted keywords. And determining the gradual change process curve according to the extracted keywords, wherein the gradual change process curve is determined according to the animation type represented by the keywords.
For example, when the extracted keyword is an animal keyword, determining that the gradient process curve is a first gradient process curve; when the extracted keywords are plant keywords, determining that the gradient process curve is a second gradient process curve; and when the extracted keywords are scene keywords, determining that the gradient process curve is a third gradient process curve, wherein the dynamic display processes of the animation on the nixie tube, which are represented by the first gradient process curve, the second gradient process curve and the third gradient process curve, are different from each other. The first, second and third gradual change process curves may have different first curve slope changes. Fig. 2 is a diagram illustrating a fade profile in accordance with an exemplary embodiment. For example, the first fade profile may be a gentle S-type fade profile as shown in fig. 2; the second ramp profile may be a straight line with a constant slope, etc. The first gradual change process curve, the second gradual change process curve and the third gradual change process curve respectively indicate that the dynamic display process of the target animation on the nixie tube is different and can have different gradual change rates. For example, if the slope changes more gradually according to the first gradual change curve of the animal animation, the gradual change process is more gradual and softer when the animal animation is displayed. And corresponding to the second gradual change process curve of the plant animation, the slope change is relatively steep, so that the gradual change process is compact when the plant animation is displayed.
In the embodiment of the present disclosure, the horizontal axis of the gradual change process curve represents time, and the vertical axis represents a change process of the LED lighting when the nixie tube displays the target animation. The whole gradual change process curve can represent the dynamic display process of the animation on the nixie tube.
In some embodiments, the method further comprises:
determining the dynamic display process of the animation on the nixie tube as a plurality of sequential dynamic display transition processes;
and in each dynamic display transition process, performing dynamic display on the animation according to the gradual change process curve, wherein each dynamic display transition process is partial dynamic display in the dynamic display process of the animation.
In the disclosed embodiment, FIG. 3 is a diagram illustrating an animated fading process according to an exemplary embodiment. As shown in FIG. 3, the dynamic display process of the animation on the nixie tube can be a plurality of dynamic display transition processes which are continuous in sequence. And each dynamic display transition process is part of dynamic display in the dynamic display process of the animation. As shown, the display state of the target animation may be determined to be 6 display states, including a first display state without any display right from the beginning to a sixth display state with a full display. The second display state, the third display state, the fourth display state and the fifth display state which are not completely displayed can be included between the first display state and the sixth display state. And the animation display completion degree of each display state is sequentially increased from the first display state to the sixth display state. The dynamic display process from the first display state to the second display state is the first dynamic display transition process, the dynamic display process from the second display state to the third display state is the second dynamic display transition process, and so on.
In some embodiments, the controlling the nixie tube to dynamically display the target animation according to the gradual change process curve includes:
and controlling the brightness of an LED (light emitting diode) used for displaying the animation on the nixie tube according to the gradual change process curve.
In the embodiment of the disclosure, when the brightness of the LED of the nixie tube is controlled in each dynamic display transition process, the brightness of each LED for animation display can be controlled according to the gradual change process curve. For example, in the first dynamic display transition process, the brightness of three LEDs needs to be controlled when the dynamic display is from the first display state to the second display state. Namely, three LEDs need to be sequentially lighted to realize dynamic display from the first display state to the second display state, and when each LED is sequentially lighted at the moment, the brightness change of each LED when lighted can be controlled according to the gradual change process curve. At this time, the whole gradual change process curve can represent the brightness gradual change process when each LED is lighted. That is, when the dynamic display from the first display state to the second display state is realized, the first LED may be turned on according to the gradual change process curve, the second LED may be turned on according to the gradual change process curve, and the third LED may be turned on according to the gradual change process curve. Wherein, each nixie tube comprises an LED and is a 4-bit 7-segment nixie tube.
In some embodiments, the extracting the keyword from the content of the voice instruction includes:
and analyzing the voice instruction to obtain keywords contained in the content of the voice instruction.
In the embodiment of the present disclosure, keywords included in the content of the voice instruction may be determined by analyzing the obtained voice instruction. Then, the target animation corresponding to the display is determined through the keywords.
In some embodiments, the method further comprises:
and when the audio equipment is in a state without voice instruction response, controlling the nixie tube to display the target animation to be displayed, which is determined according to the current time.
In the embodiment of the present disclosure, when the audio device is in a state without a response of the voice command, the method may control the nixie tube to display the target animation to be displayed, which is determined according to the current time, and includes: the clock displaying the current time displays an animation, and/or a scene class animation associated with the current time is displayed. For example, scene-like animations associated with the current time are displayed, including movie promotion animations to be shown at the movie theater associated with the current time, or promotion animations of upcoming events associated with the current time, etc.
In some embodiments, the controlling the nixie tube to display the target animation to be displayed, which is determined according to the current time, includes:
determining a time display instruction for controlling the nixie tube to display the target animation corresponding to the current time based on the current time;
and controlling the nixie tube to display the target animation corresponding to the current time based on the time display instruction, wherein the time display instruction at least comprises second driving information for driving the nixie tube to be bright and dark.
In the embodiment of the present disclosure, the time display instruction determined based on the current time at least includes the second driving information. The brightness of the LED in the nixie tube can be driven through the second driving information to display the current time. FIG. 4 is a nixie tube time display diagram shown in accordance with an exemplary embodiment. As shown in fig. 4, the current time is displayed through the nixie tube, the readability of the numbers is strong, and the display is clear. Easy to read.
In some embodiments, the method further comprises:
and after the target animation is displayed, calling an animation closing instruction to close the animation display picture.
In the embodiment of the present disclosure, an animation closing instruction for closing the display interface may be preset in advance to close the animation display screen. For example, an animation close command may be used to dim an LED in the nixie tube so that the animation is no longer displayed, in preparation for displaying the next target animation.
A second aspect of the embodiments of the present disclosure provides an animation display apparatus, which is applied to an audio device, wherein the audio device includes: for a nixie tube capable of displaying time. FIG. 5 is a schematic diagram of an animation display device according to an exemplary embodiment. As shown in fig. 5, the apparatus includes:
a first determining module 51, configured to determine a current usage state of the audio device;
a second determining module 52, configured to determine, according to the current usage state, a target animation to be displayed;
and the control module 53 is used for controlling the nixie tube to display the target animation.
In the embodiment of the present disclosure, the current usage state of the audio device at least includes: the audio device is in a responsive state in response to receiving the voice command and/or the audio device is in a state in which no voice command is responsive. When the audio equipment is in a response state responding to the received voice command, the target animation to be displayed can be determined according to the voice command, and at the moment, the nixie tube displays the target animation determined according to the voice command.
When the audio device is in a state without voice instruction response, the nixie tube can display animation preset in advance when no voice instruction exists, for example, the animation comprises time animation corresponding to the current time, temperature animation corresponding to the current environment temperature, weather animation corresponding to the current weather and the like.
In the embodiment of the present disclosure, the current usage state of the audio device at least further includes: the audio device is in a network connected state and/or the audio device is in a no network state. When the audio equipment is in a connected state, the target animation to be displayed can be determined according to the display instruction obtained from the network, and at the moment, the nixie tube displays the target animation determined according to the display instruction. The display instructions retrieved from the network connection may include an animation of a particular object being displayed, or an animation of a particular scene. Such as animals, plants, landscapes, etc.
When the audio device is in a state without network connection, the nixie tube can display animation preset in advance when the audio device is in the state without network connection, for example, the animation comprises time animation corresponding to the current time, temperature animation corresponding to the current environment temperature, weather animation corresponding to the current weather and the like.
The animation display device in the embodiment of the disclosure is applied to audio equipment with nixie tube display. By determining a current usage state of the audio device; determining a target animation to be displayed according to the current use state; and controlling the nixie tube to display the target animation. In the application, based on the determination of the current use state of the audio equipment, the target animation is subjected to animation display through the nixie tube, the target animation can be displayed through the nixie tube when animation display is needed, and the time is displayed through the nixie tube when animation display is not needed. Animation and time are displayed through the nixie tube, the digital readability is strong, the cost is low, and the full application of functions can be achieved according to the using state.
In some embodiments, the second determination module is specifically configured to
If the current use state is as follows: the audio equipment is in a response state responding to the received voice instruction, and determines a target animation to be displayed according to the content of the voice instruction;
if the current use state is as follows: and the audio equipment is in a state without voice instruction response, and the target animation to be displayed is determined according to the current time.
In the embodiment of the present disclosure, the second determining module is specifically further configured to
Extracting keywords in the content of the voice instruction;
and determining the target animation to be displayed according to the keywords.
In the embodiment of the disclosure, when the target animation to be displayed is determined according to the content of the voice instruction, the target animation to be displayed may be determined according to the keyword in the content of the voice instruction. Wherein the keyword may include: animal keywords, plant keywords, scene keywords, and the like. Different types of keywords characterize different types of display animations. For example, if the keyword in the content of the extracted voice instruction is an airplane, the nixie tube can be controlled to display the animation of the airplane; for example, if the keyword in the content of the extracted voice command is a elephant, the digital tube can be controlled to display animation of the elephant.
In the embodiment of the disclosure, the audio device is in a state without a voice instruction response, and the target animation to be displayed is determined according to the current time. The target animation to be displayed, which is determined according to the current time, at least comprises the following steps: the clock at the current time displays an animation, and/or a scene class animation associated with the current time. Scene-like animations associated with the current time, including movies to be shown at the movie theater associated with the current time, upcoming events associated with the current time, etc.
In some embodiments, the control module is specifically for
If the current use state of the audio equipment is as follows: when the audio equipment is in a response state responding to the received voice command, determining an animation display command corresponding to the keyword in a prestored animation display command set based on the keyword;
and controlling the nixie tube to display the target animation based on the animation display instruction, wherein the animation display instruction at least comprises first driving information for driving the nixie tube to be bright and dark.
In the embodiment of the present disclosure, animation display instructions may be stored in advance. Different keywords correspond to different animation display instructions. After the keywords are extracted from the content of the voice instruction, the corresponding animation display instruction can be determined according to the extracted keywords; and controlling the brightness of an LED used for displaying the animation in the nixie tube according to the first driving information contained in the animation display instruction, so that the target animation is displayed on the nixie tube through the brightness of the LED.
In the embodiment of the present disclosure, the set of animation display instructions stored in advance may include animation display instructions corresponding to various keywords. For example, a first animation display instruction corresponding to an animal type keyword, a second animation display instruction corresponding to a plant type keyword, and a third animation display instruction corresponding to a scene type keyword are included. And controlling the nixie tube to perform corresponding animation display through different animation display instructions.
In some embodiments, if the received voice instruction is a voice wake-up instruction, the control module is specifically configured to control the nixie tube to display a preset target animation according to the voice wake-up instruction, where the voice wake-up instruction is used to wake up the audio device in a response state to the voice instruction at least including the keyword.
In the embodiment of the present disclosure, before receiving a formal voice command, the audio device needs to be awakened, so that the audio device is in a ready state for responding to the voice command at least containing the keyword. When the audio equipment is in a preparation state for responding to the voice command at least containing the keywords, preset target animations can be displayed through the data pipe.
In some embodiments, the control module is specifically for
Determining a gradual change process curve for dynamically displaying the target animation;
controlling the nixie tube to dynamically display the target animation according to the gradual change process curve; the gradual change process curve is used for indicating the dynamic display process of the animation on the nixie tube.
In an embodiment of the present disclosure, determining a gradual change process curve for dynamically displaying the target animation includes: and determining the gradual change process curve according to the extracted keywords. And determining the gradual change process curve according to the extracted keywords, wherein the gradual change process curve is determined according to the animation type represented by the keywords.
For example, when the extracted keyword is an animal keyword, determining that the gradient process curve is a first gradient process curve; when the extracted keywords are plant keywords, determining that the gradient process curve is a second gradient process curve; and when the extracted keywords are scene keywords, determining that the gradient process curve is a third gradient process curve, wherein the dynamic display processes of the animation on the nixie tube, which are represented by the first gradient process curve, the second gradient process curve and the third gradient process curve, are different from each other. The first, second and third gradual change process curves may have different first curve slope changes. For example, the first fade profile may be a soft S-type fade profile; the second ramp profile may be a straight line with a constant slope, etc.
In the embodiment of the present disclosure, the horizontal axis of the gradual change process curve represents time, and the vertical axis represents a change process of the LED lighting when the nixie tube displays the target animation. The whole gradual change process curve can represent the dynamic display process of the animation on the nixie tube.
In some embodiments, the control module is further specifically for
Determining the dynamic display process of the animation on the nixie tube as a plurality of sequential dynamic display transition processes;
and in each dynamic display transition process, performing dynamic display on the animation according to the gradual change process curve, wherein each dynamic display transition process is partial dynamic display in the dynamic display process of the animation.
In the embodiment of the disclosure, the dynamic display process of the animation on the nixie tube can be a plurality of sequential dynamic display transition processes. And each dynamic display transition process is part of dynamic display in the dynamic display process of the animation. As shown in the figure, the display state of the target animation may be determined as 6 display states, including a first display state without any display at the beginning to a sixth display state with a full display, wherein a second display state, a third display state, a fourth display state and a fifth display state with an incomplete display may be included between the first display state and the sixth display state. The dynamic display process from the first display state to the second display state is the first dynamic display transition process, the dynamic display process from the second display state to the third display state is the second dynamic display transition process, and so on.
In some embodiments, the control module is further specifically configured to
And controlling the brightness of an LED (light emitting diode) used for displaying the animation on the nixie tube according to the gradual change process curve.
In the embodiment of the disclosure, when the brightness of the LED of the nixie tube is controlled in each dynamic display transition process, the brightness of each LED for animation display can be controlled according to the gradual change process curve. For example, in the first dynamic display transition process, the brightness of three LEDs needs to be controlled when the dynamic display is from the first display state to the second display state. Namely, three LEDs need to be sequentially lighted to realize dynamic display from the first display state to the second display state, and when each LED is sequentially lighted at the moment, the brightness change of each LED when lighted can be controlled according to the gradual change process curve. At this time, the whole gradual change process curve can represent the brightness gradual change process when each LED is lighted. That is, when the dynamic display from the first display state to the second display state is realized, the first LED may be turned on according to the gradual change process curve, the second LED may be turned on according to the gradual change process curve, and the third LED may be turned on according to the gradual change process curve.
In some embodiments, the control module is further specifically configured to control the nixie tube to display the target animation to be displayed, which is determined according to the current time, when the audio device is in a state without a response of the voice command.
In the embodiment of the present disclosure, when the audio device is in a state without a response of the voice command, the method may control the nixie tube to display the target animation to be displayed, which is determined according to the current time, and includes: the clock displaying the current time displays an animation, and/or a scene class animation associated with the current time is displayed. For example, scene-like animations associated with the current time are displayed, including movie promotion animations to be shown at the movie theater associated with the current time, or promotion animations of upcoming events associated with the current time, etc.
In some embodiments, the control module is further specifically configured to
Determining a time display instruction for controlling the nixie tube to display the target animation corresponding to the current time based on the current time;
and controlling the nixie tube to display the target animation corresponding to the current time based on the time display instruction, wherein the time display instruction at least comprises second driving information for driving the nixie tube to be bright and dark.
In the embodiment of the present disclosure, the time display instruction determined based on the current time at least includes the second driving information. The brightness of the LED in the nixie tube can be driven through the second driving information to display the current time. The current time is displayed through the nixie tube, the number readability is strong, and the display is clear. Easy to read.
The application selects the nixie tube to replace a dot matrix screen for animation display, has low cost, can realize animation interaction on voice equipment, enriches man-machine interaction, and can realize the function of clear display of a clock.
An embodiment of the present disclosure further provides a terminal, including: the system comprises a nixie tube, a processor and a memory, wherein the memory is stored with a computer program capable of running on the processor, and the processor is used for executing the steps of the method of each embodiment when the computer program runs.
FIG. 6 is a block diagram of an animation display terminal according to an exemplary embodiment. As shown in fig. 6, an embodiment of the present disclosure further provides a terminal, which includes an animation display module, a voice processing module, a central coordination module, and a storage module. The animation display module is used for displaying the target animation; the voice processing module is used for analyzing the acquired voice instruction and extracting keywords; the central coordination module is used for determining a target animation according to the extracted keywords and controlling the animation display module to display the target animation; and the storage module is used for pre-storing data such as animation display instruction sets and the like.
FIG. 7 is a flow diagram illustrating an animation display according to an exemplary embodiment. As shown in fig. 7, the animation display flow includes:
step 71, storing an animation display instruction set and a time instruction set;
step 72, displaying a clock picture according to the acquired network time and the time instruction set;
step 73, determining whether a user voice wake-up instruction is received;
step 74, receiving a voice awakening instruction of a user, closing the clock picture, and displaying a preset animation interaction picture, otherwise, displaying the clock picture;
step 75, acquiring, recognizing and analyzing the voice command, and continuously displaying a preset animation interactive picture;
step 76, obtaining an analysis result and displaying the target animation;
and 77, responding and broadcasting according to the analysis result, and ending the target animation display.
The disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, wherein the computer program is used for implementing the steps of the method according to the embodiments when being executed by a processor.
Fig. 8 is a block diagram illustrating a terminal device according to an example embodiment. For example, the terminal device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 8, the terminal device may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the terminal device, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 806 provides power to various components of the terminal device. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device.
The multimedia component 808 includes a screen that provides an output interface between the terminal device and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the terminal device is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal device is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 814 includes one or more sensors for providing various aspects of state assessment for the terminal device. For example, sensor assembly 814 may detect the open/closed status of the terminal device, the relative positioning of components, such as a display and keypad of the terminal device, the change in position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration/deceleration of the terminal device, and the change in temperature of the terminal device. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the terminal device and other devices in a wired or wireless manner. The terminal device may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.