An animation display method, system, storage medium and intelligent terminal
By obtaining the user's line of sight information and keyword areas, adjusting the animation interval, and realizing animation jump and double-speed playback, the problem of users missing important content while waiting is solved, and the targetedness and controllability of animation display are improved.
Patent Information
- Application Number
- CN202310273414.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2043-03-20
AI Technical Summary
On the promotional screen, when users miss the animation point they are most concerned about, they need to wait a long time before watching it again and have no control.
By obtaining the user's line of sight information, determining the area where the line of sight stays, and adjusting the animation interval based on keyword information, the animation can be jumped, played at double speeds, and displayed in split screens to meet user needs.
The pertinence and controllability of animation display are improved, and users can directly watch the content they are interested in, saving time and enhancing attractiveness and controllability.
Smart Images

Figure CN116308528B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of advertising display, and in particular to an animation display method, system, storage medium and intelligent terminal. Background Art
[0002] A static display is a type of display. The information displayed does not change over time. It is suitable for displaying information that needs to be retained and displayed continuously for a long time. It is generally available in two types: text and graphics. Text displays offer clear meaning but a longer response time, making them suitable for displaying task content, such as precautions. Graphic displays are intuitive and have a shorter response time, making them suitable for displaying operational requirements, such as traffic signs.
[0003] In order to better promote and sell static display screens, major companies often need to demonstrate the functions and appearance of static display screens, so they need to design and produce an animation to reflect the advantages of the company's static display screens.
[0004] Regarding the above-mentioned related technologies, the inventor believes that the more functions a static display screen needs to display, the longer the animation will be overall. When watching on your own computer, you can control it yourself, but if it is on a promotional screen, you cannot control it. When users miss the point they are most concerned about, they need to wait for a long time before the animation. There is still room for improvement. Summary of the Invention
[0005] In order to improve the problem that time cannot be controlled on the promotional screen and users need to wait for a long time before the animation when they miss the point they are most concerned about, the present application provides an animation display method, system, storage medium and smart terminal.
[0006] In a first aspect, the present application provides an animation display method, which adopts the following technical solution:
[0007] An animation display method, comprising:
[0008] Get the current animation time information;
[0009] Determine current animation interval information based on current animation time information;
[0010] Determine the preceding animation interval information and the following animation interval information according to the preset entire animation content information and the current animation interval information;
[0011] Determining preceding keyword information and subsequent keyword information based on preceding animation interval information and subsequent animation interval information, and displaying the preceding keyword information and subsequent keyword information in an area corresponding to preset keyword area information;
[0012] After displaying, obtain the user's line of sight information directly in front;
[0013] Determine the gaze area information based on the user's gaze information and preset duration of stay information;
[0014] Determine whether the sight area information falls within the keyword area information;
[0015] If not, the animation is displayed normally;
[0016] If yes, then determining the attractive keyword information in the gaze staying area information based on the gaze staying area information and the keyword area information;
[0017] Determining attraction animation interval information based on attraction keyword information;
[0018] The animation corresponding to the attraction animation interval information will be played.
[0019] By adopting the above technical solution, the key part that attracts the user is determined by determining the area where the user's gaze stays, and then the animation jumps to the corresponding animation segment for playback. On the one hand, it allows the user to watch the content he wants to watch, and when he misses it, he can directly replay it without waiting, saving the user's viewing time of the animation; on the other hand, different content is displayed to different customers to achieve the purpose of attracting users, thereby triggering users' purchasing power. After comprehensive consideration, the targetedness and controllability of the animation display are improved.
[0020] Optionally, the method for playing the animation corresponding to the attraction animation interval information includes:
[0021] Performing matching analysis based on query statement information and attraction animation interval information stored in a preset query database to determine the query statement corresponding to the attraction animation interval information, and defining the query statement as attraction query statement information;
[0022] The user feedback information is received after the attracting query statement information is displayed on the display screen;
[0023] Determine whether the user feedback information is the preset consent result information;
[0024] If yes, determine the intermediate animation interval information according to the current animation interval information and the attracting animation interval information;
[0025] Determine the speed playback duration information based on the preset zoom speed information and the intermediate animation interval information;
[0026] Play the middle animation interval information at a multiple speed according to the zoom speed information, and after the time corresponding to the multiple speed playback time information, play the animation corresponding to the animation interval information;
[0027] If not, continue to display the animation normally.
[0028] By adopting the above technical solution, the user's feedback result is used to determine whether to switch, so that the animation will not be switched to what the customer does not want due to the user's occasional lingering gaze, thereby improving the accuracy of animation switching; on the other hand, by playing the middle animation at double speed instead of jumping directly, the user can roughly browse the middle content, and when the specified animation is finished, he can go back to watch it in a targeted manner based on the content he has learned, thereby improving the comprehensiveness and coverage of the animation display.
[0029] Optionally, the method of playing the intermediate animation interval information at a multiple speed according to the zoom speed information includes:
[0030] Decomposing the intermediate animation interval information according to the preset buffer ratio information to obtain acceleration interval information, uniform speed interval information and deceleration interval information;
[0031] Calculate the uniform acceleration curve information based on the duration corresponding to the acceleration interval information, the zoom speed information, and the preset uniform playback speed information;
[0032] Calculate the uniform deceleration curve information based on the duration corresponding to the deceleration interval information, the zoom speed information, and the uniform playback speed information;
[0033] The interval corresponding to the acceleration interval information is played at an accelerated speed according to the uniform acceleration curve information, the interval corresponding to the uniform speed interval information is played at a double speed according to the zoom speed information, and the interval corresponding to the deceleration interval information is played at a decelerated speed according to the uniform deceleration curve information.
[0034] By adopting the above technical solution, by dividing the process into acceleration interval, uniform speed interval and deceleration interval, the intermediate acceleration process can be carried out in a manner visible to the naked eye, rather than an immediate acceleration and deceleration process, thereby improving the switching smoothness and adaptability of the intermediate animation.
[0035] Optionally, the method of playing the video at a multiple speed according to the zoom speed information in the interval corresponding to the uniform speed interval information includes:
[0036] Determine the current animation interval information that falls within the uniform speed interval information, and define the current animation interval information as uniform acceleration animation interval information;
[0037] Calculate the duration of the uniform acceleration animation based on the uniform acceleration animation interval information and the zoom speed information;
[0038] Extract the key frame information and other frame information of the uniform acceleration animation interval information;
[0039] Determine key duration information based on key frame information;
[0040] Determining remaining duration information based on remaining frame information;
[0041] Sort the remaining frame information according to the preset criticality information to obtain non-critical frame number information;
[0042] Calculate the redundant duration information based on the key duration information, the remaining duration information, the uniformly accelerated animation duration information, and the zoom speed information;
[0043] Determine the discarded frame information according to the redundant duration information, the remaining duration information, the zoom speed information, and the non-key frame number information;
[0044] determining remaining frame information based on the discarded frame information and the remaining frame information;
[0045] The key frame information is played at a uniform speed, and the remaining frame information is played at a zoom speed.
[0046] By adopting the above technical solution, the key frames are played within a limited time, so that although the intermediate animation is played at double speed, the key information of the intermediate animation can still be reflected, so that the user can still grasp the key points and know the general content of the intermediate animation in the fast-playing animation, which is convenient for the user to call up and play the intermediate animation later, thereby improving the attractiveness and traceability of the animation.
[0047] Optionally, the method for playing the animation corresponding to the attraction animation interval information further includes:
[0048] Analyze the amount of user gaze information and define the amount as gaze quantity information;
[0049] Determine whether the number of sight lines is greater than 1;
[0050] If not, the animation corresponding to the animation interval information will be played;
[0051] If so, determine whether the gaze area information corresponding to all gaze quantity information is consistent;
[0052] If they are consistent, the animation corresponding to the animation interval information will be played;
[0053] If they are inconsistent, the number of areas where the gaze stays is analyzed;
[0054] Performing matching analysis based on the split-screen area information, split-screen action information, and area quantity information stored in a preset allocation database to determine the split-screen area and split-screen action corresponding to the area quantity information, defining the split-screen area as current split-screen area information, and defining the split-screen action as current split-screen action information;
[0055] Splitting the screen in the display according to the current split-screen area information and the current split-screen action information and updating the display area information and the keyword area information according to the current split-screen area information;
[0056] The animation corresponding to the animation interval information is attracted to be played in the area corresponding to the respective current split-screen area information.
[0057] By adopting the above technical solution, when there are multiple people in sight, everyone can see the content they want to watch through split screen, and a certain appropriate split screen action is adopted during the split screen process, so that users can follow the split screen action to find their own split screen area for viewing, thereby improving the controllability and adaptability of animation display.
[0058] Optionally, the method of playing the animation corresponding to the attraction animation interval information in the area corresponding to the respective current split-screen area information includes:
[0059] After playing the animation corresponding to the attraction animation interval information, determining whether the eye-tracking area information falls within the respective current split-screen area information;
[0060] If so, continue playing;
[0061] If not, the area quantity information is updated according to the unmatched sight-staying area information, and the area quantity information is defined as the actual area quantity information;
[0062] Performing matching analysis based on the split-screen area information, split-screen action information, area quantity information, and actual area quantity information stored in the allocation database to determine the split-screen area and split-screen action corresponding to the area quantity information and the actual area quantity information, defining the split-screen area as conversion split-screen area information, and defining the split-screen action as conversion split-screen action information;
[0063] Perform split-screen conversion on the screen of the display according to the conversion split-screen area information and the conversion split-screen action information, and update the display area information and the keyword area information according to the conversion split-screen area information;
[0064] The animation corresponding to the attraction animation interval information is played in the area corresponding to the respective conversion split-screen area information.
[0065] By adopting the above technical solution, when the user is attracted to other split-screen areas, the user is automatically merged and the split-screen areas are replanned, so that all areas can be utilized without waste, thereby improving the rationality of animation display.
[0066] Optionally, the method for determining the conversion split-screen area and the conversion split-screen action information based on the area quantity information and the actual area quantity information includes:
[0067] The current split-screen region information where the mismatched gaze stay region information falls is defined as abnormal split-screen region information, and the current split-screen region information where the mismatched gaze stay region information should theoretically fall is defined as theoretical split-screen region information;
[0068] Determine whether the abnormal split-screen area information is also the theoretical split-screen area information;
[0069] If so, the split-screen area information is defined as the unchanged split-screen area information and is removed from the abnormal split-screen area information and the theoretical split-screen area information;
[0070] If not, the abnormal split-screen area information or the theoretical split-screen area information is retained;
[0071] Determine adjacent area information based on abnormal split-screen area information and theoretical split-screen area information;
[0072] Determine whether the adjacent area information contains only four preset boundary information;
[0073] If so, the adjacent area information is played according to the animation corresponding to the attraction animation interval information corresponding to the abnormal split-screen area information, and the remaining split-screen areas remain unchanged;
[0074] If not, the conversion split-screen area information and the conversion split-screen action information are determined according to the allocation database.
[0075] By adopting the above technical solution, it is determined that although the user needs to be merged into another area, his own area is still the attraction area of another user, so as to determine whether there is anyone watching in each area, thereby determining the animation content after re-split screen, and improving the accuracy of animation display content; on the other hand, if the areas are adjacent, then the adjacent areas can be merged to form a larger picture to improve user viewing, without the need to re-split the screen, reducing the frequency of split screen operations, and improving the stability of animation display.
[0076] In a second aspect, the present application provides an animation display system, which adopts the following technical solution:
[0077] An animation display system, comprising:
[0078] The acquisition module is used to obtain the current animation time information, user sight information and user feedback information;
[0079] A memory for storing a program for controlling any one of the above animation display methods;
[0080] The program in the processor memory can be loaded and executed by the processor to implement the control method of any of the above animation display methods.
[0081] By adopting the above technical solution, the key part that attracts the user is determined by determining the area where the user's gaze stays, and then the animation jumps to the corresponding animation segment for playback. On the one hand, it allows the user to watch the content he wants to watch, and when he misses it, he can directly replay it without waiting, saving the user's viewing time of the animation; on the other hand, different content is displayed to different customers to achieve the purpose of attracting users, thereby triggering users' purchasing power. After comprehensive consideration, the targetedness and controllability of the animation display are improved.
[0082] In a third aspect, the present application provides a smart terminal, which adopts the following technical solutions:
[0083] The intelligent terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute any one of the above animation display methods.
[0084] By adopting the above technical solution, the key part that attracts the user is determined by determining the area where the user's gaze stays, and then the animation jumps to the corresponding animation segment for playback. On the one hand, it allows the user to watch the content he wants to watch, and when he misses it, he can directly replay it without waiting, saving the user's viewing time of the animation; on the other hand, different content is displayed to different customers to achieve the purpose of attracting users, thereby triggering users' purchasing power. After comprehensive consideration, the targetedness and controllability of the animation display are improved.
[0085] Fourthly, the present application provides a computer storage medium that can store corresponding programs and has the characteristics of fast interaction with memory big data.
[0086] Computer-readable storage medium, using the following technical solution:
[0087] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above animation display methods.
[0088] By adopting the above technical solution, the key part that attracts the user is determined by determining the area where the user's gaze stays, and then the animation jumps to the corresponding animation segment for playback. On the one hand, it allows the user to watch the content he wants to watch, and when he misses it, he can directly replay it without waiting, saving the user's viewing time of the animation; on the other hand, different content is displayed to different customers to achieve the purpose of attracting users, thereby triggering users' purchasing power. After comprehensive consideration, the targetedness and controllability of the animation display are improved.
[0089] In summary, this application includes at least the following beneficial technical effects:
[0090] 1. By jumping the animation to the corresponding animation segment for playback, there is no need to wait, which saves users' viewing time and achieves the purpose of attracting users, thereby stimulating their purchasing power. In summary, it improves the pertinence and controllability of animation display;
[0091] 2. By dividing the animation into acceleration, constant speed, and deceleration intervals, the acceleration process can be clearly seen by the naked eye, improving the smoothness and adaptability of the switching between animations.
[0092] 3. When there are multiple people in sight, split screen allows everyone to see the content they want to watch, allowing users to follow the split screen action to find their own split screen area to watch, improving the controllability and adaptability of animation display. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 This is a flowchart of an animation display method in an embodiment of the present application.
[0094] Figure 2 This is a flowchart of a method for playing an animation corresponding to attraction animation interval information in an embodiment of the present application.
[0095] Figure 3 This is a flowchart of a method for playing intermediate animation interval information at a multiple speed according to zoom speed information in an embodiment of the present application.
[0096] Figure 4 It is a schematic diagram of a playback speed curve corresponding to the intermediate animation interval information in an embodiment of the present application.
[0097] Figure 5 This is a flowchart of a method for performing speed playback according to zoom speed information in an interval corresponding to uniform speed interval information in an embodiment of the present application.
[0098] Figure 6 This is a flowchart of a further method for playing the animation corresponding to the attraction animation interval information in an embodiment of the present application.
[0099] Figure 7 This is a flowchart of a method for playing the animation corresponding to the attraction animation interval information in the area corresponding to the respective current split-screen area information in an embodiment of the present application.
[0100] Figure 8 This is a flowchart of a method for determining conversion split-screen areas and conversion split-screen action information based on area quantity information and actual area quantity information in an embodiment of the present application.
[0101] Figure 9 It is a system module diagram of an animation display method in an embodiment of the present application. DETAILED DESCRIPTION
[0102] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-9 It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0103] The embodiment of the present application discloses an animation display method. Figure 1 , an animation display method includes:
[0104] Step 100: Get the current animation time information.
[0105] The current animation time information is the time the current animation is playing. This information can be obtained directly from the animation playback interface or by analyzing the time corresponding to the current animation frame number. It is important to note that the acquisition of the current animation time information can be performed in real time or triggered externally, such as by a camera device on the device displaying the animation that is triggered upon recognizing a person.
[0106] Step 101: Determine current animation interval information based on current animation time information.
[0107] The current animation interval information is the information of the interval in which the current animation is located. Since an animation is usually obtained by combining multiple contents, each section of content is based on the content that can reflect each characteristic point. For example, for an advertisement on a static display screen, the content of the animation can be assigned different animation intervals based on the appearance characteristics and internal functional characteristics of the static display screen, and then the animation intervals are combined to form the entire animation. Since the time nodes of each animation interval are determined after the animation interval is formed, the animation interval that falls can be determined by the current animation time. The purpose of determination is to indicate the currently displayed content.
[0108] Step 102: determining the preceding animation interval information and the following animation interval information according to the preset entire animation content information and the current animation interval information.
[0109] The entire animation content information is the information about the entire animation, which is essentially a combination of multiple animation intervals spliced together in an arc shape. The previous animation interval information is the information about the animation interval before the current animation interval information. The subsequent animation interval information is the information about the animation interval after the current animation interval information.
[0110] Step 103: determining preceding keyword information and subsequent keyword information based on the preceding animation interval information and the subsequent animation interval information, and displaying the preceding keyword information and the subsequent keyword information in an area corresponding to the preset keyword area information.
[0111] The preceding keyword information is the keyword information for the animation content corresponding to the preceding animation interval. This keyword information not only summarizes the animation content corresponding to the preceding animation interval information, but also reflects the characteristics of the preceding animation interval compared to other intervals. The subsequent keyword information is the keyword information for the animation content corresponding to the subsequent animation interval information. The display format can be text, and the keywords are displayed in a corresponding area, such as the right side of the screen, and arranged in a specific order. The keyword corresponding to the current animation can also be displayed, but it can be dimmed to distinguish it from other keywords.
[0112] Step 104: Obtain the user's sight line information directly in front after the display.
[0113] User line of sight information refers to the user's line of sight, specifically the location of the user's line of sight on the screen. This information can be obtained using a camera, and then analyzed based on the angle and direction of the user's eyeball to determine the angle of the user's line of sight. The area of the user's line of sight on the screen is then determined based on the user's height and distance from the display.
[0114] Step 105: Determine the gaze stay area information based on the user's gaze information and the preset stay duration information.
[0115] The dwell time information specifies the length of time the gaze remains fixed within a certain area. This is manually set; if the duration exceeds this value, the area is considered attractive to the user, for example, 20 seconds. The gaze dwell area information specifies the area where the user's gaze remains for a greater duration than the dwell time information. This information is used to determine whether the user is attracted to the animation content corresponding to the keyword.
[0116] Step 106: Determine whether the sight-staying area information falls within the keyword area information.
[0117] The purpose of the judgment is to determine whether the user is attracted by the animation content corresponding to the keyword and has no interest in the currently playing animation content. It should be noted that only the area of the currently playing animation content and the area of the keyword are displayed on this screen.
[0118] Step 1061: If not, display the animation normally.
[0119] Step 1062: If yes, determine the attractive keyword information in the gaze area information based on the gaze area information and the keyword area information.
[0120] The attracting keyword information is information about the keyword in the sight-staying area information, that is, the keyword attracts the user's sight, and the user is more interested in the animation content corresponding to the keyword.
[0121] Step 107: Determine attraction animation interval information based on the attraction keyword information.
[0122] The attraction animation interval information is the information of the animation interval corresponding to the attraction keyword information. Since the keyword information and the animation interval information are in a mapping relationship, it can be obtained by looking up a table.
[0123] Step 108: Play the animation corresponding to the attraction animation interval information.
[0124] Reference Figure 2 The method for playing the animation corresponding to the attraction animation interval information includes:
[0125] Step 200: performing matching analysis based on query statement information and attraction animation interval information stored in a preset query database to determine the query statement corresponding to the attraction animation interval information, and defining the query statement as attraction query statement information.
[0126] The attraction query statement appears on the screen, asking the user whether to jump to the attraction animation interval information. A database stores a mapping between query statement information and attraction animation interval information, which can be configured and input by personnel skilled in the art. When the system receives the attraction animation interval information, it automatically searches the database for the corresponding query statement and outputs the attraction query statement information.
[0127] Step 201: Display the attracting query statement information on the display screen and then receive user feedback information.
[0128] The user feedback information is information indicating the result of the user determining whether to jump to the corresponding attraction animation interval information. The information can be obtained by a key press, for example, by providing a touch button or a press area on the screen with two options, "yes" and "no".
[0129] Step 202: Determine whether the user feedback information is the preset consent result information.
[0130] The consent result information is the information that the user agrees to the jump result.
[0131] Step 2021: If yes, determine the intermediate animation interval information according to the current animation interval information and the attraction animation interval information.
[0132] The intermediate animation interval is the interval between the current animation interval and the beginning of the attraction animation interval. This interval is determined by searching the entire animation information for the animation between the two intervals. Note that if the attraction animation interval is located before the current animation interval, the entire animation will still be played, and then playback will restart from the beginning to the attraction animation interval.
[0133] Step 2022: If not, continue to display the animation normally.
[0134] If not, it means that although the user's sight has deviated, he or she is not attracted by the animation interval corresponding to the attraction animation interval information, so the animation continues to be displayed normally.
[0135] Step 203: Determine the speed playback duration information based on the preset zoom speed information and the intermediate animation interval information.
[0136] The zoom speed information is information about increasing the playback speed in order to shorten the playback duration of the intermediate animation interval information, for example, 10 times the speed. The speed playback duration information is information about the playback duration required when the intermediate animation interval information is played according to the zoom speed information.
[0137] Step 204: Play the intermediate animation interval information at a multiple speed according to the zoom speed information, and play the animation corresponding to the animation interval information after the multiple speed playback time period corresponds to the multiple speed playback time period.
[0138] Although the user needs to play the animation content corresponding to the attractive animation interval information, in order to ensure that all other content can be roughly seen by the user, the animation content corresponding to the middle animation interval information is accelerated instead of being skipped directly.
[0139] Reference Figure 3 The method of playing the intermediate animation interval information at a multiple speed according to the zoom speed information includes:
[0140] Step 300: Decompose the intermediate animation interval information according to the preset buffer ratio information to obtain acceleration interval information, uniform speed interval information and deceleration interval information.
[0141] Buffer ratio information is the ratio of all speed and acceleration intervals within the total interval. Acceleration interval information is information about intervals where the video needs to be gradually accelerated from normal playback speed to the speed corresponding to the zoom speed information. Constant speed interval information is information about intervals where the video needs to be played at the speed corresponding to the zoom speed information. Deceleration interval information is information about intervals where the video needs to be gradually decelerated from the zoom speed information to normal playback speed.
[0142] Step 301: Calculate according to the duration corresponding to the acceleration interval information, the zoom speed information and the preset uniform playback speed information to obtain uniform acceleration curve information.
[0143] The uniform acceleration curve information is the information of the curve of speed change within the acceleration interval information. Figure 4 As shown, the left side of the left curve and the right side of the right curve are both normal playback speeds. The left interval is the acceleration interval, the acceleration gradually increases, then gradually decreases, and finally reaches 0, while the speed gradually increases until it reaches the playback speed corresponding to the zoom speed information, while the right interval is the deceleration interval, the acceleration is a negative value, and the absolute value of the acceleration also gradually increases, then gradually decreases, and finally reaches 0, while the speed gradually decreases to the normal playback speed.
[0144] Step 302: Calculate the uniform deceleration curve information based on the duration corresponding to the deceleration interval information, the zoom speed information, and the uniform playback speed information.
[0145] Step 303: Accelerate the interval corresponding to the acceleration interval information according to the uniform acceleration curve information, play the interval corresponding to the uniform speed interval information at a multiple speed according to the zoom speed information, and decelerate the interval corresponding to the deceleration interval information according to the uniform deceleration curve information.
[0146] Reference Figure 5 The method for playing the video at a multiple speed according to the zoom speed information in the interval corresponding to the uniform speed interval information includes:
[0147] Step 400: Determine the current animation interval information that falls within the uniform speed interval information, and define the current animation interval information as uniform acceleration animation interval information.
[0148] The uniform acceleration animation interval information is as follows Figure 4 The information of a certain animation section within the interval played at a certain speed using zoomed speed information is determined by direct time comparison.
[0149] Step 401: Calculate uniform acceleration animation duration information based on uniform acceleration animation interval information and zoom speed information.
[0150] The duration information of the uniformly accelerated animation is the time length information corresponding to the uniformly accelerated animation interval information when the uniformly accelerated animation interval information is played at the zoom speed information, and is calculated by dividing the duration corresponding to the uniformly accelerated animation interval information by the multiple corresponding to the zoom speed information.
[0151] Step 402: Extract key frame information and other frame information of the uniform acceleration animation interval information.
[0152] Keyframe information refers to the frames within the uniformly accelerated animation interval that characterize the animation. Remaining frame information refers to the frames within the uniformly accelerated animation interval excluding keyframes. This information can be extracted by attaching a label to each frame during the animation production process to indicate whether it is a keyframe.
[0153] Step 403: Determine key duration information based on the key frame information.
[0154] The key duration information is the information of the time length corresponding to the key frame.
[0155] Step 404: Determine the remaining duration information based on the remaining frame information.
[0156] The remaining duration information is the duration information of the frames other than the key frame.
[0157] Step 405: sort the remaining frame information according to the preset criticality information to obtain non-critical frame number information.
[0158] Criticality information indicates the criticality of each frame to the content of the current animation interval. This criticality information is also a label attached to the frame, determined by those skilled in the art based on their experience. It can be represented by a number, for example, 0 for not critical, 10 for somewhat critical, and 100 for very critical. Non-critical frame number information is the number of each frame sorted by criticality information, for example, from least critical to most critical.
[0159] Step 406: Calculate the redundant duration information based on the key duration information, the remaining duration information, the uniformly accelerated animation duration information, and the zoom speed information.
[0160] Excess duration information is the amount of time that would be lost if the keyframe were played at normal speed while the remaining frames were played at the zoomed speed. This is calculated by dividing the excess duration information by the zoomed speed factor, adding the key duration information, and subtracting the uniformly accelerated animation duration information.
[0161] Step 407: Determine the frame information to be removed based on the redundant duration information, the remaining duration information, the zoom speed information, and the non-key frame number information.
[0162] The discarded frames are the frames that have been removed from the remaining frames based on their non-criticality. The excess duration information is multiplied by the scaling factor, and then compared with the duration of each frame to determine the number of frames to be discarded. The corresponding remaining frames are then removed from the sorted non-critical frame number information.
[0163] Step 408: Determine the remaining frame information based on the discarded frame information and the remaining frame information.
[0164] The remaining frame information is the remaining frame information after removing the discarded frame information.
[0165] Step 409: Play the key frame information according to the uniform playback speed information, and play the remaining frame information according to the zoom speed information.
[0166] On the one hand, the key frames can still be expressed perfectly, and on the other hand, the duration is guaranteed to remain unchanged.
[0167] Reference Figure 6 The method for playing the animation corresponding to the attraction animation interval information further includes:
[0168] Step 500: Analyze the amount of user sight line information and define the amount as sight line quantity information.
[0169] Here, the number of sight lines falling within the screen is the corresponding user sight line information.
[0170] Step 501: Determine whether the sight quantity information is greater than 1.
[0171] The purpose of the judgment is to determine whether multiple people are observing the animation at the same time.
[0172] Step 5011: If not, then play the animation corresponding to the attraction animation interval information.
[0173] If not, it means that only the animation required by the current person needs to be played.
[0174] Step 5012: If yes, determine whether the gaze area information corresponding to all gaze quantity information is consistent.
[0175] If it is greater, it means that multiple people are watching the corresponding animation at the same time, so it is necessary to determine whether to switch to the same animation interval if the animation is switched.
[0176] Step 5021: If they are consistent, the animation corresponding to the animation interval information is played.
[0177] Step 5022: If they are inconsistent, analyze the area quantity information of the gaze retention area information.
[0178] Step 503: Perform matching analysis based on the split-screen area information, split-screen action information and area quantity information stored in the preset allocation database to determine the split-screen area and split-screen action corresponding to the area quantity information, define the split-screen area as the current split-screen area information, and define the split-screen action as the current split-screen action information.
[0179] The current split-screen area information is information such as the position and size of the area after the screen is split according to the area quantity information. The current split-screen action information is information about the action of dividing the entire screen into areas corresponding to the area quantity information. The purpose of designing the split-screen action here is, on the one hand, to enable users to follow the split-screen action to find the split-screen area where the animation content they need is located, and on the other hand, to make the entire action not abrupt. The database stores the mapping relationship between split-screen area information, split-screen action information and area quantity information, which is designed and stored by staff in this field according to different split-screen methods. When the system receives the area quantity information, it automatically searches for the split-screen area and split-screen action from the database, and outputs them as the current split-screen area information and the current split-screen action information respectively.
[0180] Step 504: Split the screen in the display according to the current split-screen area information and the current split-screen action information, and update the display area information and keyword area information according to the current split-screen area information.
[0181] The updating method here is to scale the display area information and the keyword area information, and the scaled horizontal and vertical ratios are the horizontal and vertical ratios of the current split-screen area information and the entire screen.
[0182] Step 505: Play the animation corresponding to the attraction animation interval information in the area corresponding to the respective current split-screen area information.
[0183] Reference Figure 7 The method of playing the animation corresponding to the attraction animation interval information in the area corresponding to the respective current split-screen area information includes:
[0184] Step 600: After playing the animation corresponding to the attraction animation interval information, determine whether the sight-staying area information falls within the respective current split-screen area information.
[0185] The purpose of the judgment is to determine whether the user's sight is attracted by the animation content played in other people's areas after the split screen.
[0186] Step 6001: If yes, continue playing.
[0187] Step 6002: If not, update the area quantity information according to the unmatched sight-staying area information, and define the area quantity information as the actual area quantity information.
[0188] The actual number of regions is the total number of regions that the gaze region information falls into when not all of the gaze region information falls within the region. The update method can be to determine the number of gaze region information, and if the gaze leaves the screen, it is also considered to have left the corresponding region.
[0189] Step 601: Perform matching analysis based on the split-screen area information, split-screen action information, area quantity information, and actual area quantity information stored in the allocation database to determine the area quantity information, the split-screen area and split-screen action corresponding to the actual area quantity information, define the split-screen area as conversion split-screen area information, and define the split-screen action as conversion split-screen action information.
[0190] The converted split-screen area information is the information about the split-screen area corresponding to the actual area quantity information. The converted split-screen action information is the information about the action required to convert the current split-screen area information into the converted split-screen area information. The database is established by the method in step 503, and step 503 is actually a process of converting a split-screen area into the current split-screen area information, except that the split-screen area before conversion is a whole area, that is, the area quantity information is 1. When the system receives the area quantity information and the actual area quantity information, it automatically searches the database for the corresponding split-screen area and split-screen action, and outputs them as the converted split-screen area information and the converted split-screen action information, respectively.
[0191] Step 602: The screen in the display is split-screen converted according to the conversion split-screen area information and the conversion split-screen action information, and the display area information and the keyword area information are updated according to the conversion split-screen area information.
[0192] The updating method here is to scale the display area information and the keyword area information, and the scaled horizontal and vertical ratios are the horizontal and vertical ratios of the current split-screen area information and the entire screen.
[0193] Step 603: Play the animation corresponding to the attraction animation interval information in the area corresponding to the respective conversion split-screen area information.
[0194] Reference Figure 8 The method for determining the conversion split-screen area and the conversion split-screen action information based on the area quantity information and the actual area quantity information includes:
[0195] Step 700: define the current split-screen region information where the unmatched sight-staying region information falls as abnormal split-screen region information, and define the current split-screen region information where the unmatched sight-staying region information should theoretically fall as theoretical split-screen region information.
[0196] Step 701: Determine whether the abnormal split-screen area information is also the theoretical split-screen area information.
[0197] The purpose of the judgment is to determine whether the corresponding split-screen area still needs to exist.
[0198] Step 7011: If yes, define the split-screen area information as unchanged split-screen area information and remove it from the abnormal split-screen area information and theoretical split-screen area information.
[0199] If so, it means that it still needs to exist, but in order to distinguish it from the separate abnormal split-screen area information and theoretical split-screen area information, it is defined as unchanged split-screen area information.
[0200] Step 7012: If not, keep the abnormal split-screen area information or the theoretical split-screen area information.
[0201] Step 702: Determine adjacent area information based on the abnormal split-screen area information and the theoretical split-screen area information.
[0202] The adjacent region information is information of a region formed by a combination of adjacent abnormal split-screen region information and theoretical split-screen region information.
[0203] Step 703: Determine whether the adjacent area information only includes four pieces of preset boundary information.
[0204] Boundary information refers to the boundary line information. The judgment method is to determine whether the adjacent area information is formed after the boundary line is determined. The boundary line is then matched with the boundary information. If the boundary line falls within the boundary information, it is considered included. The purpose is to determine whether it is a rectangle.
[0205] Step 7031: If yes, the adjacent area information is played according to the animation corresponding to the attraction animation interval information corresponding to the abnormal split-screen area information, and the remaining split-screen areas remain unchanged.
[0206] If so, it means that a rectangle can be formed at this time, so the remaining split-screen areas can remain unchanged, and the adjacent area information can be played according to the animation corresponding to the attraction animation interval information corresponding to the abnormal split-screen area information, and only the animation playback area of the adjacent area information is enlarged to reduce the occurrence of split-screen actions.
[0207] Step 7032: If not, determine the conversion split-screen area information and conversion split-screen action information according to the allocation database.
[0208] If not, it means that the pattern formed by the information of adjacent areas is rather strange, and the animation cannot be played normally in the entire area, and split screen is still required.
[0209] Based on the same inventive concept, an embodiment of the present invention provides an animation display system.
[0210] Reference Figure 9 , an animation display system, comprising:
[0211] The acquisition module is used to obtain the current animation time information, user sight information and user feedback information;
[0212] A memory for storing a program of a control method for an animation display method;
[0213] The program in the memory can be loaded and executed by the processor to realize a control method of an animation display method.
[0214] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0215] An embodiment of the present invention provides a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing an animation display method.
[0216] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0217] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute an animation display method.
[0218] The above are all preferred embodiments of the present application and are not intended to limit the scope of protection of this application. Unless otherwise stated, any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features. In other words, unless otherwise stated, each feature is merely an example of a series of equivalent or similar features.
Claims
1. An animation display method, characterized in that: include: Get the current animation time information; Determine current animation interval information based on current animation time information; Determine the preceding animation interval information and the following animation interval information according to the preset entire animation content information and the current animation interval information; Determining preceding keyword information and subsequent keyword information based on preceding animation interval information and subsequent animation interval information, and displaying the preceding keyword information and subsequent keyword information in an area corresponding to preset keyword area information; After displaying, obtain the user's line of sight information directly in front; Determine the gaze area information based on the user's gaze information and preset duration of stay information; Determine whether the sight area information falls within the keyword area information; If not, the animation is displayed normally; If yes, then determining the attractive keyword information in the gaze staying area information based on the gaze staying area information and the keyword area information; Determining attraction animation interval information based on attraction keyword information; Play the animation corresponding to the attraction animation interval information; The method for playing the animation corresponding to the attraction animation interval information includes: Performing matching analysis based on query statement information and attraction animation interval information stored in a preset query database to determine the query statement corresponding to the attraction animation interval information, and defining the query statement as attraction query statement information; The user feedback information is received after the attracting query statement information is displayed on the display screen; Determine whether the user feedback information is the preset consent result information; If yes, determine the intermediate animation interval information according to the current animation interval information and the attracting animation interval information; Determine the speed playback duration information based on the preset zoom speed information and the intermediate animation interval information; Play the middle animation interval information at a multiple speed according to the zoom speed information, and after the time corresponding to the multiple speed playback time information, play the animation corresponding to the animation interval information; If not, continue to display the animation normally.
2. The animation display method according to claim 1, characterized in that: The method for playing the intermediate animation interval information at a multiple speed according to the zoom speed information includes: Decomposing the intermediate animation interval information according to the preset buffer ratio information to obtain acceleration interval information, uniform speed interval information and deceleration interval information; Calculate the uniform acceleration curve information based on the duration corresponding to the acceleration interval information, the zoom speed information, and the preset uniform playback speed information; Calculate the uniform deceleration curve information based on the duration corresponding to the deceleration interval information, the zoom speed information, and the uniform playback speed information; The interval corresponding to the acceleration interval information is played at an accelerated speed according to the uniform acceleration curve information, the interval corresponding to the uniform speed interval information is played at a double speed according to the zoom speed information, and the interval corresponding to the deceleration interval information is played at a decelerated speed according to the uniform deceleration curve information.
3. The animation display method according to claim 2, characterized in that: The method for playing the interval corresponding to the uniform speed interval information according to the zoom speed information includes: Determine the current animation interval information that falls within the uniform speed interval information, and define the current animation interval information as uniform acceleration animation interval information; Calculate the duration of the uniform acceleration animation based on the uniform acceleration animation interval information and the zoom speed information; Extract the key frame information and other frame information of the uniform acceleration animation interval information; Determine key duration information based on key frame information; Determining remaining duration information based on remaining frame information; Sort the remaining frame information according to the preset criticality information to obtain non-critical frame number information; Calculate the redundant duration information based on the key duration information, the remaining duration information, the uniformly accelerated animation duration information, and the zoom speed information; Determine the discarded frame information according to the redundant duration information, the remaining duration information, the zoom speed information, and the non-key frame number information; determining remaining frame information based on the discarded frame information and the remaining frame information; The key frame information is played at a uniform speed, and the remaining frame information is played at a zoom speed.
4. The animation display method according to claim 1, wherein: The method for playing the animation corresponding to the attraction animation interval information further includes: Analyze the amount of user gaze information and define the amount as gaze quantity information; Determine whether the number of sight lines is greater than 1; If not, the animation corresponding to the animation interval information will be played; If so, determine whether the gaze area information corresponding to all gaze quantity information is consistent; If they are consistent, the animation corresponding to the animation interval information will be played; If they are inconsistent, the number of areas where the gaze stays is analyzed; Performing matching analysis based on the split-screen area information, split-screen action information, and area quantity information stored in a preset allocation database to determine the split-screen area and split-screen action corresponding to the area quantity information, defining the split-screen area as current split-screen area information, and defining the split-screen action as current split-screen action information; Splitting the screen in the display according to the current split-screen area information and the current split-screen action information and updating the display area information and the keyword area information according to the current split-screen area information; The animation corresponding to the animation interval information is attracted to be played in the area corresponding to the respective current split-screen area information.
5. The animation display method according to claim 4, characterized in that: The method for playing the animation corresponding to the attraction animation interval information in the area corresponding to the respective current split-screen area information includes: After playing the animation corresponding to the attraction animation interval information, determining whether the eye-tracking area information falls within the respective current split-screen area information; If so, continue playing; If not, the area quantity information is updated according to the unmatched sight-staying area information, and the area quantity information is defined as the actual area quantity information; Performing matching analysis based on the split-screen area information, split-screen action information, area quantity information, and actual area quantity information stored in the allocation database to determine the split-screen area and split-screen action corresponding to the area quantity information and the actual area quantity information, defining the split-screen area as conversion split-screen area information, and defining the split-screen action as conversion split-screen action information; Perform split-screen conversion on the screen of the display according to the conversion split-screen area information and the conversion split-screen action information, and update the display area information and the keyword area information according to the conversion split-screen area information; The animation corresponding to the attraction animation interval information is played in the area corresponding to the respective conversion split-screen area information.
6. The animation display method according to claim 5, characterized in that: The method for determining the conversion split-screen area and the conversion split-screen action information according to the area quantity information and the actual area quantity information includes: The current split-screen region information where the mismatched gaze stay region information falls is defined as abnormal split-screen region information, and the current split-screen region information where the mismatched gaze stay region information should theoretically fall is defined as theoretical split-screen region information; Determine whether the abnormal split-screen area information is also the theoretical split-screen area information; If so, the split-screen area information is defined as the unchanged split-screen area information and is removed from the abnormal split-screen area information and the theoretical split-screen area information; If not, the abnormal split-screen area information or the theoretical split-screen area information is retained; Determine adjacent area information based on abnormal split-screen area information and theoretical split-screen area information; Determine whether the adjacent area information contains only four preset boundary information; If so, the adjacent area information is played according to the animation corresponding to the attraction animation interval information corresponding to the abnormal split-screen area information, and the remaining split-screen areas remain unchanged; If not, the conversion split-screen area information and the conversion split-screen action information are determined according to the allocation database.
7. An animation display system, characterized in that: include: The acquisition module is used to obtain the current animation time information, user sight information and user feedback information; A memory for storing a program of a control method for an animation display method according to any one of claims 1 to 6; The program in the memory can be loaded and executed by the processor and implements the control method of the animation display method according to any one of claims 1 to 6.
8. Intelligent terminal, characterized in that, The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes an animation display method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The device stores a computer program which can be loaded by a processor and executes an animation display method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Recommendation method and device based on eyeball tracking
CN111400605A
Live broadcast interface display processing method, electronic terminal and storage medium
CN114845153A