Search

CN-121661210-B - Vector animation editing system supporting multi-user real-time collaboration

CN121661210BCN 121661210 BCN121661210 BCN 121661210BCN-121661210-B

Abstract

The invention belongs to the technical field of computers, and particularly relates to a vector animation editing system supporting multi-user real-time collaboration. The system realizes high concurrency operation conflict resolution, state strong consistency synchronization and low delay rendering through multidimensional interaction perception, vector semantic conversion, distributed state collaboration, streaming differential distribution and real-time acceleration rendering modules. The vector clock sequencing, visual port sensing distribution, local damage redrawing and prediction compensation mechanisms are adopted, so that the problems of inconsistent synchronization, transmission redundancy and rendering blocking are effectively solved, thousands of persons are supported to cooperatively edit, and professional animation creation experience is guaranteed.

Inventors

  • MENG HE
  • ZHAI SHULIN
  • SUN YANMING

Assignees

  • 长春大学

Dates

Publication Date
20260508
Application Date
20260206

Claims (10)

  1. 1. A vector animation editing system supporting real-time collaboration of multiple users, comprising: The multidimensional interaction sensing unit is used for monitoring and capturing the states of input equipment of each cooperative terminal in real time, recording physical operation events including clicking, dragging, pressure touch and rotation, associating system absolute time stamps of operation moments and generating an original interaction sequence; The vector semantic conversion engine is used for receiving the original interaction sequence output by the multidimensional interaction sensing unit, analyzing the physical operation event into an atomic operation operator with deterministic semantics according to the built-in vector operator dictionary, and extracting a unique identifier, an attribute change vector and a coordinate transformation matrix of the affected vector object; The distributed state coordination center is used for constructing and maintaining a global vector state tree based on a hierarchical relation, receiving atomic operation operators from different coordination terminals, and calculating a unique effective sequence of all operations on a global time axis by executing a conflict resolution strategy and consistency check logic based on a causality relation; The streaming differential distribution node is used for extracting attribute differential values between the current state and the previous historical state according to the effective sequence determined by the distributed state cooperative center, and distributing differential data to all online cooperative terminals by adopting a streaming compression coding technology; And the real-time accelerated rendering module is used for decompressing and restoring the atomic operation operator after each collaboration terminal receives the differential data, calling a hardware acceleration interface of the graphic processor to locally refresh the affected vector level, and reconstructing consistent animation visual manifestations at each end.
  2. 2. The vector animation editing system supporting real-time collaboration of multiple users according to claim 1, wherein the vector semantic conversion engine is used for extracting node coordinate information on a curve path when Bezier curve editing operation is processed, wherein the node coordinate information comprises relative displacement of a start anchor point, a stop anchor point and a control point in a two-dimensional plane, calculating smoothness parameters of the path according to tangential slope and curvature continuity constraint among nodes, packaging the smoothness parameters with filling properties, description width and endpoint patterns of the path to form a complete path transformation operator, and carrying out fixed-point processing on floating point coordinates in the packaging process.
  3. 3. The vector animation editing system supporting multi-user real-time collaboration according to claim 1 is characterized in that the distributed state collaboration center is used for adopting a concurrency control algorithm based on a vector clock, checking vector clock vectors carried by each request to judge a sequence relation between the requests when a plurality of concurrency modification requests aiming at the same vector object are received, calling a preset semantic priority matrix for the concurrency requests without the sequence relation, and carrying out weight sorting according to the importance of operation types and the administrative authority level of users, wherein if the operation types are completely consistent and the authorities are the same, deterministic sorting logic based on object hash values is introduced.
  4. 4. The vector animation editing system supporting multi-user real-time collaboration according to claim 1, wherein the distributed state collaboration center further comprises a dynamic region locking subunit, wherein the dynamic region locking subunit is used for dividing an entire canvas into a plurality of logical space grids, marking a temporary locking label for a specific vector object and a minimum rectangular region where the object is located in a global state tree when a certain collaboration terminal starts editing behaviors of the object in the global state tree, and placing modification operators sent by other terminals and aiming at the objects in the same region in a suspension queue in a locking effective period.
  5. 5. The vector animation editing system supporting real-time collaboration of multiple users according to claim 1 is characterized in that the streaming differential distribution node is used for executing a distribution strategy predicted on demand, maintaining a view port state table of each collaboration terminal in the node, recording the current observation position and zoom level of each user on a canvas in real time, preferentially calculating vector object change in the current view port range of the user when a global state tree is changed, pushing the vector object change as a high-priority differential packet, accumulating the object change outside the view port in a background buffer area for batch synchronization, and if fast movement of the view port of the user is detected, predicting an area to be entered according to a movement trend, and starting streaming preloading of area vector data in advance.
  6. 6. The vector animation editing system supporting multi-user real-time collaboration according to claim 1, wherein the streaming differential distribution node is used for applying an arithmetic coding algorithm based on attribute classification in a coding process, dividing vector attributes into three categories of geometric attributes, visual attributes and animation time sequence attributes, dynamically adjusting a coding probability model according to statistical distribution characteristics of each category of attributes, and adopting second-order predictive coding for motion parameters with continuity in time sequence to only transmit prediction residues.
  7. 7. The vector animation editing system supporting multi-user real-time collaboration according to claim 1, wherein the real-time acceleration rendering module is used for adopting a layered off-screen rendering and local damage detection technology, dividing vector animation into a background layer, a static layer, a dynamic editing layer and an interactive feedback layer, positioning a layer to which an affected vector object belongs after receiving differential synchronous data, calculating a damage area rectangle of the object under a screen coordinate system, only triggering pixel redrawing in the damage area, combining updated layer segments with other unchanged off-screen caches by utilizing a hardware color mixing unit, decomposing a complex Bezier path into a series of basic triangle grids by utilizing a path pre-scanning algorithm when the path shape is rendered, and parallelizing filling by utilizing a vertex shader and a pixel shader of a graphics processor.
  8. 8. The vector animation editing system supporting multi-user real-time collaboration according to claim 1, wherein the real-time acceleration rendering module is further integrated with a prediction compensation rendering engine, and the prediction compensation rendering engine is used for carrying out interpolation prediction on the next frame state of a target object according to the existing historical motion vector and operator semantics when the transient jitter occurs in the network environment to cause the differential data to arrive in a delayed mode, and carrying out advanced rendering on the predicted state, and correcting the predicted state into a real state through a transient smooth transition animation after the real differential data arrives.
  9. 9. The vector animation editing system supporting real-time collaboration of multiple users according to claim 1, further comprising a collaborative conflict backtracking management unit, wherein the collaborative conflict backtracking management unit is used for maintaining a limited-length operation history stack in a system memory, each history operation is associated with a complete state snapshot abstract, when a user needs to execute a revocation operation, a distributed state collaboration center requests revocation authorization for the specific user, and the distributed state collaboration center eliminates specific operation contribution of the user by replaying all global operators from the revocation point to the current moment and generates a new compensation operator to be distributed to each end.
  10. 10. The vector animation editing system supporting multi-user real-time collaboration according to claim 1, further comprising a resource consistency monitor, wherein the resource consistency monitor is used for periodically calculating global hash values of local state trees of all collaboration terminals and comparing the global hash values with standard hash values maintained by a distributed state collaboration center, and triggering a forced synchronization mechanism to enable the terminal to return to a global consistent state by streaming operator increment packets missing by the terminal if the condition deviation of the terminal is found.

Description

Vector animation editing system supporting multi-user real-time collaboration Technical Field The invention belongs to the technical field of computers, and particularly relates to a vector animation editing system supporting multi-user real-time collaboration. Background In the wide fields of multimedia content creation and digital design, vector animation plays an irreplaceable role in scenes such as webpage interaction, mobile application interface design, film and television animation production and the like by virtue of the advantages of strong graphic expressive force, low resource occupation, support of any scaling and the like. With the popularity of distributed office environments and the increasing demand for team collaboration, authoring models are undergoing a transition from isolated localized jobs to highly integrated, real-time interactive cloud collaboration assimilation. This trend not only requires the underlying architecture to have a strong graphics rendering capability, but also needs to be built on the basis of an efficient data flow and multi-port synchronization mechanism, so as to support the extremely high requirements of the modern digital production process on the response speed and the creation flexibility. The vector animation editing technology with real-time cooperation of multiple users is used as a core for realizing team efficient creation, and aims to construct an interactive environment which allows multiple participants with dispersed geographic positions to operate concurrently in the same creation time sequence. The technology focuses on real-time disassembly and distribution of complex vector path data, key frame attributes and graph hierarchical association relations, and ensures that visual states and logic sequences displayed by all clients are kept highly uniform through millisecond-level instruction synchronization. In the process, the system is required to process basic graph drawing interaction and maintain precise alignment of animation time axes among different network nodes, so that cross-region and cross-terminal seamless cooperation experience is realized. However, the prior art faces a number of serious challenges in achieving efficient multi-person real-time collaborative vector editing. Traditional collaborative mode based on file locking can not meet the authoring requirement of instant interaction, so that team members often face serious data competition and state conflict in concurrent operation. Although the existing system attempts to introduce operation conversion or conflict resolution mechanisms, aiming at the special multi-layer nested structure and dynamic attribute association of vector animation, the resolution precision and semantic retention capability of the algorithm are still obviously insufficient, and graphic topological structure errors or time axis logic confusion are easily caused. In addition, the uncertainty of network delay often causes mismatching of the preview state of each terminal with the state of the main server, and the linearity of the processing capacity of the system is reduced under the high concurrent editing request, so that large-scale animation rendering in a multi-user environment often has a clamping or synchronization lag. Together, these factors result in a lack of user experience faults and data consistency in the collaborative editing process, which becomes a technical problem to be solved in the current real-time vector animation editing field. Disclosure of Invention The invention aims to provide a vector animation editing system supporting multi-user real-time collaboration, which aims to solve the core technical problems of inconsistent vector data synchronization, frequent operation conflicts, obvious real-time rendering delay under a high-load scene, low data transmission efficiency of complex paths and the like in the prior art under a large-scale concurrent editing environment. The technical scheme of the invention is that the method comprises the following steps: The multidimensional interaction sensing unit is used for monitoring and capturing the states of input equipment of each cooperative terminal in real time, recording physical operation events including clicking, dragging, pressure touch and rotation, associating system absolute time stamps of operation moments and generating an original interaction sequence; The vector semantic conversion engine is used for receiving the original interaction sequence output by the multidimensional interaction sensing unit, analyzing the physical operation event into an atomic operation operator with deterministic semantics according to the built-in vector operator dictionary, and extracting a unique identifier, an attribute change vector and a coordinate transformation matrix of the affected vector object; The distributed state coordination center is used for constructing and maintaining a global vector state tree based on a hierarchical relation, receivi