Display method, readable storage medium and electronic device
By optimizing the tailing and rebounding of the motion curve in the electronic device animation module, the tailing and rebounding problems of the animation are solved, the power consumption is reduced and the visual effect is improved.
Patent Information
- Application Number
- CN202310838851.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-07-07
AI Technical Summary
When electronic devices display animations, the tail and rebound parts of the motion curve lead to increased power consumption and poor visual effects. It is difficult to effectively optimize these problems with existing technology.
By obtaining the curve identifier and optimization identifier in the animation parameters, the animation module performs tailing optimization and rebound optimization on the target curve part of the dynamic effect curve, and generates an optimization curve to replace the original curve. The tailing time of the optimized curve is shorter or maintained Change monotonically to avoid rebound.
It reduces the power consumption of electronic devices when displaying animations, improves the visual effects of animations, and avoids the problems of animation freezes and discontinuities.
Smart Images

Figure CN117707660B
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a display method, a readable storage medium and an electronic device. Background Art
[0002] With the development of terminal technology, electronic devices such as mobile phones and tablet computers are equipped with various types of screens. For this reason, the display animation of the user interface (UI) on the screen of the electronic device has become a key factor affecting the user experience. The display animation of the UI interface is, for example, achieved by changing the display properties (such as size, position, angle) of each display element in the display interface according to at least one dynamic effect curve (such as scaling, moving, rotating, etc.).
[0003] However, at the end of some animation curves, the parameters of the animation curves change little over time, and the display properties of the corresponding display elements of the display interface also change little. However, electronic devices still need to consume computing resources to draw, synthesize and render animations of display elements, which increases power consumption but does not significantly improve the animation effect. Summary of the invention
[0004] Embodiments of the present application provide a display method, a readable storage medium, and an electronic device.
[0005] In a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device, and includes: obtaining animation parameters of a first animation, wherein the animation parameters include a curve identifier, an optimization identifier, and an optimization parameter; selecting a first animation curve represented by the curve identifier from multiple animation curves; based on the optimization parameter, optimizing the target curve portion identified by the optimization identifier in the first animation curve to obtain a first optimized curve; and generating a first animation based on the first optimization curve.
[0006] It can be understood that in some embodiments of the present application, the curve identifier may also be referred to as the type of the first animation curve hereinafter, and the optimization identifier may also be referred to as location information hereinafter. When the first application installed on the electronic device triggers the first animation, the animation parameters of the first animation will be sent to the animation module on the electronic device. The animation module stores multiple types of animation curves, and the animation module calls the first animation curve according to the curve identifier to generate the first animation. In addition, the animation module can determine the target curve portion that needs to be optimized in the first animation curve according to the optimization identifier in the animation parameters, and optimize the target curve portion according to the optimization parameters to obtain the first optimization curve, thereby generating the first animation according to the first optimization curve. The first optimization curve may also be referred to as the second animation curve hereinafter.
[0007] The first optimization curve will not have the problems existing in the target curve part of the first motion effect curve (such as the tailing problem or rebound problem existing in the target curve part below), so the first animation generated by the first optimization curve can meet the target requirements (such as reducing the power consumption of the mobile phone below, or improving the visual effect of the first animation).
[0008] In a possible implementation of the first aspect, the first animation effect curve and the first optimization curve are functions of display properties of display elements of the first animation and time.
[0009] It can be understood that in some embodiments of the present application, the first animation curve and the first optimization curve are functions between the display attribute of the display element of the first animation and time. The time of the first animation is substituted into the function of the first optimization curve, and the output value of the first optimization curve obtained is the value of the display attribute of the display element.
[0010] In a possible implementation of the first aspect above, the target curve portion includes a portion of the first animation curve corresponding to a first time period; the first time period includes an end time of the first animation curve, and a slope of the target curve portion is less than a first slope threshold, and the first time period is greater than a first duration threshold.
[0011] It is understood that in some embodiments of the present application, the target curve may be, for example, a tailing portion of the first animation curve in which the output value at the tail changes less but lasts longer. In the first animation generated by this target curve portion, the user cannot perceive the change in the display attribute of the display element in the first animation, but the electronic device still needs to consume computing resources to display the first animation generated by the target curve portion, resulting in an increase in the energy consumption of the electronic device to display the first animation, so the target curve portion needs to be optimized.
[0012] In a possible implementation of the first aspect, the optimization parameters include first flag data, and the optimization method specified by the first flag data includes: shortening the first time period corresponding to the target curve portion, and keeping the output value of the target curve portion corresponding to the end time unchanged.
[0013] It can be understood that in some embodiments of the present application, the animation module in the electronic device can determine the optimization method of the first animation curve according to the flag data. For example, the flag data may include first flag data, and the first flag data may be 1, for example. When the flag obtained by the animation module is 1, it can be determined that the tailing portion of the first animation curve needs to be optimized (hereinafter referred to as tailing optimization). The optimization method may be, for example, to reduce the time of the target curve portion and ensure that the output value of the end point of the target curve portion remains unchanged.
[0014] In a possible implementation of the first aspect above, the above-mentioned optimization parameters include a first optimization time, and based on the optimization parameters, the target curve portion identified by the optimization identifier in the first motion effect curve is optimized to obtain a first optimization curve, including: obtaining the first curve corresponding to the first flag data; based on the first curve and the first optimization time, modifying the target curve portion to a first correction curve, wherein the second time period corresponding to the first correction curve is less than the first time period corresponding to the target curve portion, and the output value of the first correction curve corresponding to the end time is the same as the output value of the target curve portion corresponding to the end time; replacing the target curve portion of the first motion effect curve with the first correction curve to obtain a first optimization curve.
[0015] It can be understood that in some embodiments of the present application, the optimization parameters may include, for example, a first optimization time, which may also be referred to as the duration of the optimization curve hereinafter. The first curve may be, for example, an optimization curve for tailing optimization of a target curve portion hereinafter, and the first curve is determined according to a flag. For example, when the flag is the first flag, the corresponding first curve is used to perform tailing optimization on the target curve portion. After obtaining the first curve, the coordinates of the first curve may be converted to the coordinates of the first motion effect curve according to the first optimization time, thereby generating a first correction curve, and the time period of the first correction curve is less than the time period of the target curve portion. Then, the target curve portion of the first motion effect curve is replaced with the first correction curve to obtain the first optimization curve. The tailing time of the first animation generated based on the first optimization curve is short, so the first animation can end quickly, thereby reducing the energy consumption of the mobile phone in displaying the first animation.
[0016] In a possible implementation of the first aspect above, the target curve portion includes a portion of the first animation curve corresponding to a third time period, the third time period includes an end time of the first animation curve, and the number of positive and negative changes in the slope of the target curve portion exceeds a first count threshold.
[0017] It can be understood that in some embodiments of the present application, a positive or negative change in the slope of the target curve portion indicates that the function of the target curve portion changes from monotonically increasing to monotonically decreasing (or from monotonically decreasing to monotonically increasing) once, which can be understood as the target curve portion rebounding once. When the slope of the target curve portion changes positively or negatively multiple times, the target curve portion rebounds multiple times. The reciprocating rebound of the target curve causes the display attributes of the display elements in the first animation to also change reciprocally, resulting in a poor visual effect of the first animation. For example, when the first count threshold is 1, when the number of rebounds of the target curve portion exceeds 1, it can be determined that the target curve needs to be rebound optimized.
[0018] In a possible implementation of the first aspect above, the above-mentioned optimization parameters include second flag data, and the optimization method specified by the second flag data includes: keeping the third time period corresponding to the target curve part unchanged, and the output value corresponding to the end time of the target curve part unchanged, and correcting the slope of the target curve part to be all positive slopes or all negative slopes.
[0019] It can be understood that in some embodiments of the present application, the second flag bit can be, for example, 2. When the flag bit data obtained by the animation module in the electronic device is the second flag bit, it can be determined that the target curve portion is rebound optimized. The rebound optimization method is, for example, to keep the time period of the target curve portion unchanged, and the output value at the end unchanged, but the function of the target curve portion is required to be a monotonic function, such as monotonically increasing or monotonically decreasing. Thereby, the function of the target curve portion will not rebound back and forth.
[0020] In other embodiments, the flag data may be, for example, 0, indicating that the first dynamic effect curve does not need to be optimized, or the flag data may be other data, indicating that the first dynamic effect curve is optimized in other ways.
[0021] In a possible implementation of the first aspect above, the above-mentioned optimization parameters include a second optimization time, and, based on the optimization parameters, the target curve portion identified by the optimization identifier in the first motion effect curve is optimized to obtain a first optimization curve, including: obtaining a second curve corresponding to the second flag data; based on the second curve and the second optimization time, modifying the target curve portion to a second correction curve, wherein the fourth time period corresponding to the second correction curve is equal to the third time period corresponding to the target curve portion, the output value of the second correction curve corresponding to the end time is the same as the output value of the target curve portion corresponding to the end time, and the slope of the second correction curve is either a positive slope or a negative slope; replacing the target curve portion of the first motion effect curve with the second correction curve to obtain the first optimization curve.
[0022] It can be understood that in some embodiments of the present application, the second curve can also be an optimized curve for rebound optimization of the target curve portion. After obtaining the second curve, the coordinates of the second curve can be converted to the coordinates of the first dynamic effect curve according to the second optimization time, thereby generating a second correction curve, and the time period of the second correction curve is the same as the time period of the target curve portion. Then, the target curve portion of the first dynamic effect curve is replaced with the second correction curve to obtain the first optimization curve. The display properties of the display elements of the first animation generated based on the first optimization curve will not change back and forth, thereby improving the visual effect of the first animation.
[0023] In a possible implementation of the first aspect, the output value is a display attribute of a display element in the first animation, and the display attribute of the display element includes at least one of the following: size, position, angle or transparency of the display element.
[0024] In a possible implementation of the first aspect above, it also includes: acquiring animation parameters of a first animation sent by a first application installed on the electronic device; and the method also includes: displaying the first animation on an application interface of the first application.
[0025] It is understood that in some embodiments of the present application, after the first application installed in the electronic device triggers the first animation, the animation parameters of the first animation are sent to the animation module of the electronic device. After the animation module generates the first animation based on the animation parameters, the first animation is displayed on the application interface of the first application.
[0026] In a possible implementation of the first aspect above, the animation parameters include the time and frame rate of the first animation; and generating the first animation based on the first optimization curve includes: determining the generation time of each frame image in the first animation based on the time and frame rate of the first animation; substituting the generation time of each frame image into the function of the first optimization curve to determine the display properties of the display elements in each frame image to generate each frame image; generating the first animation based on each frame image.
[0027] It can be understood that the animation parameters include the time and frame rate of the first animation, and the number of image frames corresponding to the first animation and the generation time of the image frames can be obtained through the time and frame rate of the first animation. The display properties of the display elements in the corresponding image frames can be obtained by substituting the generation time of the image frames into the function of the first optimization curve. After obtaining the display properties of the display elements on all image frames, the complete first animation can be generated.
[0028] In a second aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing instructions; and at least one processor for executing instructions so that the electronic device implements the display method provided by the first aspect and any possible implementation of the first aspect.
[0029] In a third aspect, an embodiment of the present application provides a readable storage medium having instructions stored thereon. When the instructions are executed on a computer, the computer executes the display method provided by the first aspect and any possible implementation of the first aspect.
[0030] In a fourth aspect, the present application provides a program product, which, when running on an electronic device, enables the electronic device to implement the display method provided by the first aspect and any possible implementation of the first aspect.
[0031] It should be understood that the beneficial effects of the second to fourth aspects mentioned above can be referred to the description of the first aspect mentioned above and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1a A scene diagram of electronic device interface switching is shown;
[0033] Figure 1b A schematic diagram showing the position of the information content interface on each frame of an image in a switching animation changes with the image frame;
[0034] Figure 2a A scene diagram showing an electronic device switching from a lock screen interface to an application desktop interface;
[0035] Figure 2b A schematic diagram showing the size change of an application icon on each frame image when entering an application icon interface;
[0036] Figure 3 An interactive flow chart of a display method is shown;
[0037] Figure 4a According to some embodiments of the present application, a schematic diagram of a dynamic effect curve tailing optimization is shown;
[0038] Figure 4b According to some embodiments of the present application, a schematic diagram of a dynamic effect curve rebound optimization is shown;
[0039] Figure 5 According to some embodiments of the present application, an interactive flow chart of a display method is shown;
[0040] Figure 6 According to some embodiments of the present application, a flow chart of an implementation of a display method is shown;
[0041] Figure 7 According to some embodiments of the present application, a schematic diagram of the structure of a mobile phone is shown;
[0042] Figure 8 According to some embodiments of the present application, a schematic block diagram of a system software architecture of a mobile phone is shown. DETAILED DESCRIPTION
[0043] Illustrative embodiments of the present application include, but are not limited to, a display method, a readable storage medium, and an electronic device.
[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0045] Figure 1aA scene diagram of electronic device interface switching is shown.
[0046] The following takes the example of a user clicking on an information item on the mobile phone information item interface to introduce a scenario diagram of the mobile phone switching from the information item interface to the information content interface.
[0047] like Figure 1a As shown, the information entry interface 101 of the information application of the mobile phone 100 displays the information entries of the user's contacts A, B, C, D, E, F, G and H. The user clicks on the information entry 102 of the contact G through the click operation 103, and the mobile phone 100 responds to the user's click operation 103 and switches the information entry interface 101 to the information content interface 105 of the contact G through the switching animation 104.
[0048] It can be understood that the switching animation 104 of the information application can be an animation in which the information content interface 105 slides from right to left until it completely covers the information entry interface 101, and the switching animation 104 can include multiple image frames. The process of the information content interface 105 sliding from right to left can, for example, conform to the dynamic effect curve, that is, the switching process of the switching animation 104 is that the information content interface 105 starts to slide to the left at an accelerated speed, and when the information content interface 105 accelerates to slide to a preset position (for example, the position where the information content interface 105 slides over 1 / 2 of the display width of the mobile phone 100), it starts to decelerate. When the information content interface 105 decelerates to a movement speed of 0, the mobile phone 100 can display the complete information content interface 105 in full screen.
[0049] Figure 1b The schematic diagram shows how the position of the information content interface 105 on each frame of the image in the switching animation 104 changes with the image frame.
[0050] like Figure 1bAs shown, the horizontal axis of the schematic diagram represents the image frames displayed by the switching animation 104 in time sequence. For example, the frame rate of the electronic device is 60 frames per second, that is, one frame is displayed every 16.6ms. The switching animation 104 has a total of 34 frames, and the display time of the switching animation 104 is 566.6ms, that is, the switching animation 104 displays 34 frames of images in sequence within 566.6ms. The vertical axis represents the position of the information content interface 105 on the display screen of the mobile phone 100 in the corresponding image frame. For example, the minimum position of the information content interface 105 is 0, indicating that the left end of the information content interface 105 has not slid out of the display screen of the mobile phone 100. The maximum position is 1500, indicating that the left end of the information content interface 105 slides to the left end of the display screen of the mobile phone 100, that is, when the information content interface 105 slides to the position of 1500, it will be completely displayed on the screen of the mobile phone 100, and the switching process of the switching animation 104 is completed. The data of the vertical coordinate can be expressed as pixels, for example, the rightmost end of the display screen of the mobile phone 100 is the first pixel, and the leftmost end is the 1500th pixel. The movement of the information content interface 105 can be determined based on the dynamic effect curve of the switching animation 104. Figure 1b The horizontal axis in represents the image frames displayed in time sequence. Therefore, in this embodiment, the dynamic effect curve can be a function of the position of the information content interface 105 on the display screen of the mobile phone 100 and time.
[0051] Continue to refer to Figure 1b , during the switching animation 104 from the 1st frame to the 10th frame, the slope of the dynamic effect curve gradually increases, indicating that the information content interface 105 is sliding at an accelerated speed. After the switching animation 104 from the 10th frame, the slope of the dynamic effect curve gradually decreases, indicating that the information content interface 105 is sliding at a decelerated speed. When the switching animation 104 from the 34th frame, the information content interface 105 is completely displayed on the screen of the mobile phone 100, and the slope of the dynamic effect curve is 0, indicating that the movement speed of the information content interface 105 is 0, and the switching animation 104 ends.
[0052] It can be understood that, starting from the 21st frame of the switching animation 104, the movement speed of the information content interface 105 is slow, and the user cannot perceive the movement of the information content interface 105, but the switching animation 104 still needs to display 13 frames of images before it ends. The display time of these 13 frames of images can be called the tail time, for example. In other words, although the mobile phone 100 occupies computing resources to continue synthesizing the 13 frames of images, it cannot significantly improve the animation effect, and the computing resources of the mobile phone 100 are occupied.
[0053] Figure 2a A scene diagram showing an electronic device switching from a lock screen interface to an application desktop interface.
[0054] The following takes the example of a user swiping up the lock screen interface of the mobile phone 100 to enter the application icon interface to introduce the animation scene diagram of the application icon entering the desktop.
[0055] like Figure 2a As shown, a prompt box of "Swipe up to unlock" is displayed on the lock screen interface 201 of the mobile phone 100. The user slides up the lock screen interface 201 of the mobile phone 100, and the mobile phone 100 responds to the user's sliding operation and enters the application icon interface 202. Among them, the animation of the mobile phone 100 entering the application icon interface 202 can be divided into four parts, for example. After the user slides up the lock screen interface 201 of the mobile phone 100, the mobile phone 100 enters the first animation interface 203. In the first animation interface 203, an animation of the size of the application icon 204 from large to small from the outside of the display screen of the mobile phone 100 entering the display screen is displayed. When the mobile phone 100 displays the second animation interface 205, the size of the application icon 204 reaches the minimum and starts to rebound. When the size of the application icon 204 rebounds to the maximum value, the mobile phone 100 displays the third animation interface 206. Then, the size of the application icon 204 begins to decrease again, reaches the target size, and enters the application icon interface 202, wherein the target size indicates the size of the application icon 204 that is stable and does not change.
[0056] It can be understood that the animation of the mobile phone 100 entering the application icon interface 202 from the lock screen interface 201 is an animation in which the size of the application icon 204 first enters the display screen from outside the display screen from large to small, then rebounds from small to large, and then stabilizes at the target size. The animation of the size change of the application icon 204 can be represented by a dynamic effect curve, for example.
[0057] Figure 2b The schematic diagram shows the size change of the application icon 204 on each frame image when entering the application icon interface 202.
[0058] like Figure 2b As shown, the horizontal axis of the schematic diagram represents the image frames of the application icon 204 displayed in chronological order from the second animation interface 205 to the application icon interface 202. For example, there are 37 image frames in total during the display time of the above animation interface. The vertical axis represents the size of the application icon 204. For example, the minimum size of the application icon 204 is 0 (for example, the application icon 204 displayed on the second animation interface 205), and the maximum size is 1816 (for example, the application icon 204 displayed on the third animation interface 206). The target size is 1500, that is, the size of the application icon 204 is finally stabilized at a size of 1500. The size change of the application icon 204 can be based on, for example, Figure 2b The determination of the dynamic effect curve formed by connecting the coordinate points in Figure 2bThe image frames represented by the abscissa in are displayed in time sequence, and the dynamic effect curve of the size change of the application icon 204 can also be a function of the size of the application icon 204 and time.
[0059] It can be understood that starting from the 10th frame image (eg, the third animation interface 206), the size of the application icon 204 begins to decrease. Figure 2a As shown in the application icon interface 202 of the scene, it is directly reduced to the target size. However, in fact, the size change of the application icon 204 is as follows Figure 2b As shown in the scatter plot, the size of the application icon 204 will change back and forth, and finally stabilize at 1500. The size of the application icon 204 changes back and forth faster when rebounding (after the 10th frame image), but the size change is small, resulting in a poor visual experience for the user.
[0060] The following is an interactive flow chart of a display method based on the above scenario.
[0061] Figure 3 An interactive flow chart of a display method is shown. Figure 3 As shown, the interaction process includes:
[0062] 301 , a first application 310 responds to a user operation and triggers display of a first animation.
[0063] Exemplarily, the first application 310 may be, for example, Figure 1a In the information application of the embodiment, the user operation may be, for example, a click operation 103, clicking on the information item 102 of the contact G. The information application triggers a first animation in response to the user's click operation 103. The first animation may be, for example, Figure 1a The switching animation 104 in the embodiment switches the information entry interface 101 to the information content interface 105 .
[0064] It is understood that in other embodiments, the first application 310 may also be Figure 2a The desktop application in the embodiment, or other applications with animation effects installed on the mobile phone 100.
[0065] 302 , the first application 310 sends animation parameters to the animation module 320 .
[0066] Exemplarily, when the first application 310 triggers the first animation, the first application 310 sends animation parameters to the animation module 320 .
[0067] In some embodiments, the animation parameters may include, for example, the duration of the first animation, the frame rate, and the type of the first animation effect curve.
[0068] The animation module 320 may be, for example, a module in the application framework layer of the mobile phone 100 system. The application framework layer provides an application programming interface (API) and a programming framework for the application programs in the application layer.
[0069] The application framework layer includes a window manager service (WMS), and the animation module 320 may be a module in the window manager service, for example.
[0070] The application framework layer includes some predefined functions, such as the animation module 320, which stores various types of interpolators that define animation changes, so that some basic animations (e.g., translation, scaling, rotation, transparency) can be accelerated, decelerated, repeated, etc. For example, acceleration and deceleration interpolators, linear interpolators, and acceleration interpolators, each of which has a corresponding interpolator identifier. Among them, the type of the first motion effect curve can be represented by the interpolator identifier.
[0071] 303, the animation module 320 calls the first animation effect curve based on the animation parameters.
[0072] Exemplarily, the animation module 320 may determine to call the first animation curve according to the first animation curve type in the animation parameters, for example.
[0073] For example, in Figure 1a In the embodiment, the first animation is the switching animation 104, the display element of the switching animation 104 is the information content interface 105, and the display effect of the information content interface 105 is sliding from the right end of the mobile phone 100 screen to the left end of the mobile phone 100 screen until the full screen is displayed on the screen of the mobile phone 100. Therefore, the first motion effect curve called by the animation module 320 can be, for example, a motion effect curve for adjusting the movement of the information content interface 105.
[0074] For example, in Figure 2a In the embodiment, the first animation is an animation of entering the application icon interface 202 from the lock screen interface 201 of the mobile phone 100. The display element of the first animation is the application icon 204, and the display effect of the application icon 204 is a change in size. Therefore, the first animation curve called by the animation module 320 can be, for example, an animation curve for adjusting the size of the application icon 204.
[0075] The animation module 320 may call a corresponding interpolator based on the interpolator identifier sent by the first application 310 to obtain a first motion effect curve (eg, a function representing a corresponding relationship between a horizontal coordinate and a vertical coordinate of the first motion effect curve).
[0076] 304, the animation module 320 obtains animation data based on the animation parameters and the first animation effect curve.
[0077] Exemplarily, after obtaining the first animation curve, the animation module 320 may bring the animation parameters into the first animation curve to obtain animation data. The animation data may include, for example, the number of animation frames, time, and display properties of display elements on each frame image.
[0078] For example, in Figure 1b In the embodiment, the motion position of the information content interface 105 in each frame image can be obtained based on the animation parameters and the first motion effect curve.
[0079] For example, in Figure 2b In the embodiment, the size of the application icon 204 in each frame image can be obtained based on the animation parameters and the first animation curve.
[0080] 305 , the first application 310 obtains animation data and displays a first animation based on the animation data.
[0081] Exemplarily, after the animation module 320 generates the animation data, the first application 310 may display the first animation based on the animation data.
[0082] For example, in Figure 1a In the embodiment of the present invention, the first animation is a switching animation 104, and the image of the information content interface 105 slides from the right end to the left end of the display screen of the mobile phone 100 to cover the information entry interface 101. When the left end of the information content interface 105 slides close to the left end of the display screen of the mobile phone 100, the user cannot perceive the movement of the information content interface 105, but the switching animation 104 is still continuing, so the content interface 105 has a long tail time before the sliding ends.
[0083] For example, in Figure 2a In the embodiment, the size of the application icon 204 enters the display screen from outside the display screen from large to small, then increases from small to large to reach a maximum value, and then rebounds back and forth to change to the target size. The time of the reciprocating rebound is relatively fast, resulting in a poor visual effect of the first animation.
[0084] In the above interaction process, when the first application 310 triggers the first animation, it will send animation parameters to the animation module 320. The animation parameters include the animation curve specified by the first application 310, such as the first animation curve. The animation module 320 will call the first animation curve specified by the first application 310 to generate animation data. However, the first animation curve may contain Figure 1b The tailing problem in the embodiment causes the mobile phone 100 to consume more computing resources. Figure 2b The reciprocating rebound problem in the embodiment results in a poor visual effect of the first animation.
[0085] In order to solve the above problems, some embodiments combine the animation effects realized by multiple animation curves to solve the problems of long tailing time of the animation curve and fast reciprocating rebound speed. Figure 1a In the scenario, the animation after the 21st frame of the switching animation 104 is deleted, and then an animation effect of the information content interface 105 quickly moving to the maximum position is designed, and then the two animation effects are spliced to achieve the effect of the switching animation 104. For another example, in Figure 2a In the interface, the animation effect of the application icon 204 starting to rebound and decrease in size is deleted, and then an animation effect of the application icon 204 directly decreasing in size to the target size is designed, and then this animation effect is spliced with the animation effect that was not deleted before to form a new animation effect. However, this splicing of animation effects will cause the overall animation effect to be discontinuous at the splicing point, resulting in a stuck effect, so that the overall animation effect is not smooth enough.
[0086] The present application provides a display method. In this method, when the application of the electronic device specifies the first motion effect curve for realizing the effect of the first animation to the animation module (a module in the electronic device system for generating animation data), if there is a curve portion that can be optimized on the first motion effect curve (hereinafter referred to as the target curve portion, such as the above-mentioned trailing curve or the reciprocating rebound curve), the application can also send flag information indicating the existence of the target curve in the first motion effect curve to the animation module. Thus, in the process of realizing the effect of the first animation, the animation module can replace the target curve portion in the first motion effect curve with the optimized curve according to the flag information and in a manner corresponding to the flag information to obtain the second motion effect curve. Then, based on the second motion effect curve, the electronic device draws, synthesizes, renders and displays the first animation effect. Among them, the optimization curve can be set according to the specific problems existing in the target curve part (for example, the tailing time of the tailing curve is long, and the rebound speed of the reciprocating rebound curve is too fast, resulting in poor visual effect of the first animation), and can optimize the problems existing in the target curve part (for example, for the above-mentioned tailing curve part, the tailing time of the optimization curve is shorter. For the above-mentioned reciprocating rebound curve part, the optimization curve can change monotonically to the target position without reciprocating vibration, thereby improving the visual effect of the first animation).
[0087] The above-mentioned flag information may include, for example, a flag bit and position information, wherein the flag bit may be used to determine the optimization effect of the first dynamic effect curve, for example, the flag bit may be set to 0, 1, or 2. When the flag bit is 0, it indicates that the first dynamic effect curve is not optimized, and when the flag bit is 1, it indicates that the first dynamic effect curve is tail optimized. When the flag bit is 2, it indicates that the first dynamic effect curve is rebound optimized. The position information indicates the initial position of the target curve portion in the first dynamic effect curve.
[0088] The application also sends optimization parameters of the optimization curve to the animation module. The optimization parameters may include, for example, the duration of the optimization curve, an identifier of a specified optimization curve, and other data.
[0089] The display properties of the display element in the first animation may be affected by multiple animation curves, for example, animation curve A is used to adjust the position of the display element, animation curve B is used to adjust the size of the display element, and animation curve C is used to adjust the angle of the display element. Exemplarily, if there are target curve parts in both animation curve A and animation curve B, the first animation curve in the first animation may include animation curve A and animation curve B, and optimizing the first animation curve is to optimize animation curve A and animation curve B.
[0090] It can be understood that the target curve portion may be, for example, a portion of the first dynamic effect curve that needs to be optimized.
[0091] In some embodiments, the target curve portion may be the tail of the first dynamic effect curve, the portion where the vertical coordinate of the curve changes less than a preset value within a preset time period (hereinafter referred to as the tail curve). Figure 1b In the embodiment, the position of the information content interface 105 changes slightly after the 21st frame image, and the user has no obvious perception of the position change of the information content interface 105. In addition, the mobile phone 100 still needs to consume computing resources to display the next 13 frames of images. Figure 1b The corresponding curve of the information content interface 105 on the last 13 frames of images is the target curve portion.
[0092] In some embodiments, if the ordinate of the first dynamic effect curve first increases or decreases with the abscissa to a first value, and then stabilizes to a second value after reciprocating oscillation, the curve portion after the ordinate of the first dynamic effect curve reaches the first value may be the target curve portion (hereinafter referred to as the rebound curve). Figure 2b In the embodiment, the size of the application icon 204 needs to rebound several times after the 10th frame image to stabilize at the target size. The rebound of the size of the application icon 204 causes a poor visual effect of the first animation. Figure 2b The curve corresponding to the size of the application icon 204 in the last 27 frames of images is the target curve portion.
[0093] It should be understood that, corresponding to different types of target curve parts, different optimization curves may be used to replace the target curve parts.
[0094] If the target curve portion is a trailing curve, assuming that the ordinate of the target curve portion changes from the third value to the fourth value within the first horizontal axis range (it may be increased from the third value to the fourth value, or decreased from the third value to the fourth value, or oscillates back and forth from the third value to the fourth value), the optimization curve is a curve whose ordinate changes from the third value to the fourth value within the second horizontal axis range, wherein the animation duration corresponding to the second horizontal axis range is less than the animation duration corresponding to the first horizontal axis range.
[0095] If the target curve portion is a rebound curve whose ordinate changes from the aforementioned first value to the second value, assuming that the horizontal coordinate range corresponding to the target curve portion is the third horizontal coordinate range, the optimization curve can be a curve whose ordinate changes monotonically from the first value to the second value (increasing from the first value to the second value or decreasing from the first value to the second value) within the fourth horizontal coordinate range, wherein the animation duration corresponding to the fourth horizontal coordinate range is less than or equal to the animation duration corresponding to the third horizontal coordinate range.
[0096] Figure 4a According to some embodiments of the present application, a schematic diagram of a dynamic effect curve tailing optimization is shown.
[0097] like Figure 4a As shown, the target curve portion is the curve corresponding to the position of the information content interface 105 in the last 13 frames of the first dynamic effect curve. The second dynamic effect curve only displays 7 frames of images after the 21st frame of image, and the data of these 7 frames of images corresponds to the optimization curve. Compared with the first dynamic effect curve, the second dynamic effect curve reduces 6 frames of images. Therefore, the mobile phone 100 reduces the computing resources for displaying 6 frames of images, thereby reducing the power consumption of the mobile phone 100.
[0098] Figure 4b According to some embodiments of the present application, a schematic diagram of a dynamic effect curve rebound optimization is shown.
[0099] like Figure 4b As shown, the target curve portion is the curve corresponding to the size of the application icon 204 in the last 27 frames of the first animation curve. The second animation curve directly reduces the size of the application icon 204 to the target size after the 10th frame, and the size of the application icon 204 does not rebound back and forth, thereby improving the animation effect of the mobile phone 100 entering the application icon interface 202 from the lock screen interface 201. The curve after the 10th frame of the second animation curve is the optimization curve.
[0100] Through this solution, the target curve of the animation curve is partially replaced by the optimized curve designed according to the characteristics of the animation curve to obtain the second animation curve, so that the animation generated based on the second animation curve meets the target requirements. In addition, the animation generated based on the second animation curve is smoother and there will be no animation freeze problem.
[0101] Figure 5 According to an embodiment of the present application, an interactive flow chart of a display method is shown.
[0102] It can be understood that the display method provided in the embodiment of the present application can be applicable to electronic devices including but not limited to: mobile phones 100, tablets, computers, smart watches, car conference terminals, desktops, laptops, handheld computers, netbooks, as well as augmented reality (AR) / virtual reality (VR) devices, smart TVs, smart watches and other wearable devices, servers, portable game consoles, portable music players, reader devices, and other electronic devices embedded or coupled with one or more processors and capable of displaying animations.
[0103] like Figure 5 As shown, the interaction process includes:
[0104] 501 , the first application 310 responds to a user operation and triggers display of a first animation.
[0105] Exemplarily, the first application 310 may be, for example, Figure 1a In the information application of the embodiment, the user operation may be, for example, a click operation 103, clicking on the information item 102 of the contact G. The information application triggers a first animation in response to the user's click operation 103. The first animation may be, for example, Figure 1a The switching animation 104 in the embodiment switches the information entry interface 101 to the information content interface 105 .
[0106] It is understood that in other embodiments, the first application 310 may also be Figure 2a The desktop application in the embodiment, or other applications with animation effects installed on the mobile phone 100.
[0107] The first application 310 may be, for example, an application whose display elements on the display interface have animation effects, such as an information application, a desktop application, a navigation application, and the like.
[0108] 502 , the first application 310 sends animation parameters and target parameters to the animation module 320 .
[0109] Exemplarily, when the first application 310 triggers the first animation, the first application 310 sends animation parameters to the animation module 320 .
[0110] In some embodiments, the animation parameters may include, for example, the duration of the first animation, the frame rate, and the type of the first animation effect curve.
[0111] The type of the first animation curve is determined based on the display effect of the display element of the first animation. For example, if the display element in the first animation needs to move, the type of the first animation curve may be animation curve A. If the display element needs to be scaled, the type of the first animation curve may be animation curve B. The type of the first animation curve may be represented by an interpolator identifier.
[0112] The target parameters may include, for example, the flag of the first motion effect curve, the position information for optimizing the first motion effect curve, and the optimization parameters for generating the optimized curve. The flag can be used to determine the optimization effect of the first motion effect curve. For example, the flag can be set to 0, 1, or 2. When the flag is 0, it indicates that the first motion effect curve is not optimized. When the flag is 1, it indicates that the first motion effect curve is tail-optimized. When the flag is 2, it indicates that the first motion effect curve is rebound-optimized. In other embodiments, the flag may also be set to different values according to other optimization schemes. The optimization parameters may include, for example, data such as the identifier of the specified optimization curve and the duration of the optimization curve.
[0113] The animation module 320 can be, for example, a module in the application framework layer of the mobile phone 100 system. The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. For example, the animation module 320 includes various types of interpolators that define animation changes, so that some basic animations (for example, translation, scaling, rotation, transparency) can be accelerated, decelerated, repeated, etc. For example, the default acceleration and deceleration interpolator will gradually accelerate at the beginning of the animation, and then gradually decelerate until the animation ends. The application framework layer includes a window manager service, and the animation module 320 can be, for example, a module in the window manager service.
[0114] 503, the animation module 320 calls the first animation effect curve based on the animation parameters.
[0115] Exemplarily, the animation module 320 may determine to call the first animation curve according to the type of the first animation curve in the animation parameters, for example.
[0116] For example, in Figure 1a In the embodiment, the first animation is the switching animation 104, the display element of the switching animation 104 is the information content interface 105, and the display effect of the information content interface 105 is sliding from the right end of the mobile phone 100 screen to the left end of the mobile phone 100 screen until the full screen is displayed on the screen of the mobile phone 100. Therefore, the first motion effect curve called by the animation module 320 can be, for example, a motion effect curve for adjusting the movement of the information content interface 105.
[0117] For example, in Figure 2a In the embodiment, the first animation is an animation of entering the application icon interface 202 from the lock screen interface 201 of the mobile phone 100. The display element of the first animation is the application icon 204, and the display effect of the application icon 204 is a change in size. Therefore, the first animation curve called by the animation module 320 can be, for example, an animation curve for adjusting the size of the application icon 204.
[0118] It can be understood that the animation module 320 stores interpolators of various curves, such as acceleration and deceleration interpolators, linear interpolators, and acceleration interpolators, and each interpolator has a corresponding interpolator identifier. The animation module 320 can call the corresponding interpolator based on the interpolator identifier sent by the first application 310 to obtain the first animation curve (e.g., a function representing the corresponding relationship between the horizontal coordinate and the vertical coordinate of the first animation curve).
[0119] 504, the animation module 320 optimizes the first motion effect curve based on the target parameter to obtain a second motion effect curve.
[0120] Exemplarily, the animation module 320 can determine a scheme for optimizing the first motion effect curve based on a flag in the target parameter, and optimizes the first motion effect curve based on the optimization parameter to obtain a second motion effect curve.
[0121] For example, in Figure 4a In the embodiment of the present invention, the flag bit of the first motion effect curve is set to 1, and the animation module 320 performs tail optimization on the first motion effect curve based on the optimization parameters to obtain a second motion effect curve. After the 21st frame image of the second motion effect curve, the left end of the information content interface 105 quickly moves to the left end of the screen of the mobile phone 100, thereby reducing the image frames of the tailing part, reducing the consumption of computing resources of the mobile phone 100, and the process of reducing the speed of the information content interface 105 can also be perceived by the user.
[0122] For example, in Figure 4b In the embodiment, the flag of the first dynamic effect curve is set to 2, and the animation module 320 performs rebound optimization on the first dynamic effect curve based on the optimization parameters to obtain a second dynamic effect curve. In the second dynamic effect curve, after the size of the application icon 204 reaches the maximum value, it is directly reduced to the target size. The size of the application icon 204 no longer rebounds back and forth, so that the visual effect of the animation of the application icon 204 is better.
[0123] Among them, the method in which the animation module 320 optimizes the first motion effect curve based on the optimization parameters to obtain the second motion effect curve is described below.
[0124] 505 , the animation module 320 obtains animation data based on the animation parameters and the second animation effect curve.
[0125] Exemplarily, after obtaining the second animation curve, the animation module 320 can bring the animation parameters into the function of the second animation curve to obtain animation data. The animation data may include, for example, the number of animation frames, time, and display properties of display elements on each frame image.
[0126] For example, in Figure 4a In the embodiment, the motion position of the information content interface 105 in each frame image can be obtained based on the animation parameters and the second animation curve. Since the second animation curve is obtained by replacing the target curve of the first animation curve with the optimization curve, Figure 4a In the embodiment, the first 21 frames of images can be obtained through the first motion effect curve and animation parameters, and after the 21st frame, the position of the information content interface 105 in the next 13 frames of images can be obtained based on the animation parameters and the optimization curve. Then the animation module 320 merges all the image frames into complete animation data to form the animation effect of the second motion effect curve, thereby solving the tailing problem.
[0127] For example, in Figure 4b In the embodiment, the size of the application icon 204 in the first 10 frames of images can be obtained based on the animation parameters and the first animation curve. After the 10th frame, the size of the application icon 204 in the next 17 frames of images can be obtained based on the animation parameters and the optimization curve, so as to obtain a complete size change animation of the application icon 204. Then the animation module 320 merges all the image frames into complete animation data to form the animation effect of the second animation curve, solving the reciprocating rebound problem.
[0128] 506 , the first application 310 obtains the animation data and displays the first animation based on the animation data.
[0129] Exemplarily, after the animation module 320 generates the animation data, the first application 310 may display the first animation based on the animation data.
[0130] For example, in Figure 1a In the embodiment, the image of the information content interface 105 slides from the right end of the display screen of the mobile phone 100 to the left end to cover the information entry interface 101. During the sliding of the information content interface 105, the user can perceive the movement of the information content interface 105, and there will be no problem of the information content interface 105 trailing for a long time before the sliding ends.
[0131] For example, in Figure 2a In the embodiment, the size of the application icon 204 enters the display screen from outside the display screen from large to small, then increases from small to large to reach a maximum value, and then directly rebounds from the maximum value to the target size without rebounding back and forth.
[0132] Through the display method in this embodiment, the animation module 320 can optimize the target curve portion that can be optimized in the first dynamic effect curve, thereby obtaining an optimized curve. Then, the target curve portion is replaced with the optimized curve to generate a second dynamic effect curve. When obtaining animation data according to the second dynamic effect curve, the animation data obtained through the optimized curve can solve the problem of tailing or reciprocating rebound in the dynamic effect curve.
[0133] Below, according to Figure 1a to Figure 4b The embodiment in introduces a method in which the animation module 320 in the present application optimizes the first motion effect curve based on the flag position and the optimization parameters to obtain the second motion effect curve.
[0134] Figure 6 According to some embodiments of the present application, a flow chart of an implementation of a display method is shown.
[0135] It can be understood that the execution subject in each of the following implementation processes can all be the animation module 320 in the mobile phone 100, and the execution subject will not be repeatedly introduced when introducing each process.
[0136] like Figure 6 As shown, the method comprises the following steps:
[0137] 610, obtaining animation parameters, target parameters, and a first motion effect curve.
[0138] Exemplarily, the animation module 320 may generate animation data according to the animation parameters and the first animation effect curve, and the first application 310 may display the animation effect based on the animation data.
[0139] The animation parameters may include, for example, the duration, frame rate, type of the first animation curve, and other data. The target parameters include the flag, position information, and optimization parameters of the first animation curve. The type of the first animation curve may be represented by an interpolator identifier. Therefore, the animation module 320 may call the responding interpolator based on the interpolator identifier sent by the first application 310 to obtain the first animation curve.
[0140] The animation module 320 can determine the optimization scheme according to the flag data of the first motion effect curve, determine the target curve part according to the position information, and obtain the optimization curve based on the optimization parameters.
[0141] 620, determine the value of the flag data.
[0142] Exemplarily, the animation module 320 can determine the optimization scheme for the first motion effect curve according to the value of the flag. For example, the flag can be set to 0, 1, or 2. When the flag is 0, it indicates that the first motion effect curve is not optimized, and when the flag is 1, it indicates that the first motion effect curve is tail optimized. When the flag is 2, it indicates that the first motion effect curve is rebound optimized.
[0143] If the animation module 320 determines that the value of the flag is 0, it means that the first motion effect curve does not have a target curve part, so no optimization is required, and then 630 is executed to obtain the output value of the first motion effect curve based on the animation parameters.
[0144] If the animation module 320 determines that the value of the flag is 1, it means that the first animation curve has a target curve part, and the tail time of the target curve part is relatively long, then 640 is executed to perform tail optimization.
[0145] If the animation module 320 determines that the value of the flag is 2, it means that the first motion effect curve has a target curve part, and the target curve part has a reciprocating rebound problem, then 650 is executed to perform rebound optimization.
[0146] In other embodiments, if the first application 310 does not need to optimize the first animation curve, the animation parameters may not include optimization parameters, and the animation module 320 directly generates animation data according to the first animation curve and the animation parameters. In other words, the animation module 320 may also execute 630 when no flag data is received or the flag data is empty.
[0147] 630. Obtain an output value of the first animation effect curve based on the animation parameters.
[0148] Exemplarily, the animation parameters may include data such as the duration and frame rate of the first animation. In this embodiment, since the value of the flag bit of the first animation curve is 0, it means that there is no target curve portion that can be optimized on the first animation curve, and the first animation curve is not optimized, and the output value is directly obtained based on the first animation curve and the animation parameters. Since the first animation curve is a function of time, the corresponding time (the horizontal coordinate of the curve) of each frame of the image on the curve can be determined according to the duration and frame rate in the animation parameters, and then the function value corresponding to each time is obtained based on the function of the first animation curve, which is the output value of the first animation curve. Each output value corresponds to the display properties of the display element in the image frame corresponding to the output value (such as the size, position and angle of the display element, etc.).
[0149] For example, in Figure 4a In the embodiment, the output value is the position of the information content interface 105 at each time. Figure 4b In the embodiment, the output value is the size of the application icon 204 at each time.
[0150] 631, output the output value of the first dynamic effect curve.
[0151] Exemplarily, after the animation module 320 generates the output value of the first motion effect curve, the output value may be output.
[0152] 640, perform tailing optimization.
[0153] For example, when the animation module 320 determines that the value of the flag bit of the first animation curve is 1, it can be determined that there is a tailing problem at the tail of the first animation curve, and the first animation curve needs to be optimized for tailing. The process of tailing optimization includes 641 to 646.
[0154] At 641, an optimization curve is generated based on the optimization parameters.
[0155] Exemplarily, when the animation module 320 performs tailing optimization on the first animation curve, it is necessary to first obtain the position information of the optimized position of the first animation curve from the target parameters. The position information is the starting position of the target curve portion on the first animation curve. The position information may be, for example, a tailing threshold. The tailing threshold may be, for example, a value between 0 and 1, representing the percentage position of the maximum output value of the first animation curve. The tailing threshold may be determined by the first application 310, and the slope of the first animation curve at the tailing threshold position is the same as the slope of the optimization curve, thereby ensuring a smooth effect at the connection between the optimization curve and the first animation curve. The smoothness of the animation effect of the generated second animation curve is ensured.
[0156] For example, in Figure 4a In the embodiment, the tailing threshold is, for example, 0.923, and the maximum motion position of the information content interface 105 is 1500, then the first dynamic effect curve can be optimized at the position where the output value reaches 1500×0.923=1385. Figure 4a The position of the 21st frame image in .
[0157] The optimization curve may be generated based on the identifier of the optimization curve in the optimization parameters, and the identifier of the optimization curve may be determined based on the first application 310. For example, Figure 4a The tail of the optimization curve in can quickly reduce the speed of the information content interface 105 to 0. The optimization curve can be, for example, a Bezier curve set according to the interpolator. The Bezier curve is distinguished according to the different interpolators. The interpolator is essentially a mathematical function whose time parameter is a floating point number between 0 and 1, and the output value is also a floating point number between 0 and 1. The slope of the curve is the speed. The interpolator indicates the change logic of the motion effect from the initial state to the final state, thereby controlling the rate of change of the motion effect, so that the motion effect can change at one or more rates such as uniform speed, acceleration, deceleration, parabolic rate, etc. For example, in some embodiments of the present application, the Bezier curve interpolator determined by the optimization curve according to the identifier of the specified optimization curve is a deceleration interpolator, which defines that the Bezier curve starts to decelerate at the time point of 1, that is, the end time point.
[0158] 642. Obtain an output value of the first animation effect curve based on the animation parameter.
[0159] For example, the first animation curve is a function of time, and the animation parameters include the animation display time and the animation frame rate. Figure 4a In the embodiment, the frame rate of the switching animation 104 is 60 frames per second, that is, the switching animation displays one frame of image every 16.6 ms, so the position of the information content interface 105 can be obtained from the first animation curve every 16.6 ms, so that the corresponding information content interface 105 is displayed on each frame of image, thereby obtaining the output value of the first animation curve, and the output value is the position of the information content interface 105. For example, the animation module 320 can input the horizontal coordinate of each frame of animation on the first animation curve into the function of the first animation curve to obtain the function value (i.e., output value) of the function of the first animation curve at the horizontal coordinate. And after each output value is obtained, the process 643 is executed.
[0160] 643, determine whether the output value of the first dynamic effect curve reaches the tailing threshold.
[0161] Exemplarily, the output value of the first animation curve may represent a display attribute of a display element, and whether the output value of the first animation curve reaches a tailing threshold may be determined according to the display attribute of the display element.
[0162] For example, in Figure 4a In the embodiment, the tailing threshold is, for example, 0.923, the maximum motion position of the information content interface 105 is 1500, and the corresponding output value of the first dynamic effect curve is 1500×0.923=1385. Therefore, when the output value of the first dynamic effect curve reaches 1385, the first dynamic effect curve is optimized.
[0163] If the judgment result is yes, for example, the display attribute of the display element output by the first motion effect curve reaches the display attribute of the display element corresponding to the tailing threshold, it means that the output value of the first motion effect curve reaches the tailing threshold, and the curve part after the tailing threshold (that is, the target curve part) is replaced by the optimized curve, and 644 is executed to obtain the output value of the optimized curve.
[0164] If the judgment result is no, for example, the display attribute of the display element output by the first dynamic effect curve does not reach the display attribute of the display element corresponding to the tailing threshold, then execute 646 to output the output value of the first dynamic effect curve.
[0165] 644, obtaining the output value of the optimization curve.
[0166] Exemplarily, when the output value of the first dynamic effect curve reaches the tailing threshold, the output value can be obtained through the optimization curve. The output value of the optimization curve is determined based on the duration of the optimization curve in the optimization data. Since the duration parameter of the optimization curve is a floating point number between 0 and 1, it is necessary to normalize the duration of the optimization curve to generate the duration parameter of the optimization curve, and bring the duration parameter of the optimization curve into the function of the optimization curve to obtain the output value of the optimization curve. For example, Figure 4a In the embodiment, the duration of the optimization curve is 116.6 ms, and the frame rate is 60 frames / second, that is, one frame of image data is obtained every 16.6 ms, and 7 frames of image data are obtained in 116.6 ms. The duration parameter after normalization of the time for obtaining 7 frames of image data is shown in Table 1. After the normalized duration parameter is brought into the optimization curve, the output value of the optimization curve can be obtained, and the output value is shown in Table 1.
[0167] Table 1
[0168] Time / ms 16.6 33.3 50 66.6 83.3 100 116.6 Normalization 0.142 0.286 0.429 0.571 0.714 0.858 1 Output value 0.243 0.487 0.687 0.843 0.939 0.991 1 Coordinate transformation 1413 1441 1464 1482 1493 1499 1500
[0169] 645, converting the output value of the optimization curve to the coordinates of the first dynamic effect curve.
[0170] Exemplarily, since the output value of the optimization curve is also a floating point number between 0 and 1, it is necessary to transform the coordinates of the output value of the optimization curve into the coordinates of the first dynamic effect curve. Among them, since the slope of the first dynamic effect curve at the tailing threshold is the same as the slope of the optimization curve at the tailing threshold (the initial position of the optimization curve), it is ensured that after the coordinates of the output value of the optimization curve are transformed into the coordinates of the first dynamic effect curve, the smoothing effect of the first dynamic effect curve and the optimization curve at the connection can be guaranteed.
[0171] For example, in Figure 4a In the embodiment, at 333.3 ms, the position of the information content interface 105 on the first dynamic effect curve is 1385, that is, the position of the information content interface 105 on the 21st frame image is at 1385, reaching the tailing threshold. The final position of the information content interface 105 is at 1500, so the output value of the optimization curve needs to be converted to between 1385 and 1500, and the coordinate transformation formula can be, for example, formula (1).
[0172] 1385+(1500-1385)×optimization curve output value (I)
[0173] After the output values of Table 1 are transformed into coordinates by formula (1), the output values of the optimization curve can be converted into the output values of the coordinates of the first dynamic effect curve, that is, the data corresponding to the coordinate transformation in Table 1.
[0174] 646, output the output value of the first dynamic effect curve.
[0175] Exemplarily, when the output value of the first dynamic effect curve does not reach the tailing threshold, the output value of the first dynamic effect curve can be directly output.
[0176] It should be understood that after outputting an output value of the first dynamic effect curve, the process can go to process 642 to obtain the next output value of the first dynamic effect curve.
[0177] 650, perform springback optimization.
[0178] For example, when the animation module 320 determines that the value of the flag of the first motion effect curve is 2, it can be determined that there is a reciprocating rebound problem at the tail of the first motion effect curve, and the first motion effect curve needs to be rebound optimized. The rebound optimization process includes the process from 651 to 656.
[0179] At 651, an optimization curve is generated based on the optimization parameters.
[0180] Exemplarily, when the animation module 320 performs rebound optimization on the first animation curve, it is necessary to first obtain the position information of the optimized position of the first animation curve from the target parameter, and the position information may be, for example, the rebound position. The rebound position may be, for example, the position where the output of the first animation curve reaches the maximum value.
[0181] For example, in Figure 4b In the embodiment, the output value of the first dynamic effect curve starts to decrease after the 10th frame image, so it can be determined that the position of the 10th frame image is the rebound position.
[0182] The optimization curve may be generated based on the identification of the optimization curve of the optimization parameter, and the identification of the optimization curve may be determined based on the first application 310. For example, Figure 4b The optimization curve in can directly reduce the size of the application icon 204 to the target size. The identifier of the optimization curve can be, for example, the identifier of the Bezier curve set according to the interpolator.
[0183] 652. Obtain an output value of the first animation effect curve based on the animation parameters.
[0184] For example, the first animation curve is a function of time, and the animation parameters include the animation display time and the animation frame rate. Figure 4b The frame rate of the animation in the embodiment is 60 frames per second, that is, the switching animation displays one frame of image every 16.6 ms. Therefore, the size of the application icon 204 can be obtained from the first animation curve every 16.6 ms, so that the corresponding application icon 204 is displayed on each frame of image, thereby obtaining the output value of the first animation curve, and the output value is the size data of the application icon 204.
[0185] In some embodiments, the animation module 320 may input the horizontal coordinate of each frame of animation on the first motion curve into the function of the first motion curve to obtain the function value (i.e., output value) of the function of the first motion curve at the horizontal coordinate, and execute process 653 after each output value is obtained.
[0186] 653, determine whether the output value of the first dynamic effect curve reaches the rebound position.
[0187] Exemplarily, the output value of the first animation curve is the size of the application icon. Based on whether the output value of the first animation curve in the current image frame is greater than the output value of the animation curve in the previous image frame, it can be determined whether the output value of the first animation curve in the previous image frame has reached the rebound position.
[0188] If the judgment result is yes, for example, the current output value of the first motion effect curve is less than the output value of the first motion effect curve on the previous frame image, it means that the first motion effect curve has reached the rebound position in the previous frame, that is, it has reached the starting position of the target curve part on the first motion effect curve, then execute 654 to obtain the output value of the optimization curve.
[0189] If the judgment result is no, for example, the current output value of the first motion effect curve is greater than the output value of the first motion effect curve in the previous frame image, it means that the first motion effect curve has not reached the rebound position in the previous frame, then execute 656 to output the output value of the first motion effect curve.
[0190] 654, obtain the output value of the optimization curve.
[0191] Exemplarily, when the output value of the first dynamic effect curve reaches the rebound position, the output value can be obtained through the optimization curve. The output value of the optimization curve is determined based on the duration of the optimization curve in the optimization parameter. Since the duration parameter of the optimization curve is a floating point number between 0 and 1, it is necessary to normalize the duration of the optimization curve to generate the duration parameter of the optimization curve, and bring the duration parameter of the optimization curve into the function of the optimization curve to obtain the output value of the optimization curve. For example, Figure 4b In the embodiment, the duration of the optimization curve is 450 ms, and the frame rate is 60 frames / second, that is, one frame of image data is obtained every 16.6 ms, and 27 frames of image data are obtained in 450 ms. The time after normalization of the time for obtaining 27 frames of image data is shown in Table 2. After the normalized time parameter is brought into the optimization curve, the output value of the optimization curve can be obtained, and the output value is shown in Table 2.
[0192] Table 2
[0193] Time / ms 16.6 33.3 … 433.3 450 Normalization 0.037 0.074 … 0.963 1 Output value 0.066 0.174 … 0.997 1 Mirror Value -0.066 -0.174 … -0.997 -1 Coordinate transformation 1784 1751 … 1499 1500
[0194] 655, converting the output value of the optimization curve to the coordinates of the first dynamic effect curve.
[0195] Exemplarily, since the output value of the optimization curve is also a floating point number between 0 and 1, the coordinates of the output value of the optimization curve need to be converted to the coordinates of the first dynamic effect curve. However, the output value of the optimization curve is a function of increasing parameters over time, and the rebound optimization is that the application icon 204 decreases to the target size over time, so it is necessary to mirror the optimization curve before converting it to the coordinates of the first dynamic effect curve. The mirroring method is, for example, symmetrical along the horizontal coordinate of the optimization curve. That is, the output value of the optimization curve is mirrored to a negative value.
[0196] For example, in Figure 4b In the embodiment, at 166.6 ms, the size of the application icon 204 on the first dynamic effect curve is 1804, and at 183.3 ms, the size of the application icon 204 on the first dynamic effect curve is 1741. The first dynamic effect curve reaches the rebound position at 166.6 ms, corresponding to the 10th frame image. The target size of the application icon 204 is 1500, so the output of the optimized curve after mirroring needs to be transformed to between 1500 and 1804, and the coordinate transformation formula can be, for example, formula (II).
[0197] 1804+(1804-1500)×(optimized curve mirror value) (II)
[0198] After the mirror image value in Table 2 is transformed into coordinates by formula (II), the output value of the optimization curve can be converted into the output value of the coordinates of the first dynamic effect curve, that is, the data corresponding to the coordinate transformation in Table 2.
[0199] 656, output the output value of the first dynamic effect curve.
[0200] Exemplarily, when the output value of the first dynamic effect curve has not reached the rebound position, the output value of the first dynamic effect curve can be directly output.
[0201] It should be understood that after outputting an output value of the first dynamic effect curve, the process can go to process 652 to obtain the next output value of the first dynamic effect curve.
[0202] 660, returning the output value to the first animation for execution.
[0203] Exemplarily, after the animation module 320 generates animation data according to the output value of the first animation curve and the output value of the optimization curve (the output value of the first animation curve and the output value of the optimization curve correspond to the second animation curve), the animation data can be sent to the first application, and the first application displays the corresponding animation effect based on the animation data.
[0204] Through the embodiments of the present application, when the animation module 320 obtains animation data according to the first animation curve, the optimization scheme of the first animation curve can be determined according to the flag of the first animation curve. If the first animation curve has a target curve part, the target curve part can be optimized to obtain the optimized curve, and the target curve part can be replaced with the optimized curve, and animation data can be obtained based on the optimized curve, so that the animation effect generated by the second animation curve meets the target requirements of the first animation.
[0205] Taking a mobile phone as an example, the electronic devices involved in some embodiments of the present invention are described in detail below.
[0206] Figure 7 According to an embodiment of the present application, a structural schematic diagram of a mobile phone 100 is shown.
[0207] The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0208] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0209] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0210] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0211] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0212] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module interface, and / or a universal serial bus interface, etc.
[0213] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.
[0214] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display screen, the camera, and the wireless communication module 160.
[0215] The wireless communication function of the mobile phone 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0216] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization rate of the antennas.
[0217] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the mobile phone 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0218] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the mobile phone 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0219] The external memory interface 120 can be used to connect an external memory card, such as a micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
[0220] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the mobile phone 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0221] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The mobile phone 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the mobile phone 100 detects the intensity of the touch operation based on the pressure sensor 180A. The mobile phone 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
[0222] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the mobile phone 100, which is different from the position of the display screen 194.
[0223] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the mobile phone 100 by inserting the SIM card interface 195 or removing the SIM card interface 195. In some embodiments, the mobile phone 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
[0224] Figure 8 According to an embodiment of the present application, a schematic block diagram of a system software architecture of a mobile phone 100 is shown.
[0225] The software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to exemplify the software structure of the mobile phone 100.
[0226] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0227] like Figure 8As shown, the application layer may include a series of application packages.
[0228] The application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, desktop, information, etc.
[0229] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0230] The application framework layer may include a window management service WMS, a view system, a graphics system, a display composition (surface flinger) system, a display engine service (display engine service), a resource manager, and a notification manager.
[0231] WMS is used to manage window programs. WMS can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. WMS also includes an animation module 320, and the animation module 520 may include a motion curve constructor, such as an interpolator for some basic animations. The interpolator may include, for example, an acceleration and deceleration interpolator to achieve the effect of the animation accelerating first and then decelerating. A linear interpolator to achieve the effect of the animation running at a uniform speed. An acceleration interpolator to achieve the effect of the animation running at an accelerated speed. A deceleration interpolator to achieve the effect of the animation running at a decelerated speed.
[0232] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views.
[0233] The graphics system is a general programming software package in the system, which is composed of graphics I / O devices. Its basic functions are primitive generation, attribute setting, etc.
[0234] Surface flinger can also be called interface synthesis. The function of surface flinger is to accept the graphic display data provided by WMS, synthesize them, and input them to the display device for display. Surface flinger can use the open graphics library (OpenGL) hardware synthesizer (HWC) to synthesize the interface (surface).
[0235] The display engine service can call the hardware capability provided by the ambient light sensor 180L in the hardware abstraction layer to obtain the illumination intensity of the ambient light.
[0236] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0237] The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages and disappear automatically after a short stay without user interaction.
[0238] Android runtime includes core library and virtual machine. Android runtime is responsible for scheduling and management of Android system. Core library consists of two parts: one is the function that Java language needs to call, and the other is Android core library.
[0239] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0240] The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL, or OpenGL ES), 2D graphics engine (such as SGL), etc. It can be understood that Android applications can call SGL or OpenGL ES interfaces to draw and render UI interfaces.
[0241] The kernel layer is the layer between hardware and software. The kernel layer includes at least CPU driver, GPU driver, display driver, sensor driver, camera driver, etc.
[0242] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0243] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0244] It should be noted that, in the examples and description of the present application, 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "comprise one" do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.
[0245] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.
Claims
1. A display method, applied to an electronic device, characterized in that: include: Obtaining animation parameters of a first animation, wherein the animation parameters include a curve identifier, an optimization identifier, and an optimization parameter; Selecting a first dynamic effect curve represented by the curve identifier from a plurality of dynamic effect curves; Based on the optimization parameters, optimizing the target curve portion identified by the optimization identifier in the first motion effect curve to obtain a first optimization curve; The first animation is generated based on the first optimization curve.
2. The method according to claim 1, characterized in that The first animation effect curve and the first optimization curve are functions of display properties of the display elements of the first animation and time.
3. The method according to claim 2, characterized in that The target curve portion includes a portion of the first dynamic effect curve corresponding to the first time period; The first time period includes the end time of the first animation curve, and the slope of the target curve portion is less than a first slope threshold, and the first time period is greater than a first duration threshold.
4. The method according to claim 3, characterized in that The optimization parameters include first flag data, and the optimization method specified by the first flag data includes: The first time period corresponding to the target curve portion is shortened, and the output value of the target curve portion corresponding to the end time is kept unchanged.
5. The method according to claim 4, characterized in that The optimization parameters include a first optimization time, and The step of optimizing the target curve portion identified by the optimization identifier in the first dynamic effect curve based on the optimization parameter to obtain a first optimization curve includes: Acquire a first curve corresponding to the first flag data; Based on the first curve and the first optimization time, modifying the target curve portion into a first correction curve, wherein the second time period corresponding to the first correction curve is shorter than the first time period corresponding to the target curve portion, and an output value of the first correction curve corresponding to the end time is the same as an output value of the target curve portion corresponding to the end time; The target curve portion of the first dynamic effect curve is replaced by the first correction curve to obtain the first optimization curve.
6. The method according to claim 2, characterized in that The target curve portion includes a portion of the first animation curve corresponding to a third time period, the third time period includes an end time of the first animation curve, and the number of positive and negative changes in the slope of the target curve portion exceeds a first count threshold.
7. The method according to claim 6, characterized in that The optimization parameters include second flag data, and the optimization method specified by the second flag data includes: The third time period corresponding to the target curve portion is kept unchanged, and the output value of the target curve portion corresponding to the end time is kept unchanged, and the slope of the target curve portion is corrected to be all positive slopes or all negative slopes.
8. The method according to claim 7, characterized in that The optimization parameters include a second optimization time, and The step of optimizing the target curve portion identified by the optimization identifier in the first dynamic effect curve based on the optimization parameter to obtain a first optimization curve includes: Acquire a second curve corresponding to the second flag bit data; Based on the second curve and the second optimization time, modifying the target curve portion into a second correction curve, wherein the fourth time period corresponding to the second correction curve is equal to the third time period corresponding to the target curve portion, the output value of the second correction curve corresponding to the end time is the same as the output value of the target curve portion corresponding to the end time, and the slopes of the second correction curve are all positive slopes or all negative slopes; The target curve portion of the first dynamic effect curve is replaced by the second correction curve to obtain the first optimization curve.
9. The method according to any one of claims 4 to 5, 7 to 8, characterized in that: The output value is a display attribute of a display element in the first animation, and the display attribute of the display element includes at least one of the following: Display element's size, position, angle, or transparency.
10. The method according to claim 9, characterized in that Also includes: Acquire animation parameters of the first animation sent by a first application installed in the electronic device; and The method further comprises: The first animation is displayed on an application interface of the first application.
11. The method according to claim 10, characterized in that The animation parameters include the time and frame rate of the first animation; and, The generating the first animation based on the first optimization curve includes: Determining a generation time of each frame image in the first animation based on the time and frame rate of the first animation; Substituting the generation time of each frame image into the function of the first optimization curve to determine the display attributes of the display elements in each frame image to generate each frame image; The first animation is generated based on the frame images.
12. An electronic device, characterized in that: including a memory for storing instructions; At least one processor is used to execute the instructions so that the electronic device implements the display method according to any one of claims 1 to 11.
13. A computer-readable storage medium, characterized in that: The readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to execute the display method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Interaction method and device for adjusting curve and electronic equipment
CN113298916A
Method and system for optimizing video motion capture animation data
CN113538634A
Popup window display method and device
CN114995929A
