Animation data processing method, device, equipment and system

By setting the displacement coefficient for the 2D layer animation and combining it with the motion data of the animation display device, the position is updated in real time, which solves the problem of high cost of 3D interactive animation production and rendering, and achieves low-cost 3D animation effects and user interaction.

CN114820895BActive Publication Date: 2024-10-01ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210241445.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2024-10-01
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

Existing 3D interactive animations are costly in production and rendering, have strict requirements on rendering equipment, have high deployment thresholds, and cannot achieve real-time interaction and transformation with users.

Method used

By creating a two-dimensional layer animation and setting different displacement coefficients for it, combined with the motion data of the animation display device, the layer position is calculated and updated in real time, the movement change pattern in the three-dimensional space is simulated, and the two-dimensional animation simulates the three-dimensional animation effect. .

Benefits of technology

It reduces animation production costs, realizes real-time interaction and transformation with users, improves animation display effects, and reduces the requirements for rendering equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114820895B_ABST
    Figure CN114820895B_ABST
Patent Text Reader

Abstract

This specification provides an animation data processing method, device, equipment and system. By creating a two-dimensional layer animation and configuring the displacement coefficient of each layer in the two-dimensional layer animation, when performing animation display, based on the motion data of the animation display device and combined with the displacement coefficient of each layer in the two-dimensional layer animation, the moving position and trajectory of each layer of the two-dimensional layer animation during the movement of the animation device are calculated in real time, and the position of each layer of the two-dimensional layer animation is changed in real time. The law of movement and change of the two-dimensional layer animation in three-dimensional space is simulated, and the effect of two-dimensional animation simulating three-dimensional animation is achieved. On the premise of ensuring the display effect of the animation, the cost of animation production is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and more particularly to an animation data processing method, device, equipment and system. Background Art

[0002] General interactive animation can be divided into 2D animation (two-dimensional animation) and 3D animation (three-dimensional animation). In general 2D interactive animation, the positions of different layers are fixed, and it is impossible to achieve real-time interaction and transformation with users. 3D interactive animation can achieve lens changes more easily, but 3D resources have higher 3D art modeling requirements and production costs. At the same time, 3D rendering engines often have more stringent requirements on rendering machines (such as mobile phones, IOT devices, etc.), and the threshold for deployment is relatively high. Summary of the invention

[0003] The purpose of the embodiments of this specification is to provide an animation data processing method, device, equipment and system, which realizes the effect of simulating three-dimensional animation using two-dimensional animation, improves the animation display effect, and reduces the cost of animation production.

[0004] In a first aspect, an embodiment of the present specification provides an animation data processing method, the method comprising:

[0005] Creating a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers;

[0006] Setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation; wherein different layers correspond to different displacement coefficients;

[0007] The displacement coefficients of each layer are packaged and published with the two-dimensional layer animation, so that the animation display device can update the positions of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

[0008] In a second aspect, this specification provides an animation data processing method, the method comprising:

[0009] Acquire the motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes the displacement coefficients of each layer, and different layers correspond to different displacement coefficients;

[0010] Calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed;

[0011] According to the displacement variation of each layer, the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device is updated.

[0012] In a third aspect, the present specification provides an animation data processing device, comprising:

[0013] A two-dimensional animation creation module, used to create a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers; wherein different layers correspond to different displacement coefficients;

[0014] A displacement coefficient determination module, used for setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation;

[0015] The animation publishing module is used to package and publish the displacement coefficients of each layer and the two-dimensional layer animation, so that the animation display device can update the position of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

[0016] In a fourth aspect, the present specification provides an animation data processing device, comprising:

[0017] A data acquisition module is used to acquire motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes displacement coefficients of each layer, and different layers have different corresponding displacement coefficients;

[0018] A displacement calculation module, used to calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed;

[0019] The layer position updating module is used to update the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the displacement change of each layer.

[0020] In a fifth aspect, an embodiment of the present specification provides an animation data processing device, comprising at least one processor and a memory for storing processor executable instructions, wherein when the processor executes the instructions, the animation data processing method described in the first aspect or the second method is implemented.

[0021] In a sixth aspect, an embodiment of the present specification provides an animation data processing system, comprising: a two-dimensional layer animation production device and an animation display device, wherein the two-dimensional layer animation production device comprises at least one processor and a memory for storing processor executable instructions, and when the processor executes the instructions, the method described in the first aspect is implemented, which is used to create a two-dimensional animation and configure the displacement coefficient of each layer in the two-dimensional animation;

[0022] The animation display device includes at least one processor and a memory for storing processor executable instructions. When the processor executes the instructions, the method described in the second aspect is implemented, which is used to update the position of each layer in the two-dimensional layer animation in real time during the movement of the animation display device based on the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation created by the two-dimensional layer animation production device.

[0023] The animation data processing method, device, equipment and system provided in this specification creates a two-dimensional layer animation and configures the displacement coefficient of each layer in the two-dimensional layer animation. When performing animation display, based on the motion data of the animation display device and combined with the displacement coefficient of each layer in the two-dimensional layer animation, the moving position and trajectory of each layer of the two-dimensional layer animation during the movement of the animation device are calculated in real time, and the position of each layer of the two-dimensional layer animation is changed in real time. The law of movement and change of the two-dimensional layer animation in three-dimensional space is simulated, and the effect of two-dimensional animation simulating three-dimensional animation is achieved. On the premise of ensuring the display effect of the animation, the cost of animation production is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0025] Figure 1 It is a flowchart of an embodiment of an animation data processing method provided in an embodiment of this specification;

[0026] Figure 2 is a schematic diagram of a configuration interface of a displacement coefficient in an embodiment of this specification;

[0027] Figure 3 is a flowchart of an animation data processing method in other embodiments of the present specification;

[0028] Figure 4 It is a schematic diagram of the module structure of an embodiment of the animation data processing device provided in this specification;

[0029] Figure 5 It is a schematic diagram of the module structure of another embodiment of the animation data processing device provided in this specification;

[0030] Figure 6 It is a hardware structure block diagram of an animation data processing server in one embodiment of this specification. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0032] With the development of computers, animation has been increasingly used because of its ability to display images vividly and flexibly. With the development of technology, in addition to two-dimensional animation, there is also three-dimensional animation. Three-dimensional interactive animation can easily achieve lens changes, but 3D resources have higher 3D art modeling requirements and production costs. At the same time, 3D rendering engines often have more stringent requirements on rendering machines (such as mobile phones, IOT devices, etc.), and the threshold for deployment and online launch is relatively high.

[0033] In some embodiments of the present specification, an animation data processing method can be provided. By configuring a displacement coefficient for each layer in a two-dimensional animation and combining it with the motion data of an animation display device, the position of each layer of the two-dimensional animation is calculated in real time during the movement of the animation display device, thereby simulating the changing rules of movement in three-dimensional space and achieving a simulated 3D effect at a relatively low cost.

[0034] Figure 1 It is a flow chart of an embodiment of the animation data processing method provided in the embodiment of this specification. Although this specification provides the method operation steps or device structure shown in the following embodiments or drawings, more or fewer operation steps or module units may be included in the method or device based on routine or no creative labor. In the steps or structures where there is no necessary causal relationship logically, the execution order of these steps or the module structure of the device is not limited to the execution order or module structure shown in the embodiments or drawings of this specification. When the method or module structure is applied in an actual device, server or terminal product, it can be executed sequentially or in parallel according to the method or module structure shown in the embodiment or drawings (for example, a parallel processor or multi-threaded processing environment, or even a distributed processing, server cluster implementation environment).

[0035] A specific implementation example is Figure 1 As shown, in one embodiment of the animation data processing method provided in this specification, the method can be applied to terminals such as computers, tablet computers, servers, and smart phones, and the method may include the following steps:

[0036] Step 102: Create a two-dimensional layer animation, where the two-dimensional layer animation includes multiple layers.

[0037] In the specific implementation process, the two-dimensional layer animation can be understood as a 2D interactive animation. Generally, the two-dimensional layer animation can be composed of multiple layers. Based on the order of layer display, it can generally be divided into a background layer, a mid-ground layer, and a foreground layer. The foreground layer refers to the layer closest to the animation display device screen, and the background layer refers to the layer farthest from the animation display device screen. The creation of a two-dimensional layer animation can be designed based on actual needs using animation drawing software or equipment, and the embodiments of this specification do not make specific limitations. When creating a two-dimensional layer animation, the position and animation parameters of each layer can be determined, such as: position transformation, size transformation, color transformation, rotation transformation, etc. The parameters of the two-dimensional layer animation are not specifically limited in the embodiments of this specification.

[0038] Step 104: setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation; wherein different layers have different corresponding displacement coefficients.

[0039] In the specific implementation process, after creating a 2D layer animation, the displacement coefficient of each layer in the animation can be set according to the layer order. The displacement coefficient can be understood as the ratio of each layer to be able to move, which can be used as a benchmark for subsequent calculation of the layer displacement. The displacement coefficient can be set based on the front and back relationship of the 2D layer animation or the highlighting theme relationship. Generally, the displacement coefficients of different layers are different.

[0040] In some embodiments of this specification, setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer order of the two-dimensional layer animation includes:

[0041] The displacement coefficient of the background layer of the two-dimensional layer animation is greater than the displacement coefficient of the foreground layer of the two-dimensional layer animation.

[0042] In the specific implementation process, in three-dimensional space, when we move the scene lens, the physical law (i.e., 3D perspective relationship) tells us that the movement of the foreground is relatively small, and the movement of the background is relatively large. When setting the displacement coefficients of each layer of the two-dimensional layer animation, the embodiment of this specification can set the displacement coefficient of the background layer to be greater than the displacement coefficient of the foreground layer, that is, generally, the displacement coefficient of the layer closer to the back is larger, and the displacement coefficient of the layer closer to the front is smaller, that is, the displacement coefficient of the layer closer to the background layer is larger.

[0043] Based on the layer order of the two-dimensional layer animation, the displacement coefficient of each layer is set reasonably. The displacement coefficient of the later layer is larger, and the displacement coefficient of the earlier layer is smaller. This makes the calculated layer position accurately simulate the changing law of movement in three-dimensional space, thereby achieving the effect of imitating three-dimensional animation.

[0044] In some embodiments of this specification, setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer order of the two-dimensional layer animation includes:

[0045] The displacement value intervals corresponding to the layers in the two-dimensional layer animation in different displacement directions are set according to the layer sequence of the two-dimensional layer animation.

[0046] In the specific real-time process, Figure 2 is a schematic diagram of a configuration interface of a displacement coefficient in an embodiment of this specification, such as Figure 2 As shown, in the embodiment of this specification, when setting the displacement coefficient of each layer in the two-dimensional animation layer, the displacement coefficient can be set within a value range, and the displacement coefficient can include a displacement direction, such as: including a displacement parameter in the x direction and a displacement parameter in the y direction. Figure 2 As shown, Figure 2 The two-dimensional layer animation has three layers, namely the foreground layer, the middle ground layer and the background layer. You can set the displacement coefficient of the foreground layer, the middle ground layer and the background layer in the x-direction displacement value range (i.e. Figure 2 xMin-xMax) and the displacement range in the y direction (i.e. Figure 2 yMin-yMax), such as Figure 2 As shown, the displacement coefficient can be a positive number or a negative number. A positive number can represent positive following, while a negative number can represent reverse following.

[0047] By rationally configuring the displacement value ranges of each layer in different displacement directions, an accurate data foundation is laid for the calculation of subsequent layer positions.

[0048] In some embodiments of the present specification, when setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer order of the two-dimensional layer animation, the method further includes:

[0049] According to the semantic information of each layer in the two-dimensional layer animation, it is determined whether there is a stationary layer in each layer, and if so, the displacement coefficient of the stationary layer is set to 0.

[0050] In the specific real-time process, some layers in the 2D layer animation may not need to be moved. You can judge whether the layer is a static layer based on the semantic information of each layer. For example, the text or title in the animation may not need to be moved. Set the displacement coefficient of the static layer to 0, that is, it will always remain static and will not move with the movement of the device, so as to facilitate users to read or view and improve the display effect of the animation.

[0051] Step 106: Package and publish the displacement coefficients of each layer and the two-dimensional layer animation, so that the animation display device can update the positions of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

[0052] In the specific implementation process, after configuring the displacement coefficients of each layer, the displacement coefficients can be packaged and published together with other data of the two-dimensional layer animation, such as animation parameters. Packaged publishing can be understood as going online. When a device needs to use or display the animation, the two-dimensional layer animation can be downloaded or loaded to obtain the animation parameters and the displacement coefficients of each layer. Then, based on the displacement coefficients of each layer combined with the motion data of the animation display device, the positions of each layer in the two-dimensional layer animation during the motion of the animation display device are updated in real time, so as to simulate the effect of the two-dimensional layer animation moving in three-dimensional space, and then simulate three-dimensional animation, but compared with ordinary three-dimensional animation, the technical cost is reduced.

[0053] In addition, in some embodiments of the present specification, before the displacement coefficients of each layer are packaged and published with the two-dimensional layer animation, the method further includes:

[0054] Increase the layer size of the two-dimensional layer animation within a specified range.

[0055] In some embodiments of the present specification, before the two-dimensional layer animation is released, the animation layer can be appropriately enlarged. The two-dimensional layer animation in the present application needs to move according to the movement of the display device during display. The background of the animation may exceed the original range due to the displacement. Before the animation is released, the present application expands the background layer size to avoid the animation exceeding the range due to the movement of the animation and affecting the display effect.

[0056] The embodiments of this specification propose an idea of ​​simulating 3D animation effects based on displacement of 2D layers, that is, different displacement coefficients are given to the layers in the 2D layer animation, following the physical laws (perspective relationship) in 3D space, and the position of the layers can be changed in real time. In addition, an interactive layer animation scheme linked to an external sensing device (such as a gyroscope) is proposed. Compared with a pure 2D animation scheme, the embodiments of this specification add a real-time displacement change function to the 2D animation, apply different displacement parameters, can dynamically change the position of the layer, and can cooperate with the sensing device to achieve more interactive gameplay. Compared with a pure 3D animation scheme, the 3D animation simulation scheme of the embodiments of this specification is essentially based on 2D layer animation, with a lower threshold for production and deployment, while retaining the perspective relationship in the 3D animation, which can make people feel a certain 3D animation feeling and improve the user experience.

[0057] In some embodiments of the present specification, an animation data processing method is also provided, which is mainly used to display the two-dimensional layer animation published in the above embodiments to simulate the effect of three-dimensional animation. Figure 3 is a flowchart of an animation data processing method in other embodiments of this specification, such as Figure 3 As shown, the method can be applied to animation display devices such as smart phones, smart wearable devices, tablet computers and other terminals, and the method may include the following steps:

[0058] Step 302: obtaining the motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes the displacement coefficients of each layer, and different layers have different corresponding displacement coefficients.

[0059] In the specific implementation process, the method of the above embodiment can be referred to to create a two-dimensional layer animation including the displacement coefficients of different layers. When it is necessary to display the two-dimensional layer animation created by the above embodiment, the two-dimensional layer animation to be displayed can be obtained, and the motion data of the animation display device can be obtained at the same time. When the interactive layer animation is actually played, it is usually necessary to cooperate with the sensing device in the physical world in the embodiment of this specification to simulate the changes of the lens, such as: interactive animation based on the mobile phone gyroscope. Taking the gyroscope as an example, the motion data of the animation display device may include the rotation angles yaw, roll, and pitch of the gyroscope in three-dimensional space. Among them, pitch is the rotation around the X-axis, also called the pitch angle, yaw is the rotation around the Y-axis, also called the yaw angle, and roll is the rotation around the Z-axis, also called the roll angle.

[0060] In addition, in some embodiments of the present specification, after acquiring the motion data of the animation display device, the method further includes:

[0061] The motion data is filtered and smoothed.

[0062] In the specific implementation process, after obtaining the motion data of the animation display device, in order to prevent noise errors and ensure the smoothness of the playback, the embodiment of this specification can filter and smooth the data obtained in real time, such as: removing obviously erroneous data, normalizing the data, etc. The specific operation process of filtering and smoothing is not specifically limited in the embodiment of this specification.

[0063] Step 304: Calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed.

[0064] In a specific implementation process, after obtaining the motion data of the animation display device, the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device can be calculated based on the obtained motion data and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed. The displacement change can be understood as the distance that the layer of the two-dimensional layer animation to be displayed needs to move during the movement of the animation display device. In the embodiment of this specification, the motion data of the animation display device can be obtained in real time, and then the displacement change of each layer in the two-dimensional layer animation to be displayed can be calculated in real time based on the motion data. The displacement change corresponding to each layer in the two-dimensional layer animation to be displayed can be calculated in real time based on the motion data of the animation display device, or the calculation frequency can be set to calculate once every 1 second or 0.1 second. The specific calculation frequency is not specifically limited in the embodiment of this specification.

[0065] In some embodiments of the present specification, the calculation of the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed includes:

[0066] The product of the motion data of the animation display device and the displacement coefficient of each layer is used as the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device.

[0067] In a specific implementation process, the product of the motion data of the animation display device and the displacement coefficient of each layer can be used as the displacement change of each layer in the two-dimensional layer animation to be displayed during the motion of the animation display device. For example, if the motion data of the processed animation display device at a certain moment is r, and the displacement coefficient of a layer in the two-dimensional layer animation to be displayed is s, then the displacement change of the layer at that moment can be expressed as r×s.

[0068] In some embodiments of this specification, the displacement coefficient of each layer includes displacement value intervals corresponding to different displacement directions;

[0069] The step of calculating the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed comprises:

[0070] According to the motion data of the animation display device, the target displacement coefficient value of each layer in each displacement direction is determined from the displacement value interval corresponding to each layer;

[0071] The displacement changes of each layer in each displacement direction during the movement of the animation display device are calculated based on the target displacement coefficient value and the motion data.

[0072] In the specific implementation process, Figure 2 As shown, in the embodiment of the present specification, when setting the displacement coefficient of the two-dimensional layer animation, different displacement value intervals are set based on different displacement directions. When calculating the displacement change of the layer, the target displacement coefficient value of each layer in each displacement direction can be determined from the corresponding displacement value interval based on the motion data. For example: If the motion data of the animation display device shows a relatively large amount of movement in the x-direction, then the corresponding target displacement coefficient value can be determined in the displacement value interval corresponding to each layer in the x-direction. Specifically, the mapping relationship between the motion data of the animation display device and the displacement of the animation layer can be determined based on experimental data combined with expert experience, and then the appropriate displacement coefficient can be selected from the corresponding displacement value interval based on the motion data. Figure 2 As shown, the displacement range of the background layer in the x-direction is [-3,3]. If the motion data of the animation display device shows that the movement in the x-direction is relatively large and is positive, then based on the mapping relationship between the motion data and the layer displacement, a value close to 3 can be selected as the target displacement coefficient value of the background layer in the x-direction.

[0073] After determining the target displacement coefficient value corresponding to each layer, the motion data of the animation display device and the target displacement coefficient value can be combined to calculate the displacement change of each layer during the movement of the animation display device, such as: taking the product of the target displacement coefficient value of each layer and the motion data of the animation display device as the displacement change of the layer in the corresponding displacement direction.

[0074] In the embodiments of the present specification, based on the motion data of the animation display device, a suitable displacement coefficient value is determined in the displacement value range of each layer, and then the displacement change of each layer in the corresponding displacement direction is calculated in combination with the motion data, so as to accurately simulate the movement process of the two-dimensional animation in the three-dimensional space and realize the simulation of the three-dimensional animation.

[0075] In addition, in some embodiments of the present specification, the method further comprises: setting a motion limit value of the animation display device;

[0076] The step of calculating the displacement change of each layer in the two-dimensional layer animation to be displayed according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed comprises:

[0077] Determine whether the motion data of the animation display device exceeds the motion limit value. If exceeded, calculate the displacement change of each layer in each displacement direction during the movement of the animation display device based on the displacement coefficient of each layer and the motion limit value.

[0078] In the specific implementation process, the embodiment of this specification also sets the motion limit value of the animation display device, that is, the maximum and minimum values ​​of the movement of the animation display device are limited. When calculating the displacement of the two-dimensional animation layer during the movement of the animation display device, it is necessary to first determine whether the motion data of the animation display device exceeds the preset motion limit value. If it exceeds, it means that the movement of the animation display device is out of range. When calculating the displacement of the two-dimensional animation layer during the movement of the animation display device, the pre-set motion limit value of the animation display device and the displacement coefficient of the layer are directly used to calculate the displacement change of each layer. For example: the motion limit value of the animation display device is pre-set to be the rotation angle in the x direction cannot exceed 90 degrees. If the rotation angle of the animation display device in the x direction in the motion data of the animation display device collected is 100 degrees, that is, the movement of the animation display device exceeds the motion limit value. If at this time, the motion data of the animation display device, that is, 100 degrees, is still used to calculate the displacement change of the layer in the two-dimensional layer animation, it may cause the layer to move beyond the screen of the animation display device, affecting the display effect. In this embodiment of the specification, in this case, the motion data of the animation display device is directly regarded as the motion limit value, and the motion limit value is used to calculate the displacement change of each layer.

[0079] The embodiment of the present specification controls the movement of the animation layer within a certain range by setting the movement amplitude of the animation display device, thereby ensuring the display effect of the animation.

[0080] Step 306: updating the position of each layer in the to-be-displayed two-dimensional layer animation during the movement of the animation display device according to the displacement variation of each layer.

[0081] In the specific implementation process, after calculating the displacement change of each layer in the two-dimensional layer animation to be displayed, the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device can be updated in real time based on the displacement change of each layer, so that the two-dimensional layer animation to be displayed moves with the movement of the animation display device, simulating the movement effect of the two-dimensional animation in three-dimensional space, and simulating the purpose of obtaining the three-dimensional animation. For example: based on the interactive animation display of the mobile phone gyroscope, the displacement scale coefficient and direction of different layers can be assigned according to the semantic information of the layer animation (foreground, middle ground, background, static layer, etc.), and finally when we shake the mobile phone, the different layer elements can follow the movement of the gyroscope to show the corresponding movement amplitude.

[0082] In addition, in terms of application scenarios, in addition to the field of interactive animation, the method of the embodiment of this specification can also be used in interactive desktops, AR and other scenarios to obtain the effect of three-dimensional animation based on two-dimensional animation simulation. Of course, in addition to controlling the displacement of the animation, the size and color of the layer can also be controlled to achieve richer and more interesting effects, such as: giving different layers different sizes or colors based on the motion data of the display device. On interactive devices, in addition to the mobile phone gyroscope, directly sliding the screen with your fingers or other input devices with built-in motion perception (such as VR helmets, handles, etc.) can be used as data sources driven by interactive animation.

[0083] It should be noted that the device for creating a two-dimensional layer animation and the device for displaying the two-dimensional animation in the embodiments of this specification may be the same device or different devices. For example, you can first draw and create a two-dimensional layer animation on a smartphone, configure the displacement coefficients of each layer, and then calculate the displacement changes of each layer of the created two-dimensional layer animation in real time based on the motion data of the smartphone. That is, the above Figure 1 and Figure 3 The data processing method in the embodiment can be applied in one device or in two different devices, and the embodiments of this specification do not make specific limitations.

[0084] The animation data processing method provided in the embodiment of this specification creates a two-dimensional layer animation and configures the displacement coefficients of each layer in the two-dimensional layer animation. When performing animation display, based on the motion data of the animation display device and combined with the displacement coefficients of each layer in the two-dimensional layer animation, the moving position and trajectory of each layer of the two-dimensional layer animation during the movement of the animation device are calculated in real time, and the position of each layer of the two-dimensional layer animation is changed in real time. The law of movement and change of the two-dimensional layer animation in three-dimensional space is simulated, and the effect of two-dimensional animation simulating three-dimensional animation is achieved. On the premise of ensuring the display effect of the animation, the cost of animation production is reduced.

[0085] In this specification, each embodiment of the above method is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. For relevant parts, refer to the partial description of the method embodiment.

[0086] Based on the animation data processing method described above, one or more embodiments of this specification also provide a system for animation data processing. The system may include a system (including a distributed system), software (application), module, component, server, client, etc. using the method described in the embodiment of this specification and a device combined with necessary implementation hardware. Based on the same innovative concept, the device in one or more embodiments provided in the embodiment of this specification is as described in the following embodiment. Since the implementation scheme and method of the device to solve the problem are similar, the implementation of the specific device in the embodiment of this specification can refer to the implementation of the aforementioned method, and the repetitions will not be repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware for predetermined functions. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0087] Specifically, Figure 4 is a schematic diagram of the module structure of an embodiment of an animation data processing device provided in this specification. The device can be a two-dimensional animation creation device, such as Figure 4 As shown, the animation data processing device provided in this specification may include:

[0088] A two-dimensional animation creation module 41 is used to create a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers; wherein different layers correspond to different displacement coefficients;

[0089] A displacement coefficient determination module 42, used for setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation;

[0090] The animation publishing module 43 is used to package and publish the displacement coefficients of each layer and the two-dimensional layer animation, so that the animation display device can update the positions of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

[0091] Figure 5 FIG. 1 is a schematic diagram of a module structure of another embodiment of an animation data processing device provided in this specification. The device can be understood as the animation display device in the above embodiment. Figure 5 As shown, the animation data processing device provided in this specification may include:

[0092] The data acquisition module 51 is used to acquire the motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes the displacement coefficients of each layer, and the displacement coefficients corresponding to different layers are different;

[0093] The displacement calculation module 52 is used to calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed;

[0094] The layer position updating module 53 is used to update the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the displacement change of each layer.

[0095] The animation data processing device provided in the embodiment of this specification creates a two-dimensional layer animation and configures the displacement coefficients of each layer in the two-dimensional layer animation. When performing animation display, based on the motion data of the animation display device and combined with the displacement coefficients of each layer in the two-dimensional layer animation, the moving position and trajectory of each layer of the two-dimensional layer animation during the movement of the animation device are calculated in real time, and the position of each layer of the two-dimensional layer animation is changed in real time. The law of movement and change of the two-dimensional layer animation in three-dimensional space is simulated, and the effect of two-dimensional animation simulating three-dimensional animation is achieved. On the premise of ensuring the display effect of the animation, the cost of animation production is reduced.

[0096] It should be noted that the above-mentioned device may also include other implementations according to the description of the corresponding method embodiment. The specific implementation methods can refer to the description of the corresponding method embodiment above, and will not be described one by one here.

[0097] The embodiment of this specification also provides an animation data processing device, including: at least one processor and a memory for storing processor executable instructions, and the processor implements the information recommendation data processing method of the above embodiment when executing the instructions, such as:

[0098] Creating a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers;

[0099] Setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation; wherein different layers correspond to different displacement coefficients;

[0100] The displacement coefficients of each layer are packaged and published with the two-dimensional layer animation, so that the animation display device can update the positions of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

[0101] Or, obtaining the motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes the displacement coefficients of each layer, and different layers correspond to different displacement coefficients;

[0102] Calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed;

[0103] According to the displacement variation of each layer, the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device is updated.

[0104] The embodiment of the present specification also provides an animation data processing system, comprising: a device management platform, a user terminal, and a hardware device; wherein the device management platform comprises at least one processor and a memory for storing processor executable instructions, and the processor executes the method executed by the device management platform to provide a mobile application including a plurality of applets;

[0105] The user terminal is used to include at least one processor and a memory for storing processor executable instructions. When the processor executes the instructions, it implements the method executed by the user terminal corresponding to the manufacturer to request to call a mobile application including multiple small programs provided by the device management platform, and install the mobile application into the hardware device.

[0106] It should be noted that the above-mentioned device and system may also include other implementation modes according to the description of the method embodiment. The specific implementation modes may refer to the description of the relevant method embodiment, which will not be described one by one here.

[0107] The animation data processing device provided in this specification can also be used in a variety of data analysis and processing systems. The system or server or terminal or device can be a separate server, or it can include a server cluster, system (including distributed system), software (application), actual operation device, logic gate circuit device, quantum computer, etc. that uses one or more of the methods or one or more embodiments of the system or server or terminal or device of this specification and a terminal device combined with necessary implementation hardware. The detection system for checking difference data may include at least one processor and a memory storing computer executable instructions, and the processor implements the steps of the method described in any one or more of the above embodiments when executing the instructions.

[0108] The method embodiments provided in the embodiments of this specification can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 61 is a hardware structure block diagram of an animation data processing server in one embodiment of this specification. The computer terminal may be the animation data processing server or animation data processing device in the above embodiment. Figure 6 The server 10 shown may include one or more (only one is shown in the figure) processors 100 (the processor 100 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a non-volatile memory 200 for storing data, and a transmission module 300 for communication functions. Those skilled in the art will understand that Figure 6 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 6 More or fewer components shown in the figure may also include other processing hardware, such as a database or multi-level cache, GPU, or other hardware with Figure 6 Different configurations are shown.

[0109] The non-volatile memory 200 can be used to store software programs and modules of application software, such as program instructions / modules corresponding to the animation data processing method in the embodiment of this specification. The processor 100 executes various functional applications and resource data updates by running the software programs and modules stored in the non-volatile memory 200. The non-volatile memory 200 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the non-volatile memory 200 may further include a memory remotely arranged relative to the processor 100, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0110] The transmission module 300 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission module 300 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 300 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0111] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0112] The methods or devices described in the above embodiments provided in this specification can implement business logic through computer programs and record them on storage media, and the storage media can be read and executed by computers to achieve the effects of the solutions described in the embodiments of this specification, such as:

[0113] Creating a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers;

[0114] Setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation; wherein different layers correspond to different displacement coefficients;

[0115] The displacement coefficients of each layer are packaged and published with the two-dimensional layer animation, so that the animation display device can update the positions of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

[0116] Or, obtaining the motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes the displacement coefficients of each layer, and different layers correspond to different displacement coefficients;

[0117] Calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed;

[0118] According to the displacement variation of each layer, the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device is updated.

[0119] The embodiment of the present specification also provides an animation data processing system, comprising: a two-dimensional layer animation production device and an animation display device; wherein the two-dimensional layer animation production device comprises at least one processor and a memory for storing processor executable instructions, and the processor executes the two-dimensional animation production process in the above embodiment to create a two-dimensional animation and configure the displacement coefficient of each layer in the two-dimensional animation;

[0120] The animation display device is used to include at least one processor and a memory for storing processor executable instructions. When the processor executes the instructions, it implements the method executed by the above-mentioned animation display device, which is used to update the position of each layer in the two-dimensional layer animation created by the two-dimensional layer animation production device in real time during the movement of the animation display device based on the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation.

[0121] The above-mentioned animation data processing method or device provided in the embodiments of this specification can be implemented by a processor in a computer executing corresponding program instructions, such as using the C++ language of the Windows operating system to implement it on a PC, on a Linux system, or other systems such as Android and iOS system programming languages ​​to implement it on a smart terminal, as well as based on the processing logic of a quantum computer.

[0122] It should be noted that the device, computer storage medium, and system described in the specification may also include other implementation methods according to the description of the relevant method embodiments. The specific implementation methods can refer to the description of the corresponding method embodiments, which will not be described one by one here.

[0123] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0124] The embodiments of this specification are not limited to complying with industry communication standards, standard computer resource data update and data storage rules, or the situations described in one or more embodiments of this specification. Certain industry standards or slightly modified implementation plans based on the implementation described in the custom method or embodiment can also achieve the same, equivalent or similar, or predictable implementation effects after deformation of the above-mentioned embodiments. The embodiments obtained by using these modified or deformed data acquisition, storage, judgment, processing methods, etc. can still fall within the scope of the optional implementation plans of the embodiments of this specification.

[0125] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0126] Although one or more embodiments of the present specification provide method operation steps as described in the embodiments or flow charts, more or less operation steps may be included based on conventional or non-creative means. The order of steps listed in the embodiments is only one way of executing the order of many steps, and does not represent a unique execution order. When the device or terminal product in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiments or the drawings (for example, an environment of a parallel processor or multi-threaded processing, or even a distributed resource data update environment). The term "include", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, product or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, product or equipment. In the absence of more restrictions, it is not excluded that there are other identical or equivalent elements in the process, method, product or equipment including the elements. The first, second, etc. words are used to represent the name, and do not represent any particular order.

[0127] For the convenience of description, the above devices are described in various modules according to their functions. Of course, when implementing one or more of the present specification, the functions of each module can be implemented in the same or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0128] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as a combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable resource data update device to produce a machine, so that instructions executed by the processor of the computer or other programmable resource data update device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0129] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable resource data update device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0130] These computer program instructions may also be loaded onto a computer or other programmable resource data updating device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0131] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0132] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0133] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage, graphene storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0134] It should be understood by those skilled in the art that one or more embodiments of the present specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of the present specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0135] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0136] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.

[0137] The above description is only an example of one or more embodiments of the present specification and is not intended to limit one or more embodiments of the present specification. For those skilled in the art, one or more embodiments of the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims.

Claims

1. A method for processing animation data, the method include: Creating a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers; The displacement coefficient of each layer in the two-dimensional layer animation is set according to the layer sequence of the two-dimensional layer animation; wherein different layers correspond to different displacement coefficients; the displacement coefficient represents the proportion at which each layer can be moved, and the displacement coefficient is used as a basis for calculating the displacement change of the layer; The displacement coefficients of each layer are packaged and published with the two-dimensional layer animation, so that the animation display device can calculate the displacement changes of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device, and update the positions of each layer in the two-dimensional layer animation during the movement of the animation display device according to the displacement changes.

2. The method according to claim 1, wherein the displacement coefficient of each layer in the two-dimensional layer animation is set according to the layer sequence of the two-dimensional layer animation, include: The displacement coefficient of the background layer of the two-dimensional layer animation is greater than the displacement coefficient of the foreground layer of the two-dimensional layer animation.

3. The method according to claim 1, wherein the displacement coefficient of each layer in the two-dimensional layer animation is set according to the layer sequence of the two-dimensional layer animation. include: The displacement value intervals corresponding to the layers in the two-dimensional layer animation in different displacement directions are set according to the layer sequence of the two-dimensional layer animation.

4. The method according to claim 1, when setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation, the method further include: According to the semantic information of each layer in the two-dimensional layer animation, it is determined whether there is a stationary layer in each layer, and if so, the displacement coefficient of the stationary layer is set to 0.

5. The method according to claim 1, before packaging and publishing the displacement coefficients of each layer with the two-dimensional layer animation, the method further comprises: include: Increase the layer size of the two-dimensional layer animation within a specified range.

6. A method for processing animation data, the method include: Acquire motion data of a two-dimensional layer animation to be displayed and an animation display device; wherein the two-dimensional layer animation to be displayed includes displacement coefficients of each layer, and different layers correspond to different displacement coefficients; the displacement coefficients represent the proportions at which each layer can move, and the displacement coefficients are used as a basis for calculating the displacement change of the layer; Calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed; According to the displacement variation of each layer, the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device is updated.

7. The method of claim 6, wherein the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device is calculated based on the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed, include: The product of the motion data of the animation display device and the displacement coefficient of each layer is used as the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device.

8. The method according to claim 6, wherein the displacement coefficients of each layer include displacement value intervals corresponding to different displacement directions; The step of calculating the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed comprises: According to the motion data of the animation display device, the target displacement coefficient value of each layer in each displacement direction is determined from the displacement value interval corresponding to each layer; The displacement changes of each layer in each displacement direction during the movement of the animation display device are calculated based on the target displacement coefficient value and the motion data.

9. The method according to claim 6, further comprising: include: Set the motion limit of the animation display device; The step of calculating the displacement change of each layer in the two-dimensional layer animation to be displayed according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed comprises: Determine whether the motion data of the animation display device exceeds the motion limit value. If exceeded, calculate the displacement change of each layer in each displacement direction during the movement of the animation display device based on the displacement coefficient of each layer and the motion limit value.

10. The method according to claim 6, after acquiring the motion data of the animation display device, the method further include: The motion data is filtered and smoothed.

11. An animation data processing device, the device include: A two-dimensional animation creation module, used to create a two-dimensional layer animation, wherein the two-dimensional layer animation includes multiple layers; wherein different layers correspond to different displacement coefficients; the displacement coefficients represent the proportions at which each layer can be moved, and the displacement coefficients are used as a basis for calculating the displacement amount of the layer; A displacement coefficient determination module, used for setting the displacement coefficient of each layer in the two-dimensional layer animation according to the layer sequence of the two-dimensional layer animation; The animation publishing module is used to package and publish the displacement coefficients of each layer and the two-dimensional layer animation, so that the animation display device can update the position of each layer in the two-dimensional layer animation during the movement of the animation display device based on the displacement coefficients of each layer and the motion data of the animation display device.

12. An animation data processing device, the device include: A data acquisition module is used to acquire motion data of the two-dimensional layer animation to be displayed and the animation display device; wherein the two-dimensional layer animation to be displayed includes displacement coefficients of each layer, and different layers have different displacement coefficients; the displacement coefficients represent the proportions at which each layer can move, and the displacement coefficients are used as a basis for calculating the displacement amount of the layer; A displacement calculation module, used to calculate the displacement change of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation to be displayed; The layer position updating module is used to update the position of each layer in the two-dimensional layer animation to be displayed during the movement of the animation display device according to the displacement change of each layer.

13. An animation data processing device, include: At least one processor and a memory for storing processor-executable instructions, wherein when the processor executes the instructions, the method according to any one of claims 1 to 5 or claims 6 to 10 is implemented.

14. An animation data processing system, include: A two-dimensional layer animation production device and an animation display device, wherein the two-dimensional layer animation production device comprises at least one processor and a memory for storing processor executable instructions, and when the processor executes the instructions, the method according to any one of claims 1 to 5 is implemented to create a two-dimensional animation and configure the displacement coefficients of each layer in the two-dimensional animation; The animation display device includes at least one processor and a memory for storing processor executable instructions. When the processor executes the instructions, it implements the method described in any one of claims 6 to 10, which is used to update the position of each layer in the two-dimensional layer animation during the movement of the animation display device in real time based on the motion data of the animation display device and the displacement coefficient of each layer in the two-dimensional layer animation created by the two-dimensional layer animation production device.