Animation playing method and device, equipment and storage medium

By playing transition animations based on the first and second response animations on the on-board screen, the problem of unclear expression of vehicle response status is solved, and the user's visual experience and animation switching effect are improved.

CN120335748APending Publication Date: 2025-07-18XIAOMI EV TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510482983.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

During the interaction between vehicles and users, the prior art is difficult to effectively express the intuitiveness and clarity of the vehicle's response status, resulting in poor visual experience of the user's response animation on the on-board screen.

Method used

By inputting a first operation instruction when playing the first response animation on the vehicle screen, the first transition animation obtained based on the first and second response animations is played, and the smoothness and smoothness of the animation switching are optimized.

Benefits of technology

It improves the intuitiveness and clarity of the vehicle's response state expression, optimizes the user's visual experience, and enhances the smoothness and smoothness of animation switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335748A_ABST
    Figure CN120335748A_ABST
Patent Text Reader

Abstract

The invention provides an animation playing method and device, equipment and a storage medium, and relates to the technical field of artificial intelligence such as natural language processing, and the method comprises the steps: inputting a first operation instruction in response to playing a first response animation, and playing a first transition animation and a second response animation corresponding to the first operation instruction, the first transition animation is obtained based on the first response animation and the second response animation. Through the response animation played on the vehicle-mounted screen, the intuitive degree and the clear degree of expression of the response state of the vehicle to the operation instruction to the user of the vehicle are improved, through playing of the transition animation, the transition smoothness and smoothness during switching playing of the two adjacent response animations are improved, and the user experience is improved. And the visual experience of the user on the response animation played on the vehicle-mounted screen is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data processing, and in particular to artificial intelligence technologies such as deep learning. Background Art

[0002] With the development of technology, during the process of driving a vehicle, people can interact with the vehicle's control system through voice to achieve the purpose of controlling the vehicle's functions.

[0003] Therefore, during the interaction between people and the vehicle, it is very important to provide information feedback to the user regarding the response status of the vehicle. Summary of the Invention

[0004] The present disclosure aims to solve at least one of the technical problems in the related art to some extent.

[0005] To this end, a first aspect of the present disclosure proposes an animation playing method.

[0006] A second aspect of the present disclosure proposes an animation playing device.

[0007] A third aspect of the present disclosure proposes an electronic device.

[0008] A fourth aspect of the present disclosure proposes a computer-readable storage medium.

[0009] A fifth aspect of the present disclosure proposes a computer program product.

[0010] A first aspect of the present disclosure proposes an animation playing method, including: in response to inputting a first operation instruction when playing a first response animation, playing a first transition animation and a second response animation corresponding to the first operation instruction, where the first transition animation is obtained based on the first response animation and the second response animation.

[0011] A second aspect of the present disclosure proposes an animation playing device, including: an animation playing module, configured to, in response to inputting a first operation instruction when playing a first response animation, play a first transition animation and a second response animation corresponding to the first operation instruction, where the first transition animation is obtained based on the first response animation and the second response animation.

[0012] A third aspect of the present disclosure proposes an electronic device, including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the animation playing method proposed in the first aspect as described above.

[0013] A fourth aspect of the present disclosure proposes a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by the processor of an electronic device, enabling the electronic device to execute the animation playing method proposed in the first aspect as described above.

[0014] In a fifth aspect of the present disclosure, a computer program product is provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the animation playing method proposed in the first aspect above.

[0015] In the animation playing method and device proposed by the present disclosure, when a first operation instruction is input during the playing of a first response animation, a second response animation corresponding to the first operation instruction can be obtained, and a first transition animation can be obtained based on the first response animation and the second response animation, and the first transition animation and the second response animation can be played. In the present disclosure, through the response animation played on the in-vehicle screen, the intuitive degree and clarity of the vehicle's response state to the operation instruction are improved for the vehicle user. Through the playing of the transition animation, the smoothness and smoothness of the transition during the switching and playing between two adjacent response animations are improved, and the visual experience of the user for the response animation played on the in-vehicle screen is optimized.

[0016] It should be understood that the content described in the present disclosure is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present disclosure will become apparent and easier to understand from the following description of the embodiments in conjunction with the drawings, where:

[0018] Figure 1 is a schematic flowchart of an animation playing method according to an embodiment of the present disclosure;

[0019] Figure 2 is a schematic flowchart of an animation playing method according to another embodiment of the present disclosure;

[0020] Figure 3 is a schematic flowchart of an animation playing method according to another embodiment of the present disclosure;

[0021] Figure 4 is a schematic flowchart of an animation playing method according to another embodiment of the present disclosure;

[0022] Figure 5 is a schematic flowchart of an animation playing method according to another embodiment of the present disclosure;

[0023] Figure 6 is a schematic structural diagram of an animation playing device according to an embodiment of the present disclosure;

[0024] Figure 7 is a block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] Embodiments of the present disclosure will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where like or similar reference numerals denote like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the accompanying drawings are exemplary and are intended to explain the present disclosure, and should not be construed as a limitation of the present disclosure.

[0026] A method, device, equipment, and storage medium for playing an animation proposed in an embodiment of the present disclosure will be described below with reference to the accompanying drawings.

[0027] Figure 1 It is a schematic flowchart of an animation playing method according to an embodiment of the present disclosure. As Figure 1 shown, the method includes:

[0028] S101, in response to inputting a first operation instruction when playing a first response animation, play a first transition animation and a second response animation corresponding to the first operation instruction, where the first transition animation is obtained based on the first response animation and the second response animation.

[0029] During the actual driving process of a vehicle, the driver and the passengers of the vehicle can send instructions to the vehicle control system by voice, and the vehicle control system performs corresponding tasks based on the received instructions. During this process, the vehicle control system needs to respond to the received instructions. Among them, the response status can include the response status of receiving the instruction, the response status of parsing the instruction, the response status of determining the task corresponding to the instruction, and the response status of executing the task, etc.

[0030] In this scenario, the animation corresponding to the response status can be displayed on the in-vehicle screen to inform the driver and the passengers of the vehicle about the current response status of the vehicle control system to the instruction. Among them, the animation displayed on the vehicle screen can be determined as the response animation corresponding to the instruction.

[0031] In the scenario where the in-vehicle screen is currently playing a response animation, the currently playing response animation can be determined as the first response animation. In this scenario, when the driver or the passengers of the vehicle send a new operation instruction to the vehicle control system, the response animation of the operation instruction can be played after the first response animation ends. Among them, the operation instruction input when the first response animation is played can be determined as the first operation instruction, and the response animation that needs to be played for the first operation instruction can be determined as the second response animation.

[0032] Optionally, there is an animation for transitioning between two response animations between the first response animation and the second response animation, and this animation can be determined as the first transition animation between the first response animation and the second response animation.

[0033] Among them, based on a preset method for obtaining a transition animation, corresponding processing can be performed on the first response animation and the second response animation, so as to obtain a first transition animation played between the first response animation and the second response animation. It can be understood that based on the playback of the first transition animation, the first response animation and the second response animation can achieve smooth animation switching, thereby achieving the purpose of optimizing the visual viewing effect of people.

[0034] In this scenario, when the playback of the first response animation reaches the preset condition for playing the transition animation, the first transition animation can be played on the in-vehicle screen, and when the playback of the first transition animation reaches the preset condition for playing the second response animation, after the playback of the first transition animation ends, the second response animation can be played on the in-vehicle screen.

[0035] In the animation playback method proposed by the present disclosure, when a first operation instruction is input during the playback of the first response animation, a second response animation corresponding to the first operation instruction can be obtained, and a first transition animation can be obtained based on the first response animation and the second response animation, and the first transition animation and the second response animation are played. In the present disclosure, through the response animation played on the in-vehicle screen, the intuitive degree and clarity of the vehicle's response state to the operation instruction are improved for the vehicle user. Through the playback of the transition animation, the smoothness and smoothness of the transition during the switching playback between two adjacent response animations are improved, and the visual experience of the user for the response animation played on the in-vehicle screen is optimized.

[0036] In the above embodiment, regarding the playback of the first transition animation and the second response animation, it can be combined with Figure 2 For further understanding, Figure 2 is a schematic flowchart of an animation playback method according to another embodiment of the present disclosure. As Figure 2 shown, the method includes:

[0037] S201, in response to the input of the first operation instruction, obtain a second response animation corresponding to the first operation instruction.

[0038] Optionally, obtain the task function corresponding to the first operation instruction, and obtain the response status list of the vehicle based on the task function.

[0039] In the embodiment of the present disclosure, when the vehicle-end control system receives an input voice signal, it can perform algorithm processing on the input voice signal based on a preset voice signal parsing algorithm, and then obtain the first operation instruction carried in the voice signal according to the result of the algorithm processing.

[0040] In this scenario, the vehicle-end control system can perform corresponding instruction parsing on the first operation instruction, and then obtain the task function that the vehicle needs to complete indicated in the first operation instruction according to the parsing result, and the response required for the vehicle to implement the task function.

[0041] Further, obtain the response status corresponding to the response required for the vehicle to implement the task function, and then construct a corresponding list based on the response order of each response status as the response status list corresponding to the first operation instruction.

[0042] Optionally, determine a second response animation based on each response status in the response status list.

[0043] In the embodiments of the present disclosure, the vehicle-end control system sets a corresponding state display animation for the preset response status. For example, for the response status of receiving an operation instruction, an animation can be set based on the theme of "listening", and this animation is the state display animation corresponding to the response status of receiving the operation instruction.

[0044] In this scenario, the state display animations corresponding to each response status can be obtained from the preset state display animation database, and the state display animations corresponding to each response small yellow picture can be integrated based on the sorting of each response status in the response status queue, so as to obtain a complete integrated animation segment, and this animation segment can be determined as the second response animation corresponding to the first operation instruction.

[0045] S202. Obtain a first transition animation according to the first response animation and the second response animation.

[0046] Optionally, obtain a first list of transition image frames in the first response animation and a second list of transition image frames in the second response animation.

[0047] In the embodiments of the present disclosure, a set number of partial animation frames located at the end part can be screened out from all the animation frames of the first response animation, and the list composed of these partial animation frames is determined as the first list of transition image frames in the first response animation.

[0048] And, a set number of partial animation frames located at the beginning part can be screened out from all the animation frames of the second response animation, and the list composed of these partial animation frames is determined as the second list of transition image frames in the second response animation.

[0049] Optionally, obtain the first transition animation effect of each first transition image frame in the first list of transition image frames, and obtain the second transition animation effect of each second transition image frame in the second list of transition image frames.

[0050] In the embodiments of the present disclosure, there are set animation effects for the transition animation, such as transparency overlay, etc. In this scenario, the animation effects used for the first transition animation can be screened out from all the preset transition animation effects, and based on this effect, the animation effects of each first transition image frame in the first transition image frame sequence are respectively determined as the first transition animation effects, and the animation effects of each second transition image frame in the second transition image frame sequence are determined as the second transition animation effects.

[0051] Optionally, based on the first transition animation effect and the second transition animation effect, the first transition animation is determined.

[0052] In the embodiments of the present disclosure, for any first transition image frame, its original animation effect can be adjusted based on the first transition animation effect corresponding to this first transition image frame to obtain the first transition animation frame with the adjusted animation effect.

[0053] And, for any second transition image frame, its original animation effect is adjusted based on the second transition animation effect corresponding to this second transition image frame to obtain the second transition animation frame with the adjusted animation state.

[0054] Further, based on each adjusted first transition image frame and each adjusted second transition image frame, the first transition animation between the first response animation and the second response animation is formed.

[0055] S203, play the first transition animation and the second response animation.

[0056] In the embodiments of the present disclosure, the playback of the first transition animation can be understood in combination with the following content:

[0057] Optionally, obtain the first response animation frame sequence to be played of the first response animation, and obtain the first transition animation frame sequence to be played of the first transition animation.

[0058] In the embodiments of the present disclosure, for the first response animation being played, the frame sequence composed of the remaining animation frames that have not been played among all the animation frames of the first response animation can be determined as the first response animation frame sequence to be played in the first response animation.

[0059] And, the sequence composed of each animation frame to be played in the first transition animation is determined as the first transition animation frame sequence to be played in the first transition animation.

[0060] Optionally, in response to the first animation frame in the first response animation frame sequence matching the first animation frame in the first transition animation frame sequence, after the current animation frame of the first response animation is played, switch to play the first transition animation.

[0061] In the embodiments of the present disclosure, partial animation frames in the first response animation frame sequence can be processed with animation effects to obtain partial animation frames in the first transition animation. In this scenario, when the first animation frame in the first response animation frame sequence has the same content as the first animation frame in the first transition animation frame sequence but different animation display effects, it can be determined that the two animation frames match.

[0062] In this scenario, when the currently playing animation frame in the first response animation finishes playing, the first animation frame in the first transition animation frame sequence can be switched to for playing the first transition animation on the vehicle-mounted screen.

[0063] Among them, the animation effect processing can be an animation effect of transparency overlay or other animation effects, which is not specifically limited here.

[0064] In the embodiments of the present disclosure, the playing of the second response animation can be understood in combination with the following content:

[0065] Optionally, obtain the second transition animation frame sequence to be played of the first transition animation and the second response animation frame sequence to be played in the second response animation.

[0066] In the embodiments of the present disclosure, in the scenario where the first response animation switches to playing the first transition animation, the sequence composed of each animation frame to be played in the first transition animation in this scenario can be determined as the second transition animation frame sequence of the first transition animation.

[0067] And, the sequence composed of each animation frame to be played in the second response animation that needs to be played after the first transition animation in this scenario can be determined as the second response animation frame sequence of the second response animation.

[0068] Optionally, in response to the first animation frame in the second transition animation frame sequence matching the first animation frame in the second response animation frame sequence, obtain the matching animation frame of the last animation frame in the second transition animation frame sequence in the second response animation frame sequence.

[0069] It can be understood that when the first animation frame in the second transition animation frame sequence and the first animation frame in the second response animation frame sequence want to display the same content, it can be determined that the two animation frames match. In this scenario, in order to achieve a smooth transition between the first response animation and the second response animation, the second response animation can be switched to for playing after the first transition animation finishes playing.

[0070] The last animation frame in the first transition animation frame sequence can be obtained, and an animation frame with the same content as that shown in the last animation frame is obtained from the second response animation frame sequence, and the next animation frame of this animation frame in the second response animation frame sequence can be determined as the matching animation frame of the last animation frame in the second response animation frame sequence.

[0071] As an example, for the last animation frame A in the first transition animation frame sequence, it is set that the animation frame B in the second response animation frame sequence has the same display content as the animation frame A. Then, the next B + 1 animation frame after the animation frame B in the second response animation frame sequence is the matching animation frame of the animation frame A in the second response animation frame sequence.

[0072] Optionally, after the first transition animation finishes playing, switch to the matching animation frame to play the second response animation.

[0073] In the embodiments of the present disclosure, after the first transition animation finishes playing, the matching animation frame can be started to be played on the in-vehicle screen, and starting from the playing of the matching animation frame, the to-be-played animation frames after the matching animation frame in the second response frame sequence are continued to be played to implement the playing of the second response animation on the in-vehicle screen.

[0074] The animation playing method proposed by the present disclosure obtains the first transition animation through the first response animation and the second response animation, improves the visual transition effect of the first transition animation during the switching and playing of the response animations, improves the intuitive and clear degree of expressing the response state of the vehicle to the operation instruction to the user of the vehicle through the response animation played on the in-vehicle screen, improves the smoothness and smoothness of the transition during the switching and playing between two adjacent response animations through the playing of the transition animation, and optimizes the visual experience of the user for the response animation played on the in-vehicle screen.

[0075] In the above embodiments, regarding the playing of the response animation and the transition animation, it can also be combined with Figure 3 For further understanding, Figure 3 is a schematic flowchart of the animation playing method according to another embodiment of the present disclosure. As Figure 3 shown, the method includes:

[0076] S301, in response to the input of the second operation instruction, identify whether the animation playing queue is empty.

[0077] In the embodiments of the present disclosure, the animations to be played on the in-vehicle screen can be placed in the to-be-played animation queue, and this queue can be determined as the animation playing queue. Among them, the animation playing queue can be a first-in, first-out queue (FIFO), or other types of queues, and no specific limitation is made here.

[0078] Optionally, the operation instruction currently received by the car-end control system may be determined as the second operation instruction. When the second operation instruction is input, the animation playback queue may be identified to determine whether the animation playback queue is empty.

[0079] S302. In response to identifying that the animation playback queue is not empty, obtain a second transition animation between the last third response animation to be played in the animation playback queue and the fourth response animation corresponding to the second operation instruction, place the second transition animation into the animation playback queue, and then place the fourth response animation into the animation playback queue to wait for playback.

[0080] In the embodiments of the present disclosure, when it is identified that the animation playback queue is not empty, it can be determined that the response animation corresponding to the current second operation instruction needs to wait in the animation playback queue. Among them, the last response animation that needs to be played in the current animation playback sequence can be determined as the third response animation, and the response animation corresponding to the second operation instruction can be determined as the fourth response animation.

[0081] Optionally, a transition animation between the third response animation and the fourth response animation may be obtained based on a preset transition animation acquisition strategy as the second transition animation. In this scenario, the playback order of the second transition animation is prior to that of the fourth response animation.

[0082] In the scenario where the animation playback queue is a FIFO queue, the second transition animation needs to be placed in the animation playback queue first, and then the fourth response animation is placed in the animation playback queue to wait for playback.

[0083] In the scenario where the animation playback queue is another queue that plays based on task priorities, the playback priority of the second transition animation may be set to be higher than that of the fourth response animation, and the playback priority of the second transition animation is lower than that of the third response animation. Then, the second transition animation and the fourth response animation after the priority setting are placed into the animation playback queue to wait for playback.

[0084] S303. In response to identifying that the animation playback queue is empty, place the fourth response animation corresponding to the second operation instruction into the animation playback queue to play the fourth response animation.

[0085] In the embodiments of the present disclosure, when it is identified that the animation playback queue is empty, it can be determined that the fourth response animation corresponding to the second operation instruction is the response animation that needs to be played currently. In this scenario, the fourth response animation can be directly placed into the animation playback queue, and the fourth response animation is taken out of the queue through the animation playback process and played on the in-vehicle screen.

[0086] It should be noted that when the in-vehicle screen plays an animation, it needs to be implemented through a set animation playback process, which can be understood in combination with the following content:

[0087] Optionally, in response to recognizing that the animation playback queue is not empty, obtain the target animation to be currently played from the animation playback queue.

[0088] In the embodiments of the present disclosure, when it is recognized that the animation playback queue is not empty, the animation playback process can extract the animation to be currently played from the animation playback queue and play it on the in-vehicle screen. Among them, the animation to be played currently extracted from the animation playback queue can be determined as the target animation.

[0089] Optionally, in response to there being no animation currently being played, play the target animation.

[0090] In the embodiments of the present disclosure, when it is recognized that there is no animation currently being played on the in-vehicle screen, the animation playback process can execute the playback process of the target animation on the in-vehicle screen to realize the playback of the target animation on the in-vehicle screen.

[0091] Optionally, in response to an animation currently being played, play the target animation after the current animation playback ends.

[0092] In the embodiments of the present disclosure, when it is recognized that an animation is currently being played on the in-vehicle screen, the animation playback process can, after waiting for the currently played animation to end, extract the next target animation to be played from the animation playback queue and play the target animation on the in-vehicle screen based on a preset animation playback process.

[0093] The animation playback method proposed by the present disclosure realizes the orderly playback of multiple animations on the in-vehicle screen through the animation playback queue, improves the smoothness of switching and playing between multiple animations, reduces the occurrence probability of possible conflicts when multiple animations are played, and improves system stability.

[0094] For a better understanding of the above embodiments, it can be combined with Figure 4 , Figure 4 which is a schematic flowchart of the animation playback method according to another embodiment of the present disclosure. As Figure 4 shown, the method includes:

[0095] S401, Wait for an animation playback request.

[0096] S402, Receive an animation playback request.

[0097] S403, Determine whether an animation is currently being played.

[0098] S404, Place the transition animation in the queue.

[0099] S405, Place the response animation in the queue.

[0100] In the embodiments of the present disclosure, when the second operation instruction is input, it is possible to determine that the current vehicle control system has received an animation playback request through the step of waiting for the animation playback request. In this scenario, it is possible to identify whether an animation is currently being played on the in-vehicle screen. When it is identified that an animation is being played on the station screen, it is possible to obtain a transition animation between the currently played animation and the response animation corresponding to the second operation instruction to be played, and place the transition animation into the animation playback queue and then place the response animation corresponding to the second operation instruction into the animation playback queue.

[0101] Correspondingly, when it is identified that no animation is currently being played on the station screen, the response animation corresponding to the second operation instruction can be directly placed into the animation playback queue for playback.

[0102] Figure 5 It is a schematic flowchart of an animation playback method according to another embodiment of the present disclosure, as Figure 5 shown, the method includes:

[0103] S501, identify whether the animation playback queue is empty.

[0104] S502, it is identified that the queue is not empty.

[0105] S503, determine whether an animation is currently being played.

[0106] S504, wait for the current animation to finish playing.

[0107] S505, obtain and play the animation from the queue.

[0108] S506, the playback ends.

[0109] In the embodiments of the present disclosure, it is possible to identify whether the animation playback queue is empty based on the vehicle control system. Among them, when it is identified that the animation playback queue is not empty, it is possible to identify whether an animation is currently being played on the in-vehicle screen.

[0110] Optionally, when it is identified that an animation is currently being played on the in-vehicle screen, it is possible to wait until the current animation finishes playing and then obtain the next animation to be played from the animation playback queue and play it on the in-vehicle screen.

[0111] Optionally, when it is identified that no animation is currently being played on the current in-vehicle screen, it is possible to directly obtain the animation that needs to be played currently from the animation playback queue and play it on the in-vehicle screen until all the animations are played.

[0112] The animation playing method proposed by the present disclosure realizes the orderly playing of multiple animations on the in-vehicle screen through an animation playing queue, improves the smoothness of switching and playing between multiple animations, reduces the occurrence probability of conflict situations that may occur when multiple animations are played, and improves system stability.

[0113] Corresponding to the animation playing methods proposed in the above several embodiments, an embodiment of the present disclosure also proposes an animation playing device. Since the animation playing device proposed in the embodiment of the present disclosure corresponds to the animation playing methods proposed in the above several embodiments, the implementation manners of the above animation playing methods are also applicable to the animation playing device proposed in the embodiment of the present disclosure and will not be described in detail in the following embodiments.

[0114] Figure 6 It is a schematic structural diagram of an animation playing device according to an embodiment of the present disclosure. As Figure 6 shown, the animation playing device 600 includes an animation playing module 61 and a scheduling module 62, where:

[0115] The animation playing module 61 is configured to play a first transition animation and a second response animation corresponding to the first operation instruction in response to the input of the first operation instruction when playing the first response animation, where the first transition animation is obtained based on the first response animation and the second response animation.

[0116] In an embodiment of the present disclosure, the animation playing module 61 is further configured to: obtain the second response animation corresponding to the first operation instruction in response to the input of the first operation instruction; obtain the first transition animation according to the first response animation and the second response animation; play the first transition animation and the second response animation.

[0117] In an embodiment of the present disclosure, the animation playing module 61 is further configured to: obtain the task function corresponding to the first operation instruction, and obtain the response status list of the vehicle based on the task function; determine the second response animation based on each response status in the response status list.

[0118] In an embodiment of the present disclosure, the animation playing module 61 is further configured to: obtain the first transition image frame list in the first response animation and the second transition image frame list in the second response animation; obtain the first transition animation effect of each first transition image frame in the first transition image frame list and obtain the second transition animation effect of each second transition image frame in the second transition image frame list; determine the first transition animation based on the first transition animation effect and the second transition animation effect.

[0119] In an embodiment of the present disclosure, the animation playback module 61 is further configured to: obtain a first response animation frame sequence to be played for the first response animation, and obtain a first transition animation frame sequence to be played for the first transition animation; in response to the first animation frame in the first response animation frame sequence matching the first animation frame in the first transition animation frame sequence, after the current animation frame of the first response animation finishes playing, switch to playing the first transition animation.

[0120] In an embodiment of the present disclosure, the animation playback module 61 is further configured to: obtain a second transition animation frame sequence to be played for the first transition animation, and obtain a second response animation frame sequence to be played for the second response animation; in response to the first animation frame in the second transition animation frame sequence matching the first animation frame in the second response animation frame sequence, obtain a matching animation frame of the last animation frame in the second transition animation frame sequence in the second response animation frame sequence; after the first transition animation finishes playing, switch to the matching animation frame to play the second response animation.

[0121] In an embodiment of the present disclosure, the device further includes a scheduling module 62, configured to: in response to the input of a second operation instruction, identify whether the animation playback queue is empty; in response to identifying that the animation playback queue is not empty, obtain a second transition animation between a third response animation that is the last to be played in the animation playback queue and a fourth response animation corresponding to the second operation instruction, place the second transition animation into the animation playback queue, and then place the fourth response animation into the animation playback queue to wait for playback.

[0122] In an embodiment of the present disclosure, the scheduling module 62 is further configured to: in response to identifying that the animation playback queue is empty, place the fourth response animation corresponding to the second operation instruction into the animation playback queue to play the fourth response animation.

[0123] In an embodiment of the present disclosure, the scheduling module 62 is further configured to: in response to identifying that the animation playback queue is not empty, obtain a target animation to be currently played from the animation playback queue; in response to the current animation not being played, play the target animation; in response to the current animation being played, play the target animation after the current animation finishes playing.

[0124] For the animation playback device proposed by the present disclosure, when a first operation instruction is input during the playback of a first response animation, a second response animation corresponding to the first operation instruction can be obtained, and a first transition animation can be obtained based on the first response animation and the second response animation, and the first transition animation and the second response animation are played. In the present disclosure, through the response animation played on the in-vehicle screen, the intuitive degree and clarity of the vehicle's response state to the operation instruction are improved for the vehicle user. Through the playback of the transition animation, the smoothness and smoothness of the transition during the switching playback between two adjacent response animations are improved, optimizing the user's visual experience of the response animation played on the in-vehicle screen.

[0125] To achieve the above embodiments, the present disclosure also provides an electronic device, a computer-readable storage medium, and a computer program product.

[0126] Figure 7 The block diagram of the electronic device 700 according to an embodiment of the present disclosure is shown in Figure 7 As shown, the electronic device 700 includes a memory 701 and a processor 702. Among them, the memory 701 is used to store executable instructions of the processor 702, and the processor 702 is configured to execute the instructions to implement the animation playing method provided in the above embodiments.

[0127] Optionally, the electronic device proposed in the embodiments of the present disclosure may be a vehicle.

[0128] To achieve the above embodiments, the present disclosure also proposes a non-transitory computer-readable storage medium, on which a computer program is stored. When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the animation playing method provided in the above embodiments is implemented.

[0129] To achieve the above embodiments, the present disclosure also proposes a computer program product, on which a computer program is stored. When the computer program is executed by the processor, the animation playing method provided in the above embodiments is implemented.

[0130] In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, without conflict, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples.

[0131] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present application, "a plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0132] Any process or method description represented in a flowchart or otherwise described herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a customized logical function or process, and the scope of the preferred embodiments of the present application includes additional implementations, where the functions can be executed in a substantially simultaneous manner or in a reverse order according to the involved functions, rather than in the order shown or discussed, which should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0133] The logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing a logical function, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in conjunction with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection portion having one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (Random Access Memory, abbreviated as RAM), a read-only memory (Read-Only Memory, abbreviated as ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (Compact Disc Read-Only Memory, abbreviated as CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other appropriate processing as necessary, and then stored in a computer memory.

[0134] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following techniques known in the art or a combination thereof can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits with appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0135] Those of ordinary skill in the art can understand that all or part of the steps carried by the method of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0136] In addition, in each embodiment of the present application, each functional unit can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0137] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

[0138] It should be understood that various forms of processes shown above can be used, reordering, adding, or deleting steps. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved. There is no limitation herein.

[0139] The above specific embodiments do not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.

Claims

1. An animation playing method, characterized in that, The method includes: In response to a first operation instruction being input while playing a first response animation, playing a first transition animation and a second response animation corresponding to the first operation instruction, wherein the first transition animation is obtained based on the first response animation and the second response animation.

2. The method according to claim 1, wherein The step of, in response to a first operation instruction being input while playing a first response animation, playing a first transition animation and a second response animation corresponding to the first operation instruction, includes: In response to the input of the first operation instruction, obtaining the second response animation corresponding to the first operation instruction; Based on the first response animation and the second response animation, obtaining the first transition animation; Playing the first transition animation and the second response animation.

3. The method according to claim 2, wherein The step of, in response to the input of the first operation instruction, obtaining the second response animation corresponding to the first operation instruction, includes: Obtaining the task function corresponding to the first operation instruction, and obtaining a list of response states of the vehicle based on the task function; Based on each response state in the list of response states, determining the second response animation.

4. The method according to claim 2, wherein The step of, based on the first response animation and the second response animation, obtaining the first transition animation, includes: Obtaining a first list of transition image frames in the first response animation, and a second list of transition image frames in the second response animation; Obtaining the first transition animation effect of each first transition image frame in the first list of transition image frames, and obtaining the second transition animation effect of each second transition image frame in the second list of transition image frames; Based on the first transition animation effect and the second transition animation effect, determining the first transition animation.

5. The method according to claim 2, wherein The step of playing the first transition animation, includes: Obtaining a sequence of first response animation frames to be played of the first response animation, and obtaining a sequence of first transition animation frames to be played of the first transition animation; In response to the first animation frame in the sequence of first response animation frames matching the first animation frame in the sequence of first transition animation frames, after the current animation frame of the first response animation finishes playing, switching to play the first transition animation.

6. The method according to claim 5, wherein The step of playing the second response animation, includes: Obtaining a sequence of second transition animation frames to be played of the first transition animation, and obtaining a sequence of second response animation frames to be played in the second response animation; In response to the first animation frame in the sequence of second transition animation frames matching the first animation frame in the sequence of second response animation frames, obtaining the matching animation frame of the last animation frame in the sequence of second transition animation frames in the sequence of second response animation frames; After the first transition animation finishes playing, switching to the matching animation frame to play the second response animation.

7. The method according to any one of claims 1-6, characterized in that, The method further includes: In response to the input of a second operation instruction, identifying whether the animation playback queue is empty; In response to recognizing that the animation playback queue is not empty, obtain a second transition animation between the third response animation that is the last to be played in the animation playback queue and the fourth response animation corresponding to the second operation instruction, place the second transition animation into the animation playback queue, and then place the fourth response animation into the animation playback queue and wait for playback.

8. The method according to claim 7, wherein The method further includes: In response to recognizing that the animation playback queue is empty, place the fourth response animation corresponding to the second operation instruction into the animation playback queue to play the fourth response animation.

9. The method according to claim 8, wherein The method further includes: In response to recognizing that the animation playback queue is not empty, obtain the target animation to be currently played from the animation playback queue; In response to there being no currently playing animation, play the target animation; In response to there being a currently playing animation, play the target animation after the current animation playback ends.

10. An animation playing device, characterized in that, The apparatus includes: An animation playback module, configured to, in response to inputting a first operation instruction when playing a first response animation, play a first transition animation and a second response animation corresponding to the first operation instruction, where the first transition animation is obtained based on the first response animation and the second response animation.

11. The device according to claim 10, characterized in that, The animation playback module is further configured to: In response to inputting the first operation instruction, obtain the second response animation corresponding to the first operation instruction; Obtain the first transition animation according to the first response animation and the second response animation; Play the first transition animation and the second response animation.

12. The device according to claim 11, wherein, The animation playback module is further configured to: Obtain the task function corresponding to the first operation instruction, and obtain a list of response states of the vehicle based on the task function; Determine the second response animation based on each response state in the response state list.

13. The device according to claim 11, wherein The animation playback module is further configured to: Obtain a first list of transition image frames in the first response animation and a second list of transition image frames in the second response animation; Obtain the first transition animation effect of each first transition image frame in the first list of transition image frames, and obtain the second transition animation effect of each second transition image frame in the second list of transition image frames; Determine the first transition animation based on the first transition animation effect and the second transition animation effect.

14. The device according to claim 11, characterized in that, The animation playback module is further configured to: Obtain a sequence of first response animation frames to be played of the first response animation and a sequence of first transition animation frames to be played of the first transition animation; In response to the first animation frame in the sequence of first response animation frames matching the first animation frame in the sequence of first transition animation frames, switch to playing the first transition animation after the current animation frame of the first response animation finishes playing.

15. An electronic device, characterized in that, Includes: A processor; A memory for storing executable instructions of the processor; Wherein, the processor is configured to execute instructions to implement the method according to any one of claims 1 - 9.

16. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the method according to any one of claims 1 - 9.

17. A computer program product, characterized in that, A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1-9 is implemented.