Methods, devices, equipment, storage media, and program products for synchronized display of characters.

By utilizing the periodicity of the character's motion cycle, obtaining and correcting the cycle parameters, and generating target posture data, the problem of uneven motion during character synchronization is solved, resulting in smoother character movement and more efficient data transmission.

CN116983623BActive Publication Date: 2026-08-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-09-06
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

During character synchronization, when the simulated terminal directly generates the synchronized screen based on the motion data, the changes in the update instant are large, which affects the user experience.

Method used

By leveraging the periodicity of the first and second characters having the same action cycle, target posture data is generated through acquiring and adjusting the cycle parameters to achieve a smooth transition.

Benefits of technology

It improves the smoothness of character movement, reduces data transmission volume, and enhances data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116983623B_ABST
    Figure CN116983623B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, storage medium, and program product for synchronous display of characters, relating to the field of computer technology. The method includes: acquiring simulated posture data of a first character within a historical time period; based on the simulated posture data and the movement of the first character within the action cycle of a target action, acquiring a first cycle parameter of the first character at the end of the historical time period; receiving a second cycle parameter sent by a second terminal; correcting and adjusting the first cycle parameter based on the second cycle parameter to obtain an adjusted third cycle parameter, generating target posture data corresponding to the end time, and displaying the first character corresponding to the second character. Through this method, the periodicity of the first and second characters having the same action cycle can be fully utilized, resulting in a smoother transition in the animation of the first character. This application can be applied to various scenarios such as cloud technology, artificial intelligence, and intelligent transportation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, device, storage medium, and program product for synchronous display of characters. Background Technology

[0002] With the development of science and technology, various modes such as office work, education, and entertainment are gradually shifting online. The demand for synchronization of roles such as video conferencing, video broadcasting, and animation is becoming more widespread and intense. In the above scenarios, shared information technology involving high quality and high accuracy is receiving more and more attention.

[0003] In related technologies, when synchronizing characters, the main control terminal typically obtains the motion data corresponding to the character's video frame, sends the motion data to the simulation terminal, parses the motion data, directly generates the synchronized frame of the character based on the motion data, and displays the synchronized frame of the character, thus realizing the process of synchronized display of characters.

[0004] However, in the above process, if the simulation terminal directly generates the synchronized screen of the character based on the motion data and displays it on the simulation terminal's interface, sometimes the difference between the received motion data and the motion data corresponding to the currently playing screen is too large, resulting in a large change in the synchronized screen at the moment of update. This ignores the smoothness of the synchronized display of the character and greatly affects the user experience. Summary of the Invention

[0005] This application provides a method, apparatus, device, storage medium, and program product for synchronous display of characters, which can fully utilize the periodicity of the first character and the second character having the same action cycle, making the transition of the first character's action screen smoother. The technical solution is as follows.

[0006] On the one hand, a method for synchronously displaying characters is provided, the method comprising:

[0007] Obtain simulated posture data of the first character within a historical time period. The first character is the character that is synchronously displayed on the first terminal to the second character controlled by the second terminal.

[0008] Based on the simulated posture data and the movement of the first character within the action cycle of the target action, the first cycle parameter of the first character at the end of the historical time period is obtained. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the end of the time period.

[0009] The second terminal sends a second period parameter to the second character at the termination time. The second period parameter is used to indicate the periodic characteristics of the action performance of the second character at the termination time corresponding to the action period.

[0010] The first period parameter is corrected and adjusted based on the second period parameter to obtain the adjusted third period parameter;

[0011] Based on the third cycle parameter, target posture data corresponding to the termination time is generated, and based on the target posture data, the first role corresponding to the second role is displayed.

[0012] On the other hand, a method for synchronously displaying characters is provided, the method comprising:

[0013] Acquire the master control posture data of the second role within a historical time period, where the second role is the master control role of the second terminal;

[0014] Based on the master control posture data and the movement of the second character within the action cycle of the target action, the second cycle parameter of the second character at the end of the historical time period is obtained. The second cycle parameter is used to indicate the periodic characteristics of the second character's action performance within the action cycle corresponding to the end of the time period.

[0015] The second periodic parameter is sent to the first terminal, which is used to synchronize the second role and display the first role corresponding to the second role;

[0016] Specifically, the first terminal corrects and adjusts the first cycle parameter based on the second cycle parameter to obtain the adjusted third cycle parameter. The first cycle parameter is used to indicate the periodic characteristics of the first character's action performance within the corresponding action cycle at the termination time. The first terminal generates target posture data corresponding to the termination time based on the third cycle parameter, and displays the first character corresponding to the second character based on the target posture data.

[0017] On the other hand, a character synchronization display device is provided, the device comprising:

[0018] The data acquisition module is used to acquire the simulated posture data of the first character within a historical time period. The first character is the character that is synchronously displayed on the second terminal in the first terminal and controlled by the second terminal.

[0019] The parameter acquisition module is used to acquire the first cycle parameter of the first character at the end of the historical time period based on the simulated posture data and the movement of the first character within the action cycle of the target action. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the end of the time period.

[0020] The parameter receiving module is used to receive the second period parameter of the second character at the termination time sent by the second terminal. The second period parameter is used to indicate the periodic characteristics of the action performance of the second character at the termination time corresponding to the action period.

[0021] The calibration and adjustment module is used to calibrate and adjust the first cycle parameter based on the second cycle parameter to obtain the adjusted third cycle parameter;

[0022] The role display module is used to generate target posture data corresponding to the termination time based on the third cycle parameter, and to display the first role corresponding to the second role based on the target posture data.

[0023] On the other hand, a character synchronization display device is provided for use in a second terminal, the device comprising:

[0024] The attitude acquisition module is used to acquire the master control attitude data of the second role within a historical time period. The second role is the master control role of the second terminal.

[0025] The parameter acquisition module is used to acquire the second cycle parameter of the second character at the end of the historical time period based on the master control posture data and the movement of the second character within the action cycle of the target action. The second cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the second character at the end of the time period.

[0026] The parameter sending module is used to send the second periodic parameter to the first terminal, and the first terminal is used to synchronize the second role and display the first role corresponding to the second role;

[0027] Specifically, the first terminal corrects and adjusts the first cycle parameter based on the second cycle parameter to obtain the adjusted third cycle parameter. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the termination time. The first terminal generates target posture data corresponding to the termination time based on the third cycle parameter, and displays the first character corresponding to the second character based on the target posture data.

[0028] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the synchronous display method of the role as described in any of the embodiments of this application above.

[0029] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored therein, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the synchronous display method of roles as described in any of the embodiments of this application above.

[0030] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the synchronous display method for the role described in any of the above embodiments.

[0031] The beneficial effects of the technical solutions provided in this application include at least the following:

[0032] After acquiring the simulated posture data of the first character within a historical time period, the first cycle parameter of the first character at the end of the historical time period is obtained based on the movement of the first character within the action cycle of the target action. The first cycle parameter is then corrected and adjusted based on the second cycle parameter sent by the second terminal. Target posture data is generated based on the adjusted third cycle parameter, and the first character corresponding to the second character is displayed. This method takes into account the movement of the first character within the action cycle of the target action, fully utilizing the periodicity of the first and second characters having the same action cycle. This results in a smoother transition in the first character's animation when the first terminal adjusts the first adjustment parameter based on the second adjustment parameter. Furthermore, due to the second terminal's determination of the second adjustment parameter, the second terminal does not need to send all the motion data to the first terminal, effectively reducing the amount of data transmitted between the two terminals. During character synchronization, this not only improves the smoothness of character movement but also enhances data transmission efficiency. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of an implementation environment provided by an exemplary embodiment of this application;

[0035] Figure 2 This is a flowchart of a method for synchronously displaying roles provided in an exemplary embodiment of this application;

[0036] Figure 3 This is a schematic diagram illustrating the determination of an action cycle provided in an exemplary embodiment of this application;

[0037] Figure 4 This is a schematic diagram illustrating the determination of an action cycle provided in another exemplary embodiment of this application;

[0038] Figure 5 This is a flowchart of a method for synchronously displaying roles provided in another exemplary embodiment of this application;

[0039] Figure 6 This is a flowchart of a method for synchronously displaying roles provided in yet another exemplary embodiment of this application;

[0040] Figure 7 This is a flowchart of a method for synchronously displaying roles on a master control terminal, provided in an exemplary embodiment of this application;

[0041] Figure 8 This is a flowchart of a method for synchronizing the display of characters on a simulated terminal, provided in an exemplary embodiment of this application;

[0042] Figure 9 This is a schematic diagram illustrating the interaction between the master control terminal and the simulation terminal provided in an exemplary embodiment of this application;

[0043] Figure 10 This is a structural block diagram of a synchronous display device for a role provided in an exemplary embodiment of this application;

[0044] Figure 11 This is a structural block diagram of a synchronous display device for a role provided in another exemplary embodiment of this application;

[0045] Figure 12 This is a structural block diagram of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0047] First, a brief introduction to the terms used in the embodiments of this application will be given.

[0048] Character motion animation: In computer games, computer virtual reality applications, or animated videos, character animation refers to the virtual character making different postures over time. These postures appear continuous over time, typically using frames at regular intervals. The posture data consists of a multi-frame sequence describing the position and rotation of the character's key skeletal nodes. Character motion animation specifically refers to animation that matches the virtual character's posture changes and position trajectory as its position changes, making the virtual character's movements similar to those of a real person or object when interacting with its environment.

[0049] Network synchronization refers to the technique and process by which multiple devices enter the same virtual scene through communication technologies such as the internet. The actions performed by characters controlled on different devices are synchronized across the network, causing the same characters displayed on other devices to exhibit the same actions.

[0050] Master control terminal and simulation terminal: In games or virtual reality applications, multiple devices (or programs) enter the same scene. A virtual character's movements and other actions are determined by one device, while the other devices synchronize their actions with the device that determined them via the network. The device that determines the virtual character's actions is defined as the master control terminal for that virtual character, and the other devices are defined as the simulation terminals for that virtual character.

[0051] In related technologies, during character synchronization, the main control terminal typically acquires motion data corresponding to the character's video frame and sends it to the simulation terminal. The simulation terminal then parses the motion data, directly generates the synchronized character frame based on the motion data, and displays it, thus achieving synchronized character display. However, in this process, if the simulation terminal directly generates the synchronized character frame based on the motion data and displays it on its interface, sometimes the difference between the received motion data and the motion data corresponding to the currently playing frame is too large. This results in significant fluctuations in the synchronized frame during updates, neglecting the smoothness of the synchronized character display and greatly impacting the user experience.

[0052] This application provides a method for synchronizing the display of characters, which fully utilizes the periodicity of the first and second characters having the same action cycle, resulting in a smoother transition in the animation of the first character. The method for synchronizing the display of characters trained according to this application can be applied to at least one of the following scenarios: game character synchronization, modeled character synchronization, and video conferencing synchronization. It is worth noting that the above application scenarios are merely illustrative examples, and the method for synchronizing the display of characters provided in this embodiment can also be applied to other scenarios; this application does not limit its application to these scenarios.

[0053] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the posture data and motion data involved in this application were obtained with full authorization.

[0054] Secondly, the implementation environment involved in the embodiments of this application will be described, for illustrative purposes only. Please refer to [the relevant documentation]. Figure 1 The implementation environment involves a first terminal 110 and a second terminal 120, which are connected to each other via a communication network 130.

[0055] In some embodiments, the first terminal 110 synchronizes the second role displayed on the second terminal 120 and displays the synchronized first role on the first terminal 110.

[0056] Schematic illustration: The first terminal 110 acquires simulated posture data of a first character within a historical time period. The first character is the one that is synchronously displayed on the first terminal to the second character controlled by the second terminal. Based on the simulated posture data and the movement of the first character within the action cycle of the target action, the first cycle parameter of the first character at the end of the historical time period is acquired. The first cycle parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the first character at the end of the time period.

[0057] In some embodiments, the second terminal 120 is used to send a second period parameter to the server first terminal 110. Illustratively, the second terminal 120 can acquire the second period parameter using the parameter acquisition method described above. The second period parameter indicates the periodicity of the action cycle corresponding to the action performance of the second character at the termination time. For example, the second terminal 120 acquires the master control posture data of the second character within a historical time period, where the second character is the master control character of the second terminal; based on the master control posture data and the movement of the second character within the action cycle, it acquires the second period parameter of the second character at the termination time of the historical time period.

[0058] Optionally, after obtaining the second cycle parameter, the second terminal 120 sends the second cycle parameter to the first terminal 110, so that the first terminal 110 can adjust the first cycle parameter based on the second cycle parameter. Illustratively, the first terminal 110 receives the second cycle parameter of the second role at the termination time sent by the second terminal 120, and corrects and adjusts the first cycle parameter based on the second cycle parameter to obtain the adjusted third cycle parameter.

[0059] Optionally, the second terminal 120 generates target attitude data corresponding to the termination time based on the third cycle parameters, and displays the first role corresponding to the second role based on the target attitude data.

[0060] The method for synchronous display of roles provided in this application embodiment can be implemented by the interaction between the first terminal 110 and the second terminal 120, or by the interaction between the first terminal 110 and the server, or by the interaction between the second terminal 120 and the server, etc. This application embodiment does not limit this.

[0061] It is worth noting that the aforementioned terminals include, but are not limited to, mobile terminals such as mobile phones, tablets, portable laptops, smart voice interaction devices, smart home appliances, and in-vehicle terminals, as well as desktop computers; the aforementioned servers can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0062] Cloud technology refers to a hosting technology that unifies hardware, applications, networks, and other resources within a wide area network (WAN) or local area network (LAN) to achieve data computation, storage, processing, and sharing. Based on the cloud computing business model, cloud technology encompasses network technology, information technology, integration technology, management platform technology, and application technology. It can form resource pools, providing flexible and convenient on-demand access.

[0063] In some embodiments, the server described above can also be implemented as a node in a blockchain system.

[0064] Based on the above-described terminology and application scenarios, the method for synchronously displaying roles provided in this application will be explained, taking the application of this method to a terminal as an example, such as... Figure 2 As shown, the method includes the following steps 210 to 250.

[0065] Step 210: Obtain the simulated posture data of the first character within the historical time period.

[0066] The first role is the role that is synchronously displayed in the first terminal to the second role controlled by the second terminal.

[0067] Optionally, a first character is displayed on the screen corresponding to the first terminal, and a second character is displayed on the screen corresponding to the second terminal. When the first terminal displays the first character, it synchronously displays the second character based on elements such as the movement speed and direction of the second character received, thereby realizing the process of displaying the first character on the first terminal.

[0068] For illustrative purposes, the aforementioned roles can be virtual human characters, virtual animal characters, or real human characters, real animal characters, etc. For example, when the real human character A, the second character displayed on the second terminal, is displayed on the first terminal, the actions, orientation, and other elements of the first character corresponding to the second character are adjusted based on the actions and orientation of the second character. This allows the first terminal to synchronously display the second character displayed on the second terminal. In other words, the first character is synchronously displayed on the first terminal, and this first character is the real human character A displayed based on the synchronous display effect between the terminals (between the first and second terminals).

[0069] Optionally, virtual characters include virtual objects in games, modeled characters in project planning, and virtual idols in film and television works; virtual animal characters include virtual pets in games, modeled animals in robot planning (such as robot dogs), and virtual animals in film and television works; real human characters include performers in film and television works, participants in video conferences, participants in performance activities, and athletes in sports broadcasts; real animal characters include various types of animal characters such as cats, dogs, snakes, fish, and birds.

[0070] To illustrate, an animated video of a modeled character M (the second character) is playing on the second terminal. The first terminal is used to synchronize the display of the character on the second terminal; that is, the modeled character M is displayed synchronously on the first terminal. The modeled character M displayed synchronously on the first terminal is referred to as the first character. The goal is to ensure that the first character displayed on the first terminal and the second character displayed on the second terminal are synchronized as much as possible.

[0071] The historical time period is used to indicate the time range covered by a past period. For example, a historical time period might be the past 2 seconds, meaning the time span from two seconds ago to the present moment; or it could be the past 5 video frames, meaning the time span from the previous 5 video frames to the current video frame, etc.

[0072] In an optional embodiment, the first character is implemented as a real human character / real animal character, which is equipped with at least one data acquisition device for monitoring simulated posture data; the simulated posture data of the first character within a historical time period is acquired through the data acquisition device.

[0073] In a schematic way, the first character is implemented as a real human character, and data acquisition devices are equipped on the limbs of the first character. The simulated posture data of the first character in a historical time period is determined by the data acquired by the data acquisition devices corresponding to the limbs; or, the first character is implemented as a real human character, and a fluorescent clothing is equipped on the first character. The simulated posture data of the first character in a historical time period is determined by the movement of the first character displayed by the fluorescent clothing, etc.

[0074] Among them, simulated posture data is used to indicate the posture data generated by the first character during the movement.

[0075] Optionally, the attitude data includes at least one of the following forms.

[0076] (1) Skeletal key point location data

[0077] In a schematic manner, at least one skeletal keypoint is identified on the first character. During the first character's movement, the positional changes of this keypoint in the animation are used to determine the character's overall position. This positional change of the keypoint serves as the aforementioned keypoint position data. Using this data, the character's actions in the animation can be roughly determined. For example, if the distribution of the keypoint position data exhibits a curved pattern, the character is running within a given time period; conversely, if the distribution remains unchanged, the character is stationary within that time period.

[0078] (2) Motion speed data

[0079] Indicatively, motion speed data is used to indicate the motion speed of the first character in the animation within a historical time period. For example, the first character is implemented as a real human character, who runs at a constant speed of 3 m / s during the historical time period; or, the first character is implemented as a fish, whose tail fin rotates at a speed of 30° / s during the historical time period, etc.

[0080] (3) Motion direction data

[0081] Indicatively, motion direction data is used to indicate the direction of movement of the first character in the animation within a historical time period. For example, the first character is implemented as a real person, and the real person moves forward within a historical time period.

[0082] (4) Motion trajectory data

[0083] Indicatively, the motion direction data is used to indicate the motion trajectory of the first character in the animation within a historical time period. For example, the first character is implemented as a real human character, which moves forward and then diagonally forward within the historical time period, and the motion trajectory is implemented as a broken line segment a; or, the first character is implemented as a snake, which moves forward in an irregular curved motion within the historical time period, and the motion trajectory is implemented as a curved line segment c.

[0084] (5) Sports type data

[0085] Schematic, the movement type data is used to indicate the movement pattern of the first character within a historical time period, where the movement pattern is related to the character type of the first character. For example: the first character is implemented as a real person (i.e., the character type of the first character is real person), and this real person performs bipedal running movement within a historical time period, then bipedal running movement is used as the movement type data of the first character; or, the first character is implemented as a snake (i.e., the character type of the first character is snake), and this snake performs standing up movement within a historical time period, then standing up movement is used as the movement type data of the first character, and so on.

[0086] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0087] In a schematic representation, the first character is a real person, T. During a historical time period, real person T performs a bipedal running motion in the video. When acquiring simulated posture data, the posture data generated by real person T's bipedal running motion during the historical time period is obtained. For example, at least one of several simulated posture data is obtained, including skeletal key point position data, movement speed data, movement direction data, and movement trajectory data of real person T during the bipedal running motion during the historical time period.

[0088] Step 220: Based on the simulated posture data and the movement of the first character within the action cycle of the target action, obtain the first cycle parameter of the first character at the end of the historical time period.

[0089] Optionally, the action cycle is used to indicate the time period during which the first character completes the target action, which is related to the character type of the first character.

[0090] To illustrate, when the first character's role type is a real person, the first character is implemented as a real person character. Since the movement mode of real person characters is usually implemented as bipedal walking, bipedal walking is taken as the target action. The time period during which the first character completes one bipedal walking action is determined, and this time period is taken as the action cycle of the target action. For example, the moment when the left foot is about to lift off is taken as the beginning of an action cycle, and the moment when the right foot lands back on the ground is taken as the end of an action cycle.

[0091] Alternatively, when the first character is a fish, the first character is implemented as a fish character. Since fish typically move by propelling their tail fins, the tail fin movement is taken as the target action. The time interval during which the first character completes one tail fin movement is determined, and this time interval is taken as the action cycle of the target action. For example: the moment when the tail fin begins to swing to one side is taken as the beginning of an action cycle; the moment when the tail fin swings from that side back to the starting point is taken as the halfway point of an action cycle (half cycle); the moment when the tail fin swings from the other side back to the starting point is taken as the end of an action cycle, and so on.

[0092] In an optional embodiment, the target action is determined based on motion type data in the simulated posture data.

[0093] In a schematic way, the first character is implemented as a real human character, and the real human character is the character type of the first character. After obtaining the simulated posture data, the movement indicated by the movement type data in the simulated posture data is taken as the target movement of the first character within the historical time period.

[0094] For example, the motion type data in the simulated posture data indicates that the first character performs bipedal running during a historical time period, and bipedal running is taken as the target motion of the first character; or, the motion type data in the simulated posture data indicates that the first character performs bipedal jumping during a historical time period, and bipedal jumping is taken as the target motion of the first character, etc.

[0095] Optionally, the action cycle corresponding to the target action is determined based on the target action.

[0096] In a schematic representation, the first character is a real human figure, and the motion type data in the simulated posture data indicates a bipedal running motion; that is, the target action is bipedal running. When determining the motion cycle corresponding to bipedal running (the target action), the time interval for completing one bipedal running motion is taken as the motion cycle. For example, the moment the left foot is about to lift off the ground is considered the start of a motion cycle, and the moment the right foot lands back on the ground is considered the end of a motion cycle.

[0097] Alternatively, the first character can be a real person, and the motion type data in the simulated posture data indicates a two-footed jump, meaning the target action is a two-footed jump. When determining the motion cycle corresponding to the two-footed jump (target action), the time interval for completing one two-footed jump is taken as the motion cycle. For example, the moment the knees begin to bend is considered the beginning of a motion cycle, the moment the person begins to take off is considered halfway through a motion cycle (half-cycle), and the moment the knees straighten is considered the end of a motion cycle.

[0098] Alternatively, if the first character's role is a fish, and the motion type data in the simulated posture data indicates a tail fin push, then the target action is a tail fin push. When determining the action cycle corresponding to the tail fin push (target action), the moment when the tail fin begins to swing to one side is considered the beginning of an action cycle; the moment when the tail fin swings from that side to the starting point is considered the halfway point of an action cycle; and the moment when the tail fin swings from the other side to the starting point is considered the end of an action cycle, and so on.

[0099] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0100] In an optional embodiment, the first cycle parameters are obtained based on simulated posture data and the movement of the first character within the action cycle.

[0101] The first period parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the first character at the end time.

[0102] Optionally, after determining the end time corresponding to the historical time period, the motion cycle corresponding to the motion performance at that end time is determined. (Illustrative example, such as...) Figure 3 The diagram illustrates the determination of an action cycle. A historical time period 310 is determined by the start time and end time 311. This historical time period 310 includes multiple action cycles 320, such as action cycle 1, action cycle 2, and action cycle 3. The historical time period 310 also includes a portion of the time period of action cycle 4. The end time 311 is located within action cycle 4, and the action cycle 4 in which the end time 311 is located is taken as the action cycle corresponding to the action performance at the end time.

[0103] Or, such as Figure 4 The diagram shown is another schematic diagram for determining the action cycle. The historical time period 410 is determined by the start time and the end time 411. This historical time period 410 is located within an action cycle 420. That is, the end time 411 is located within this action cycle. The action cycle in which the end time 411 is located is taken as the action cycle corresponding to the action performance at the end time.

[0104] Indicatively, the first cycle parameters are obtained based on simulated posture data and the movement of the first character within the action cycle corresponding to the termination time.

[0105] For example: Obtain the skeletal keypoint position data of the first character in the simulated posture data, and the skeletal keypoint position reference data of the first character within the action cycle corresponding to the termination time. Compare the skeletal keypoint position data with the skeletal keypoint position reference data to determine the parameters of the first cycle.

[0106] In a schematic manner, the skeletal keypoint location data is compared with the skeletal keypoint location reference data to determine the skeletal keypoint location reference data corresponding to the skeletal keypoint location data. Based on the skeletal keypoint location reference data at the termination time, the first cycle parameters are determined.

[0107] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0108] Step 230: Receive the second period parameter of the second role at the termination time sent by the second terminal.

[0109] The second period parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the second character at the end time.

[0110] Optionally, the second terminal uses the method described above for determining the first cycle parameter by the first terminal to determine the second cycle parameter. Illustratively, the second terminal acquires the master control posture data of the second character within a historical time period, and based on the master control posture data and the movement of the second character within the action cycle, acquires the second cycle parameter of the second character at the end of the historical time period.

[0111] Optionally, the second terminal sends the second period parameter of the second role at the termination time to the first terminal, so that the first terminal can adjust the display of the first role at the termination time after receiving the second period parameter.

[0112] Step 240: Based on the second period parameters, the first period parameters are corrected and adjusted to obtain the adjusted third period parameters.

[0113] In a schematic manner, after obtaining the second periodic parameters sent by the second terminal, the second periodic parameters are compared with the first periodic parameters, and the first periodic parameters are adjusted based on the comparison result so that the first role displayed by the first terminal can have stronger synchronization with the second role displayed by the second terminal.

[0114] In an optional embodiment, in response to the difference in parameter values ​​between the second period parameter and the first period parameter, the first period parameter is corrected and adjusted to obtain the adjusted third period parameter.

[0115] Optionally, in response to the difference between the parameter value of the second period parameter and the parameter value of the first period parameter, the rate of change of the parameter value of the first period parameter is adjusted, and the first period parameter is corrected and adjusted based on the rate of change of the parameter value to obtain the adjusted third period parameter.

[0116] Indicatively, in response to the parameter value of the second period being greater than that of the first period, the rate of change of the parameter value of the first period is increased, and the first period parameter is corrected and adjusted based on the increased rate of change of the parameter value to obtain the adjusted third period parameter.

[0117] Alternatively, in response to the second period parameter being less than the first period parameter, the rate of change of the first period parameter is reduced, and the first period parameter is corrected and adjusted based on the reduced rate of change to obtain the adjusted third period parameter.

[0118] In an optional embodiment, in response to a comparison result indicating that the second period parameter is the same as the first period parameter, the second period parameter is used as the third period parameter; or, the first period parameter is used as the third period parameter.

[0119] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0120] Step 250: Generate target attitude data corresponding to the termination time based on the third cycle parameters, and display the synchronized actions of the first character corresponding to the second character based on the target attitude data.

[0121] To illustrate, after obtaining the adjusted third cycle parameters, the attitude data of the first character is adjusted using the third cycle parameters, and target attitude data corresponding to the termination time is generated.

[0122] In an optional embodiment, while adjusting the first cycle parameter, the display process of the first character continues. During this process, the first cycle parameter is rapidly adjusted based on the second cycle parameter to obtain a third cycle parameter that changes rapidly with the display process. Based on the rapidly changing third cycle parameter, target posture data corresponding to the display time is quickly generated.

[0123] Optionally, the first terminal determines the display method of the first character based on the generated target posture data, thereby displaying the first character corresponding to the second character on the screen corresponding to the first terminal. For example, the actions of the first character displayed on the first terminal are synchronized with the actions of the second character displayed on the second terminal.

[0124] In summary, after acquiring the simulated posture data of the first character within a historical time period, the first cycle parameter of the first character at the end of the historical time period is obtained based on the movement of the first character within the action cycle. The first cycle parameter is then corrected and adjusted based on the second cycle parameter sent by the second terminal. Finally, target posture data is generated based on the adjusted third cycle parameter, displaying the first character corresponding to the second character. This method takes into account the movement of the first character within the action cycle, fully utilizing the periodicity of the shared action cycle between the first and second characters. This results in a smoother transition in the first character's animation when the first terminal adjusts the first adjustment parameter based on the second adjustment parameter. Furthermore, due to the second terminal's determination of the second adjustment parameter, the second terminal does not need to send all the motion data to the first terminal, effectively reducing the amount of data transmitted between them. During character synchronization, this not only improves the smoothness of character movement but also enhances data transmission efficiency.

[0125] In an optional embodiment, the first periodic parameters are obtained using a parameter assignment method. (Illustrative example, such as...) Figure 5 As shown above, Figure 2 Step 220 in the illustrated embodiment can also be implemented as steps 510 to 530.

[0126] Step 510: Obtain the periodic motion of the first character within the action cycle of the target action.

[0127] Optionally, the motion cycle indicates the time period during which the first character completes the target action, which is related to the character type of the first character. The target action is determined based on the first character's movements in the video. The periodic motion indicates the execution status of the first character's actions during the process of completing the target action.

[0128] To illustrate, when the first character's role type is a real person, the first character is implemented as a real person character. Since the movement mode of real person characters is usually implemented as bipedal walking, bipedal walking is taken as the target action. The time period during which the first character completes one bipedal walking action is determined, and this time period is taken as the action cycle of the target action. For example, the moment when the left foot is about to lift off is taken as the beginning of an action cycle, and the moment when the right foot lands back on the ground is taken as the end of an action cycle.

[0129] Optionally, after determining the motion cycle corresponding to the target action, the movement of the first character within the motion cycle is taken as the periodic motion. For example, the series of movements—left foot raised—left leg raised to the highest point—left leg lowered—right leg raised—right leg raised to the highest point—right leg lowered—is taken as the periodic motion corresponding to that motion cycle.

[0130] Step 520: Based on the simulated posture data and periodic motion, assign parameter values ​​to the video frames of the first character within the historical time period.

[0131] In illustrative terms, after acquiring simulated attitude data and periodic motion information, parameter values ​​are assigned to video frames within a historical time period. Specifically, for each video frame within the historical time period, a corresponding periodic parameter is assigned. The video frames include the terminating video frame corresponding to the end time of the historical time period; that is, parameter values ​​are assigned to the terminating video frame corresponding to the end time of the historical time period to determine the first periodic parameter corresponding to the terminating video frame.

[0132] In an optional embodiment, key point location data corresponding to video frames are obtained from simulated pose data.

[0133] Among them, the key point location data is used to indicate the positional changes of the key points corresponding to the first character in different video frames.

[0134] Optionally, the simulated posture data includes key point location data, which allows for a general understanding of the first character's motion across a series of video frames.

[0135] In a schematic manner, at least one key point is determined on the first character in a pre-annotated form. For example, if the first character is a real person A, five key points are determined on the real person A in a pre-annotated form, located at the center of the head and the center of the limbs, respectively. Based on the movement of the first character within a historical time period, the positional changes of the five key points are determined for each of the continuously changing video frames. Based on the positional changes of the five key points, the key point position data corresponding to the first character is obtained.

[0136] In an optional embodiment, reference key point position data within the action cycle is determined based on the periodic movement of the first character within the action cycle.

[0137] In a schematic way, the key point position data corresponding to different cycle times within the action cycle are used as reference key point position data by observing the cyclical movement of the first character within the action cycle.

[0138] Optionally, when the first character is a real person and the target action is bipedal running, taking foot movement analysis as an example, the preset key points are located on the feet. The moment the left foot begins to lift is taken as the start of the action cycle. After the left foot is lifted to its highest point and then lowered, the right foot is lifted to its highest point and then lowered. The moment the right foot lands on the ground is taken as the end of the action cycle. Within this action cycle, there are multiple cycle moments, and the key point position data corresponding to different cycle moments are different.

[0139] Schematic illustration: At the beginning of a movement cycle, the left foot is in a raised position, and the key point position data of the foot begins to change compared to the static state. This key point position data is used as the reference key point position data for the starting moment. For example, one or more key point position data corresponding to the left foot can be used as the reference key point position data for the starting moment; or, one or more key point position data corresponding to the left foot and one or more key point position data corresponding to the right foot can be used as the reference key point position data for the starting moment, etc.

[0140] Similarly, at a certain midpoint in the movement cycle, when the left foot is in the air, the key point position data corresponding to the foot at that moment is used as the reference key point position data for that midpoint. For example, one or more key point position data corresponding to the left foot can be used as the reference key point position data for that midpoint; or, one or more key point position data corresponding to the left foot and one or more key point position data corresponding to the right foot can be used as the reference key point position data for that midpoint, etc.

[0141] Similarly, at the end of the movement cycle, the right foot lands back on the ground, and the key point position data corresponding to the foot at this moment is used as the reference key point position data for that end moment. For example, one or more key point position data corresponding to the right foot can be used as the reference key point position data for the start moment; or, one or more key point position data corresponding to the left foot and one or more key point position data corresponding to the right foot can be used as the reference key point position data for the start moment, etc.

[0142] The start time, a certain intermediate time, and the end time are the different cycle times within the action cycle. When determining the reference keypoint position data, the keypoint position data of the first character at the corresponding cycle time is used as the reference keypoint position data based on the cycle movement of the first character at different cycle times. That is, based on the cycle movement of the first character within the action cycle, the reference keypoint position data corresponding to multiple cycle times within the action cycle are determined.

[0143] Optionally, the corresponding periodic time is represented in the form of video frames. That is, when determining the periodic time, multiple video frames within the action period are determined, and the corresponding action state is presented under different video frames. Based on the key point position data displayed in the action state, the reference key point position data corresponding to different video frames is determined.

[0144] In an optional embodiment, parameter values ​​are assigned to the reference key point location data to determine the parameter assignment results corresponding to the reference key point location data.

[0145] In illustrative terms, parameter assignment is used to indicate that different reference key points are assigned corresponding parameter values, so that different reference key point location data have corresponding parameter values.

[0146] Optionally, when assigning parameter values ​​to the reference key point position data, parameter values ​​are assigned to the reference key point position data corresponding to at least two preset special cycle times. The preset special cycle times are used to indicate pre-set cycle times used when determining the action cycle.

[0147] For example, when determining the action cycle of a real human running on two legs, the start time and end time of the cycle corresponding to running on two legs are preset, and the start time and end time of the cycle are used as the aforementioned preset special cycle times; or, when determining the action cycle of a fish waving its tail fin, the start time, half-cycle time and end time of the cycle corresponding to the tail fin waving are preset, and the start time, half-cycle time and end time of the cycle are used as the aforementioned preset special cycle times, etc.

[0148] In an optional embodiment, the process of assigning parameter values ​​to the preset special periodic time is described as follows, taking the preset special periodic time as the start time and end time of the period as an example.

[0149] Optionally, the start time and end time of the cycle within the action cycle can be determined.

[0150] Indicatively, the start and end times of the action cycle are determined based on the type of character and the differences in the target action.

[0151] For example, if the character type is implemented as a real person and the target action is running on two feet, when determining the corresponding action cycle, based on the action execution of the real person character when running on two feet, the start time of the action cycle of running on two feet is determined to be the moment when the left foot begins to lift off the ground; the end time of the action cycle of running on two feet is determined to be the moment when the right foot falls back to the ground, etc.

[0152] Alternatively, the character type can be implemented as a fish, and the target action can be implemented as tail fin swinging. When determining the corresponding action cycle, the start time of the fish's action cycle is determined as the tail fin begins to swing to one side, based on the fish's action execution when swinging its tail fin; the end time of the fish's action cycle is determined as the tail fin swings back to the initial position from the other side, etc.

[0153] Alternatively, if the character type is a bird and the target action is wing flapping, when determining the corresponding action cycle, the start time of the bird's action cycle is determined to be the beginning of the wing flapping forward, based on the bird's wing flapping action. The end time of the fish's action cycle is determined to be the wing swinging from the rear to the initial position, etc.

[0154] It is worth noting that the process of determining the start time of the cycle of the aforementioned actions, such as the left foot starting to lift, the tail fin starting to swing to one side, and the wings starting to flap forward, and the end time of the aforementioned actions, such as the right foot returning to the ground, the tail fin swinging from the other side to the initial position, and the wings swinging from the rear to the initial position, is merely an illustrative example. The start time and end time of the cycle can be set in other ways, and this application embodiment does not limit them.

[0155] In an optional embodiment, parameter values ​​are assigned to the reference key point position data corresponding to the start time of the cycle to obtain the start parameter corresponding to the start time of the cycle; parameter values ​​are assigned to the reference key point position data corresponding to the end time of the cycle to obtain the end parameter corresponding to the end time of the cycle.

[0156] Optionally, the parameter assignment process can be implemented in a custom way. For example, after determining the start and end times of the action cycle, parameter values ​​are assigned to the reference key point position data corresponding to the start and end times of the cycle, thereby obtaining the start parameter corresponding to the start time of the cycle and the end parameter corresponding to the end time of the cycle.

[0157] Optionally, considering that the action cycle is a time period determined by a time sequence, when assigning parameter values ​​to the start and end times of the corresponding action cycle, the parameter assignment process is performed in an incremental manner.

[0158] As an illustration, a custom parameter assignment method is used: if the reference key point position data corresponding to the start time of the cycle is assigned a value of 0, then the start parameter is 0; if the reference key point position data corresponding to the end time of the cycle is assigned a value of 1, then the end parameter is 1.

[0159] Alternatively, the reference key point position data corresponding to the start time of the cycle can be assigned a value of 0, then the starting parameter is 0; the reference key point position data corresponding to the end time of the cycle can be assigned a value of 2pi, then the ending parameter is 2pi, and so on.

[0160] In an optional embodiment, at least one cycle time between the start time and the end time of the cycle is obtained, along with reference key point location data corresponding to the at least one cycle time.

[0161] Indicatively, after acquiring at least one cycle time between the start and end of the cycle, the reference key point position data corresponding to that cycle time is determined. That is, based on the preset key point position of the first character, the reference key point position data of the first character at that cycle time is determined.

[0162] In an optional embodiment, parameter values ​​are assigned to the reference key point location data corresponding to at least one cycle time using interpolation, and the parameter assignment results corresponding to the reference key point location data are determined.

[0163] Indicatively, the cycle time excluding the cycle start and end times is considered as at least one cycle time. The parameter assignment results corresponding to at least one cycle time within the cycle are determined using interpolation.

[0164] Optionally, the above-mentioned interpolation method, also known as "interpolation," is based on the principle of determining an appropriate specific function using the known function values ​​of the function f(x) at several points within a certain interval, and then using the values ​​of this specific function at other points in the interval as approximate values ​​of the function f(x). The above-mentioned interpolation method may include any one or a combination of many interpolation algorithms such as the inverse distance multiplication method, Kriging method, minimum curvature method, multiple regression method, radial fundamental function method, linear interpolation method, natural neighbor interpolation method, and nearest neighbor interpolation method. This application does not limit the specific interpolation method described herein.

[0165] In illustrative terms, interpolation is used to assign parameter values ​​to reference key point position data corresponding to at least one cycle time within an action cycle, based on known cycle parameters, thereby obtaining parameter assignment results corresponding to the reference key point position data.

[0166] Optionally, a first period interval between a specified period time and the start time of the period, and a second period interval between a specified period time and the end time of the period are determined within at least one period time.

[0167] This is illustrative; specifying a periodic time indicates any one of at least one periodic time. The example used is to illustrate how to determine the parameter assignment result corresponding to a specified periodic time.

[0168] For example, if the specified cycle time is the 1 / 4 cycle time in the action cycle, then the first cycle interval between the specified cycle time and the cycle start time is determined to be 1 / 4; similarly, the second cycle interval between the specified cycle time and the cycle end time is determined to be 3 / 4 (1-1 / 4).

[0169] Optionally, based on the first period interval, the second period interval, the starting parameter, and the ending parameter, the parameter assignment result corresponding to the specified time is determined by interpolation.

[0170] To illustrate, let's take an example where the starting parameter corresponding to the beginning of the cycle is assigned a value of 0, and the ending parameter corresponding to the end of the cycle is assigned a value of 2pi. After determining that the first cycle interval is 1 / 4, the second cycle interval is 3 / 4, the starting parameter is 0, and the ending parameter is 2pi, the parameter assignment result corresponding to the specified cycle time is determined by interpolation, based on the fact that the specified cycle time lies between the beginning and end of the cycle. Table 1 shows the interpolation table between the cycle time and the parameter assignment result.

[0171] Table 1

[0172] Parameter assignment result 0 x 2pi

[0173] Here, the parameter assignment result corresponding to the specified period time is set as x. The parameter assignment result x is the period parameter at the specified period time. The parameter assignment result x is related to the start parameter and the end parameter. The parameter assignment result x is determined by the following interpolation formula.

[0174]

[0175] That is, based on the start and end times of the cycle, the period parameter at the 1 / 4 cycle time is determined to be 1 / 4pi by interpolation. In other words, the parameter assignment result corresponding to the specified cycle time is 1 / 4pi.

[0176] In an optional embodiment, after determining the parameter assignment result corresponding to a specified periodic time within the action cycle based on the first periodic interval, the second periodic interval, the start parameter, and the end parameter, when determining the parameter assignment result corresponding to other specified periodic times within the action cycle, the period range of the other specified periodic times within the action cycle is determined, and the parameter assignment result corresponding to other specified periodic times is determined based on the period range.

[0177] Indicatively, the period range is used to indicate the smallest enclosing range of other specified period moments within the action period. For example, there is a corresponding parameter assignment result at the start of the period range; there is a corresponding parameter assignment result at the end of the period range; other specified period moments are within this period range, and there are no other period moments with corresponding parameter assignment ranges.

[0178] As an illustration, the following interpolation formula is used to determine the parameter assignment results corresponding to different specified period times.

[0179]

[0180] Wherein, P3 is used to indicate the parameter assignment result to be determined; T3 is used to indicate the period time at which the parameter assignment result to be determined is to be determined; T2 is used to indicate the nearest period time in the action period of the time series that is after T3 and has a parameter assignment result; T1 is used to indicate the nearest period time in the action period of the time series that is before T3 and has a parameter assignment result; P2 is used to indicate the parameter assignment result corresponding to T2; P1 is used to indicate the parameter assignment result corresponding to T1.

[0181] In other words, after determining the parameter assignment results corresponding to a specified cycle time based on the cycle start time and cycle end time, the parameter assignment results corresponding to other cycle times in the action cycle can be determined based on the cycle start time, cycle end time, and specified cycle time using the above interpolation method and interpolation formula. This allows for the determination of parameter assignment results corresponding to multiple cycle times in the action cycle. Different cycle times have corresponding reference key point position data. Based on the parameter assignment results corresponding to multiple cycle times, the parameter assignment results corresponding to multiple reference key point position data are determined.

[0182] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0183] In an optional embodiment, key point location data is compared with reference key point location data, and parameter values ​​are assigned to the video frames of the first character within the historical time period based on the parameter assignment results.

[0184] In a schematic manner, after obtaining the keypoint location data corresponding to different periodic times, the keypoint location data at different periodic times is compared with reference keypoint location data. For example, the reference keypoint location data closest to the keypoint location data is determined, and the video frame corresponding to this keypoint location data is identified. The parameter assignment result corresponding to the reference keypoint location data is used as the periodic parameter corresponding to this video frame, thereby realizing the process of assigning parameter values ​​to the video frames of the first character within the historical time period, and obtaining the periodic parameters corresponding to the video frames of the first character within the historical time period.

[0185] Step 530: Obtain the first cycle parameters of the first character in the terminating video frame.

[0186] In a schematic manner, after assigning parameter values ​​to the video frames of the first character within the historical time period, the period parameters corresponding to multiple video frames within the historical time period are determined. The video frame corresponding to the end time of the historical time period is called the termination video frame. The period parameter corresponding to the termination video frame is taken as the first period parameter, and the first period parameter is obtained.

[0187] Optionally, the first period parameter of the first character at the terminating video frame can be obtained; or, the terminating video frame of the first character and the first period parameter corresponding to the terminating video frame of the first character can be obtained.

[0188] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0189] In summary, by acquiring the first cycle parameter of the first character at the end of the historical time period, the movement of the first character within the action cycle can be considered. This fully utilizes the periodicity of the first and second characters having the same action cycle, making the transition of the first character's action screen smoother when the first terminal adjusts the first adjustment parameter based on the second adjustment parameter. Furthermore, due to the second terminal's determination process of the second adjustment parameter, the second terminal does not need to send all the action data to the first terminal, thereby effectively reducing the amount of data transmitted between the first and second terminals. During character synchronization, this not only improves the smoothness of character movement but also enhances data transmission efficiency.

[0190] In this embodiment, the process of obtaining the first cycle parameter using a parameter assignment method is described. The time it takes for the first character to complete a target action is determined as the action cycle, and the periodic motion of the first character within the action cycle is obtained. Based on simulated posture data and periodic motion, parameter values ​​are assigned to video frames of the first character within a historical time period, thereby obtaining the first cycle parameter of the first character at the terminating video frame. Since the first character is a character obtained by synchronously displaying the second character, the first character and the second character have the same character type, and the corresponding action cycle for completing a target action is also the same. Based on the same action cycle, parameter values ​​are assigned to different periodic moments within the action cycle. The first cycle parameter corresponding to the terminating video frame within the historical time period is determined by the parameter assignment result. This first cycle parameter can establish the action relationship between the first character and the second character and simplify the expression of video frames. Thus, by adjusting the first cycle parameter, the adjustment process when the first character is synchronously displayed is completed. By utilizing the same action cycle corresponding to the first and second cycles, the synchronous display process of the first character is achieved more smoothly, improving the efficiency of synchronous display and enhancing the user experience.

[0191] In an optional embodiment, based on the magnitude of the parameter value change of the received second periodic parameter over time, a parameter correction method is used to correct the first periodic parameter to obtain the adjusted third periodic parameter. (Illustrative example, such as...) Figure 6 As shown above, Figure 2 The embodiments shown can also be implemented as steps 610 to 660.

[0192] Step 610: Obtain the simulated posture data of the first character within the historical time period.

[0193] The first role is the role that is synchronously displayed in the first terminal to the second role controlled by the second terminal.

[0194] Step 620: Based on the simulated posture data and the movement of the first character within the action cycle of the target action, obtain the first cycle parameter of the first character at the end of the historical time period.

[0195] The first period parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the first character at the end time.

[0196] Step 620 has been described in steps 220 and 510 to 530 above, and will not be repeated here.

[0197] Step 630: Receive the second period parameter of the second role at the termination time sent by the second terminal.

[0198] The second period parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the second character at the end time.

[0199] Optionally, the second terminal uses the method described above for determining the first cycle parameter by the first terminal to determine the second cycle parameter. Illustratively, the second terminal acquires the master control posture data of the second character within a historical time period, and based on the master control posture data and the movement of the second character within the action cycle, acquires the second cycle parameter of the second character at the end of the historical time period.

[0200] Optionally, the second terminal sends the second period parameter of the second role at the termination time to the first terminal, so that the first terminal can adjust the display of the first role at the termination time after receiving the second period parameter.

[0201] In an optional embodiment, a second period parameter of the second role at a specified time after the termination time is received from the second terminal, wherein the second period parameter is used to indicate the periodic characteristics of the second role within the action cycle corresponding to the specified time.

[0202] For illustration purposes, the termination time is the end time corresponding to the first historical time period, and the specified time is the end time corresponding to the second historical time period. The first and second historical time periods are arranged sequentially in the time series.

[0203] Optionally, the end time of the first historical time period is the start time of the second historical time period; or, the start time of the second historical time period is one time period after the end time of the first historical time period, etc.

[0204] Optionally, the lengths of the first and second historical time periods can be the same or different. For example, if the lengths of the first and second historical time periods are the same, the first historical time period consists of 3 video frames, and the second historical time period consists of 3 video frames; or, if the lengths of the first and second historical time periods are different, the first historical time period is 2 seconds, and the second historical time period is 1 second, etc.

[0205] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0206] Step 640: Using the magnitude of the change in the parameter value of the second period parameter in the time series as a standard, adjust the rate of change of the parameter value of the first period parameter in the time series to obtain the parameter adjustment rate.

[0207] To illustrate, after obtaining the second periodic parameter sent by the second terminal, the rate of change of the parameter value of the first periodic parameter corresponding to the first object in the first terminal in the time series is adjusted according to the magnitude of the parameter value change of the second periodic parameter in the time series.

[0208] In one optional embodiment, in response to the fact that the magnitude of the change in the parameter value of the second periodic parameter in the time series is greater than the magnitude of the change in the parameter value of the first periodic parameter in the time series, the rate of change of the parameter value of the first periodic parameter in the time series is increased, and an adjusted third periodic parameter is obtained; or, in response to the fact that the magnitude of the change in the parameter value of the second periodic parameter in the time series is less than the magnitude of the change in the parameter value of the first periodic parameter in the time series, the rate of change of the parameter value of the first periodic parameter in the time series is decreased, and an adjusted third periodic parameter is obtained.

[0209] In an optional embodiment, the parameter adjustment rate is obtained by adjusting the rate of change of the first period parameter in the time series by adjusting the interpolation calculation speed, using the magnitude of the parameter value change of the second period parameter in the time series as the standard.

[0210] The interpolation calculation speed is used to indicate the speed at which the first period parameter is adjusted to the adjusted first period parameter.

[0211] Optionally, the rate of change of the parameter value of the first period parameter in the time series can be increased by speeding up the interpolation calculation; or, the rate of change of the parameter value of the first period parameter in the time series can be reduced by slowing down the interpolation calculation.

[0212] In one optional embodiment, in response to the fact that the magnitude of the change in the parameter value of the second periodic parameter in the time series is greater than the magnitude of the change in the parameter value of the first periodic parameter in the time series, the rate of change of the parameter value of the first periodic parameter in the time series is increased, and an adjusted third periodic parameter is obtained; or, in response to the fact that the magnitude of the change in the parameter value of the second periodic parameter in the time series is less than the magnitude of the change in the parameter value of the first periodic parameter in the time series, the rate of change of the parameter value of the first periodic parameter in the time series is decreased, and an adjusted third periodic parameter is obtained.

[0213] Step 650: Correct the first cycle parameters using the parameter adjustment rate to obtain the adjusted third cycle parameters.

[0214] In a schematic manner, after determining the parameter adjustment rate, the first-cycle parameter is corrected according to the parameter adjustment rate. For example, when the parameter adjustment rate is fast, the first-cycle parameter is corrected more quickly, thus obtaining the third-cycle parameter after adjusting the first-cycle parameter; or, when the parameter adjustment rate is slow, the first-cycle parameter is corrected more slowly, thus obtaining the third-cycle parameter after adjusting the first-cycle parameter, and so on.

[0215] Step 660: Generate target attitude data corresponding to the termination time based on the third cycle parameters, and display the synchronized actions of the first character corresponding to the second character based on the target attitude data.

[0216] To illustrate, after obtaining the adjusted third cycle parameters, the attitude data of the first character is adjusted using the third cycle parameters, and target attitude data corresponding to the termination time is generated.

[0217] In an optional embodiment, while adjusting the first cycle parameter, the display process of the first character continues. During this process, the first cycle parameter is rapidly adjusted based on the second cycle parameter to obtain a third cycle parameter that changes rapidly with the display process. Based on the rapidly changing third cycle parameter, target posture data corresponding to the display time is quickly generated.

[0218] Optionally, the first terminal determines the display method of the first character based on the generated target posture data, thereby displaying the first character corresponding to the second character on the screen corresponding to the first terminal. For example, the actions of the first character displayed on the first terminal are synchronized with the actions of the second character displayed on the second terminal.

[0219] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0220] In summary, by acquiring the first cycle parameter of the first character at the end of the historical time period, the movement of the first character within the action cycle can be considered. This fully utilizes the periodicity of the first and second characters having the same action cycle, making the transition of the first character's action screen smoother when the first terminal adjusts the first adjustment parameter based on the second adjustment parameter. Furthermore, due to the second terminal's determination process of the second adjustment parameter, the second terminal does not need to send all the action data to the first terminal, thereby effectively reducing the amount of data transmitted between the first and second terminals. During character synchronization, this not only improves the smoothness of character movement but also enhances data transmission efficiency.

[0221] In this embodiment, the process of correcting the first cycle parameter using a parameter correction method to obtain the adjusted third cycle parameter is described. The second terminal obtains the second cycle parameter based on the above parameter determination process and sends it to the first terminal. The first terminal corrects and adjusts the first cycle parameter based on the comparison results of the parameter values ​​of the first and second cycle parameters. For example, when the first cycle parameter is greater than the second cycle parameter, it indicates that the movement of the first character displayed on the first terminal is faster; therefore, the movement speed of the first character is controlled by changing the first cycle parameter, slowing it down to wait for the second cycle parameter. Alternatively, when the first cycle parameter is less than the second cycle parameter, it indicates that the movement of the first character displayed on the first terminal is slower; therefore, the movement speed of the first character is controlled by changing the first cycle parameter, accelerating it to catch up with the second cycle parameter. This ensures that the adjusted third cycle parameter is close to the second cycle parameter, that is, to make the first character displayed on the first terminal and the second character displayed on the second terminal synchronized. By utilizing the periodic characteristics of the action represented by the first and second cycle parameters, the synchronization display effect is improved, and the action of the first character can be adjusted in a timely manner by adjusting the adjustment method at a faster or slower speed. Furthermore, by adjusting the process of changing the parameter value change rate by changing the adjustment speed, the adjustment intensity can be better controlled, resulting in a better animation transition display effect and reducing the error rate of synchronization display.

[0222] In an optional embodiment, the master control terminal instructs the second terminal displaying the second role, and the analog terminal instructs the first terminal displaying the first role. That is, the first terminal synchronizes with the second terminal displaying the second role, thereby displaying the first role on the first terminal. The process of synchronizing the display of roles between the master control terminal and the analog terminal is explained.

[0223] Indicative, such as Figure 7 As shown, the synchronous display of the above-mentioned characters can be implemented on the main control end as follows: steps 710 to 752.

[0224] Step 710: Initialize the character movement and animation state of the second character.

[0225] The master control terminal is used to instruct the second terminal that displays the second character. In a game scene or modeling scene, multiple devices (such as the first terminal and the second terminal) enter the same scene. When the player or program controlling the second terminal controls the second character to perform actions on the screen displayed on the second terminal, the first terminal can synchronize the actions of the second character through the network. That is, the first terminal displays the first character corresponding to the second character on the first terminal based on the movement of the second character on the second terminal. The first character is a character obtained by synchronizing the second character. The device that determines the actions of the second character is defined as the master control terminal (second terminal) of that character.

[0226] When synchronizing characters using the above-mentioned synchronized display method, the main control terminal first initializes the character movement of the second character and initializes the animation state, thereby avoiding interference from irrelevant factors on the character movement and animation state.

[0227] Step 720: Read the control operations for the second character.

[0228] Indicative, control operations are used to indicate the player's or device's actions on a second character, such as: the player controlling the second character to run; or the device controlling the second character to dive, etc.

[0229] Optionally, when reading control operations for the second character, the movement speed data, movement direction data, movement trajectory data, and movement amplitude data of the second character can be read.

[0230] Step 730: Calculate the current movement and animation.

[0231] In a schematic manner, after reading the movement data obtained from the control operations on the second character, the movement status of the second character is determined based on the movement data, and the corresponding movement animation for the second character is determined.

[0232] For example, by combining movement speed data, movement direction data, movement trajectory data, and movement amplitude data, the movement speed, movement direction, and movement trajectory of the second character in the display screen of the second terminal can be determined. Optionally, when the second character is implemented as a human character, animal character, etc. with joints, the extension and height of different joints of the second character can also be determined based on the movement amplitude data.

[0233] Step 740: Do we need to synchronize?

[0234] This is an example of how the master control unit determines whether the second role needs to be synchronized to the analog end. For instance, when the master control unit sends a synchronization request to the analog end, it determines that role synchronization is required based on this request; or, when the master control unit's synchronization waiting time reaches a preset duration, it determines that role synchronization is required, etc.

[0235] Optionally, when the master control terminal determines that role synchronization is required, step 751 is executed; when the master control terminal determines that role synchronization is not required, step 752 is executed.

[0236] Step 751: The master control terminal sends the phase and the phase change rate.

[0237] The phase is used to indicate the second cycle parameter sent from the master control terminal to the analog terminal.

[0238] Optionally, the second period parameter is implemented as the period parameter corresponding to the termination time of the second object in the historical time period, and the phase change rate is used to indicate the rate of change of the period parameter between the terminating video frame corresponding to the termination time and the previous video frame. That is, when determining the phase change rate, firstly, the terminating video frame corresponding to the termination time and the previous video frame adjacent to the terminating video frame are determined; secondly, the second period parameter corresponding to the terminating video frame and the period parameter corresponding to the previous video frame are determined; and the phase change rate is determined based on the difference between the period parameter corresponding to the previous video frame and the second period parameter and the duration corresponding to one frame.

[0239] Alternatively, the second period parameter can be implemented as the period parameter corresponding to a specified time after the end of the historical time period for the second object, and the phase change rate can be used to indicate the rate of change of the period parameter between the specified video frame corresponding to the specified time and the previous video frame, etc.

[0240] As an illustration, when the master control terminal determines that role synchronization is required, it sends the aforementioned phase and phase change rate to the analog terminal.

[0241] Step 752, perform the movement and apply the gesture.

[0242] As an illustration, when the master control terminal determines that character synchronization is not required, it controls the second character to perform movement actions based on the calculated current movement status and animation of the second character, and applies the determined animation to control the second character to perform the corresponding action posture.

[0243] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0244] Indicative, such as Figure 8 As shown, the synchronous display method of the above-mentioned characters can be implemented on the simulation end as follows: steps 810 to 860.

[0245] Step 810: Initialize the motion and animation state of the first character.

[0246] The analog terminal is used to indicate the first terminal displaying the first character. In a game scene or modeling scene, multiple devices (such as the first terminal and the second terminal) enter the same scene. When the player or program controlling the second terminal controls the second character to perform actions on the screen displayed on the second terminal, the first terminal can synchronize the actions of the second character through the network. That is, based on the movement of the second character on the second terminal, the first terminal displays the first character corresponding to the second character on the first terminal. The first character is a character obtained by synchronizing the second character. The device that synchronizes the second character is defined as the analog terminal (first terminal) of that character.

[0247] When synchronizing characters using the above-mentioned synchronized display method, the simulation terminal first initializes the character movement of the first character and initializes the animation state, thereby avoiding interference from irrelevant factors on the character movement and animation state.

[0248] Step 820: Read the phase synchronized by the master control terminal.

[0249] To illustrate, the analog terminal receives the phase sent by the master control terminal in order to read the phase value and phase change rate synchronized by the master control terminal.

[0250] Optionally, the analog terminal receives the phase value and phase change rate of the first role at the end of the historical time period, sent by the master terminal.

[0251] Step 830: The phase and analog end are different or dynamic interpolation speed is used.

[0252] The determination of the phase (phase value) is related to the action cycle of the first character.

[0253] In an optional embodiment, the action cycle of different types of roles (master role or simulation role) is determined by the following action cycle determination rules.

[0254] (a) For a character moving on the surface of an object, the following motion cycle determination rules are used to determine the motion cycle of the character.

[0255] The object surface is used to indicate the surface that the virtual character can move on. Indicatively, the object surface can be implemented as a land surface, cliff surface, tree surface, underwater surface, or water surface affected by surface tension. That is, the object surface can not only be a plane with supporting functions, but also a slope, a vertical surface, etc.; furthermore, the object surface can be implemented as a smooth plane, or as an uneven curved surface, and so on.

[0256] In one optional embodiment, the example of a character walking or running on a plane is used to illustrate the process. Based on the above movement process, the motion cycle corresponding to the walking or running motion is determined.

[0257] To illustrate, the state of the first foot preparing to move is taken as the starting state of an action cycle (cycle zero value), the state of the first foot raised to its highest point is taken as the motion state corresponding to 1 / 4 cycle, the state of the second foot starting to move is taken as the motion state corresponding to half cycle (half cycle value), the state of the second foot raised to its highest point is taken as the motion state corresponding to 3 / 4 cycle, and the moment the second foot lands is taken as the ending state of an action cycle.

[0258] In an optional embodiment, the example of a character performing overall body movement on a plane is used to illustrate the process. Based on the above movement process, the action cycle corresponding to the overall body movement is determined.

[0259] Indicatively, whole-body movement refers to the coordinated movement of all parts of the body as a whole during a movement. Examples of whole-body movement include bipedal jumping, quadrupedal running, and undulating movements. Based on the above movement process, the motion cycle corresponding to bipedal jumping is determined.

[0260] Indicatively, the state in which the overall body's characteristic features begin to change significantly is taken as the starting state of an action cycle (cycle zero). For example: when the overall body movement is a two-legged jump, the cycle zero of an action cycle is determined based on the character's preparatory state for the jump; or, when the overall body movement is a four-legged hop, the state in which the character's knees are about to bend is taken as the starting state of an action cycle; or, when the overall body movement is a wriggling motion, the state in which the character's body begins to rise is taken as the starting state of an action cycle, such as the state in which the front of a caterpillar's (character's) body begins to rise, or the state in which a snake's (character's) neck begins to coil and contract to one side, etc.

[0261] Indicatively, a distinct intermediate state of the overall body with a clear half-cycle is considered an intermediate state of an action cycle, and the half-cycle value is determined based on this intermediate state. For example: when the overall body movement is a two-legged jump, the state where the character's body begins to take off after jumping is considered an intermediate state of an action cycle, and the corresponding half-cycle value is determined; or, when the overall body movement is a four-legged hopping, the state where the character's knees are bent to their maximum extent is considered an intermediate state of an action cycle; or, when the overall body movement is a wriggling motion, the state where the rear of the character's body begins to move is considered an intermediate state of an action cycle, such as the state where the front of a caterpillar's body touches the ground and the rear begins to move, etc.

[0262] In an optional embodiment, when there is obvious symmetry in the opposite direction of the movement and the phase value is non-zero, there is a possibility of switching to the opposite direction of the movement (e.g., taking forward walking and backward walking as opposite directions of movement), a positive direction of movement is defined, in which the phase value of the movement increases; conversely, the opposite direction of movement is determined based on the positive direction of movement, in which the phase value of the movement decreases.

[0263] (ii) For characters moving in water, the following motion cycle determination rules shall be adopted to determine the motion cycle of the character.

[0264] Optionally, aquatic creatures or organisms capable of movement in water can be used as the aforementioned roles, and the action cycle of the roles can be determined. For example, aquatic creatures can be implemented as fish, shellfish, or other similar roles.

[0265] To illustrate, let's take the process of determining the movement cycle of fish as an example. For fish that rely on their tail fin for propulsion and other fins for balance, the state of the body naturally extended is taken as the starting state of a movement cycle, and this starting state is taken as the zero value state of the cycle; the state where the tail fin swings to its maximum value on one side is taken as 1 / 4 of the movement cycle; the state where the tail fin swings back to the middle position is taken as the movement state of half a cycle; the state where the tail fin swings to its maximum value on the other side is taken as 3 / 4 of the movement cycle; and the state where the tail fin swings back to the middle position is taken as the completed state of a movement cycle.

[0266] Optionally, the above-mentioned role can be a creature that can move in water, and the action cycle of the role can be determined based on the creature's movement in the water.

[0267] Indicatively, for characters performing pectoral fin propulsion, rowing, and breaststroke movements, the state where the fin or paddle begins its forward movement in a gliding-like state is defined as the zero-cycle state, and the state when reaching the maximum forward amplitude and preparing to push back is defined as the half-cycle state. Alternatively, in breaststroke, the forelimbs and hindlimbs can provide movement drive independently or in conjunction with each other in the animation, dividing them into various different movements. Alternatively, referring to the rowing definition, phase values ​​can be defined in the animation with coordinated movement by highlighting the movement of a pair of limbs. In rowing, the alternating movement of paired paddles (fins) can refer to the phase definition for bipedal walking and running; in rowing where multiple paddles (fins) do not have obvious coordination features, a separate phase value is defined for each (pair) of paddles (fins), and the movement animation of each (pair) of paddles (fins) is synchronized and calculated separately.

[0268] Optionally, taking the role that performs water absorption as an example, the state at the beginning of water absorption is taken as the zero-value state of the cycle; the state when water absorption is completed and ready to start spraying is taken as the half-cycle state.

[0269] (iii) For characters that move in the air, the following motion cycle determination rules shall be adopted to determine the motion cycle of the character.

[0270] Indicatively, for flight movements in the air that rely on wing flapping, this flight movement is similar to rowing or swimming movements in water. Optionally, the state when the wings begin to move forward can be taken as the zero-value state of the period, and the state when the wings reach their maximum forward amplitude and then press down can be taken as the motion state corresponding to the half-cycle value.

[0271] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0272] In an optional embodiment, the phase values ​​corresponding to different frames in the action period are determined based on the determination of the action period.

[0273] In a schematic way, after determining an action cycle, a special cycle value is assigned to it, and a special phase value corresponding to the special cycle value is determined.

[0274] After obtaining the special period value and the special phase value corresponding to the special period value, the interpolation method is used to determine the phase value corresponding to other period values ​​in an action cycle, excluding the special period value.

[0275] In a schematic way, the computer program calculates the frames containing the zero, quarter-cycle, half-cycle, and three-quarter-cycle phase values ​​based on the characteristics of the action and the extreme values ​​of the position and rotation of certain key skeletal nodes in the preceding and following frames, and sets corresponding phase values ​​for different frames; or, if the computer program cannot calculate the above special frames well, special frames are manually marked and assigned values ​​to obtain special phase values ​​corresponding to the special frames.

[0276] Optionally, a computer program uses an interpolation method to assign values ​​to non-special frames (excluding special frames corresponding to special period values) in an action cycle to obtain non-special phase values ​​corresponding to non-special frames.

[0277] In an alternative embodiment, the definition of the phase value also imposes certain rules to facilitate the processing of animation synchronization.

[0278] Optionally, the phase values ​​of the same character are defined to have similarity in similar postures in similar operating states and to have continuity between mutually changeable actions. For example, if the phase when the right foot of a running character starts to lift and step forward is defined as 'a', then the phase value when the right foot starts to lift and step forward in the walking action should also be defined as 'a'.

[0279] Optionally, the phase of a character's normal non-moving state can be defined as a special zero value, such as standing or gliding. When the phase value is zero, the current action can be determined by the synchronized action type parameter. These special zero values ​​can generally only be transformed into animations when the phase is zero or half a cycle value of other actions.

[0280] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0281] To illustrate, when the analog terminal receives the phase value, it compares the phase value with the phase value of the analog terminal at the corresponding time. When there is a difference between the phase value received by the analog terminal and the phase value of the analog terminal at the corresponding time, the phase value of the analog terminal at the corresponding time is adjusted so that the phase value of the analog terminal is equal to the phase value sent by the master control terminal as soon as possible.

[0282] Indicatively, adjusting the dynamic interpolation speed can adjust the phase value of the analog terminal at a corresponding time. For example, increasing the dynamic interpolation speed can speed up the adjustment of the phase value by the analog terminal at the corresponding time; or, decreasing the dynamic interpolation speed can slow down the adjustment of the phase value by the analog terminal at the corresponding time.

[0283] Step 841: Update the phase interpolation speed of the analog end.

[0284] This illustrates how the phase interpolation speed at the analog end is updated based on adjustments to the dynamic interpolation speed. For example, increasing the phase interpolation speed allows for faster determination of phase values ​​across different video frames, enabling the phase values ​​at the analog end to match those sent by the master control end as quickly as possible.

[0285] Step 842: Calculate the expected phase value of the analog terminal.

[0286] This is an illustrative example of determining the expected phase value of the analog terminal based on adjustments to its phase value. For instance, the phase value of the analog terminal is adjusted so that the adjusted expected phase value is the same as the phase value received from the master control terminal.

[0287] Step 850: Calculate the expected current movement and animation of the simulation terminal.

[0288] This is illustrated by calculating the movement corresponding to the expected phase value after obtaining it; or, during the process of obtaining the expected phase value, calculating the movement corresponding to the adjusted phase value. Based on the phase value adjustment, the animation displayed by the second character on the simulation terminal is calculated.

[0289] Step 860: Perform the movement and application gestures.

[0290] Indicatively, after determining the actions of the second character and the animation displayed on the simulation terminal, the movement actions performed by the second character on the simulation terminal are determined based on the actions of the second character; the posture of the second character on the simulation terminal is determined based on the animation of the second character.

[0291] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0292] In an optional embodiment, the above-described method for synchronizing the display of characters is applied to online interactive game scenarios or virtual reality application scenarios. (Illustrative example, such as...) Figure 9 As shown, the synchronous display process between the main control terminal 910 (second terminal) and the analog terminal 920 (first terminal) is explained as follows.

[0293] To illustrate, taking the above-mentioned method of synchronized display of characters in a networked interactive game scenario as an example, the player controls a second character on the main control terminal 910, and the simulation terminal 920 controls the first character to perform actions corresponding to the second character based on the player's control of the second character. Taking the above-mentioned method of synchronized display of characters in a virtual reality application scenario as an example, the second character moves in the real scene and displays the movement process on the second terminal. The first terminal simulates the actions performed by the second character based on the movement of the second character on the second terminal, displays the first character generated after simulating the second character on the interface, and controls the first character to perform actions corresponding to the second character.

[0294] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0295] In one optional embodiment, the above-described method for synchronously displaying characters is illustrated as an example of its application in a networked interactive game scenario.

[0296] The main control terminal 910 calculates the currently playing animation and its phase value based on the player's or NPC's actions and the controlled character's (second character's) action speed, direction, animation type, historical trajectory, and phase value within a historical time period, and also calculates the rate of change of the phase value.

[0297] The rate of change of phase value includes both the change in the numerical value of the phase value and the change in its positive or negative trend. A positive rate of change indicates an increase in phase, for example, the second character moving forward; a negative rate of change indicates a decrease in phase, for example, the second character moving backward.

[0298] The master control terminal 910 periodically sends the phase value, the rate of change of the phase value, and some traditionally defined motion parameters to the analog terminal 920 via the network.

[0299] Traditionally defined motion parameters include position, orientation, velocity, and acceleration.

[0300] Based on the phase value of the simulated character (first character) in the previous iteration and the phase value received from the master control terminal 910, the analog terminal 920 adopts a method of speeding up the catch-up or slowing down the waiting to make the phase value of the analog terminal 920 quickly approach the phase value of the master control terminal 910 in the future.

[0301] The phase value of the previous iteration is used to indicate the phase value corresponding to the first character before the termination time. After adjusting the action of the first character using the phase value of the previous iteration, the phase value of the master control terminal 910 is received. For example, the phase value corresponding to the previous video frame before the termination time can be used as the phase value of the previous iteration; or, the phase value corresponding to the previous second before the termination time can be used as the phase value of the previous iteration, etc.

[0302] Schematic illustration: The master control terminal 910 sends the second-cycle parameter at the end of the historical time period to the analog terminal 920. The analog terminal 920 obtains the phase value of the previous iteration and compares the value of the second-cycle parameter with the value of the first-cycle parameter. If the value of the first-cycle parameter is less than the value of the second-cycle parameter, an acceleration catch-up method is used to make the phase value of the analog terminal 920 quickly approach the phase value of the master control terminal 910 in the future; or, if the value of the first-cycle parameter is greater than the value of the second-cycle parameter, a deceleration waiting method is used to make the phase value of the analog terminal 920 quickly approach the phase value of the master control terminal 910 in the future.

[0303] The simulation terminal 920 then calculates the animation and phase value of the simulated character based on parameters such as speed, direction, animation type, movement trajectory, and phase value during the historical time period, as well as parameters such as position, speed, acceleration, current animation, and interpolated phase value. The simulation terminal 920 then plays the animation with the action posture of the calculated phase value, thereby playing the simulated character on the simulation terminal 920. This simulated character is a synchronized display result of the main control character displayed on the main control terminal 910.

[0304] It is worth noting that the above are merely illustrative examples, and the embodiments of this application are not limited thereto.

[0305] Instead of directly setting the phase value of the analog terminal to the phase value sent by the master control terminal, this method considers the original phase change rate of the analog terminal and uses interpolation to ensure that the local phase is expected to match the master control terminal at some future moment. Phase interpolation can be characterized by either rapid catching up or slowing down to wait. A reasonable interpolation fitting speed can make the analog terminal animation smooth and consistent with the master control terminal, and can also resist network data transmission jitter.

[0306] Optionally, when the phase value synchronized at the master control terminal and the phase value at the current analog terminal cross the phase zero value according to the direction of change (i.e., the phase value synchronized at the master control terminal and the phase value at the analog terminal are not within one action cycle), the phase value at the master control terminal is added (if the phase change rate is positive) or subtracted (if the phase change rate is negative) by one action cycle, and the interpolation rate is calculated. This method of adding or subtracting a period value can also be used to standardize the phase value when the interpolated phase value exceeds the range represented by one cycle.

[0307] In an optional embodiment, a time limit is set for calculating the updated interpolation rate to avoid excessive errors between the phase values ​​of the analog end and the master control end due to differences in the rate of change caused by network jitter or packet loss.

[0308] Optionally, the phase-based motion animation synchronization described above is also applicable in CSC (client-server-client) mode with a dedicated server. The server is considered a simulation of the first client, and the second client is considered a simulation of the server. The server performs the steps of determining and sending synchronization phase data over the network before executing the movement results and applying the action posture. When good animation performance is not required on the server, the server may not execute interpolation catching-up logic and can directly use the phase values ​​from the master control end to calculate movement and action.

[0309] In summary, by acquiring the first cycle parameter of the first character at the end of the historical time period, the movement of the first character within the action cycle can be considered. This fully utilizes the periodicity of the first and second characters having the same action cycle, making the transition of the first character's action screen smoother when the first terminal adjusts the first adjustment parameter based on the second adjustment parameter. Furthermore, due to the second terminal's determination process of the second adjustment parameter, the second terminal does not need to send all the action data to the first terminal, thereby effectively reducing the amount of data transmitted between the first and second terminals. During character synchronization, this not only improves the smoothness of character movement but also enhances data transmission efficiency.

[0310] In this embodiment, during character synchronization, phase values ​​(first cycle parameter and second cycle parameter) are used. By using a small amount of network data synchronization, the motion posture of the network simulation character can be made highly consistent with that of the original control end. At the same time, the motion animation matches the motion trajectory, resulting in a smooth and realistic performance. This not only allows the simulated character's movements to quickly become consistent with the main control end, but also greatly reduces sudden changes in movement caused by factors such as network jitter, making the animation displayed synchronously on the simulated character smoother and more natural.

[0311] Figure 10 This is a structural block diagram of a synchronous display device for roles provided in an exemplary embodiment of this application, such as... Figure 10 As shown, the device includes the following parts:

[0312] The data acquisition module 1010 is used to acquire the simulated posture data of the first character within a historical time period. The first character is the character that is synchronously displayed on the second terminal in the first terminal and controlled by the second terminal.

[0313] The parameter acquisition module 1020 is used to acquire the first cycle parameter of the first character at the end of the historical time period based on the simulated posture data and the movement of the first character within the action cycle of the target action. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the end of the time period.

[0314] The parameter receiving module 1030 is used to receive the second period parameter of the second character at the termination time sent by the second terminal. The second period parameter is used to indicate the periodic characteristics of the action performance of the second character at the termination time corresponding to the action period.

[0315] The calibration and adjustment module 1040 is used to calibrate and adjust the first cycle parameter based on the second cycle parameter to obtain the adjusted third cycle parameter.

[0316] The character display module 1050 is used to generate target posture data corresponding to the termination time based on the third cycle parameter, and to display the first character corresponding to the second character based on the target posture data.

[0317] In an optional embodiment, the parameter acquisition module 1020 is further configured to acquire the periodic motion of the first character within the action cycle of the target action, the periodic motion being used to indicate the action execution status of the first character during the process of completing the target action; based on the simulated posture data and the periodic motion, assign parameter values ​​to video frames of the first character within the historical time period, the video frames including the termination video frame corresponding to the end time of the historical time period; and acquire the first periodic parameter of the first character in the termination video frame.

[0318] In an optional embodiment, the parameter acquisition module 1020 is further configured to acquire key point position data corresponding to video frames in the simulated posture data, the key point position data being used to indicate the positional changes of key points corresponding to the first character; determine reference key point position data within the action cycle based on the periodic motion of the first character within the action cycle; assign parameter values ​​to the reference key point position data to determine the parameter assignment result corresponding to the reference key point position data; compare the key point position data with the reference key point position data, and assign parameter values ​​to video frames of the first character within the historical time period based on the parameter assignment result.

[0319] In an optional embodiment, the parameter acquisition module 1020 is further configured to determine the start time and end time of the cycle within the action cycle; assign parameter values ​​to the reference key point position data corresponding to the start time of the cycle to obtain the start parameter corresponding to the start time of the cycle; assign parameter values ​​to the reference key point position data corresponding to the end time of the cycle to obtain the end parameter corresponding to the end time of the cycle; acquire at least one cycle time between the start time of the cycle and the end time of the cycle, and the reference key point position data corresponding to the at least one cycle time; and assign parameter values ​​to the reference key point position data corresponding to the at least one cycle time using interpolation to determine the parameter assignment result corresponding to the specified time.

[0320] In an optional embodiment, the parameter acquisition module 1020 is further configured to determine a first cycle interval between a specified cycle time and a cycle start time, and a second cycle interval between the specified cycle time and a cycle end time; and based on the first cycle interval, the second cycle interval, the start parameter, and the end parameter, to determine the parameter assignment result corresponding to the reference key point position data by means of the interpolation method.

[0321] In an optional embodiment, the correction and adjustment module 1040 is further configured to adjust the rate of change of the parameter value of the first periodic parameter in the time series based on the magnitude of the parameter value change of the second periodic parameter in the time series, thereby obtaining a parameter adjustment rate; and to perform correction processing on the first periodic parameter using the parameter adjustment rate, thereby obtaining the adjusted third periodic parameter.

[0322] In an optional embodiment, the correction and adjustment module 1040 is further configured to adjust the rate of change of the parameter value of the first periodic parameter in the time series by adjusting the interpolation calculation rate, using the magnitude of the parameter value change of the second periodic parameter in the time series as a standard, to obtain the parameter adjustment rate, wherein the interpolation calculation rate is used to indicate the speed at which the first periodic parameter is adjusted to the adjusted first periodic parameter.

[0323] In an optional embodiment, the correction and adjustment module 1040 is further configured to increase the rate of change of the parameter value of the first periodic parameter in the time series by accelerating the interpolation calculation speed; or, to reduce the rate of change of the parameter value of the first periodic parameter in the time series by slowing down the interpolation calculation speed.

[0324] In an optional embodiment, the correction and adjustment module 1040 is further configured to, in response to the fact that the magnitude of the change in the parameter value of the second periodic parameter in the time series is greater than the magnitude of the change in the parameter value of the first periodic parameter in the time series, increase the rate of change of the parameter value of the first periodic parameter in the time series and obtain an adjusted third periodic parameter; or, in response to the fact that the magnitude of the change in the parameter value of the second periodic parameter in the time series is less than the magnitude of the change in the parameter value of the first periodic parameter in the time series, decrease the rate of change of the parameter value of the first periodic parameter in the time series and obtain an adjusted third periodic parameter.

[0325] Figure 11 This is a structural block diagram of a synchronous display device for a role provided in another exemplary embodiment of this application, which is applied to a second terminal, such as... Figure 11 As shown, the device includes the following parts:

[0326] The attitude acquisition module 1110 is used to acquire the master control attitude data of the second role within a historical time period, where the second role is the role of the master control of the second terminal.

[0327] The parameter acquisition module 1120 is used to acquire the second cycle parameter of the second character at the end of the historical time period based on the master control posture data and the movement of the second character within the action cycle of the target action. The second cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the second character at the end of the time period.

[0328] The parameter sending module 1130 is used to send the second periodic parameter to the first terminal, and the first terminal is used to synchronize the second role and display the first role corresponding to the second role;

[0329] Specifically, the first terminal corrects and adjusts the first cycle parameter based on the second cycle parameter to obtain the adjusted third cycle parameter. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the termination time. The first terminal generates target posture data corresponding to the termination time based on the third cycle parameter, and displays the first character corresponding to the second character based on the target posture data.

[0330] In summary, by acquiring the first cycle parameter of the first character at the end of the historical time period, the movement of the first character within the action cycle can be considered. This fully utilizes the periodicity of the first and second characters having the same action cycle, making the transition of the first character's action screen smoother when the first terminal adjusts the first adjustment parameter based on the second adjustment parameter. Furthermore, due to the second terminal's determination process of the second adjustment parameter, the second terminal does not need to send all the action data to the first terminal, thereby effectively reducing the amount of data transmitted between the first and second terminals. During character synchronization, this not only improves the smoothness of character movement but also enhances data transmission efficiency.

[0331] It should be noted that the character synchronization display device provided in the above embodiments is only an example of the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the character synchronization display device and the character synchronization display method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0332] Figure 12 A structural block diagram of an electronic device 1200 provided in an exemplary embodiment of this application is shown. The electronic device 1200 may be a portable mobile terminal, such as a smartphone, in-vehicle terminal, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The electronic device 1200 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0333] Typically, electronic device 1200 includes a processor 1201 and a memory 1202.

[0334] Processor 1201 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1201 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1201 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1201 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0335] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1202 are used to store at least one instruction, which is executed by the processor 1201 to implement the synchronous display method of roles provided in the method embodiments of this application.

[0336] In some embodiments, the electronic device 1200 may optionally include a peripheral device interface 1203 and at least one peripheral device. The processor 1201, memory 1202, and peripheral device interface 1203 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1204, a display screen 1205, an audio circuit 1207, and a power supply 1209.

[0337] Peripheral device interface 1203 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1201 and memory 1202. In some embodiments, processor 1201, memory 1202 and peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1201, memory 1202 and peripheral device interface 1203 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0338] The radio frequency (RF) circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1204 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1204 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1204 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0339] Display screen 1205 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1205 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1201 for processing. In this case, display screen 1205 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1205, disposed on the front panel of electronic device 1200; in other embodiments, there may be at least two display screens, disposed on different surfaces of electronic device 1200 or in a folded design; in still other embodiments, display screen 1205 may be a flexible display screen, disposed on a curved or folded surface of electronic device 1200. Furthermore, display screen 1205 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0340] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1201 for processing, or input to the radio frequency circuit 1204 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the electronic device 1200. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1207 may also include a headphone jack.

[0341] Power supply 1209 is used to supply power to various components in electronic device 1200. Power supply 1209 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1209 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0342] In some embodiments, the electronic device 1200 further includes one or more sensors 1210. The one or more sensors 1210 include, but are not limited to, a pressure sensor 1213, an optical sensor 1215, and a proximity sensor 1216.

[0343] The pressure sensor 1213 can be disposed on the side bezel of the electronic device 1200 and / or on the lower layer of the display screen 1205. When the pressure sensor 1213 is disposed on the side bezel of the electronic device 1200, it can detect the user's grip signal on the electronic device 1200, and the processor 1201 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1213. When the pressure sensor 1213 is disposed on the lower layer of the display screen 1205, the processor 1201 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1205. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0344] The optical sensor 1215 is used to collect ambient light intensity. In one embodiment, the processor 1201 can control the display brightness of the display screen 1205 based on the ambient light intensity collected by the optical sensor 1215. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the display screen 1205 is decreased. In another embodiment, the processor 1201 can also dynamically adjust the shooting parameters of the camera assembly based on the ambient light intensity collected by the optical sensor 1215.

[0345] The proximity sensor 1216, also known as a distance sensor, is typically located on the front panel of the electronic device 1200. The proximity sensor 1216 is used to detect the distance between the user and the front of the electronic device 1200. In one embodiment, when the proximity sensor 1216 detects that the distance between the user and the front of the electronic device 1200 is gradually decreasing, the processor 1201 controls the display screen 1205 to switch from a screen-on state to a screen-off state; when the proximity sensor 1216 detects that the distance between the user and the front of the electronic device 1200 is gradually increasing, the processor 1201 controls the display screen 1205 to switch from a screen-off state to a screen-on state.

[0346] Those skilled in the art will understand that Figure 12 The structure shown does not constitute a limitation on the electronic device 1200, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0347] Embodiments of this application also provide a computer device that can be implemented as follows: Figure 2The terminal or server shown. The computer device includes a processor and a memory, the memory storing at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by the processor to implement the synchronous display method of roles provided in the above-described method embodiments.

[0348] Embodiments of this application also provide a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the synchronous display method of roles provided in the above-described method embodiments.

[0349] Embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the synchronous display method for the role described in any of the above embodiments.

[0350] Optionally, the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), solid-state drives (SSDs), or optical discs, etc. The random access memory may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM). The sequence numbers of the embodiments in this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0351] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0352] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method of synchronously displaying a role, characterized by, The method includes: The simulated posture data of the first character within a historical time period is obtained. The first character is the character that is synchronously displayed on the second terminal in the first terminal and controlled by the second terminal. The simulated posture data is used to indicate the posture data generated by the first character during the movement. Based on the simulated posture data and the movement of the first character within the action cycle of the target action, the first cycle parameter of the first character at the end of the historical time period is obtained. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the end of the time period. The second terminal sends a second period parameter to the second character at the termination time. The second period parameter is used to indicate the periodic characteristics of the action performance of the second character at the termination time corresponding to the action period. Using the magnitude of the change in the parameter value of the second periodic parameter in the time series as a standard, the rate of change in the parameter value of the first periodic parameter in the time series is adjusted to obtain the parameter adjustment rate. The first periodic parameter is corrected using the parameter adjustment rate to obtain the adjusted third periodic parameter. Based on the third cycle parameter, target posture data corresponding to the termination time is generated, and based on the target posture data, the first role corresponding to the second role is displayed.

2. The method according to claim 1, characterized in that, The step of obtaining the first cycle parameter of the first character at the end of the historical time period based on the simulated posture data and the movement of the first character within the action cycle of the target action includes: The periodic motion of the first character within the action cycle of the target action is obtained, and the periodic motion is used to indicate the action execution status of the first character in the process of completing the target action. Based on the simulated posture data and the periodic motion, parameter values ​​are assigned to the video frames of the first character within the historical time period, and the video frames include the termination video frame corresponding to the end time of the historical time period. Obtain the first period parameter of the first character in the terminated video frame.

3. The method according to claim 2, characterized in that, The step of assigning parameter values ​​to the video frames of the first character within the historical time period based on the simulated posture data and the periodic motion includes: Acquire key point position data corresponding to video frames from the simulated posture data; the key point position data is used to indicate the positional changes of key points corresponding to the first character. Based on the periodic movement of the first character within the action cycle, determine the reference key point position data within the action cycle; Parameters are assigned to the reference key point location data to determine the parameter assignment results corresponding to the reference key point location data; The key point location data is compared with the reference key point location data, and the parameter assignment results are used to assign parameter values ​​to the video frames of the first character within the historical time period.

4. The method according to claim 3, characterized in that, The step of assigning parameter values ​​to the reference key point location data and determining the parameter assignment results corresponding to the reference key point location data includes: Determine the start time and end time of the cycle within the action cycle; The reference key point position data corresponding to the start time of the cycle are assigned parameter values ​​to obtain the start parameter corresponding to the start time of the cycle. The reference key point position data corresponding to the cycle termination time are assigned parameter values ​​to obtain the termination parameter corresponding to the cycle termination time. Acquire at least one cycle time between the start time of the cycle and the end time of the cycle, and the reference key point position data corresponding to the at least one cycle time; The parameter assignment results corresponding to the reference key point position data corresponding to the at least one cycle time are determined by interpolation.

5. The method according to claim 4, characterized in that, The step of assigning parameter values ​​to the reference key point position data corresponding to the at least one cycle time using interpolation, and determining the parameter assignment result corresponding to the reference key point position data, includes: Determine a first period interval between a specified period time and a period start time, and a second period interval between the specified period time and a period end time; Based on the first period interval, the second period interval, the starting parameter, and the ending parameter, the parameter assignment result corresponding to the reference key point position data is determined by the interpolation method.

6. The method according to any one of claims 1 to 5, characterized in that, The step of adjusting the rate of change of the first periodic parameter in the time series based on the magnitude of the change in the second periodic parameter in the time series to obtain the parameter adjustment rate includes: Using the magnitude of the change in the parameter value of the second periodic parameter in the time series as a standard, the rate of change in the parameter value of the first periodic parameter in the time series is adjusted by adjusting the interpolation calculation speed, thereby obtaining the parameter adjustment rate. The interpolation calculation speed is used to indicate the speed at which the first periodic parameter is adjusted to the adjusted first periodic parameter.

7. The method according to claim 6, characterized in that, The step of adjusting the rate of change of the first periodic parameter in the time series by adjusting the interpolation calculation speed includes: By accelerating the interpolation calculation speed, the rate of change of the parameter value of the first periodic parameter on the time series is increased; or, By slowing down the interpolation calculation speed, the rate of change of the parameter value of the first periodic parameter on the time series is reduced.

8. The method according to any one of claims 1 to 5, characterized in that, The method further includes: In response to the fact that the change in the parameter value of the second periodic parameter in the time series is greater than the change in the parameter value of the first periodic parameter in the time series, the change rate of the parameter value of the first periodic parameter in the time series is increased, and an adjusted third periodic parameter is obtained. or, In response to the fact that the change in the parameter value of the second periodic parameter in the time series is less than the change in the parameter value of the first periodic parameter in the time series, the rate of change of the parameter value of the first periodic parameter in the time series is reduced, and an adjusted third periodic parameter is obtained.

9. A method for synchronously displaying characters, characterized in that, Applied to a second terminal, the method includes: Acquire the master control posture data of the second character within a historical time period. The second character is the character controlled by the second terminal. The master control posture data is used to indicate the posture data generated by the second character during the movement. Based on the master control posture data and the movement of the second character within the action cycle of the target action, the second cycle parameter of the second character at the end of the historical time period is obtained. The second cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the second character at the end of the time period. The second periodic parameter is sent to the first terminal, which is used to synchronize the second role and display the first role corresponding to the second role; Specifically, the first terminal uses the magnitude of the change in the value of the second periodic parameter over time as a standard to adjust the rate of change of the value of the first periodic parameter over time, thereby obtaining a parameter adjustment rate. The first periodic parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the first character at the termination time. The first terminal performs correction processing on the first periodic parameter using the parameter adjustment rate to obtain an adjusted third periodic parameter. The first terminal generates target posture data corresponding to the termination time based on the third periodic parameter, and displays the first character corresponding to the second character based on the target posture data.

10. A character synchronization display device, characterized in that, The device includes: The data acquisition module is used to acquire simulated posture data of the first character within a historical time period. The first character is the character that is synchronously displayed on the second terminal in the first terminal and controlled by the second terminal. The simulated posture data is used to indicate the posture data generated by the first character during the movement. The parameter acquisition module is used to acquire the first cycle parameter of the first character at the end of the historical time period based on the simulated posture data and the movement of the first character within the action cycle of the target action. The first cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the first character at the end of the time period. The parameter receiving module is used to receive the second period parameter of the second character at the termination time sent by the second terminal. The second period parameter is used to indicate the periodic characteristics of the action performance of the second character at the termination time corresponding to the action period. The correction and adjustment module is used to adjust the rate of change of the parameter value of the first periodic parameter in the time series based on the magnitude of the parameter value change of the second periodic parameter in the time series, so as to obtain the parameter adjustment rate; and to perform correction processing on the first periodic parameter using the parameter adjustment rate to obtain the adjusted third periodic parameter. The role display module is used to generate target posture data corresponding to the termination time based on the third cycle parameter, and to display the first role corresponding to the second role based on the target posture data.

11. A character synchronization display device, characterized in that, Applied to a second terminal, the device includes: The attitude acquisition module is used to acquire the master attitude data of the second character in a historical time period. The second character is the character controlled by the second terminal. The master attitude data is used to indicate the attitude data generated by the second character during the movement. The parameter acquisition module is used to acquire the second cycle parameter of the second character at the end of the historical time period based on the master control posture data and the movement of the second character within the action cycle of the target action. The second cycle parameter is used to indicate the periodic characteristics of the action cycle corresponding to the action performance of the second character at the end of the time period. The parameter sending module is used to send the second periodic parameter to the first terminal, and the first terminal is used to synchronize the second role and display the first role corresponding to the second role; Specifically, the first terminal uses the magnitude of the change in the value of the second periodic parameter over time as a standard to adjust the rate of change of the value of the first periodic parameter over time, thereby obtaining a parameter adjustment rate. The first periodic parameter is used to indicate the periodicity of the action cycle corresponding to the action performance of the first character at the termination time. The first terminal performs correction processing on the first periodic parameter using the parameter adjustment rate to obtain an adjusted third periodic parameter. The first terminal generates target posture data corresponding to the termination time based on the third periodic parameter, and displays the first character corresponding to the second character based on the target posture data.

12. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one instruction, which is loaded and executed by the processor to implement the synchronous display method of the character as described in any one of claims 1 to 9.

13. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, which is loaded and executed by a processor to implement the synchronous display method of the character as described in any one of claims 1 to 9.

14. A computer program product, characterized in that, It includes computer instructions that, when executed by a processor, implement the method for synchronous display of characters as described in any one of claims 1 to 9.