A slide animation preview method, device and medium thereof

By determining the time relationship of the animation stage and calculating and displaying the total time length of the slide animation, the problem of independent timeline of the animation stage in the prior art is solved, and the user's control of animation time and design experience is improved.

CN114372161BActive Publication Date: 2024-11-08TAISHAN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210032223.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2024-11-08
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

In the existing slide animation preview mode, the timeline of each animation stage is independent, making it difficult for users to intuitively view the total duration of the animation, affecting the user experience.

Method used

By obtaining all animation data of the current slide except the trigger animation, the start and end times of each animation stage are determined based on the animation data. The end time of the previous animation stage is the start time of the next animation stage, and the total animation is calculated. duration and display the time bar in the animation pane.

Benefits of technology

This allows users to better grasp the total time of animation and improve the convenience and user experience of animation design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114372161B_ABST
    Figure CN114372161B_ABST
Patent Text Reader

Abstract

The present application discloses a slide animation preview method, device and medium thereof. Aiming at the problem that in the current animation preview mode, the time axis of each animation stage is independent, and when the animation is relatively complex, too many animation stages make it impossible for the user to control the total duration of the animation well, a slide animation preview method is provided, comprising: obtaining all animation data of the current slide except the trigger animation; if the current mode is a sequential mode, the sequential mode is a mode in which the time axes of each animation stage have a sequential relationship, determining the start time and end time of each animation according to the animation data, wherein the end time of the previous animation stage is the start time of the next animation stage; and obtaining the total duration from the value of the end time of the last animation stage, thereby solving the problem that the user cannot well grasp the total duration of the animation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of slide animation playback, and in particular to a slide animation preview method, device and medium thereof. Background Art

[0002] In actual office work, the use of slide presentations is becoming more and more common. Animation, as the core function of slide presentations, has become better and better in recent years. The animations that can be produced are becoming more and more complex, and the setting of animation time is becoming more and more important. In order to better assist users in making animation effects, in the preview mode of slide presentations, the start condition is used as a distinction to divide them into different animation stages. The animation in each animation stage will be displayed in the form of a timeline on the animation pane, which is convenient for users to view the animation time design of each stage.

[0003] In the current animation preview mode, the timeline of each animation stage is independent. When the animation is complex, too many animation stages make it difficult for users to better control the total duration of the animation and design the animation accordingly.

[0004] Therefore, technicians in this field are in urgent need of a slide animation preview method to solve the problem that in the current preview mode, the timeline of each animation stage is independent and the total duration of the animation cannot be intuitively displayed to the user, thus affecting the user's experience. Summary of the invention

[0005] The purpose of this application is to provide a slide animation preview method, device and medium thereof, so as to solve the problem that in the current animation pane, the timeline of each animation stage is independent and the total duration of the animation cannot be intuitively displayed to the user, thus affecting the user's experience.

[0006] To solve the above technical problems, the present application provides a slide animation preview method, including: obtaining all animation data of the current slide except the trigger animation; if the current mode is a sequential mode, the sequential mode is a mode in which the time axes of each animation stage have a sequential relationship, then determining the start time and end time of each animation according to the animation data, wherein the end time of the previous animation stage is the start time of the next animation stage; and obtaining the total duration from the value of the end time of the last animation stage.

[0007] Preferably, if the current mode is the parallel mode, which is a mode in which the time axis of each animation stage is independent, it also includes: determining the start time and end time of the animation according to the animation data, wherein the start time of different animation stages is 0.

[0008] Preferably, determining the start time of the animation based on the animation data includes: obtaining a reference time of the current animation, wherein, when the start condition is to start simultaneously with the previous animation, obtaining the start time of the previous animation whose start condition is to start with a single click or after the previous animation, as the reference time; when the start condition is to start after the previous animation, obtaining the end time of the previous animation, if the start condition of the previous animation is to start simultaneously with the previous animation, then continuing to obtain the end time of the previous animation until the end time of the animation whose start condition is not to start simultaneously with the previous animation is obtained, and taking the last end time among the obtained end times as the reference time; when the start condition is to start with a single click, obtaining the end time of the previous animation stage as the reference time, if there is no previous animation stage, the reference time is 0; the start time of the current animation is obtained by the sum of the reference time and the delay data of the current animation, wherein the delay data is included in the animation data.

[0009] Preferably, determining the start time of the animation based on the animation data includes: obtaining a reference time of the current animation, wherein, when the start condition is to start simultaneously with the previous animation, obtaining the start time of the previous animation whose start condition is to start with a single click or after the previous animation, as the reference time; when the start condition is to start after the previous animation, obtaining the end time of the previous animation, if the start condition of the previous animation is to start simultaneously with the previous animation, then continuing to obtain the end time of the previous animation until the end time of an animation whose start condition is not to start simultaneously with the previous animation is obtained, and the last end time among the obtained end times is used as the reference time; when the start condition is to start with a single click, the reference time is 0; the start time of the current animation is obtained by the sum of the reference time and the delay data of the current animation, wherein the delay data is included in the animation data.

[0010] Preferably, determining the end time of each animation according to the animation data includes: obtaining the start time of the animation; judging whether the animation has an animation text attribute according to the animation data, and if so, determining a first time according to the animation text attribute according to the delay attribute of letters or words, the number of characters in the element and the duration of the animation; if not, using the duration of the animation as the first time; judging whether the animation has a flip attribute according to the animation data, and if so, obtaining a second time, which is twice the first time; if not, using the first time as the second time; judging whether the animation has a repetition number attribute according to the animation data, and if so, obtaining a third time, which is the product of the second time and the repetition number; if not, using the second time as the third time; obtaining an end time, which is the sum of the start time and the third time.

[0011] Preferably, the method further comprises: generating a time bar for each animation according to the start time and the end time; and displaying the time bar on the animation pane.

[0012] Preferably, the time bars are displayed on the animation pane at a preset ratio, so that all the time bars can be displayed on the animation pane at the same time.

[0013] In order to solve the above technical problems, the present application also provides a slide animation preview device, which is characterized in that it includes: an animation data acquisition module, which is used to obtain all animation data of the current slide except the trigger animation; an animation time determination module, which is used to determine the start time and end time of each animation according to the animation data if the current mode is a sequential mode, and the sequential mode is a mode in which the time axes of each animation stage have a sequential relationship, wherein the end time of the previous animation stage is the start time of the next animation stage; a total duration determination module, which is used to obtain the total duration from the value of the end time of the last animation stage.

[0014] To solve the above technical problems, the present application also provides a slide animation preview device, which is characterized by comprising: a memory for storing a computer program; and a processor for implementing the steps of the above slide animation preview method when executing the computer program.

[0015] In order to solve the above technical problems, the present application also provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of a slide animation preview method as described above are implemented.

[0016] The present application provides a slide animation preview method, which determines the time of all animation stages as a whole according to the set order, and the end time of the previous animation stage is the start time of the next animation stage, thereby obtaining the total time for playing all animations. This avoids the current situation where each animation stage uses an independent timeline, resulting in the user being unable to grasp the total time of the animation well when the animation is more complex, thereby further improving the user experience.

[0017] The present application provides a slide animation preview device and a computer-readable storage medium, which correspond to the above method and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 A flow chart of a slide animation preview method provided by the present invention;

[0020] Figure 2A schematic diagram of an animation pane in a sequential mode provided by the present invention;

[0021] Figure 3 A schematic diagram of an animation pane in a parallel mode provided by the present invention;

[0022] Figure 4 A structural diagram of a slide animation preview device provided by the present invention;

[0023] Figure 5 A structural diagram of another slide animation preview device provided by the present invention. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The core of this application is to provide a slide animation preview method, device and medium thereof.

[0026] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0027] In actual slide design, there are usually certain requirements for the overall slide show time. In addition to factors such as text and length, animation time is also an important factor affecting the slide show time. With the development of slide technology, animation design can become more and more complex. At this time, it is more and more difficult for users to grasp the overall animation time. Therefore, Figure 1 As shown, the present application provides a slide animation preview method, comprising:

[0028] S101: Obtain all animation data of the current slide except the trigger animation;

[0029] S102: If the current mode is a sequential mode, which is a mode in which the time axis 11 of each animation stage has a sequential relationship, then the start time and the end time of each animation are determined according to the animation data, wherein the end time of the previous animation stage is the start time of the next animation stage;

[0030] S103: The total duration 13 is obtained from the value of the end time of the last animation stage.

[0031] It should be noted that since the trigger animation controls the appearance or disappearance of elements on the page by making corresponding settings on the elements in the slide, its start condition is different from the three start conditions of the usual animation and is greatly affected by uncertain factors, so the time of the trigger animation is not included in the preview. In addition, the end time of the animation stage is the end time of the last animation that ends in the animation stage. The animations are sorted in the order of addition. After the animation is added, the order can also be adjusted by dragging or other operations. The animation stage includes one or more animations, starting from an animation with a start condition of single-click and ending with the previous animation of the next animation with a start condition of single-click. An animation stage only includes one animation with a start condition of single-click. The sorting is the same as the animation sorting.

[0032] Meanwhile, the animation data mentioned in this embodiment includes but is not limited to delay data, animation text attributes, animation duration, flip attributes, and repetition times attributes, etc. Among them, the animation text attributes may also include: delay attributes and the number of characters, etc.

[0033] Regarding the start conditions of the animation, there are three types: when clicking, at the same time as the previous animation, and after the previous animation. The animation with the start condition of clicking is controlled by the user in actual playback, and when the user clicks the mouse, the animation plays. It is worth noting that only one animation with the start condition of clicking is played at one click, and the playback order is determined by the arrangement order of the animations, which is well known to personnel in this technical field and will not be repeated in this embodiment; when the animation with the start condition of being at the same time as the previous animation is played in actual playback depends on its previous animation, and when the previous animation starts playing, the animation is played at the same time; when the animation with the start condition of being after the previous animation is played in actual playback also depends on its previous animation, and the animation is played after the previous animation is finished playing.

[0034] It is worth noting that another mode different from the sequential mode mentioned in this embodiment is the parallel mode. The difference between the two is that the time axis 11 of each animation stage in the sequential mode is arranged in sequence according to the order of the animation stages, that is, the end time of the previous animation stage is the start time of the next animation stage; while the time axis 11 of each animation stage in the parallel mode is independent of each other, and the start time of each animation stage is 0.

[0035] The present application provides a slide animation preview method, which makes the time axis 11 of each animation stage follow in sequence, that is, the end time of the previous animation stage is the start time of the next animation stage, so the total playback time of the current slide is equal to the end time of the last animation stage. By obtaining the end time of the last animation stage, the total animation playback time 13 can be obtained, so that the user can better adjust the animation design according to the animation playback time, further enhancing the user's experience.

[0036] In the design of slides, users sometimes need to design animation stages in a targeted manner. In this case, users pay more attention to the time attribute of each animation stage. Therefore, based on the above embodiments, this embodiment further provides a preferred solution: if the current mode is the parallel mode, and the parallel mode is a mode in which the time axis 11 of each animation stage is independent, it also includes:

[0037] S104: Determine the start time and end time of the animation according to the animation data, wherein the start time of different animation stages is 0.

[0038] It is easy to understand that after obtaining all the animation data of the current slide except the trigger animation, this embodiment and the above embodiment both have a judgment on the current mode. If the current mode is the sequential mode, the process proceeds to step S102 of the above embodiment. If the current mode is the parallel mode, the process proceeds to step S104 of this embodiment. This embodiment does not limit how to judge the current mode and how to switch the modes. A preferred solution is: when entering the preview mode, after obtaining all the animation data of the current slide except the trigger animation, the current mode is first selected. The modes are divided into sequential mode and parallel mode. If the user selects the sequential mode, the process proceeds to step S102. If the user selects the parallel mode, the process proceeds to step S104.

[0039] The advantage of this embodiment is that when the user pays more attention to the time attribute of a single animation stage, the user can enter the parallel mode during the animation preview to obtain the time attribute of each animation stage when the time axis 11 is independent, further improving the user experience.

[0040] As can be seen from the above, the above embodiment does not limit the specific implementation method for obtaining the start time and end time of the animation, so this embodiment provides a preferred implementation scheme to further illustrate a slide animation preview method provided by this application.

[0041] S201: When the current mode is the sequential mode, determining the start time of the animation according to the animation data includes:

[0042] Get the reference time of the current animation. When the start condition is to start at the same time as the previous animation, get the start time of the previous animation whose start condition is to start at a single click or after the previous animation as the reference time. When the start condition is to start after the previous animation, get the end time of the previous animation. If the start condition of the previous animation is to start at the same time as the previous animation, continue to get the end time of the previous animation until the end time of the animation whose start condition is not to start at the same time as the previous animation is obtained. The last end time among the obtained end times is used as the reference time. When the start condition is to start at a single click, get the end time of the previous animation stage as the reference time. If there is no previous animation stage, the reference time is 0.

[0043] When the current mode is parallel mode, the start time of the animation is determined according to the animation data including:

[0044] S202: Obtain the reference time of the current animation, wherein when the start condition is to start at the same time as the previous animation, obtain the start time of the previous animation whose start condition is to start at a single click or after the previous animation as the reference time; when the start condition is to start after the previous animation, obtain the end time of the previous animation, if the start condition of the previous animation is to start at the same time as the previous animation, continue to obtain the end time of the previous animation until the end time of the animation whose start condition is not to start at the same time as the previous animation is obtained, and use the last end time obtained as the reference time; when the start condition is to start at a single click, the reference time is 0;

[0045] After step S201 or step S202 is completed, proceed to step S203.

[0046] S203: Obtaining the start time of the current animation from the sum of the reference time and the delay data of the current animation, wherein the delay data is included in the animation data.

[0047] This embodiment provides specific implementation plans for determining the start time of an animation in a sequential mode or a parallel mode, so that the user can obtain the start time of the animation and better design the animation accordingly, further improving the user experience.

[0048] In addition to the implementation scheme for obtaining the start time of the animation provided in the above embodiment, this embodiment also provides a preferred implementation scheme for obtaining the end time of the animation, including:

[0049] S204: Get the start time of the animation;

[0050] S205: judging whether the animation has an animation text attribute according to the animation data; if so, determining a first duration according to the animation text attribute according to the delay attribute of the letter or word, the number of characters in the element and the duration of the animation; if not, taking the duration of the animation as the first duration;

[0051] S206: judging whether the animation has a flip attribute according to the animation data, if so, obtaining a second duration, which is twice the first duration; if not, taking the first duration as the second duration;

[0052] S207: judging whether the animation has a repetition number attribute according to the animation data, if so, obtaining a third duration, which is the product of the second duration and the repetition number, if not, taking the second duration as the third duration;

[0053] S208: Obtain an end time, where the end time is the sum of the start time and the third duration.

[0054] It is easy to understand that this embodiment obtains the end time of the animation by adding the start time of the animation and the third duration. However, no matter whether the current mode is parallel mode or sequential mode, the animation playing duration, i.e., the third duration, is not affected. The animation playing duration is determined by the animation data. Therefore, the implementation scheme for obtaining the end time of the animation provided in this embodiment is applicable to both sequential mode and parallel mode. In addition, the end time of an animation stage is the end time of the animation that ends last in the animation stage.

[0055] The specific implementation plan for obtaining the end time of an animation provided in this embodiment first obtains the start time of the current animation, then obtains the playback duration of the current animation based on the animation data, and obtains the end time from the sum of the start time and the playback duration, thereby allowing users to better design the animation accordingly and further improving the user experience.

[0056] In practical applications, when there are many and complex animations, it is not intuitive to only provide the user with the start time, end time and total duration 13. In order to enable the user to better understand the time attributes of the animation, this embodiment also provides a preferred implementation scheme, and the above method also includes:

[0057] S209: Generate a time bar 12 for each animation according to the start time and the end time;

[0058] S210 : Displaying the time bar 12 on the animation pane 10 .

[0059] It should be noted that the animation pane 10 mentioned in this embodiment is a window that pops up when the user enters the preview mode, and is used to display all animations of the current slide including but not limited to start conditions, start time, end time and other information.

[0060] In addition, the present embodiment does not limit the specific display form of the time bar 12, such as shape, size, and color, which can be freely selected according to actual conditions. However, generally speaking, the time bar 12 should be rectangular and distributed on the time axis 11, and the time bars 12 of different animations should not overlap.

[0061] To better illustrate the implementation scheme provided in this embodiment, Figure 2 and Figure 3 As shown, Figure 2 This is a diagram of the animation pane in sequential mode. Figure 3 This is a schematic diagram of the animation pane in parallel mode, including: animation pane 10, time axis 11, time bar 12, total duration 13 and mode selection drop-down menu 14. For easy comparison and understanding, Figure 2 and Figure 3 All properties of each animation are the same when setting, only the preview mode is different, one is sequential mode and the other is parallel mode. Figure 2 and Figure 3 In order to avoid confusion in marking, only the time bar 12 of one animation is marked. In fact, the time bars 12 of other animations have the same properties as the marked time bar 12.

[0062] The advantage of this embodiment over the above-mentioned embodiment is that the animation time bar 12 is generated according to the start time and end time of the animation and displayed on the animation pane 10, so that the time attributes of the animation are more intuitively and clearly displayed to the user, allowing the user to better grasp the time attributes of the animation, further improving the user experience when designing animation.

[0063] The above embodiment provides a preferred implementation scheme, which generates an animation time bar 12 according to the start time and end time of the animation and displays it on the animation pane 10, but does not limit the specific display method of the time bar 12. Therefore, this embodiment provides a preferred solution: the time bar 12 is displayed on the animation pane 10 according to a preset ratio, so that all time bars 12 can be displayed on the animation pane 10 at the same time.

[0064] It is easy to understand that the display method of the time bar 12 in this embodiment is only a preferred solution. After the time bar 12 is displayed on the animation pane 10 at a preset ratio, the user can also scale the time bar 12 using a zoom button or other methods. This embodiment does not limit this.

[0065] The advantage of this embodiment over the above embodiment is that the time bar 12 is displayed on the animation pane 10 at a preset ratio, which can simultaneously display all time bars 12 on the animation pane 10, so that the user can simultaneously obtain the time bar 12 information of all animations, further improving the user experience.

[0066] In the above embodiment, a slide animation preview method is described in detail, and the present application also provides a corresponding embodiment of a slide animation preview device. It should be noted that the present application describes the embodiment of the device part from two perspectives, one is based on the functional module perspective, and the other is based on the hardware perspective.

[0067] like Figure 4 As shown, this embodiment provides a slide animation preview device, including:

[0068] Animation data acquisition module 21, used to acquire all animation data of the current slide except the trigger animation;

[0069] The animation time determination module 22 is used for determining the start time and end time of each animation according to the animation data if the current mode is the sequential mode, which is a mode in which the time axis 11 of each animation stage has a sequential relationship, wherein the end time of the previous animation stage is the start time of the next animation stage;

[0070] The total duration determination module 23 is used to obtain the total duration 13 from the value of the end time of the last animation stage.

[0071] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0072] Figure 5 A structural diagram of a slide animation preview device provided in another embodiment of the present application, such as Figure 5 As shown, a slide animation preview device includes: a memory 30, for storing a computer program;

[0073] The processor 31 is used to implement the steps of a slide animation preview method in the above embodiment when executing a computer program.

[0074] The slide animation preview device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0075] Among them, the processor 31 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 31 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 31 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 31 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 31 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0076] The memory 30 may include one or more computer-readable storage media, which may be non-transitory. The memory 30 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 30 is at least used to store the following computer program 301, wherein, after the computer program is loaded and executed by the processor 31, it can implement the relevant steps of a slide animation preview method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 30 may also include an operating system 302 and data 303, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 302 may include Windows, Unix, Linux, etc. Data 303 may include, but is not limited to, a slide animation preview method, etc.

[0077] In some embodiments, a slide animation preview device may further include a display screen 32 , an input / output interface 33 , a communication interface 34 , a power supply 35 , and a communication bus 36 .

[0078] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on a slide animation preview device, and may include more or fewer components than those shown in the figure.

[0079] A slide animation preview device provided by an embodiment of the present application includes a memory and a processor. When the processor executes a program stored in the memory, it can implement the following method: a slide animation preview method.

[0080] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.

[0081] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0082] The above is a detailed introduction to a slide animation preview method, device and medium provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0083] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A slide animation preview method, characterized in that: include: Get all animation data of the current slide except the trigger animation; If the current mode is a sequential mode, in which the time axes of the animation stages have a sequential relationship, the start time and the end time of each animation are determined according to the animation data, wherein the end time of the previous animation stage is the start time of the next animation stage; The total duration is obtained from the value of the end time of the last animation stage; Determining the end time of each animation according to the animation data includes: Get the start time of the animation; Determine whether the animation has an animation text attribute according to the animation data; if so, determine a first duration according to the animation text attribute according to a delay attribute of a letter or word, the number of characters in an element, and the duration of the animation; if not, use the duration of the animation as the first duration; Determine whether the animation has a flip attribute according to the animation data, if yes, obtain a second duration, the second duration is twice the first duration, if no, use the first duration as the second duration; Determine whether the animation has a repetition number attribute according to the animation data; if so, obtain a third duration, the third duration being the product of the second duration and the repetition number; if not, use the second duration as the third duration; The end time is obtained, where the end time is the sum of the start time and the third duration.

2. A slide animation preview method according to claim 1, characterized in that: If the current mode is the parallel mode, which is a mode in which the time axis of each animation stage is independent, the method further includes: The start time and the end time of the animation are determined according to the animation data, wherein the start time of different animation stages is 0.

3. A slide animation preview method according to claim 1, characterized in that: Determining the start time of the animation according to the animation data comprises: Get the reference time of the current animation, wherein, when the start condition is to start at the same time as the previous animation, get the start time of the previous animation whose start condition is to start at a single click or after the previous animation as the reference time; when the start condition is to start after the previous animation, get the end time of the previous animation, if the start condition of the previous animation is to start at the same time as the previous animation, then continue to get the end time of the previous animation until the end time of the animation whose start condition is not to start at the same time as the previous animation is obtained, and take the last end time among the obtained end times as the reference time; when the start condition is to start at a single click, get the end time of the previous animation stage as the reference time, if there is no previous animation stage, the reference time is 0; The start time of the current animation is obtained by the sum of the reference time and the delay data of the current animation, wherein the delay data is included in the animation data.

4. A slide animation preview method according to claim 2, characterized in that: Determining the start time of the animation according to the animation data comprises: Get the reference time of the current animation, wherein, when the start condition is to start at the same time as the previous animation, get the start time of the previous animation whose start condition is to start at a single click or after the previous animation as the reference time; when the start condition is to start after the previous animation, get the end time of the previous animation, if the start condition of the previous animation is to start at the same time as the previous animation, then continue to get the end time of the previous animation until the end time of the animation whose start condition is not to start at the same time as the previous animation is obtained, and take the last end time among the obtained end times as the reference time; when the start condition is to start at a single click, the reference time is 0; The start time of the current animation is obtained by the sum of the reference time and the delay data of the current animation, wherein the delay data is included in the animation data.

5. A slide animation preview method according to any one of claims 1 to 4, characterized in that: Also includes: Generate a time bar for each of the animations according to the start time and the end time; The time bar is displayed on the animation pane.

6. A slide animation preview method according to claim 5, characterized in that: The time bars are displayed on the animation pane in a preset ratio, so that all the time bars can be displayed on the animation pane at the same time.

7. A slide animation preview device, characterized in that: include: Animation data acquisition module, used to acquire all animation data of the current slide except the trigger animation; The animation time determination module is used for the steps of: if the current mode is a sequential mode, the sequential mode is a mode in which the time axes of the animation stages have a sequential relationship, then determining the start time and end time of each animation according to the animation data, wherein the end time of the previous animation stage is the start time of the next animation stage; the step of determining the end time of each animation according to the animation data includes: obtaining the start time of the animation; judging whether the animation has an animation text attribute according to the animation data, and if so, judging the end time of each animation according to the animation text attribute according to the delay attribute of letters or words, the number of characters in the element and the duration of the animation; Determine a first duration based on the duration of the animation, if not, use the duration of the animation as the first duration; determine whether the animation has a flip attribute based on the animation data, if yes, obtain a second duration, the second duration is twice the first duration, if not, use the first duration as the second duration; determine whether the animation has a repetition attribute based on the animation data, if yes, obtain a third duration, the third duration is the product of the second duration and the number of repetitions, if not, use the second duration as the third duration; obtain the end time, the end time is the sum of the start time and the third duration; The total duration determination module is used to obtain the total duration from the value of the end time of the last animation stage.

8. A slide animation preview device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of a slide animation preview method as described in any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the slide animation preview method according to any one of claims 1 to 6 are implemented.