Data processing method and device, electronic equipment and readable storage medium

By obtaining the material special effects cycle cycle when the virtual character performs virtual actions, determining the virtual action duration and the adjustment magnification of the material special effects, and generating the special effects file for the target cycle period, the problem of poor self-cycle effect of the existing material special effects is solved, and the self-cycle effect and end connection of the material special effects within the virtual action duration is achieved, reducing the difficulty and cost of production.

CN119524417APending Publication Date: 2025-02-28NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411455051.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing method of special-effect self-circulation of materials cannot achieve true self-circulation effect, and relies on manual production techniques, resulting in high costs and unsatisfactory results.

Method used

By obtaining the material special effects cycle cycle when the virtual character performs a virtual action, determining the virtual action duration and the adjustment magnification of the material special effects, generating the special effects file for the target cycle cycle, and realizing the self-cycle effect of the material special effects within the virtual action duration.

Benefits of technology

The self-circulation effect of material special effects within the virtual action time is realized, ensuring that the material special effects are exactly connected at the beginning and end of the action, reducing the difficulty and cost of production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119524417A_ABST
    Figure CN119524417A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, electronic equipment and a readable storage medium, and relates to the technical field of computers. The method comprises the following steps: acquiring a cycle period of a material special effect to be applied to a virtual character in a process of executing a virtual action by the virtual character; determining the duration of executing the virtual action by the virtual character; based on the maximum cycle period in the cycle periods and the cycle period of the material special effect, determining the adjustment multiplying power of the cycle period of the material special effect; determining a target cycle period of the material special effect based on the adjustment multiplying power and the duration of the virtual action; and according to the target cycle period, generating a special effect file in which the virtual role executes the virtual action and carries the cycle effect of the material special effect. According to the method provided by the invention, the special effect file capable of realizing the material special effect self-circulation effect in the single role action process can be made, and the material special effect self-circulation effect can realize end-to-end connection between continuous actions, and the seam is smooth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a data processing method, a data processing device, an electronic device, and a computer-readable storage medium. Background Art

[0002] In modeling technology, material effects are usually added to virtual models to enhance the details and simulation effects of the virtual models. In order to achieve dynamic performance of material effects, self-looping of material effects can be used to provide reciprocating dynamic effects, such as the flowing light effect of the cloak on the virtual character's clothing, the speed line effect on the feathers, etc.

[0003] The existing self-circulating method of material special effects is mainly achieved by covering up or weakening it through some production techniques, so that the connection of material special effects can make the effect closer to the ideal effect to a certain extent, but in essence the final special effects are still non-self-circulating. Summary of the invention

[0004] The present disclosure provides a data processing method, a data processing device, an electronic device, and a computer-readable storage medium to solve or at least partially solve the above-mentioned problems, as follows.

[0005] In a first aspect, the present disclosure provides a data processing method, the method comprising:

[0006] Acquire a cycle period of a material special effect to be applied to the virtual character during the process of the virtual character performing a virtual action;

[0007] Determining the duration for the virtual character to perform the virtual action;

[0008] Determining an adjustment magnification of the cycle period of the material special effect based on a maximum cycle period in the cycle periods and the cycle period of the material special effect;

[0009] Determining a target cycle of the material special effect based on the adjustment ratio and the duration of the virtual action;

[0010] According to the target cycle period, a special effect file is generated in which the virtual character performs the virtual action and has a cycle effect of the material special effect.

[0011] In a second aspect, the present disclosure further provides a data processing device, the device comprising:

[0012] A cycle acquisition module, used for acquiring a cycle of a material special effect to be applied to the virtual character during the process of the virtual character performing a virtual action;

[0013] A duration determination module, used to determine the duration for the virtual character to perform the virtual action;

[0014] A magnification determination module, used for determining an adjustment magnification of the cycle period of the material special effect based on a maximum cycle period in the cycle periods and a cycle period of the material special effect;

[0015] A cycle determination module, used to determine a target cycle of the material special effect based on the adjustment ratio and the duration of the virtual action;

[0016] The file generation module is used to generate a special effect file of a cycle effect in which the virtual character performs the virtual action and has the material special effect according to the target cycle period.

[0017] In a third aspect, the present disclosure further provides an electronic device, comprising: a processor, a memory, and computer program instructions stored in the memory and executable on the processor;

[0018] When the processor executes the computer program instructions, the data processing method described in the first aspect above is implemented.

[0019] In a fourth aspect, the present disclosure further provides a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed by a processor, they are used to implement the data processing method described in the first aspect above.

[0020] The exemplary embodiments of the present disclosure have the following beneficial effects:

[0021] The data processing method provided by the present disclosure can obtain the cycle period of the material special effect to be applied to the virtual character in the process of the virtual character performing the virtual action; determine the duration of the virtual character performing the virtual action; determine the adjustment ratio of the cycle period of the material special effect based on the maximum cycle period in the cycle period and the cycle period of the material special effect; determine the target cycle period of the material special effect based on the adjustment ratio and the duration of the virtual action; generate a special effect file with the cycle effect of the virtual character performing the virtual action and the material special effect according to the target cycle period, that is, produce a special effect file that realizes the self-looping effect of the material special effect in the process of a single character action. Special effects file. By applying this special effects file, the material special effects can be played an integer multiple of the target loop period within the duration of the virtual action. When the virtual character starts to perform the virtual action, the material special effects can be played from the beginning of the special effects. When the virtual character finishes performing the virtual action, the material special effects can be played to the end of the special effects. This allows the material special effects to not only achieve a self-looping effect during a single action, but also the material special effects applied to this action can be connected end to end with the same material special effects applied to adjacent actions, so that the self-looping effect of the material special effects can be connected end to end between consecutive actions with smooth seams. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of a data processing method provided by one of the embodiments of the present disclosure;

[0023] Figure 2 This is a schematic diagram of an interface for adjusting the adjustment ratio of a cycle period of a material special effect provided by one of the embodiments of the present disclosure;

[0024] Figure 3 This is a schematic diagram of an interface for adjusting the adjustment ratio of a cycle period of a material special effect provided by one of the embodiments of the present disclosure;

[0025] Figure 4 is a block diagram of a data processing device provided by one of the embodiments of the present disclosure;

[0026] Figure 5 It is a logical structure diagram of an electronic device for implementing data processing provided by one of the embodiments of the present disclosure. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present disclosure.

[0028] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0029] It should be understood that in the embodiments of the present disclosure, "at least one" means one or more, and "more than one" means two or more. "And / or" is merely a way to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "Including A, B and / or C" means including any one, any two, or any three of A, B, and C.

[0030] It should be understood that in the embodiments of the present disclosure, "B corresponding to A", "B corresponding to A", "A corresponds to B", or "B corresponds to A" means that B is associated with A, and B can be determined according to A. Determining B according to A does not mean that B is determined only according to A, and B can also be determined according to A and / or other information.

[0031] The execution subject of the data processing method provided in the present disclosure may be a terminal device or a server, and the terminal device may be a desktop computer, a laptop computer, a tablet computer, a mobile phone, etc., or may be other electronic devices, which are not specifically limited in the present disclosure. The server is used to provide background services for the client of the application in the terminal device. For example, the server may be the background server of the above-mentioned application. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms, which are not specifically limited in the present disclosure.

[0032] Before describing the embodiments of the present disclosure in detail, the related art is firstly further introduced.

[0033] The existing practice of self-looping material special effects is mainly achieved by covering up or weakening them through some production techniques. Artists usually use the following methods to get as close as possible to the visual self-looping effect.

[0034] 1. Increase the speed of special effects to take advantage of the visual retention phenomenon of the human eye, so that the human eye cannot distinguish the special effects seams;

[0035] 2. Use masks to weaken the effects of special effect seams, so that the human eye cannot distinguish the true appearance of the seams;

[0036] 3. Interfere with human eye recognition by superimposing multiple layers of special effects;

[0037] 4. Repeatedly adjust the speed and texture of the special effects manually to make the special effects seams as smooth as possible. This method usually cannot perfectly connect the special effects seams. This method is generally used in conjunction with the first method mentioned above.

[0038] The existing approach mainly uses artificial production techniques to cover up and weaken the problems in visual performance. Fundamentally, it does not really solve the problem, but only makes the effect closer to the ideal effect to a certain extent. In essence, the special effects produced are still non-self-circulating. In addition, the existing approach often relies on the professional level and experience of the production staff, and it is necessary to decide which of the above methods to adopt in order to achieve the target effect based on the rhythm of different types of special effects. In the mass production stage, a lot of manpower is needed to achieve this goal, resulting in unnecessary waste of manpower costs and high production costs.

[0039] Figure 1 A data processing method provided by one embodiment of the present disclosure is shown. Figure 1 As shown, the method includes the following steps S101 to S105.

[0040] Step S101: obtaining a cycle period of a material special effect to be applied to the virtual character during the process of the virtual character performing a virtual action.

[0041] The image of the virtual character can be a combination of one or more images such as a person, an animal, a three-dimensional figure, etc., and the present disclosure does not make any specific limitation on this.

[0042] The virtual action may be a combination of one or more actions such as jumping actions, move actions, flying actions, running actions, dancing actions, etc., and the present disclosure does not make any specific limitation on this.

[0043] While the virtual character is performing virtual actions, material special effects can be applied to the virtual character. For the material special effects that need to achieve a self-looping effect, their loop period is obtained. The loop period is the duration for a material special effect to be fully displayed once. For example, if a material special effect with a duration of 2 seconds is created, the loop period of the material special effect is 2 seconds.

[0044] Optionally, the material special effects may include one or more of the following: UV flow special effects, UV disturbance special effects, mask flow special effects, mask disturbance special effects and FlipBook special effects.

[0045] UV flow effects can create dynamic visual effects by changing the texture coordinates of the material (i.e. the coordinate values ​​in the U and V directions in UV space) so that the texture image of the material flows, rolls or rotates on the surface of the virtual model over time or with action. The cycle of the UV flow effect is the duration of a complete UV flow effect playback.

[0046] UV disturbance effects can change the material's UV by interfering with the material's texture coordinates (i.e., the coordinate values ​​in the U and V directions in UV space), resulting in dynamic effects on the material map. This technology can create various visual effects, such as lightning, flames, and water ripples. The cycle of the UV disturbance effect is the duration of a complete UV disturbance effect playback.

[0047] The main function of a mask is to block part of the image content while displaying the image content of another area. Through a mask, specific content of an image can be blocked and the unblocked content can be displayed.

[0048] The Mask Flow effect can create a flowing or dynamic effect by controlling the dynamic changes of the occluded / unoccluded areas of the material effect. The cycle of the Mask Flow effect is the length of time it takes for the Mask Flow effect to play once.

[0049] The mask disturbance effect can achieve certain effects by disturbing the unobstructed area of ​​the material effect, such as adjusting the color, brightness, contrast, etc. of the unobstructed area, or adding specific visual effects to the unobstructed area. The cycle of the mask disturbance effect is the duration of the mask disturbance effect playing once.

[0050] FlipBook effects create continuous special effects by making material special effects animation into a series of separate frames, namely animation sequence frames, and pre-rendering the animation sequence frames into textures, and then playing them at a certain speed in the game. The cycle of FlipBook effects is the duration of a complete FlipBook effect playback.

[0051] For example, when a virtual character performs a virtual action, there are n material effects to be applied to the virtual character, and all of these n material effects need to achieve a self-looping effect. Then, the loop periods of each of these n material effects are obtained, which are T1, T2, ..., T n .

[0052] Step S102: Determine the duration for the virtual character to perform the virtual action.

[0053] Step S103: determining an adjustment factor of the cycle period of the material special effect based on a maximum cycle period in the cycle periods and the cycle period of the material special effect.

[0054] In one implementation manner of the present disclosure, this step can be implemented by the following steps S1031 to S1033.

[0055] Step S1031: scaling the cycle period of the material special effect so that the maximum cycle period in the cycle period is aligned with the duration of the virtual action.

[0056] In this step, the cycle period of each material special effect obtained in the above step S101 can be scaled as a whole, so that the maximum cycle period among the cycle periods obtained in the above step S101 is aligned with the duration of the virtual action, that is, the maximum cycle period is equal to the duration of the virtual action after scaling.

[0057] This step can be specifically implemented through the following steps S1031 - 1 to S1031 - 2.

[0058] Step S1031 - 1 : Determine the ratio of the duration of the virtual action to the maximum cycle in the cycle as a scaling factor.

[0059] In this step, the scaling factor required for scaling the cycle period obtained in the above step S101 is first determined, and the scaling factor is equal to the ratio of the duration of the virtual action to the maximum cycle period in the cycle periods obtained in the above step.

[0060] For example, the duration of the virtual action is T a , the cycle periods of n material effects are T1, T2, ..., T n , where the cycle of material effect x is the maximum cycle of the cycle of the above n material effects, that is, T max= T x , then the scaling factor scale_factor = T a / T max .

[0061] Step S1031 - 2: Scale the cycle period of the material special effect according to the scaling factor.

[0062] In this step, it can be determined that the product of the cycle period of the material special effect and the scaling factor is the cycle period of the material special effect after scaling.

[0063] For example, the scaled cycle period of material effect 1 is T1'=T1*scale_factor; the scaled cycle period of material effect 2 is T2'=T2*scale_factor; ...; the scaled cycle period of material effect n is T n '=T n *scale_factor.

[0064] Among them, for material effect x, the product of its scaled cycle and the scaling factor is T x '=T x *scale_factor, substitute into T max= T x and scale_factor = Ta / T max , the cycle period of material effect x after scaling is T a , so that the maximum cycle period is aligned with the duration of the virtual action, that is, after scaling, the current maximum cycle period is equal to the duration of the virtual action.

[0065] Step S1032: Determine the ratio of the duration of the virtual action to the scaled cycle period.

[0066] The ratio of the duration of the virtual action to the scaled cycle period is the ratio of the duration of the virtual action to the scaled cycle period. The ratio of the duration of the virtual action to the scaled cycle period can represent the number of scaled cycle periods included in the duration of the virtual action, that is, how many scaled cycle periods the duration of the virtual action can include.

[0067] For example, the cycle periods of n material effects after scaling are T1', T2', ..., T n ', then the duration of the virtual action is T a The ratio S1 of the cycle period T1' scaled relative to the material effect 1 is T a / T1'; Duration of virtual action T a The ratio S2 = T of the cycle period T2' scaled relative to the material effect 2 a / T2'; ...; duration of virtual action T a The cycle period T scaled relative to the material effect n n 'The ratio S n =T a / T n '.

[0068] The duration of the virtual action relative to the scaled cycle period is a value greater than or equal to 1. This is because T1', T2', ..., T n The maximum value in ' is T max After the period scaling in step S102, the maximum cycle period is equal to the duration of the virtual action, that is, the current T max= T a , and the maximum denominator of this ratio is T a , when the numerator of the ratio remains unchanged (the numerator is T a ), when the denominator of the multiplier is the largest, the value of the multiplier is the largest, and when the denominator of the multiplier is the largest, the value of the multiplier is T a / T a =1, therefore, the magnification is a value greater than or equal to 1.

[0069] Step S1033: Convert the ratio of the duration of the virtual action to the scaled cycle period into an integer to obtain the adjustment ratio of the cycle period of the material special effect.

[0070] Since it is necessary to include an integer multiple of material special effects cycle periods within the duration of the virtual action, that is, within the duration of the virtual action, an integer multiple of material special effects need to be played completely, to avoid playing to a certain node in the middle of the material special effects in the last frame of the virtual action, resulting in the material special effects being unable to connect with the first material special effects playback in the subsequent virtual action, and unable to achieve the self-looping effect transition of the material special effects between actions.

[0071] In one of the embodiments of the present disclosure, the duration of the virtual action relative to the magnification of the cycle period after scaling can be rounded to an integer to obtain the adjustment magnification of the cycle period of the material special effect. In this embodiment, the magnification of the duration of the virtual action relative to the cycle period after scaling can be converted to an integer by rounding, so that the special effect art rhythm achieved based on the magnification after conversion to an integer can be closer to the special effect art rhythm achieved based on the magnification before conversion to an integer while ensuring that the material special effects of integer multiples can be fully played within the duration of the virtual action.

[0072] For the convenience of description, the duration of the virtual action relative to the scaled loop period is referred to as the first multiplier hereinafter. For example, the first multiplier corresponding to a certain material effect is 2.3, which means that the material effect is played 2.3 times in a loop within the duration of the virtual action. The integer obtained by rounding off the first multiplier 2.3 is 2, which means that the material effect is played 2 times in a loop within the duration of the virtual action. Obviously, compared with the artistic rhythm corresponding to the material effect being played 3 times in a loop within the duration of the virtual action, the artistic rhythm corresponding to the material effect being played 2 times in a loop within the duration of the virtual action is closer to the artistic rhythm corresponding to the material effect being played 2.3 times in a loop within the duration of the virtual action.

[0073] For example, the first magnifications corresponding to the n material effects are S1, S2, ..., S n , wherein, by rounding the first magnification S1 corresponding to material special effect 1 to an integer, the adjustment magnification S1' of the cycle period of material special effect 1 can be obtained, by rounding the first magnification S2 corresponding to material special effect 2 to an integer, the adjustment magnification S2' of the cycle period of material special effect 2 can be obtained, ..., by rounding the first magnification S n Rounding to an integer, we can get the adjustment factor S of the cycle of material effect n. n '.

[0074] In one embodiment of the present disclosure, the duration of the virtual action relative to the magnification of the cycle period after scaling can be rounded up or down to obtain the adjustment magnification of the cycle period of the material special effect. In this embodiment, the magnification of the duration of the virtual action relative to the cycle period after scaling is converted to an integer by rounding up or down, which can also ensure that the duration of the virtual action contains an integer multiple of the material special effect cycle period.

[0075] Step S104: Determine a target cycle period of the material special effect based on the adjustment ratio and the duration of the virtual action.

[0076] In this step, the duration of the virtual action may be divided by the adjustment ratio of the cycle period of the material special effect to obtain the target cycle period of the material special effect.

[0077] For example, the adjustment magnifications of the cycle periods of n material special effects are S1', S2', ..., S n ', then the target cycle period of material effect 1 is T 1_final =T a / S1', target cycle period T of material effect 2 2_final =T a / S2', ..., target cycle period T of material effect n n_final =T a / S n '.

[0078] In this way, within the duration of the virtual action, the material special effects can be played an integer multiple of the target loop period, so that in the process of the virtual character performing the virtual action, the material special effects can be connected from beginning to end to achieve a self-looping effect, and at the beginning of the virtual character's performance of the virtual action, the material special effects just correspond to the beginning of the playback of the special effects, and at the end of the virtual character's performance of the virtual action, the material special effects just correspond to the end of the playback of the special effects, so that the material special effects can achieve a self-looping effect both in the process of the virtual character performing a single virtual action and in the process of the virtual character performing multiple virtual actions continuously.

[0079] Step S105: generating a special effect file of a loop effect in which the virtual character performs the virtual action and has material special effects according to the target loop period.

[0080] In this step, a special effects file can be generated according to the target cycle period. In the special effects file, the duration for a complete playback of the material special effects of the virtual character is the target cycle period. In the special effects file, the material special effects of the virtual character can be played continuously an integer number of times within the duration of the virtual action.

[0081] The data processing method provided by the present disclosure can obtain the cycle period of the material special effect to be applied to the virtual character in the process of the virtual character performing the virtual action; determine the duration of the virtual character performing the virtual action; determine the adjustment ratio of the cycle period of the material special effect based on the maximum cycle period in the cycle period and the cycle period of the material special effect; determine the target cycle period of the material special effect based on the adjustment ratio and the duration of the virtual action; generate a special effect file with the cycle effect of the virtual character performing the virtual action and the material special effect according to the target cycle period, that is, produce a special effect file that realizes the self-looping effect of the material special effect in the process of a single character action. Special effects file. By applying this special effects file, the material special effects can be played an integer multiple of the target loop period within the duration of the virtual action. When the virtual character starts to perform the virtual action, the material special effects can be played from the beginning of the special effects. When the virtual character finishes performing the virtual action, the material special effects can be played to the end of the special effects. This allows the material special effects to not only achieve a self-looping effect during a single action, but also the material special effects applied to this action can be connected end to end with the same material special effects applied to adjacent actions, so that the self-looping effect of the material special effects can be connected end to end between consecutive actions with smooth seams.

[0082] In one embodiment of the present disclosure, the above step S103 may further include the following steps S1034 to S1035.

[0083] Step S1034: providing an adjustment control for adjusting the magnification of the cycle period of the material special effect in the graphical user interface.

[0084] Step S1035: In response to the adjustment touch operation on the adjustment control, the adjustment ratio of the cycle period of the material special effect is adjusted.

[0085] In this embodiment, in step S105, the target cycle period of the material special effect can be determined based on the adjusted adjustment ratio and the duration of the virtual action.

[0086] In this embodiment, an adjustment function for the adjustment ratio can be provided. By adjusting the adjustment ratio, the artistic rhythm of the material special effect can be adjusted on the basis of ensuring the self-circulation of the material special effect. The artistic rhythm of the special effect refers to the speed, play start time, play end time and other factors of each layer of the special effect (for example, UV flow special effect can include two layers of U flow special effect and V flow special effect) are pieced together to form a complete special effect performance. The artistic rhythm refers to how the special effect speed, play start time, play end time and other factors are matched. The special effect production personnel can adjust the speed of each layer of the special effect according to the needs, among which the special effect speed can be reflected by the special effect cycle period.

[0087] In this embodiment, an adjustment control for adjusting the magnification of the cycle period of the material special effect is provided in the graphical user interface. Optionally, for each material special effect to be applied to the virtual character during the virtual action, an adjustment control can be provided respectively, that is, one adjustment control can be used to adjust the adjustment magnification of the cycle period of a material special effect. The special effects producer can adjust the adjustment control corresponding to the material special effect whose adjustment magnification needs to be adjusted, thereby adjusting the adjustment magnification of the cycle period of the material special effect.

[0088] Optionally, the adjustment control may include a button control, a drag bar control, etc.

[0089] Optionally, the touch operation may be adjusted to include sliding operation, long pressing operation, etc.

[0090] In an optional embodiment, the step of adjusting the adjustment magnification of the cycle period of the material special effect may include: adjusting the adjustment magnification of the cycle period of the material special effect according to an adjustment step length, wherein the adjustment step length is an integer.

[0091] The adjustment step is the minimum change allowed for the adjustment magnification, that is, the minimum change unit of the adjustment magnification. In this embodiment, the number of adjustment steps required to change the adjustment magnification can be determined based on the operating parameters of the adjustment touch operation, and then the number of adjustment steps is added to the adjustment magnification to determine the adjusted adjustment magnification. Optionally, the operating parameters of the adjustment touch operation may include one or more of the following: touch position, touch duration, and sliding distance.

[0092] In this embodiment, by adjusting the touch operation, the adjustment ratio of the cycle of the material special effect can be controlled to change, that is, the ratio of the duration of the virtual action relative to the target cycle of the material special effect changes. When the duration of the virtual action remains unchanged, the adjustment ratio changes, and the target cycle of the material special effect changes accordingly, so that the target cycle of the material special effect is adjusted by adjusting the adjustment ratio. That is, in the above embodiment, the adjustment of the target cycle of the material special effect is converted into the adjustment of the ratio of the duration of the virtual action relative to the target cycle of the material special effect.

[0093] The adjustment step of the adjustment ratio is an integer, that is, the adjustment ratio can be adjusted with the integer as the minimum change unit.

[0094] Exemplarily, the adjustment step of the adjustment ratio may be 1, that is, the change in the adjustment ratio during each adjustment must be greater than 1.

[0095] Exemplarily, the adjustment step size of the adjustment ratio may be 2, that is, the change in the adjustment ratio during each adjustment must be greater than 2.

[0096] Exemplarily, the adjustment step length of the adjustment ratio may be 3, that is, the change amount of the adjustment ratio during each adjustment must be greater than 3. Of course, the adjustment step length of the adjustment ratio may also be other integers, which is not specifically limited in the present disclosure.

[0097] Exemplarily, when the adjustment step of the adjustment ratio is 1, the adjustment ratio can be adjusted with 1 as the minimum unit, that is, the number of times the material special effects are played within the duration of the virtual action is adjusted with 1 as the minimum unit. For example, the adjustment ratio is 1, and the adjustment ratio can be adjusted by 1 adjustment step by adjusting the touch operation, that is, by adding 1 to the adjustment ratio of 1, the adjustment ratio can be adjusted from 1 to 2, and the number of times the material special effects are played within the duration of the virtual action is also adjusted from 1 to 2 accordingly. Before the adjustment, the material special effects can be played once within the duration of the virtual action, and after the adjustment, the material special effects can be played twice within the duration of the virtual action. Because the duration of the virtual action can always include an integer multiple of the target cycle period before and after the adjustment, the material special effects can be guaranteed to be self-circulating no matter how the adjustment is made.

[0098] Exemplarily, when the adjustment step of the adjustment ratio is 2, the adjustment ratio can be adjusted with 2 as the minimum unit, that is, the number of times the material special effects are played within the duration of the virtual action is adjusted with 2 as the minimum unit. For example, the adjustment ratio is 2, and the adjustment ratio can be adjusted by 2 adjustment steps by adjusting the touch operation, that is, by adding 2 to the adjustment ratio of 2, the adjustment ratio can be adjusted from 2 to 4, and the number of times the material special effects are played within the duration of the virtual action is also adjusted from 2 to 4 accordingly. Before the adjustment, the material special effects can be played twice within the duration of the virtual action, and after the adjustment, the material special effects can be played 4 times within the duration of the virtual action. Because the duration of the virtual action can always include an integer multiple of the target cycle period before and after the adjustment, the material special effects can be guaranteed to be self-circulating no matter how the adjustment is made.

[0099] In an optional implementation, the data processing method provided by the present disclosure may further include the following steps: determining the positive or negative nature of the adjustment ratio according to the directionality of the material special effect.

[0100] In the above implementation, the directionality of the material effect can be represented by the positive or negative value of the adjustment factor for the cycle period of the material effect, that is, the directionality of the material effect can be represented by the sign part of the adjustment factor. For example, a flow effect has a flow direction. If the flow effect flows in a defined positive direction, i.e., forward flow, then the adjustment factor of the cycle of the flow effect is a positive number, i.e., the sign of the adjustment factor of the cycle of the flow effect is a positive sign (+). If the flow effect flows in a direction opposite to the defined positive direction, i.e., reverse flow, then the adjustment factor of the cycle of the flow effect is a negative number, i.e., the sign of the adjustment factor of the cycle of the disturbance effect is a negative sign (-). For another example, a disturbance effect has a disturbance direction. If the disturbance effect disturbs in a defined positive direction, i.e., forward disturbance, then the adjustment factor of the cycle of the disturbance effect is a positive number, i.e., the sign of the adjustment factor of the cycle of the disturbance effect is a positive sign (+). If the disturbance effect flows in a direction opposite to the defined positive direction, i.e., reverse disturbance, then the adjustment factor of the cycle of the disturbance effect is a negative number, i.e., the sign of the adjustment factor of the cycle of the disturbance effect is a negative sign (-).

[0101] In an optional implementation, the adjustment magnification of the cycle period of a certain material special effect is 0, which can indicate that the material special effect does not participate in the automatic realization of the self-looping effect. When the adjustment magnification of the cycle period of the material special effect is 0, the cycle period of the material special effect is the initial cycle period. For example, when the adjustment magnification of the cycle period of material special effect 1 is 0, material special effect 1 does not participate in the automatic realization of the self-looping effect, and the cycle period of material special effect 1 is T1 instead of T2. 1_final .

[0102] In an optional implementation, the adjustment of the adjustment ratio usually does not exceed a certain time range, so the adjustment range of the adjustment ratio can be limited to a certain ratio range. For example, the adjustment range of the adjustment ratio can be limited to the range of [-5, 5], so that the adjustment ratio can only take values ​​in integers within [-5, 5], avoiding the special effects production personnel from adjusting the adjustment ratio too large or too small due to lack of experience, thereby destroying the artistic rhythm of the special effects.

[0103] For example, refer to Figure 2, there are 4 types of material effects to be applied to the virtual character during the virtual character's execution of the virtual action, and a drag bar control for adjusting the magnification of each material effect cycle can be provided in the graphical user interface. Among them, the duration of the virtual action is 12 seconds, and the drag bar control B1 is used to adjust the adjustment magnification of the cycle of material effect 1, and the current target cycle of material effect 1 is 4 seconds; the drag bar control B2 is used to adjust the adjustment magnification of the cycle of material effect 2, and the current target cycle of material effect 2 is 6 seconds; the drag bar control B3 is used to adjust the adjustment magnification of the cycle of material effect 3, and the current target cycle of material effect 3 is 12 seconds; the drag bar control B4 is used to adjust the adjustment magnification of the cycle of material effect 4, and the current target cycle of material effect 4 is 1 second.

[0104] Among them, the adjustment magnification corresponding to the stop position of the slider on the drag bar control B1 is 3, indicating that material special effect 1 needs to be looped 3 times within the duration of the virtual action, and the playback time of each time is 4 seconds; the adjustment magnification corresponding to the stop position of the slider on the drag bar control B2 is 2, indicating that material special effect 2 needs to be looped 2 times within the duration of the virtual action, and the playback time of each time is 6 seconds; the adjustment magnification corresponding to the stop position of the slider on the drag bar control B3 is 1, indicating that material special effect 3 needs to be looped 1 time within the duration of the virtual action, and the playback time of each time is 12 seconds; the adjustment magnification corresponding to the stop position of the slider on the drag bar control B4 is 4, indicating that material special effect 4 needs to be looped 4 times within the duration of the virtual action, and the playback time of each time is 3 seconds.

[0105] Reference Figure 3 , the special effects producer can slide the slider on the drag bar control B2 to adjust the adjustment ratio of the loop period of material special effect 2 from 2 to 4. Then, within the duration of the virtual action, the material special effect 2 is adjusted from needing to be looped 2 times to needing to be looped 4 times. The adjusted target loop period of material special effect 2 is 12 seconds / 4 times=3 seconds, that is, the duration of a complete playback of material special effect 2 is changed from 6 seconds to 3 seconds.

[0106] Reference Figure 3 , the special effects producer can slide the slider on the drag bar control B4 to adjust the adjustment ratio of the loop period of material special effect 4 from 4 to 5. Then, within the duration of the virtual action, the material special effect 2 is adjusted from needing to be looped 4 times to needing to be looped 5 times. The adjusted target loop period of material special effect 2 is 12 seconds / 5 times=2.4 seconds, that is, the duration of a complete playback of material special effect 4 is changed from 3 seconds to 2.4 seconds.

[0107] The method provided by the present disclosure can be applied to services that require material special effects to be connected end to end to achieve a self-looping effect. In one of the embodiments of the present disclosure, the method provided by the present disclosure can be applied to the material special effects of character actions with material special effects in the 3D to 2D business (also known as three-rendering-two business, that is, the three-dimensional model is rendered as a two-dimensional image sequence frame) to be connected end to end.

[0108] In the 3D rendering 2D service, a sequence of frames of a virtual character performing a virtual action and having a looping effect with material special effects can be generated according to the special effects file, that is, the special effects file is split into a series of frame animations.

[0109] In the 3D rendering 2D business, the 2D sequence frames are generated based on the character's actions as the basic units. Therefore, the target cycle period of the material special effects needs to match the duration of the character's actions. That is, during the character's actions, the material special effects need to be played an integer number of times to ensure that the material special effects can be self-circulating.

[0110] In the exemplary embodiments of the present disclosure, the target cycle period that enables the special effects to achieve the self-circulating effect can be determined through automated processing, and a special effects file can be generated accordingly. The application of the special effects file can achieve a true self-circulating effect of material special effects, which is significantly improved in visual effect compared to the previous method of artificial masking. In addition, the self-circulating effect of material special effects no longer depends on the special effects production level and processing experience of artists, but is automated, which is conducive to mass production and greatly reduces production difficulty and production cost. In addition, the cycle period of material special effects can be adjusted by adjusting the touch operation of the adjustment magnification of the material special effects cycle period, thereby realizing the controllability and customization requirements of the material special effects art rhythm.

[0111] Corresponding to the data processing method provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides a data processing device. Figure 4 As shown, the device 700 includes:

[0112] A cycle acquisition module 701 is used to acquire a cycle of a material special effect to be applied to the virtual character during the process of the virtual character performing a virtual action;

[0113] The duration determination module 702 is used to determine the duration for the virtual character to perform the virtual action;

[0114] A magnification determination module 703, configured to determine an adjustment magnification of the cycle period of the material special effect based on a maximum cycle period in the cycle periods and a cycle period of the material special effect;

[0115] A cycle determination module 704, configured to determine a target cycle of the material special effect based on the adjustment ratio and the duration of the virtual action;

[0116] The file generation module 705 is used to generate a special effect file of the loop effect in which the virtual character performs the virtual action and has the material special effect according to the target loop period.

[0117] In one embodiment of the present disclosure, the device is further used for:

[0118] Providing an adjustment control for adjusting the magnification of the cycle period of the material special effect in the graphical user interface;

[0119] In response to an adjustment touch operation on the adjustment control, adjusting an adjustment magnification of a cycle period of the material special effect;

[0120] The step of determining a target cycle of the material special effect based on the adjustment magnification and the duration of the virtual action includes:

[0121] Based on the adjusted adjustment ratio and the duration of the virtual action, a target cycle period of the material special effect is determined.

[0122] In one embodiment of the present disclosure, the adjusting magnification of the cycle period of the material special effect includes:

[0123] The adjustment magnification of the cycle period of the material special effect is adjusted according to the adjustment step length, wherein the adjustment step length is an integer.

[0124] In one of the embodiments of the present disclosure, the adjustment step is 1.

[0125] In one embodiment of the present disclosure, the device is further used for:

[0126] The positive or negative nature of the adjustment ratio is determined according to the directionality of the material special effect.

[0127] In one embodiment of the present disclosure, determining the adjustment magnification of the cycle period of the material special effect based on the maximum cycle period in the cycle periods and the cycle period of the material special effect includes:

[0128] Scaling the cycle period of the material special effect so that a maximum cycle period of the cycle period is aligned with the duration of the virtual action;

[0129] Determine the ratio of the duration of the virtual action to the scaled cycle period;

[0130] The ratio of the duration of the virtual action relative to the scaled cycle period is converted into an integer to obtain the adjustment ratio of the cycle period of the material special effect.

[0131] In one embodiment of the present disclosure, scaling the cycle of the material special effect so that the maximum cycle of the cycle is aligned with the duration of the virtual action includes:

[0132] Determine the duration of the virtual action relative to the maximum cycle period in the cycle periods as a scaling factor;

[0133] The cycle period of the material special effect is scaled according to the scaling factor.

[0134] 8. The method according to claim 7, wherein scaling the cycle period of the material special effect according to the scaling factor comprises:

[0135] Determine that the product of the cycle period of the material special effect and the scaling factor is the cycle period of the material special effect after scaling.

[0136] In one embodiment of the present disclosure, converting the magnification of the duration of the virtual action relative to the scaled cycle period into an integer to obtain the adjustment magnification of the cycle period of the material special effect includes:

[0137] The duration of the virtual action relative to the scaled cycle period is rounded off to an integer to obtain the adjustment ratio of the cycle period of the material special effect.

[0138] In one embodiment of the present disclosure, converting the magnification of the duration of the virtual action relative to the scaled cycle period into an integer to obtain the adjustment magnification of the cycle period of the material special effect includes:

[0139] The duration of the virtual action is rounded up or down relative to the magnification of the scaled cycle period to obtain the adjustment magnification of the cycle period of the material special effect.

[0140] In one embodiment of the present disclosure, the device is further used for:

[0141] A sequence frame of the virtual character performing the virtual action and having a looping effect of the material special effect is generated according to the special effect file.

[0142] In one of the embodiments of the present disclosure, the material special effects include one or more of the following: UV flow special effects, UV disturbance special effects, mask flow special effects, mask disturbance special effects and FlipBook special effects.

[0143] In one embodiment of the present disclosure,

[0144] The cycle period of the UV flow special effect is the duration of a complete playback of the UV flow special effect;

[0145] The cycle period of the UV disturbance special effect is the duration of a complete playback of the UV disturbance special effect;

[0146] The cycle period of the mask flow special effect is the duration of a complete playback of the mask flow special effect;

[0147] The cycle period of the mask disturbance special effect is the duration of the mask disturbance special effect being played once completely;

[0148] The cycle period of the FlipBook special effect is the duration of a complete playback of the FlipBook special effect.

[0149] The data processing device provided by the present disclosure can obtain the cycle period of the material special effect to be applied to the virtual character during the process of the virtual character performing the virtual action; determine the duration of the virtual character performing the virtual action; determine the adjustment ratio of the cycle period of the material special effect based on the maximum cycle period in the cycle period and the cycle period of the material special effect; determine the target cycle period of the material special effect based on the adjustment ratio and the duration of the virtual action; generate a special effect file with a loop effect of the material special effect when the virtual character performs the virtual action according to the target cycle period, that is, produce a special effect file that realizes the self-looping effect of the material special effect during a single character action. Special effects file. By applying this special effects file, the material special effects can be played an integer multiple of the target loop period within the duration of the virtual action. When the virtual character starts to perform the virtual action, the material special effects can be played from the beginning of the special effects. When the virtual character finishes performing the virtual action, the material special effects can be played to the end of the special effects. This allows the material special effects to not only achieve a self-looping effect during a single action, but also the material special effects applied to this action can be connected end to end with the same material special effects applied to adjacent actions, so that the self-looping effect of the material special effects can be connected end to end between consecutive actions with smooth seams.

[0150] Next, an electronic device provided by an embodiment of the present disclosure is introduced. Figure 5 , Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device 800 may be deployed with the data processing device described in the embodiment of the present disclosure to implement the functions in the embodiment of the present disclosure. Specifically, the electronic device 800 includes: a receiver 801, a transmitter 802, a processor 803 and a memory 804 (the number of processors 803 in the electronic device 800 may be one or more, Figure 5 In the example of FIG. 801 , the processor 803 may include an application processor 8031 ​​and a communication processor 8032. In some embodiments of the present disclosure, the receiver 801, the transmitter 802, the processor 803 and the memory 804 may be connected via a bus or other means.

[0151] The memory 804 may include a read-only memory and a random access memory, and provides instructions and data to the processor 803. A portion of the memory 804 may also include a non-volatile random access memory (NVRAM). The memory 804 stores processor and operation instructions, executable modules or data structures, or subsets thereof, or extended sets thereof, wherein the operation instructions may include various operation instructions for implementing various operations.

[0152] The processor 803 controls the operation of the execution device. In a specific application, the various components of the execution device are coupled together through a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus, and a status signal bus, etc. However, for the sake of clarity, various buses are referred to as bus systems in the figure.

[0153] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 803, or implemented by the processor 803. The processor 803 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 803. The above processor 803 can be a general processor, a digital signal processor (digital signal processing, DSP), a microprocessor or a microcontroller, and can further include an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The processor 803 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiment of the present disclosure. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor can be executed. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 804, and the processor 803 reads the information in the memory 804 and completes the steps of the above method in combination with its hardware.

[0154] The receiver 801 can be used to receive input digital or character information and generate signal input related to the relevant settings and function control of the execution device. The transmitter 802 can be used to output digital or character information through the first interface; the transmitter 802 can also be used to send instructions to the disk group through the first interface to modify the data in the disk group; the transmitter 802 can also include a display device such as a display screen.

[0155] In the embodiment of the present disclosure, the application processor 8031 ​​in the processor 803 is used to execute the data processing method in the embodiment of the present disclosure. It should be noted that the specific manner in which the application processor 8031 ​​executes each step is based on the same concept as the various method embodiments in the present disclosure, and the technical effects brought about are the same as the various method embodiments in the present disclosure. For specific contents, please refer to the description in the method embodiments shown in the above disclosure, and no further description will be given here.

[0156] The disclosed embodiment also provides a chip for executing instructions, which is used to execute the technical solution of the data processing method in the above embodiment.

[0157] The embodiment of the present disclosure further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a processor, the processor executes the technical solution of the data processing method in the above embodiment.

[0158] The embodiments of the present disclosure further provide a computer program product, including a computer program, which is used to execute the technical solution of the data processing method in the above embodiments when executed by a processor.

[0159] The computer readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or dedicated server.

[0160] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

[0161] Although the present disclosure is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present disclosure. Any person skilled in the art may make possible changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the scope of protection of the present disclosure shall be based on the scope defined by the claims of the present disclosure.

Claims

1. A data processing method, characterized in that: The method comprises: Acquire a cycle period of a material special effect to be applied to the virtual character during the process of the virtual character performing a virtual action; Determining the duration for the virtual character to perform the virtual action; Determining an adjustment magnification of the cycle period of the material special effect based on a maximum cycle period in the cycle periods and the cycle period of the material special effect; Determining a target cycle of the material special effect based on the adjustment ratio and the duration of the virtual action; According to the target cycle period, a special effect file is generated in which the virtual character performs the virtual action and has a cycle effect of the material special effect.

2. The method according to claim 1, characterized in that The method further comprises: Providing an adjustment control for adjusting the magnification of the cycle period of the material special effect in the graphical user interface; In response to an adjustment touch operation on the adjustment control, adjusting an adjustment magnification of a cycle period of the material special effect; The step of determining a target cycle of the material special effect based on the adjustment magnification and the duration of the virtual action includes: Based on the adjusted adjustment ratio and the duration of the virtual action, a target cycle period of the material special effect is determined.

3. The method according to claim 2, characterized in that The adjusting magnification of the cycle period of the material special effect includes: The adjustment magnification of the cycle period of the material special effect is adjusted according to the adjustment step length, wherein the adjustment step length is an integer.

4. The method according to claim 3, characterized in that: The adjustment step is 1.

5. The method according to claim 1, characterized in that The method further comprises: The positive or negative nature of the adjustment ratio is determined according to the directionality of the material special effect.

6. The method according to claim 1, characterized in that The determining the adjustment magnification of the cycle period of the material special effect based on the maximum cycle period in the cycle periods and the cycle period of the material special effect includes: Scaling the cycle period of the material special effect so that a maximum cycle period of the cycle period is aligned with the duration of the virtual action; Determine the ratio of the duration of the virtual action to the scaled cycle period; The ratio of the duration of the virtual action relative to the scaled cycle period is converted into an integer to obtain the adjustment ratio of the cycle period of the material special effect.

7. The method according to claim 6, characterized in that The step of scaling the cycle of the material special effect so that a maximum cycle of the cycle is aligned with the duration of the virtual action includes: Determine the duration of the virtual action relative to the maximum cycle period in the cycle periods as a scaling factor; The cycle period of the material special effect is scaled according to the scaling factor.

8. The method according to claim 7, characterized in that Scaling the cycle period of the material special effect according to the scaling factor includes: Determine that the product of the cycle period of the material special effect and the scaling factor is the cycle period of the material special effect after scaling.

9. The method according to claim 6, characterized in that The step of converting the magnification of the duration of the virtual action relative to the scaled cycle period into an integer to obtain the adjustment magnification of the cycle period of the material special effect includes: The duration of the virtual action relative to the scaled cycle period is rounded off to an integer to obtain the adjustment ratio of the cycle period of the material special effect.

10. The method according to claim 6, characterized in that The step of converting the magnification of the duration of the virtual action relative to the scaled cycle period into an integer to obtain the adjustment magnification of the cycle period of the material special effect includes: The duration of the virtual action is rounded up or down relative to the magnification of the scaled cycle period to obtain the adjustment magnification of the cycle period of the material special effect.

11. The method according to claim 1, characterized in that: The method further comprises: A sequence frame of the virtual character performing the virtual action and having a looping effect of the material special effect is generated according to the special effect file.

12. The method according to claim 1, characterized in that The material special effects include one or more of the following: UV flow special effects, UV disturbance special effects, mask flow special effects, mask disturbance special effects and FlipBook special effects.

13. The method according to claim 12, characterized in that The cycle period of the UV flow special effect is the duration of a complete playback of the UV flow special effect; The cycle period of the UV disturbance special effect is the duration of a complete playback of the UV disturbance special effect; The cycle period of the mask flow special effect is the duration of a complete playback of the mask flow special effect; The cycle period of the mask disturbance special effect is the duration of the mask disturbance special effect being played once completely; The cycle period of the FlipBook special effect is the duration of a complete playback of the FlipBook special effect.

14. A data processing device, characterized in that: The device comprises: A cycle acquisition module, used for acquiring a cycle of a material special effect to be applied to the virtual character during the process of the virtual character performing a virtual action; A duration determination module, used to determine the duration for the virtual character to perform the virtual action; A magnification determination module, used for determining an adjustment magnification of the cycle period of the material special effect based on a maximum cycle period in the cycle periods and a cycle period of the material special effect; A cycle determination module, used to determine a target cycle of the material special effect based on the adjustment ratio and the duration of the virtual action; The file generation module is used to generate a special effect file of a cycle effect in which the virtual character performs the virtual action and has the material special effect according to the target cycle period.

15. An electronic device, characterized in that: include: A processor, a memory, and computer program instructions stored on the memory and executable on the processor; When the processor executes the computer program instructions, the data processing method according to any one of claims 1 to 13 is implemented.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, they are used to implement the data processing method as described in any one of claims 1 to 13 above.