CN113689531B - Animation display method, animation display device, terminal and storage medium - Google Patents

Animation display method, animation display device, terminal and storage medium Download PDF

Info

Publication number
CN113689531B
CN113689531B CN202110880127.7A CN202110880127A CN113689531B CN 113689531 B CN113689531 B CN 113689531B CN 202110880127 A CN202110880127 A CN 202110880127A CN 113689531 B CN113689531 B CN 113689531B
Authority
CN
China
Prior art keywords
animation
display
instruction
target
nixie tube
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
CN202110880127.7A
Other languages
Chinese (zh)
Other versions
CN113689531A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110880127.7A priority Critical patent/CN113689531B/en
Publication of CN113689531A publication Critical patent/CN113689531A/en
Application granted granted Critical
Publication of CN113689531B publication Critical patent/CN113689531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation
    • G06T13/2053D [Three Dimensional] animation driven by audio data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本公开是关于一种动画显示方法、动画显示装置、终端及存储介质。该动画显示方法包括确定音频设备的当前使用状态;根据当前使用状态,确定待显示的目标动画;控制数码管显示目标动画。本申请中,基于对音频设备当前使用状态的确定,通过数码管对目标动画进行动画显示,可以实现在需要动画显示的时候通过数码管显示目标动画,不需要动画显示的时候通过数码管显示时间。通过数码管显示动画和时间,数字可读性强,成本低廉,还可以根据使用状态实现功能充分应用。

The present disclosure relates to an animation display method, an animation display device, a terminal and a storage medium. The animation display method includes determining the current use status of an audio device; determining a target animation to be displayed according to the current use status; and controlling a digital tube to display the target animation. In the present application, based on the determination of the current use status of the audio device, the target animation is animatedly displayed through a digital tube, so that the target animation can be displayed through the digital tube when the animation display is required, and the time can be displayed through the digital tube when the animation display is not required. By displaying animation and time through a digital tube, the digital readability is strong and the cost is low, and the function can be fully applied according to the use status.

Description

动画显示方法、动画显示装置、终端及存储介质Animation display method, animation display device, terminal and storage medium

技术领域Technical Field

本公开涉及显示技术领域,尤其涉及一种动画显示方法、动画显示装置、终端及存储介质。The present disclosure relates to the field of display technology, and in particular to an animation display method, an animation display device, a terminal and a storage medium.

背景技术Background Art

随着电子技术飞速发展,现有的语音产品越来越多样化。语音产品也越来越多的满足用户的多样化需求,除了基本的音频输入输出外,还可以实现与用户的语音交互。除此之外,现在市场上出现了新的需求,例如在语音产品中进行动画显示等。With the rapid development of electronic technology, existing voice products are becoming more and more diverse. Voice products are also increasingly meeting the diverse needs of users. In addition to basic audio input and output, they can also achieve voice interaction with users. In addition, new demands have emerged in the market, such as animation display in voice products.

发明内容Summary of the invention

本公开提供一种动画显示方法、动画显示装置、终端及存储介质。The present disclosure provides an animation display method, an animation display device, a terminal and a storage medium.

本公开实施例的第一方面,提供一种动画显示方法,包括:According to a first aspect of an embodiment of the present disclosure, there is provided an animation display method, comprising:

确定所述音频设备的当前使用状态;determining a current usage status of the audio device;

根据所述当前使用状态,确定待显示的目标动画;Determining a target animation to be displayed according to the current usage state;

控制所述数码管显示所述目标动画。Control the digital tube to display the target animation.

在一些实施例中,所述根据所述当前使用状态,确定待显示的目标动画,包括:In some embodiments, determining a target animation to be displayed according to the current usage state includes:

若所述当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下,根据所述语音指令的内容,确定待显示的目标动画;If the current use state is: the audio device is in a response state in response to receiving a voice instruction, determining a target animation to be displayed according to the content of the voice instruction;

若所述当前使用状态为:所述音频设备处于无语音指令响应的状态下,根据当前时间确定待显示的所述目标动画。If the current usage state is: the audio device is in a state of no voice command response, the target animation to be displayed is determined according to the current time.

在一些实施例中,所述根据所述语音指令的内容,确定待显示的目标动画,包括:In some embodiments, determining the target animation to be displayed according to the content of the voice instruction includes:

提取所述语音指令的内容中的关键字;Extracting keywords from the content of the voice instruction;

根据所述关键字,确定待显示的所述目标动画。The target animation to be displayed is determined according to the keyword.

在一些实施例中,若所述音频设备的当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下,所述控制所述数码管显示所述目标动画,包括:In some embodiments, if the current use state of the audio device is: the audio device is in a response state in response to receiving a voice command, controlling the digital tube to display the target animation includes:

基于所述关键字,在预先存储的动画显示指令集中确定所述关键字对应的动画显示指令;Based on the keyword, determining the animation display instruction corresponding to the keyword in a pre-stored animation display instruction set;

基于所述动画显示指令,控制所述数码管显示所述目标动画,所述动画显示指令至少包含有驱动所述数码管亮暗的第一驱动信息。Based on the animation display instruction, the digital tube is controlled to display the target animation, and the animation display instruction at least includes first driving information for driving the digital tube to light up or darken.

在一些实施例中,若接收到的所述语音指令为语音唤醒指令,则根据所述语音唤醒指令,控制所述数码管显示预先设置的目标动画,其中,所述语音唤醒指令用于唤醒所述音频设备处于对至少包含有所述关键字的语音指令的响应状态。In some embodiments, if the received voice instruction is a voice wake-up instruction, the digital tube is controlled to display a pre-set target animation according to the voice wake-up instruction, wherein the voice wake-up instruction is used to wake up the audio device to be in a response state to a voice instruction that at least contains the keyword.

在一些实施例中,所述控制所述数码管显示所述目标动画,包括:In some embodiments, controlling the digital tube to display the target animation includes:

确定动态显示所述目标动画的渐变过程曲线;Determine a gradual change process curve for dynamically displaying the target animation;

根据所述渐变过程曲线,控制所述数码管动态显示所述目标动画;所述渐变过程曲线用于指示所述动画在所述数码管上的动态显示过程。According to the gradual change process curve, the digital tube is controlled to dynamically display the target animation; the gradual change process curve is used to indicate the dynamic display process of the animation on the digital tube.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

确定所述动画在所述数码管上的动态显示过程为多个依次连续的动态显示过渡过程;Determine that the dynamic display process of the animation on the digital tube is a plurality of sequentially continuous dynamic display transition processes;

在各所述动态显示过渡过程,均根据所述渐变过程曲线进行所述动画的动态显示,其中各所述动态显示过渡过程均为所述动画的动态显示过程中的部分动态显示。In each of the dynamic display transition processes, the dynamic display of the animation is performed according to the gradual change process curve, wherein each of the dynamic display transition processes is a partial dynamic display in the dynamic display process of the animation.

在一些实施例中,所述根据所述渐变过程曲线,控制所述数码管动态显示所述目标动画,包括:In some embodiments, controlling the digital tube to dynamically display the target animation according to the gradual change process curve includes:

根据所述渐变过程曲线,控制所述数码管上用于显示所述动画的LED的亮度。According to the gradual change process curve, the brightness of the LED on the digital tube for displaying the animation is controlled.

在一些实施例中,所述提取所述语音指令的内容中的关键字,包括:In some embodiments, extracting keywords from the content of the voice instruction includes:

对所述语音指令进行解析,得到所述语音指令的内容中包含的关键字。The voice command is parsed to obtain keywords contained in the content of the voice command.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

所述音频设备处于无语音指令响应的状态下时,控制所述数码管显示根据所述当前时间确定的待显示的目标动画。When the audio device is in a state of no voice command response, the digital tube is controlled to display a target animation to be displayed determined according to the current time.

在一些实施例中,所述控制所述数码管显示根据所述当前时间确定的待显示的目标动画,包括:In some embodiments, controlling the digital tube to display a target animation to be displayed determined according to the current time includes:

基于所述当前时间,确定出用于控制所述数码管显示所述当前时间对应目标动画的时间显示指令;Based on the current time, determining a time display instruction for controlling the digital tube to display a target animation corresponding to the current time;

基于所述时间显示指令,控制所述数码管显示所述当前时间对应的目标动画,其中所述时间显示指令至少包含有驱动所述数码管亮暗的第二驱动信息。Based on the time display instruction, the digital tube is controlled to display the target animation corresponding to the current time, wherein the time display instruction at least includes second driving information for driving the digital tube to light up or darken.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

所述目标动画显示完成后,调用动画关闭指令关闭所述动画显示画面。After the target animation is displayed, an animation close instruction is called to close the animation display screen.

本公开实施例的第二方面提供一种动画显示装置,应用于音频设备,其中,所述音频设备包含:用于能够显示时间的数码管;所述装置包括:A second aspect of the embodiments of the present disclosure provides an animation display device, which is applied to an audio device, wherein the audio device comprises: a digital tube capable of displaying time; the device comprises:

第一确定模块,用于确定所述音频设备的当前使用状态;A first determining module, used to determine the current usage status of the audio device;

第二确定模块,用于根据所述当前使用状态,确定待显示的目标动画;A second determining module, used to determine a target animation to be displayed according to the current use state;

控制模块,用于控制所述数码管显示所述目标动画。The control module is used to control the digital tube to display the target animation.

在一些实施例中,所述第二确定模块,具体用于In some embodiments, the second determining module is specifically configured to

若所述当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下,根据所述语音指令的内容,确定待显示的目标动画;If the current use state is: the audio device is in a response state in response to receiving a voice instruction, determining a target animation to be displayed according to the content of the voice instruction;

若所述当前使用状态为:所述音频设备处于无语音指令响应的状态下,根据当前时间确定待显示的所述目标动画。If the current usage state is: the audio device is in a state of no voice command response, the target animation to be displayed is determined according to the current time.

在一些实施例中,所述第二确定模块,具体还用于In some embodiments, the second determining module is further configured to

提取所述语音指令的内容中的关键字;Extracting keywords from the content of the voice instruction;

根据所述关键字,确定待显示的所述目标动画。The target animation to be displayed is determined according to the keyword.

在一些实施例中,所述控制模块,具体用于In some embodiments, the control module is specifically used to

若所述音频设备的当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下时,基于所述关键字,在预先存储的动画显示指令集中确定所述关键字对应的动画显示指令;If the current use state of the audio device is: when the audio device is in a response state in response to receiving a voice command, based on the keyword, determining an animation display instruction corresponding to the keyword in a pre-stored animation display instruction set;

基于所述动画显示指令,控制所述数码管显示所述目标动画,所述动画显示指令至少包含有驱动所述数码管亮暗的第一驱动信息。Based on the animation display instruction, the digital tube is controlled to display the target animation, and the animation display instruction at least includes first driving information for driving the digital tube to light up or darken.

在一些实施例中,若接收到的所述语音指令为语音唤醒指令,则所述控制模块,具体用于根据所述语音唤醒指令,控制所述数码管显示预先设置的目标动画,其中,所述语音唤醒指令用于唤醒所述音频设备处于对至少包含有所述关键字的语音指令的响应状态。In some embodiments, if the received voice command is a voice wake-up command, the control module is specifically used to control the digital tube to display a pre-set target animation according to the voice wake-up command, wherein the voice wake-up command is used to wake up the audio device to be in a response state to a voice command that at least contains the keyword.

在一些实施例中,所述控制模块,具体用于In some embodiments, the control module is specifically used to

确定动态显示所述目标动画的渐变过程曲线;Determine a gradual change process curve for dynamically displaying the target animation;

根据所述渐变过程曲线,控制所述数码管动态显示所述目标动画;所述渐变过程曲线用于指示所述动画在所述数码管上的动态显示过程。According to the gradual change process curve, the digital tube is controlled to dynamically display the target animation; the gradual change process curve is used to indicate the dynamic display process of the animation on the digital tube.

在一些实施例中,所述控制模块,具体还用于In some embodiments, the control module is further used to

确定所述动画在所述数码管上的动态显示过程为多个依次连续的动态显示过渡过程;Determine that the dynamic display process of the animation on the digital tube is a plurality of sequentially continuous dynamic display transition processes;

在各所述动态显示过渡过程,均根据所述渐变过程曲线进行所述动画的动态显示,其中各所述动态显示过渡过程均为所述动画的动态显示过程中的部分动态显示。In each of the dynamic display transition processes, the dynamic display of the animation is performed according to the gradual change process curve, wherein each of the dynamic display transition processes is a partial dynamic display in the dynamic display process of the animation.

在一些实施例中,所述控制模块,还具体用于In some embodiments, the control module is further specifically used to

根据所述渐变过程曲线,控制所述数码管上用于显示所述动画的LED的亮度。According to the gradual change process curve, the brightness of the LED on the digital tube for displaying the animation is controlled.

在一些实施例中,所述控制模块,还具体用于所述音频设备处于无语音指令响应的状态下时,控制所述数码管显示根据所述当前时间确定的待显示的目标动画。In some embodiments, the control module is further specifically used to control the digital tube to display a target animation to be displayed determined according to the current time when the audio device is in a state of no voice command response.

在一些实施例中,所述控制模块,还具体用于In some embodiments, the control module is further specifically used to

基于所述当前时间,确定出用于控制所述数码管显示所述当前时间对应目标动画的时间显示指令;Based on the current time, determining a time display instruction for controlling the digital tube to display a target animation corresponding to the current time;

基于所述时间显示指令,控制所述数码管显示所述当前时间对应的目标动画,其中所述时间显示指令至少包含有驱动所述数码管亮暗的第二驱动信息。Based on the time display instruction, the digital tube is controlled to display the target animation corresponding to the current time, wherein the time display instruction at least includes second driving information for driving the digital tube to light up or darken.

本公开实施例的第三方面,提供一种终端,包括:数码管、处理器和存储器,所述存储器上存储有能够在处理器上运行的计算机程序,所述处理器用于运行所述计算机程序时,执行第一方面所述方法的步骤,所述数码管用于显示第一方面所述方法中的目标动画。According to a third aspect of an embodiment of the present disclosure, a terminal is provided, comprising: a digital tube, a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and the processor is used to execute the steps of the method described in the first aspect when running the computer program, and the digital tube is used to display the target animation in the method described in the first aspect.

本公开实施例的第四方面提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现第一方面所述方法的步骤。A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method described in the first aspect when executed by a processor.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

本公开实施例中的动画显示方法应用于具有数码管显示的音频设备。通过确定音频设备的当前使用状态;根据当前使用状态,确定待显示的目标动画;控制数码管显示目标动画。本申请中,基于对音频设备当前使用状态的确定,通过数码管对目标动画进行动画显示,可以实现在需要动画显示的时候通过数码管显示目标动画,不需要动画显示的时候通过数码管显示时间。利用原本仅仅用于显示时间的数码显示管,显示动画,丰富了数码显示管的显示功能,增加了数码显示管的显示画面,提升了用户使用体验。The animation display method in the disclosed embodiment is applied to an audio device with a digital tube display. By determining the current use status of the audio device; determining the target animation to be displayed according to the current use status; and controlling the digital tube to display the target animation. In the present application, based on the determination of the current use status of the audio device, the target animation is animatedly displayed through the digital tube, so that the target animation can be displayed through the digital tube when the animation display is required, and the time can be displayed through the digital tube when the animation display is not required. By using a digital display tube that was originally only used to display time to display animation, the display function of the digital display tube is enriched, the display screen of the digital display tube is increased, and the user experience is improved.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

图1是根据一示例性实施例示出的一种动画显示方法流程图。Fig. 1 is a flow chart of an animation display method according to an exemplary embodiment.

图2是根据一示例性实施例示出的动画渐变过程示意图。Fig. 2 is a schematic diagram showing an animation gradual change process according to an exemplary embodiment.

图3是根据一示例性实施例示出的渐变过程曲线示意图。Fig. 3 is a schematic diagram of a gradual change process curve according to an exemplary embodiment.

图4是根据一示例性实施例示出的数码管时间显示示意图。Fig. 4 is a schematic diagram of digital tube time display according to an exemplary embodiment.

图5是根据一示例性实施例示出的一种动画显示装置结构示意图。Fig. 5 is a schematic diagram showing the structure of an animation display device according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种动画显示终端结构示意图。Fig. 6 is a schematic diagram showing the structure of an animation display terminal according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种动画显示流程图。Fig. 7 is a flowchart of an animation display according to an exemplary embodiment.

图8是根据一示例性实施例示出的一种终端设备的框图。Fig. 8 is a block diagram of a terminal device according to an exemplary embodiment.

具体实施方式DETAILED DESCRIPTION

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.

随着电子技术飞速发展,现有的语音产品越来越多样化。语音产品也越来越多的满足用户的多样化需求,除了基本的音频输入输出外,还可以实现与用户的语音交互。除此之外,现在市场上出现了新的需求,例如在语音产品中进行动画显示等。With the rapid development of electronic technology, existing voice products are becoming more and more diverse. Voice products are also increasingly meeting the diverse needs of users. In addition to basic audio input and output, they can also achieve voice interaction with users. In addition, new demands have emerged in the market, such as animation display in voice products.

本公开实施例提供一种动画显示方法。图1是根据一示例性实施例示出的一种动画显示方法流程图。如图1所示,动画显示方法包括:The present disclosure provides an animation display method. FIG1 is a flow chart of an animation display method according to an exemplary embodiment. As shown in FIG1 , the animation display method includes:

步骤10、确定所述音频设备的当前使用状态;Step 10: Determine the current usage status of the audio device;

步骤11、根据所述当前使用状态,确定待显示的目标动画;Step 11: Determine the target animation to be displayed according to the current usage status;

步骤12、控制所述数码管显示所述目标动画。Step 12: Control the digital tube to display the target animation.

本公开实施例中,音频设备的当前使用状态至少包括:音频设备处于响应于接收到语音指令的响应状态,和/或,所述音频设备处于无语音指令响应的状态。当音频设备处于响应于接收到语音指令的响应状态时,可根据语音指令确定待显示的目标动画,此时数码管显示根据语音指令确定的目标动画。In the embodiment of the present disclosure, the current use state of the audio device at least includes: the audio device is in a response state in response to receiving a voice command, and/or the audio device is in a state of not responding to the voice command. When the audio device is in a response state in response to receiving a voice command, the target animation to be displayed can be determined according to the voice command, and the digital tube displays the target animation determined according to the voice command.

当音频设备处于无语音指令响应的状态时,数码管可显示提前预设好的在无语音指令时该显示的动画,例如包括当前时间对应的时间动画,当前环境温度对应的温度动画等。When the audio device is in a state of no voice command response, the digital tube can display the preset animation to be displayed when there is no voice command, such as the time animation corresponding to the current time, the temperature animation corresponding to the current ambient temperature, etc.

本公开实施例中,音频设备的当前使用状态至少还包括:音频设备处于网络连接状态,和/或,所述音频设备处于无网络状态。当音频设备处于网络连接状态时,可根据从网络中获取的显示指令确定待显示的目标动画,此时数码管显示根据显示指令确定的目标动画。基于网络连接中接收的显示指令可包括显示具体物体的动画,或具体场景的动画。例如动物、植物、风景等。In the disclosed embodiment, the current use state of the audio device at least includes: the audio device is in a network connection state, and/or the audio device is in a network-free state. When the audio device 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 the digital tube displays the target animation determined according to the display instruction. The display instruction received based on the network connection may include displaying an animation of a specific object, or an animation of a specific scene. For example, animals, plants, scenery, etc.

当音频设备处于无网络连接状态时,数码管可显示在无网络连接状态时,提前预设好的动画,例如包括当前时间对应的时间动画,当前环境温度对应的温度动画等。When the audio device is not connected to the network, the digital tube can display the preset animation when there is no network connection, such as the time animation corresponding to the current time, the temperature animation corresponding to the current ambient temperature, etc.

本公开实施例中,数码管可以是由多个4位7段数码管组成。多个数码管之间水平横向依次衔接排布,能够联合在一起显示一个完整的目标动画。In the embodiment of the present disclosure, the digital tube can be composed of a plurality of 4-digit 7-segment digital tubes, which are arranged horizontally and laterally in sequence and can be combined to display a complete target animation.

本公开实施例中,音频设备可以是可进行语音交互的音箱,也可以是任何安装有语音交互装置的其他智能终端,例如能够语音识别的手表、水杯等。In the disclosed embodiments, the audio device may be a speaker capable of voice interaction, or may be any other intelligent terminal equipped with a voice interaction device, such as a watch or a water cup capable of voice recognition.

本公开实施例中的动画显示方法应用于具有数码管显示的音频设备。通过确定音频设备的当前使用状态;根据当前使用状态,确定待显示的目标动画;控制数码管显示目标动画。本申请中,基于对音频设备当前使用状态的确定,通过数码管对目标动画进行动画显示,可以实现在需要动画显示的时候通过数码管显示目标动画,不需要动画显示的时候通过数码管显示时间。通过数码管显示动画和时间,数字可读性强,成本低廉,还可以根据使用状态实现功能充分应用。The animation display method in the disclosed embodiment is applied to an audio device with a digital tube display. By determining the current use status of the audio device; determining the target animation to be displayed according to the current use status; and controlling the digital tube to display the target animation. In the present application, based on the determination of the current use status of the audio device, the target animation is animatedly displayed through the digital tube, so that the target animation can be displayed through the digital tube when the animation display is required, and the time can be displayed through the digital tube when the animation display is not required. By displaying animation and time through the digital tube, the digital readability is strong and the cost is low, and the function can be fully applied according to the use status.

在一些实施例中,所述根据所述当前使用状态,确定待显示的目标动画,包括:In some embodiments, determining a target animation to be displayed according to the current usage state includes:

若所述当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下,根据所述语音指令的内容,确定待显示的目标动画;If the current use state is: the audio device is in a response state in response to receiving a voice instruction, determining a target animation to be displayed according to the content of the voice instruction;

若所述当前使用状态为:所述音频设备处于无语音指令响应的状态下,根据当前时间确定待显示的所述目标动画。If the current usage state is: the audio device is in a state of no voice command response, the target animation to be displayed is determined according to the current time.

本公开实施例中,所述根据所述语音指令的内容,确定待显示的目标动画,包括:In the embodiment of the present disclosure, determining the target animation to be displayed according to the content of the voice instruction includes:

提取所述语音指令的内容中的关键字;Extracting keywords from the content of the voice instruction;

根据所述关键字,确定待显示的所述目标动画。The target animation to be displayed is determined according to the keyword.

本公开实施例中,在根据语音指令的内容,确定待显示的目标动画时,可根据语音指令的内容中的关键字,来确定待显示的所述目标动画。其中,所述关键字涉及的内容进行分类,分类后的关键字可以包括:动物类关键字、植物类关键字、场景类关键字等。不同类型的关键字表征不同类型的显示动画。例如,提取语音指令的内容中的关键字为飞机,则可控制数码管显示飞机的动画;例如,提取语音指令的内容中的关键字为大象,则可控制数码管显示大象的动画等。In the disclosed embodiment, when determining the target animation to be displayed according to the content of the voice instruction, the target animation to be displayed can be determined according to the keywords in the content of the voice instruction. The contents involved in the keywords are classified, and the classified keywords may include: animal keywords, plant keywords, scene keywords, etc. Different types of keywords represent different types of display animations. For example, if the keyword extracted from the content of the voice instruction is airplane, the digital tube can be controlled to display an animation of an airplane; for example, if the keyword extracted from the content of the voice instruction is elephant, the digital tube can be controlled to display an animation of an elephant, etc.

本公开实施例中,场景类关键字用于指示数码管上进行显示的目标动画的应用场景。例如,电影的宣传动画、赛事的宣传动画等。根据场景类关键字来确定出包含有应用场景的目标动画显示。例如,关键字为足球比赛,则可确定出目标动画中包含有某个足球赛事的场面。In the disclosed embodiment, the scene keyword is used to indicate the application scene of the target animation displayed on the digital tube. For example, the promotional animation of a movie, the promotional animation of an event, etc. The target animation display containing the application scene is determined according to the scene keyword. For example, if the keyword is football match, it can be determined that the target animation contains a scene of a football match.

本公开实施例中,音频设备处于无语音指令响应的状态下,根据当前时间确定待显示的目标动画。其中,根据当前时间确定的待显示的目标动画,至少包括:当前时间的时钟显示动画,和/或,与当前时间相关联的场景类动画。当前时间相关联的场景类动画,包括与当前时间相关联的电影院将要上映的电影,或当前时间相关联的即将举行的赛事等。In the disclosed embodiment, when the audio device is in a state of no voice command response, the target animation to be displayed is determined according to the current time. The target animation to be displayed determined according to the current time includes at least: a clock display animation of the current time, and/or a scene animation associated with the current time. The scene animation associated with the current time includes a movie to be shown in a cinema associated with the current time, or an upcoming event associated with the current time.

在一些实施例中,若所述音频设备的当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下,所述控制所述数码管显示所述目标动画,包括:In some embodiments, if the current use state of the audio device is: the audio device is in a response state in response to receiving a voice command, controlling the digital tube to display the target animation includes:

基于所述关键字,在预先存储的动画显示指令集中确定所述关键字对应的动画显示指令;Based on the keyword, determining the animation display instruction corresponding to the keyword in a pre-stored animation display instruction set;

基于所述动画显示指令,控制所述数码管显示所述目标动画,所述动画显示指令至少包含有驱动所述数码管亮暗的第一驱动信息。Based on the animation display instruction, the digital tube is controlled to display the target animation, and the animation display instruction at least includes first driving information for driving the digital tube to light up or darken.

本公开实施例中,可预先存储动画显示指令。不同的关键字对应不同的动画显示指令。当在语音指令的内容中提取出关键字后,可根据提取出的关键字确定出对应的动画显示指令;根据动画显示指令中包含的第一驱动信息可控制数码管中用于显示动画的LED的亮暗,从而通过LED亮暗来在数码管上显示目标动画。In the disclosed embodiment, animation display instructions may be pre-stored. Different keywords correspond to different animation display instructions. After keywords are extracted from the content of the voice instruction, the corresponding animation display instruction may be determined according to the extracted keywords; the brightness of the LED in the digital tube for displaying the animation may be controlled according to the first driving information contained in the animation display instruction, so that the target animation is displayed on the digital tube by the brightness of the LED.

本公开实施例中,预先存储的动画显示指令集中可包含有对应各种关键字的动画显示指令。例如,包括对应动物类关键字的第一动画显示指令、对应植物类关键字的第二动画显示指令、对应场景类关键字的第三动画显示指令。通过不同的动画显示指令控制数码管进行对应的动画显示。In the disclosed embodiment, the pre-stored animation display instruction set may include animation display instructions corresponding to various keywords. For example, it includes a first animation display instruction corresponding to an animal keyword, a second animation display instruction corresponding to a plant keyword, and a third animation display instruction corresponding to a scene keyword. Different animation display instructions are used to control the digital tube to perform corresponding animation display.

在一些实施例中,若接收到的所述语音指令为语音唤醒指令,则根据所述语音唤醒指令,控制所述数码管显示预先设置的目标动画,其中,所述语音唤醒指令用于唤醒所述音频设备处于对至少包含有所述关键字的语音指令的响应状态。In some embodiments, if the received voice instruction is a voice wake-up instruction, the digital tube is controlled to display a pre-set target animation according to the voice wake-up instruction, wherein the voice wake-up instruction is used to wake up the audio device to be in a response state to a voice instruction that at least contains 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 to respond to a voice command that at least includes the keyword. When the audio device is in a ready state to respond to a voice command that at least includes the keyword, a pre-set target animation can be displayed through the data pipe.

在一些实施例中,所述控制所述数码管显示所述目标动画,包括:In some embodiments, controlling the digital tube to display the target animation includes:

确定动态显示所述目标动画的渐变过程曲线;Determine a gradual change process curve for dynamically displaying the target animation;

根据所述渐变过程曲线,控制所述数码管动态显示所述目标动画;所述渐变过程曲线用于指示所述动画在所述数码管上的动态显示过程。According to the gradual change process curve, the digital tube is controlled to dynamically display the target animation; the gradual change process curve is used to indicate the dynamic display process of the animation on the digital tube.

本公开实施例中,确定动态显示所述目标动画的渐变过程曲线,包括:根据提取的关键字,确定所述渐变过程曲线。根据提取的关键字,确定所述渐变过程曲线,包括根据关键字表征的动画类型,确定渐变过程曲线。In the embodiment of the present disclosure, determining the gradual change process curve for dynamically displaying the target animation includes: determining the gradual change process curve according to the extracted keywords. Determining the gradual change process curve according to the extracted keywords includes determining the gradual change process curve according to the animation type represented by the keywords.

例如,当提取的关键字为动物类关键字,则确定渐变过程曲线为第一渐变过程曲线,所述第一渐变过程曲线;当提取的关键字为植物类关键字,则确定渐变过程曲线为第二渐变过程曲线;当提取的关键字为场景类关键字,则确定渐变过程曲线为第三渐变过程曲线,其中,第一渐变过程曲线、第二渐变过程曲线和第三渐变过程曲线所表征所述动画在所述数码管上的动态显示过程彼此均不同。其中,第一渐变过程曲线、第二渐变过程曲线和第三渐变过程曲线所分别第一的曲线斜率变化可不同。图2是根据一示例性实施例示出的渐变过程曲线示意图。例如,第一渐变过程曲线可以为如图2所示的柔和S型渐变曲线;第二渐变过程曲线可以为斜率不变的直线等。第一渐变过程曲线、第二渐变过程曲线和第三渐变过程曲线分别指示目标动画在所述数码管上的动态显示过程不同,可具有不同的渐变速率。例如,对应于动物类动画的第一渐变过程曲线,斜率变化比较平缓,则在进行动物类动画显示时,渐变过程就比较平缓、柔和。对应于植物类动画的第二渐变过程曲线,斜率变化相对陡峭,则在进行植物类动画显示时,渐变过程就比较紧凑。For example, when the extracted keyword is an animal keyword, the gradient process curve is determined to be the first gradient process curve; when the extracted keyword is a plant keyword, the gradient process curve is determined to be the second gradient process curve; when the extracted keyword is a scene keyword, the gradient process curve is determined to be the third gradient process curve, wherein the first gradient process curve, the second gradient process curve and the third gradient process curve represent the dynamic display process of the animation on the digital tube, which are different from each other. Among them, the first gradient process curve, the second gradient process curve and the third gradient process curve respectively have different curve slope changes. Figure 2 is a schematic diagram of a gradient process curve according to an exemplary embodiment. For example, the first gradient process curve can be a soft S-shaped gradient curve as shown in Figure 2; the second gradient process curve can be a straight line with a constant slope, etc. The first gradient process curve, the second gradient process curve and the third gradient process curve respectively indicate that the dynamic display process of the target animation on the digital tube is different and can have different gradient rates. For example, the first gradual change process curve corresponding to the animal animation has a relatively gentle slope change, so when the animal animation is displayed, the gradual change process is relatively gentle and soft. The second gradual change process curve corresponding to the plant animation has a relatively steep slope change, so when the plant animation is displayed, the gradual change process is relatively compact.

本公开实施例中,渐变过程曲线的横轴代表时间,纵轴代表数码管显示目标动画时,LED点亮的变化过程。整个渐变过程曲线可表征动画在所述数码管上的动态显示过程。In the disclosed embodiment, the horizontal axis of the gradual change process curve represents time, and the vertical axis represents the change process of LED lighting when the digital tube displays the target animation. The entire gradual change process curve can represent the dynamic display process of the animation on the digital tube.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

确定所述动画在所述数码管上的动态显示过程为多个依次连续的动态显示过渡过程;Determine that the dynamic display process of the animation on the digital tube is a plurality of sequentially continuous dynamic display transition processes;

在各所述动态显示过渡过程,均根据所述渐变过程曲线进行所述动画的动态显示,其中各所述动态显示过渡过程均为所述动画的动态显示过程中的部分动态显示。In each of the dynamic display transition processes, the dynamic display of the animation is performed according to the gradual change process curve, wherein each of the dynamic display transition processes is a partial dynamic display in the dynamic display process of the animation.

本公开实施例中,图3是根据一示例性实施例示出的动画渐变过程示意图。如图3所示,可将动画在所述数码管上的动态显示过程为多个依次连续的动态显示过渡过程。各所述动态显示过渡过程均为所述动画的动态显示过程中的部分动态显示。如图所示,可将目标动画的显示状态确定为6个显示状态,包括刚开始没有任何显示的第一显示状态到完全显示的第六显示状态。第一显示状态和第六显示状态之间可包括有未完全显示的第二显示状态、第三显示状态、第四显示状态、第五显示状态。其中,第一显示状态至第六显示状态,各显示状态的动画显示完成度,依次递增。其中,第一显示状态到第二显示状态的动态显示过程即为第一动态显示过渡过程,第二显示状态到第三显示状态的动态显示过程即为第二动态显示过渡过程,依次类推。In the embodiment of the present disclosure, FIG. 3 is a schematic diagram of an animation gradient process according to an exemplary embodiment. As shown in FIG. 3, the dynamic display process of the animation on the digital tube can be a plurality of sequentially continuous dynamic display transition processes. Each of the dynamic display transition processes is a partial dynamic display in the dynamic display process of the animation. As shown in the figure, the display state of the target animation can be determined as 6 display states, including the first display state without any display at the beginning to the sixth display state of full display. The first display state and the sixth display state may include the second display state, the third display state, the fourth display state, and the fifth display state that are not fully displayed. Among them, from the first display state to the sixth display state, the animation display completion degree of each display state increases in sequence. Among them, the dynamic display process from the first display state to the second display state is the first dynamic display transition process, and 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, controlling the digital tube to dynamically display the target animation according to the gradual change process curve includes:

根据所述渐变过程曲线,控制所述数码管上用于显示所述动画的LED的亮度。According to the gradual change process curve, the brightness of the LED on the digital tube for displaying the animation is controlled.

本公开实施例中,在各动态显示过渡过程中在对数码管的LED进行亮暗控制时,均可根据渐变过程曲线,来控制用于动画显示的各LED的亮度。例如,在第一动态显示过渡过程中,由第一显示状态到第二显示状态的动态显示时,需要控制三个LED的亮度。即需要依次点亮三个LED,来实现第一显示状态到第二显示状态的动态显示,则此时依次点亮每个LED时,均可根据渐变过程曲线来控制每个LED点亮时的亮度变化。此时,整个渐变过程曲线可表征每个LED点亮时的亮度渐变过程。即在实现第一显示状态到第二显示状态的动态显示时,可根据渐变过程曲线点亮第一个LED,再根据渐变过程曲线点亮第二个LED,然后根据渐变过程曲线点亮第三个LED。其中,每个数码管均由LED组成,为4位7段数码管。In the disclosed embodiment, when the brightness of the LED of the digital tube is controlled during each dynamic display transition process, the brightness of each LED used for animation display can be controlled according to the gradual process curve. For example, during the first dynamic display transition process, when the dynamic display is from the first display state to the second display state, the brightness of three LEDs needs to be controlled. That is, it is necessary to light up three LEDs in sequence to realize the dynamic display from the first display state to the second display state. At this time, when each LED is lit in sequence, the brightness change of each LED when it is lit can be controlled according to the gradual process curve. At this time, the entire gradual process curve can characterize the brightness gradual change process when each LED is lit. That is, when realizing the dynamic display from the first display state to the second display state, the first LED can be lit according to the gradual process curve, and then the second LED can be lit according to the gradual process curve, and then the third LED can be lit according to the gradual process curve. Among them, each digital tube is composed of LEDs, which are 4-bit 7-segment digital tubes.

在一些实施例中,所述提取所述语音指令的内容中的关键字,包括:In some embodiments, extracting keywords from the content of the voice instruction includes:

对所述语音指令进行解析,得到所述语音指令的内容中包含的关键字。The voice command is parsed to obtain keywords contained in the content of the voice command.

本公开实施例中,可通过解析获取的语音指令来,确定出语音指令的内容中包含的关键字。然后,通过关键字来确定对应显示的目标动画。In the disclosed embodiment, the acquired voice command can be analyzed to determine the keywords contained in the content of the voice command, and then the corresponding target animation to be displayed can be determined based on the keywords.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

所述音频设备处于无语音指令响应的状态下时,控制所述数码管显示根据所述当前时间确定的待显示的目标动画。When the audio device is in a state of no voice command response, the digital tube is controlled to display a target animation to be displayed determined according to the current time.

本公开实施例中,音频设备处于无语音指令响应的状态下时,可控制数码管显示根据当前时间确定的待显示的目标动画,包括:显示当前时间的时钟显示动画,和/或,显示与当前时间相关联的场景类动画。例如,显示当前时间相关联的场景类动画,包括与当前时间相关联的电影院将要上映的电影宣传动画,或当前时间相关联的即将举行的赛事的宣传动画等。In the disclosed embodiment, when the audio device is in a state of no voice command response, the digital tube can be controlled to display the target animation to be displayed according to the current time, including: displaying the clock display animation of the current time, and/or displaying the scene animation associated with the current time. For example, the scene animation associated with the current time is displayed, including the promotional animation of the movie to be shown in the cinema associated with the current time, or the promotional animation of the upcoming event associated with the current time, etc.

在一些实施例中,所述控制所述数码管显示根据所述当前时间确定的待显示的目标动画,包括:In some embodiments, controlling the digital tube to display a target animation to be displayed determined according to the current time includes:

基于所述当前时间,确定出用于控制所述数码管显示所述当前时间对应目标动画的时间显示指令;Based on the current time, determining a time display instruction for controlling the digital tube to display a target animation corresponding to the current time;

基于所述时间显示指令,控制所述数码管显示所述当前时间对应的目标动画,其中所述时间显示指令至少包含有驱动所述数码管亮暗的第二驱动信息。Based on the time display instruction, the digital tube is controlled to display the target animation corresponding to the current time, wherein the time display instruction at least includes second driving information for driving the digital tube to light up or darken.

本公开实施例中,基于当前时间确定出的时间显示指令中至少包含有第二驱动信息。通过第二驱动信息可驱动数码管中LED的亮度,来显示当前时间。图4是根据一示例性实施例示出的数码管时间显示示意图。如图4所示,通过数码管来显示当前时间,数字可读性强,显示清晰。易于读取。In the disclosed embodiment, the time display instruction determined based on the current time contains at least the second driving information. The brightness of the LED in the digital tube can be driven by the second driving information to display the current time. FIG. 4 is a schematic diagram of a digital tube time display according to an exemplary embodiment. As shown in FIG. 4, the current time is displayed by a digital tube, and the digital readability is strong and the display is clear. It is easy to read.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

所述目标动画显示完成后,调用动画关闭指令关闭所述动画显示画面。After the target animation is displayed, an animation close instruction is called to close the animation display screen.

本公开实施例中,可提前预置用于关闭显示界面的动画关闭指令,来关闭动画显示画面。例如,可通过动画关闭指令来使得数码管中LED变暗,从而不再显示动画,便于为显示下一个目标动画做准备。In the disclosed embodiment, an animation closing instruction for closing the display interface can be preset in advance to close the animation display screen. For example, the animation closing instruction can be used to dim the LED in the digital tube so that the animation is no longer displayed, so as to prepare for displaying the next target animation.

本公开实施例的第二方面提供一种动画显示装置,应用于音频设备,其中,所述音频设备包含:用于能够显示时间的数码管。图5是根据一示例性实施例示出的一种动画显示装置结构示意图。如图5所示,所述装置包括:A second aspect of the embodiments of the present disclosure provides an animation display device, which is applied to an audio device, wherein the audio device comprises: a digital tube capable of displaying time. FIG5 is a schematic diagram of the structure of an animation display device according to an exemplary embodiment. As shown in FIG5 , the device comprises:

第一确定模块51,用于确定所述音频设备的当前使用状态;A first determining module 51, used to determine the current usage status of the audio device;

第二确定模块52,用于根据所述当前使用状态,确定待显示的目标动画;A second determining module 52, configured to determine a target animation to be displayed according to the current use state;

控制模块53,用于控制所述数码管显示所述目标动画。The control module 53 is used to control the digital tube to display the target animation.

本公开实施例中,音频设备的当前使用状态至少包括:音频设备处于响应于接收到语音指令的响应状态,和/或,所述音频设备处于无语音指令响应的状态。当音频设备处于响应于接收到语音指令的响应状态时,可根据语音指令确定待显示的目标动画,此时数码管显示根据语音指令确定的目标动画。In the embodiment of the present disclosure, the current use state of the audio device at least includes: the audio device is in a response state in response to receiving a voice command, and/or the audio device is in a state of not responding to the voice command. When the audio device is in a response state in response to receiving a voice command, the target animation to be displayed can be determined according to the voice command, and the digital tube displays the target animation determined according to the voice command.

当音频设备处于无语音指令响应的状态时,数码管可显示在无语音指令时,提前预设好的动画,例如包括当前时间对应的时间动画,当前环境温度对应的温度动画,当前天气对应的天气动画等。When the audio device is in a state of no voice command response, the digital tube can display animations preset in advance when there is no voice command, such as time animation corresponding to the current time, temperature animation corresponding to the current ambient temperature, weather animation corresponding to the current weather, etc.

本公开实施例中,音频设备的当前使用状态至少还包括:音频设备处于网络连接状态,和/或,所述音频设备处于无网络状态。当音频设备处于连接状态时,可根据从网络中获取的显示指令确定待显示的目标动画,此时数码管显示根据显示指令确定的目标动画。从网络连接中获取的显示指令可包括显示具体物体的动画,或具体场景的动画。例如动物、植物、风景等。In the disclosed embodiment, the current use state of the audio device at least includes: the audio device is in a network connection state, and/or the audio device is in a network-free state. When the audio device is in a connection state, the target animation to be displayed can be determined according to the display instruction obtained from the network, and the digital tube displays the target animation determined according to the display instruction. The display instruction obtained from the network connection may include an animation of a specific object, or an animation of a specific scene. For example, animals, plants, scenery, etc.

当音频设备处于无网络连接状态时,数码管可显示在无网络连接状态时,提前预设好的动画,例如包括当前时间对应的时间动画,当前环境温度对应的温度动画,当前天气对应的天气动画等。When the audio device is not connected to the network, the digital tube can display the preset animations when there is no network connection, such as the time animation corresponding to the current time, the temperature animation corresponding to the current ambient temperature, the weather animation corresponding to the current weather, etc.

本公开实施例中的动画显示装置应用于具有数码管显示的音频设备。通过确定音频设备的当前使用状态;根据当前使用状态,确定待显示的目标动画;控制数码管显示目标动画。本申请中,基于对音频设备当前使用状态的确定,通过数码管对目标动画进行动画显示,可以实现在需要动画显示的时候通过数码管显示目标动画,不需要动画显示的时候通过数码管显示时间。通过数码管显示动画和时间,数字可读性强,成本低廉,还可以根据使用状态实现功能充分应用。The animation display device in the disclosed embodiment is applied to an audio device with a digital tube display. By determining the current use status of the audio device; determining the target animation to be displayed according to the current use status; and controlling the digital tube to display the target animation. In the present application, based on the determination of the current use status of the audio device, the target animation is animatedly displayed through the digital tube, so that the target animation can be displayed through the digital tube when the animation display is required, and the time can be displayed through the digital tube when the animation display is not required. By displaying animation and time through the digital tube, the digital readability is strong and the cost is low, and the function can be fully applied according to the use status.

在一些实施例中,所述第二确定模块,具体用于In some embodiments, the second determining module is specifically configured to

若所述当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下,根据所述语音指令的内容,确定待显示的目标动画;If the current use state is: the audio device is in a response state in response to receiving a voice instruction, determining a target animation to be displayed according to the content of the voice instruction;

若所述当前使用状态为:所述音频设备处于无语音指令响应的状态下,根据当前时间确定待显示的所述目标动画。If the current usage state is: the audio device is in a state of no voice command response, 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 further configured to

提取所述语音指令的内容中的关键字;Extracting keywords from the content of the voice instruction;

根据所述关键字,确定待显示的所述目标动画。The target animation to be displayed is determined according to the keyword.

本公开实施例中,在根据语音指令的内容,确定待显示的目标动画时,可根据语音指令的内容中的关键字,来确定待显示的所述目标动画。其中,所述关键字可以包括:动物类关键字、植物类关键字、场景类关键字等。不同类型的关键字表征不同类型的显示动画。例如,提取语音指令的内容中的关键字为飞机,则可控制数码管显示飞机的动画;例如,提取语音指令的内容中的关键字为大象,则可控制数码管显示大象的动画等。In the disclosed embodiment, when determining the target animation to be displayed according to the content of the voice instruction, the target animation to be displayed can be determined according to the keywords in the content of the voice instruction. Among them, the keywords may include: animal keywords, plant keywords, scene keywords, etc. Different types of keywords represent different types of display animations. For example, if the keyword extracted from the content of the voice instruction is airplane, the digital tube can be controlled to display the animation of the airplane; for example, if the keyword extracted from the content of the voice instruction is elephant, the digital tube can be controlled to display the animation of the elephant, etc.

本公开实施例中,音频设备处于无语音指令响应的状态下,根据当前时间确定待显示的目标动画。其中,根据当前时间确定的待显示的目标动画,至少包括:当前时间的时钟显示动画,和/或,与当前时间相关联的场景类动画。当前时间相关联的场景类动画,包括与当前时间相关联的电影院将要上映的电影,或当前时间相关联的即将举行的赛事等。In the disclosed embodiment, when the audio device is in a state of no voice command response, the target animation to be displayed is determined according to the current time. The target animation to be displayed determined according to the current time includes at least: a clock display animation of the current time, and/or a scene animation associated with the current time. The scene animation associated with the current time includes a movie to be shown in a cinema associated with the current time, or an upcoming event associated with the current time.

在一些实施例中,所述控制模块,具体用于In some embodiments, the control module is specifically used to

若所述音频设备的当前使用状态为:所述音频设备处于响应于接收到语音指令的响应状态下时,基于所述关键字,在预先存储的动画显示指令集中确定所述关键字对应的动画显示指令;If the current use state of the audio device is: when the audio device is in a response state in response to receiving a voice command, based on the keyword, determining an animation display instruction corresponding to the keyword in a pre-stored animation display instruction set;

基于所述动画显示指令,控制所述数码管显示所述目标动画,所述动画显示指令至少包含有驱动所述数码管亮暗的第一驱动信息。Based on the animation display instruction, the digital tube is controlled to display the target animation, and the animation display instruction at least includes first driving information for driving the digital tube to light up or darken.

本公开实施例中,可预先存储动画显示指令。不同的关键字对应不同的动画显示指令。当在语音指令的内容中提取出关键字后,可根据提取出的关键字确定出对应的动画显示指令;根据动画显示指令中包含的第一驱动信息可控制数码管中用于显示动画的LED的亮暗,从而通过LED亮暗来在数码管上显示目标动画。In the disclosed embodiment, animation display instructions may be pre-stored. Different keywords correspond to different animation display instructions. After keywords are extracted from the content of the voice instruction, the corresponding animation display instruction may be determined according to the extracted keywords; the brightness of the LED in the digital tube for displaying the animation may be controlled according to the first driving information contained in the animation display instruction, so that the target animation is displayed on the digital tube by the brightness of the LED.

本公开实施例中,预先存储的动画显示指令集中可包含有对应各种关键字的动画显示指令。例如,包括对应动物类关键字的第一动画显示指令、对应植物类关键字的第二动画显示指令、对应场景类关键字的第三动画显示指令。通过不同的动画显示指令控制数码管进行对应的动画显示。In the disclosed embodiment, the pre-stored animation display instruction set may include animation display instructions corresponding to various keywords. For example, it includes a first animation display instruction corresponding to an animal keyword, a second animation display instruction corresponding to a plant keyword, and a third animation display instruction corresponding to a scene keyword. Different animation display instructions are used to control the digital tube to perform corresponding animation display.

在一些实施例中,若接收到的所述语音指令为语音唤醒指令,则所述控制模块,具体用于根据所述语音唤醒指令,控制所述数码管显示预先设置的目标动画,其中,所述语音唤醒指令用于唤醒所述音频设备处于对至少包含有所述关键字的语音指令的响应状态。In some embodiments, if the received voice command is a voice wake-up command, the control module is specifically used to control the digital tube to display a pre-set target animation according to the voice wake-up command, wherein the voice wake-up command is used to wake up the audio device to be in a response state to a voice command that at least contains 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 to respond to a voice command that at least includes the keyword. When the audio device is in a ready state to respond to a voice command that at least includes the keyword, a pre-set target animation can be displayed through the data pipe.

在一些实施例中,所述控制模块,具体用于In some embodiments, the control module is specifically used to

确定动态显示所述目标动画的渐变过程曲线;Determine a gradual change process curve for dynamically displaying the target animation;

根据所述渐变过程曲线,控制所述数码管动态显示所述目标动画;所述渐变过程曲线用于指示所述动画在所述数码管上的动态显示过程。According to the gradual change process curve, the digital tube is controlled to dynamically display the target animation; the gradual change process curve is used to indicate the dynamic display process of the animation on the digital tube.

本公开实施例中,确定动态显示所述目标动画的渐变过程曲线,包括:根据提取的关键字,确定所述渐变过程曲线。根据提取的关键字,确定所述渐变过程曲线,包括根据关键字表征的动画类型,确定渐变过程曲线。In the embodiment of the present disclosure, determining the gradual change process curve for dynamically displaying the target animation includes: determining the gradual change process curve according to the extracted keywords. Determining the gradual change process curve according to the extracted keywords includes determining the gradual change process curve according to the animation type represented by the keywords.

例如,当提取的关键字为动物类关键字,则确定渐变过程曲线为第一渐变过程曲线,所述第一渐变过程曲线;当提取的关键字为植物类关键字,则确定渐变过程曲线为第二渐变过程曲线;当提取的关键字为场景类关键字,则确定渐变过程曲线为第三渐变过程曲线,其中,第一渐变过程曲线、第二渐变过程曲线和第三渐变过程曲线所表征所述动画在所述数码管上的动态显示过程彼此均不同。其中,第一渐变过程曲线、第二渐变过程曲线和第三渐变过程曲线所分别第一的曲线斜率变化可不同。例如,第一渐变过程曲线可以为柔和S型渐变曲线;第二渐变过程曲线可以为斜率不变的直线等。For example, when the extracted keyword is an animal keyword, the gradient process curve is determined to be the first gradient process curve; when the extracted keyword is a plant keyword, the gradient process curve is determined to be the second gradient process curve; when the extracted keyword is a scene keyword, the gradient process curve is determined to be the third gradient process curve, wherein the first gradient process curve, the second gradient process curve and the third gradient process curve represent the dynamic display process of the animation on the digital tube, which are different from each other. Among them, the first gradient process curve, the second gradient process curve and the third gradient process curve may have different curve slope changes. For example, the first gradient process curve may be a soft S-shaped gradient curve; the second gradient process curve may be a straight line with a constant slope, etc.

本公开实施例中,渐变过程曲线的横轴代表时间,纵轴代表数码管显示目标动画时,LED点亮的变化过程。整个渐变过程曲线可表征动画在所述数码管上的动态显示过程。In the disclosed embodiment, the horizontal axis of the gradual change process curve represents time, and the vertical axis represents the change process of LED lighting when the digital tube displays the target animation. The entire gradual change process curve can represent the dynamic display process of the animation on the digital tube.

在一些实施例中,所述控制模块,具体还用于In some embodiments, the control module is further used to

确定所述动画在所述数码管上的动态显示过程为多个依次连续的动态显示过渡过程;Determine that the dynamic display process of the animation on the digital tube is a plurality of sequentially continuous dynamic display transition processes;

在各所述动态显示过渡过程,均根据所述渐变过程曲线进行所述动画的动态显示,其中各所述动态显示过渡过程均为所述动画的动态显示过程中的部分动态显示。In each of the dynamic display transition processes, the dynamic display of the animation is performed according to the gradual change process curve, wherein each of the dynamic display transition processes is a partial dynamic display in the dynamic display process of the animation.

本公开实施例中,可将动画在所述数码管上的动态显示过程为多个依次连续的动态显示过渡过程。各所述动态显示过渡过程均为所述动画的动态显示过程中的部分动态显示。如图所示,可将目标动画的显示状态确定为6个显示状态,包括刚开始没有任何显示的第一显示状态到完全显示的第六显示状态,其中,第一显示状态和第六显示状态之间可包括有未完全显示的第二显示状态、第三显示状态、第四显示状态、第五显示状态。其中,第一显示状态到第二显示状态的动态显示过程即为第一动态显示过渡过程,第二显示状态到第三显示状态的动态显示过程即为第二动态显示过渡过程,依次类推。In the disclosed embodiment, the dynamic display process of the animation on the digital tube can be a plurality of sequentially continuous dynamic display transition processes. Each of the dynamic display transition processes is a partial dynamic display in the dynamic display process of the animation. As shown in the figure, the display state of the target animation can be determined as 6 display states, including a first display state without any display at the beginning to a sixth display state of full display, wherein the first display state and the sixth display state may include a second display state, a third display state, a fourth display state, and a fifth display state that are not fully displayed. Among them, the dynamic display process from the first display state to the second display state is the first dynamic display transition process, and 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 used to

根据所述渐变过程曲线,控制所述数码管上用于显示所述动画的LED的亮度。According to the gradual change process curve, the brightness of the LED on the digital tube for displaying the animation is controlled.

本公开实施例中,在各动态显示过渡过程中在对数码管的LED进行亮暗控制时,均可根据渐变过程曲线,来控制用于动画显示的各LED的亮度。例如,在第一动态显示过渡过程中,由第一显示状态到第二显示状态的动态显示时,需要控制三个LED的亮度。即需要依次点亮三个LED,来实现第一显示状态到第二显示状态的动态显示,则此时依次点亮每个LED时,均可根据渐变过程曲线来控制每个LED点亮时的亮度变化。此时,整个渐变过程曲线可表征每个LED点亮时的亮度渐变过程。即在实现第一显示状态到第二显示状态的动态显示时,可根据渐变过程曲线点亮第一个LED,再根据渐变过程曲线点亮第二个LED,然后根据渐变过程曲线点亮第三个LED。In the disclosed embodiments, when the brightness of the LEDs of the digital tubes is controlled during each dynamic display transition process, the brightness of each LED used for animation display can be controlled according to the gradual process curve. For example, during the first dynamic display transition process, when the dynamic display is from the first display state to the second display state, the brightness of three LEDs needs to be controlled. That is, the three LEDs need to be lit in sequence to realize the dynamic display from the first display state to the second display state. At this time, when each LED is lit in sequence, the brightness change of each LED when it is lit can be controlled according to the gradual process curve. At this time, the entire gradual process curve can characterize the brightness gradual change process when each LED is lit. That is, when realizing the dynamic display from the first display state to the second display state, the first LED can be lit according to the gradual process curve, and then the second LED can be lit according to the gradual process curve, and then the third LED can be lit according to the gradual process curve.

在一些实施例中,所述控制模块,还具体用于所述音频设备处于无语音指令响应的状态下时,控制所述数码管显示根据所述当前时间确定的待显示的目标动画。In some embodiments, the control module is further specifically used to control the digital tube to display a target animation to be displayed determined according to the current time when the audio device is in a state of no voice command response.

本公开实施例中,音频设备处于无语音指令响应的状态下时,可控制数码管显示根据当前时间确定的待显示的目标动画,包括:显示当前时间的时钟显示动画,和/或,显示与当前时间相关联的场景类动画。例如,显示当前时间相关联的场景类动画,包括与当前时间相关联的电影院将要上映的电影宣传动画,或当前时间相关联的即将举行的赛事的宣传动画等。In the disclosed embodiment, when the audio device is in a state of no voice command response, the digital tube can be controlled to display the target animation to be displayed according to the current time, including: displaying the clock display animation of the current time, and/or displaying the scene animation associated with the current time. For example, the scene animation associated with the current time is displayed, including the promotional animation of the movie to be shown in the cinema associated with the current time, or the promotional animation of the upcoming event associated with the current time, etc.

在一些实施例中,所述控制模块,还具体用于In some embodiments, the control module is further specifically used to

基于所述当前时间,确定出用于控制所述数码管显示所述当前时间对应目标动画的时间显示指令;Based on the current time, determining a time display instruction for controlling the digital tube to display a target animation corresponding to the current time;

基于所述时间显示指令,控制所述数码管显示所述当前时间对应的目标动画,其中所述时间显示指令至少包含有驱动所述数码管亮暗的第二驱动信息。Based on the time display instruction, the digital tube is controlled to display the target animation corresponding to the current time, wherein the time display instruction at least includes second driving information for driving the digital tube to light up or darken.

本公开实施例中,基于当前时间确定出的时间显示指令中至少包含有第二驱动信息。通过第二驱动信息可驱动数码管中LED的亮度,来显示当前时间。通过数码管来显示当前时间,数字可读性强,显示清晰。易于读取。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 digital tube can be driven by the second driving information to display the current time. The digital tube displays the current time with high digital readability and clear display. It is easy to read.

本申请选用数码管代替点阵屏来进行动画显示,成本较低,既可在语音设备上实现动画交互,丰富人机交互,又可实现时钟清晰显示的功能。This application uses a digital tube instead of a dot matrix screen for animation display, which is low-cost and can not only realize animation interaction on voice devices to enrich human-computer interaction, but also realize the function of clear clock display.

本公开实施例还提供一种终端,包括:数码管、处理器和存储器,所述存储器上存储有能够在处理器上运行的计算机程序,所述处理器用于运行所述计算机程序时,执行各实施例所述方法的步骤。The embodiment of the present disclosure further provides a terminal, including: a digital tube, a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and the processor is used to execute the steps of the method described in each embodiment when running the computer program.

图6是根据一示例性实施例示出的一种动画显示终端结构示意图。如图6所示,本公开实施例还提供一种终端,包括动画显示模块、语音处理模块、中央协调模块以及存储模块。动画显示模块,用于显示目标动画;语音处理模块,用于解析获取的语音指令,提取关键字;中央协调模块,用于根据提取的关键字确定目标动画,控制动画显示模块进行目标动画显示;存储模块,用于预先存储动画显示指令集等数据。FIG6 is a schematic diagram of the structure of an animation display terminal according to an exemplary embodiment. As shown in FIG6, the embodiment of the present disclosure also provides a terminal, including an animation display module, a voice processing module, a central coordination module and a storage module. The animation display module is used to display the target animation; the voice processing module is used to parse the acquired voice instructions and extract keywords; the central coordination module is used to determine the target animation according to the extracted keywords and control the animation display module to display the target animation; the storage module is used to pre-store data such as the animation display instruction set.

图7是根据一示例性实施例示出的一种动画显示流程图。如图7所示,动画显示流程包括:Fig. 7 is a flowchart of an animation display according to an exemplary embodiment. As shown in Fig. 7, the animation display process includes:

步骤71、存储动画显示指令集和时间指令集;Step 71, storing the animation display instruction set and the time instruction set;

步骤72、根据获取的网络时间和时间指令集展示时钟画面;Step 72: Display a clock screen according to the acquired network time and time instruction set;

步骤73、确定是否接收到用户语音唤醒指令;Step 73: Determine whether a user voice wake-up command is received;

步骤74、接收到用户语音唤醒指令,则关闭时钟画面,展示预先设置的动画交互画面,否则展示时钟画面;Step 74: upon receiving a user voice wake-up command, the clock screen is closed and a preset animation interactive screen is displayed; otherwise, the clock screen is displayed;

步骤75、获取、识别、解析语音指令,并继续显示预先设置的动画交互画面;Step 75: Acquire, recognize, and parse the voice command, and continue to display the preset animation interaction screen;

步骤76、获取解析结果,展示目标动画;Step 76: Get the analysis result and display the target animation;

步骤77、根据解析结果应答播报,结束目标动画显示。Step 77: respond to the broadcast according to the analysis result and end the target animation display.

本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现各实施例所述方法的步骤。The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method described in each embodiment when executed by a processor.

图8是根据一示例性实施例示出的一种终端设备的框图。例如,终端设备可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 8 is a block diagram of a terminal device according to an exemplary 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, etc.

参照图8,终端设备可以包括以下一个或多个组件:处理组件802,存储器804,电力组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。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 .

处理组件802通常控制终端设备的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the terminal device, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

存储器804被配置为存储各种类型的数据以支持在终端设备的操作。这些数据的示例包括用于在终端设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations on the terminal device. Examples of such data include instructions for any application or method operating on the terminal device, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

电力组件806为终端设备的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为终端设备生成、管理和分配电力相关联的组件。The power component 806 provides power to various components of the terminal device. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device.

多媒体组件808包括在终端设备和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当终端设备处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。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 input signals from the 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 boundaries of the 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 camera and/or a rear camera. When the terminal device is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may 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.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当终端设备处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal device is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为终端设备提供各个方面的状态评估。例如,传感器组件814可以检测到终端设备的打开/关闭状态,组件的相对定位,例如组件为终端设备的显示器和小键盘,传感器组件814还可以检测终端设备或终端设备一个组件的位置改变,用户与终端设备接触的存在或不存在,终端设备方位或加速/减速和终端设备的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal device. For example, the sensor assembly 814 can detect the open/closed state of the terminal device, the relative positioning of components, such as the display and keypad of the terminal device, and the sensor assembly 814 can also detect the position change 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 temperature change of the terminal device. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical 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 accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件816被配置为便于终端设备和其他设备之间有线或无线方式的通信。终端设备可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the terminal device and other devices. The terminal device can 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, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,终端设备可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。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, microcontrollers, microprocessors, or other electronic components to perform the above method.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the exact structures that have been 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.

Claims (16)

1. An animation display method, characterized by being applied to an audio device, wherein the audio device comprises: the nixie tube is used for displaying time; the method comprises the following steps:
Determining a current use state of the audio device; the current use state includes: the audio device is in a response state in response to receiving a voice command;
determining a target animation to be displayed according to the current use state;
Controlling the nixie tube to display the target animation, including: determining a gradual change process curve according to the extracted keywords in the voice instruction; according to the gradual change process curve, controlling the brightness of an LED (light-emitting diode) on the nixie tube for displaying the target animation;
the gradual change process curve is used for indicating a dynamic display process of the target animation on the nixie tube; the change of the curve slope of the gradual change process curve determined according to different keywords is different.
2. The animation display method according to claim 1, wherein the determining the target animation to be displayed according to the current use state comprises:
If the current use state is: the audio equipment is in a response state of responding to the received voice command, and determines a target animation to be displayed according to the content of the voice command;
if the current use state is: 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.
3. The animation display method according to claim 2, wherein the determining the target animation to be displayed according to the content of the voice command comprises:
Extracting keywords in the content of the voice instruction;
and determining the target animation to be displayed according to the keywords.
4. The animation method of claim 1, wherein if the current usage status of the audio device is: the audio device is in a response state in response to receiving a voice command, and the control of the nixie tube to display the target animation comprises the following steps:
based on the keywords, determining animation display instructions corresponding to the keywords in a prestored animation display instruction set;
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.
5. The animation display method according to claim 4, wherein if the received voice command is a voice wake-up command, the nixie tube is controlled to display a preset target animation according to the voice wake-up command, wherein the voice wake-up command is used for waking up the audio device in a response state to the voice command at least including the keyword.
6. The animation display method according to claim 1, characterized in that the method further comprises:
determining that the dynamic display process of the animation on the nixie tube is a plurality of sequentially continuous dynamic display transition processes;
And in each dynamic display transition process, carrying out dynamic display of the animation according to the gradual change process curve, wherein each dynamic display transition process is part of dynamic display in the dynamic display process of the animation.
7. The animation display method according to claim 2, wherein the audio device is in a state of no response to a voice command, and controlling the nixie tube to display the target animation comprises:
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.
8. An animation display device, characterized by being applied to an audio device, wherein the audio device comprises: the nixie tube is used for displaying time; the device comprises:
A first determining module, configured to determine a current usage state of the audio device;
the second determining module is used for determining a target animation to be displayed according to the current use state;
The control module is used for controlling the nixie tube to display the target animation, and comprises the following steps: if the current use state is: the audio equipment is in a response state in response to receiving a voice instruction, and a gradual change process curve is determined according to the extracted keywords in the voice instruction; according to the gradual change process curve, controlling the brightness of an LED (light-emitting diode) on the nixie tube for displaying the target animation;
the gradual change process curve is used for indicating a dynamic display process of the target animation on the nixie tube; the change of the curve slope of the gradual change process curve determined according to different keywords is different.
9. The animation display device according to claim 8, wherein the second determining module is specifically configured to, if the current usage state is: the audio equipment is in a response state of responding to the received voice command, and determines a target animation to be displayed according to the content of the voice command; if the current use state is: 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.
10. The animation display device according to claim 9, wherein the second determining module is further configured to extract keywords in the content of the voice command;
and determining the target animation to be displayed according to the keywords.
11. The animation display device according to claim 8, wherein the control module is specifically configured to, if the current usage state of the audio device is: when the audio equipment is in a response state of responding to the received voice instruction, 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.
12. The animation display device according to claim 11, wherein if the received voice command is a voice wake-up command, the control module is specifically configured to control the nixie tube to display a preset target animation according to the voice wake-up command, where the voice wake-up command is used to wake up the audio device to be in a response state to the voice command at least including the keyword.
13. The animation display device according to claim 8, wherein the control module is further configured to
Determining that the dynamic display process of the animation on the nixie tube is a plurality of sequentially continuous dynamic display transition processes;
And in each dynamic display transition process, carrying out dynamic display of the animation according to the gradual change process curve, wherein each dynamic display transition process is part of dynamic display in the dynamic display process of the animation.
14. The animation display device according to claim 9, wherein 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.
15. A terminal, the terminal comprising: a nixie tube, a processor and a memory, the memory having stored thereon a computer program executable on the processor for performing the steps of the method according to any of claims 1 to 7 when the computer program is executed, the nixie tube being for displaying a target animation in the method according to any of claims 1 to 7.
16. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202110880127.7A 2021-08-02 2021-08-02 Animation display method, animation display device, terminal and storage medium Active CN113689531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110880127.7A CN113689531B (en) 2021-08-02 2021-08-02 Animation display method, animation display device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110880127.7A CN113689531B (en) 2021-08-02 2021-08-02 Animation display method, animation display device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113689531A CN113689531A (en) 2021-11-23
CN113689531B true CN113689531B (en) 2024-11-05

Family

ID=78578557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110880127.7A Active CN113689531B (en) 2021-08-02 2021-08-02 Animation display method, animation display device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113689531B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780338A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN112416480A (en) * 2019-08-21 2021-02-26 北京嗨动视觉科技有限公司 Window editing method, device and system
CN112860214A (en) * 2021-03-10 2021-05-28 北京车和家信息技术有限公司 Animation display method and device based on voice conversation, storage medium and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10679629B2 (en) * 2018-04-09 2020-06-09 Amazon Technologies, Inc. Device arbitration by multiple speech processing systems
CN111077925A (en) * 2019-10-31 2020-04-28 珠海格力电器股份有限公司 Control method and device of illumination adjusting equipment, electronic equipment and storage medium
WO2021112365A1 (en) * 2019-12-02 2021-06-10 삼성전자 주식회사 Method for generating head model animation from voice signal, and electronic device for implementing same
CN111899192B (en) * 2020-07-23 2022-02-01 北京字节跳动网络技术有限公司 Interaction method, interaction device, electronic equipment and computer-readable storage medium
CN112527175A (en) * 2020-10-30 2021-03-19 百果园技术(新加坡)有限公司 Animation implementation method, device, equipment and storage medium
CN213545392U (en) * 2020-11-03 2021-06-25 湖南北吉星技术服务有限公司 Monitoring device, monitoring system and vending machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780338A (en) * 2015-04-16 2015-07-15 美国掌赢信息科技有限公司 Method and electronic equipment for loading expression effect animation in instant video
CN112416480A (en) * 2019-08-21 2021-02-26 北京嗨动视觉科技有限公司 Window editing method, device and system
CN112860214A (en) * 2021-03-10 2021-05-28 北京车和家信息技术有限公司 Animation display method and device based on voice conversation, storage medium and equipment

Also Published As

Publication number Publication date
CN113689531A (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN108804010B (en) Terminal control method, device and computer-readable storage medium
EP3817395A1 (en) Video recording method and apparatus, device, and readable storage medium
CN107544810B (en) Method and device for controlling application program
CN104735548B (en) Incidence prompt method and device
CN106791893A (en) Net cast method and device
CN109168062B (en) Video playing display method and device, terminal equipment and storage medium
CN106599251A (en) Method and device for displaying anchor rankings
CN111240779A (en) Calendar display method, device and storage medium
US20240267586A1 (en) Display control method and apparatus, and device and storage medium
CN111833868A (en) Voice assistant control method, device and computer readable storage medium
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
US10270614B2 (en) Method and device for controlling timed task
CN112130940A (en) Terminal control method, device, storage medium and electronic device
US20220137756A1 (en) Method for displaying interactive content, electronic device, and storage medium
JP6554560B2 (en) Mobile device time display method and apparatus
CN111857897A (en) Information display method, device and storage medium
US20210029304A1 (en) Methods for generating video, electronic device and storage medium
CN112685641B (en) Information processing method and device
CN105959823A (en) Message presentation method and device for video direct broadcast application
CN106791014A (en) Message display method and device
CN112217987B (en) Shooting control method and device and storage medium
CN111736746A (en) Multimedia resource processing method, device, electronic device and storage medium
CN104156151B (en) image display method and device
CN115935099A (en) Information display method and device, electronic equipment and storage medium
CN113778301A (en) Content-based emotional interaction method and electronic device

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