Real-time conflict resolution method and system for UI component editing

CN122431666APending Publication Date: 2026-07-21SHENZHEN PIXSO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN PIXSO TECH CO LTD
Filing Date
2026-04-17
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

Existing technologies cannot effectively resolve interface conflicts when multiple users are editing UI components simultaneously, leading to interface flickering, state tearing, and partial activation errors, resulting in a poor user experience.

Method used

By acquiring multi-source real-time editing operation flows, constructing a component semantic anchor point graph, performing atomic mapping and phase encoding of editing intent, generating conflict candidate clusters, calculating conflict potential values ​​and generating resolution candidate paths, and performing shadow commit simulcasting and reversible echo log synchronization, real-time conflict resolution is achieved.

Benefits of technology

It improves the accuracy of conflict identification, enhances the compatibility and processing capability in complex conflict scenarios, improves the stability and reliability of the target interface state, enhances the system's recoverability and collaborative continuity, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122431666A_ABST
    Figure CN122431666A_ABST
Patent Text Reader

Abstract

The application is suitable for the field of interface coordination technology, and provides a real-time conflict resolution method and system for UI component editing, which realizes unified abstraction of multi-source heterogeneous UI editing events as editing intention atomic sequences, improves the consistency of conflict analysis objects, realizes accurate positioning of the real action range of editing operations by using component semantic anchor point atlas, improves conflict identification accuracy, reduces conflict analysis range and reduces computing overhead in real-time collaboration scenarios through phase encoding and conflict candidate cluster, enhances compatibility processing capacity in complex conflict scenarios through joint generation mechanism of conflict potential value and multiple resolution candidate paths, improves the actual effectiveness of the actual effect of the candidate path through shadow submission simulation, improves the stability and reliability of the target interface state, and enhances the recoverability and collaborative continuity of the system through reversible echo log supporting local rollback, offline integration and cross-terminal state synchronization, thereby improving the accuracy of conflict resolution and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of interface collaboration technology, and in particular relates to a real-time conflict resolution method and system for UI component editing. Background Technology

[0002] Existing collaborative editing technologies mostly revolve around text objects, sequential operations, or flat state fields. Common problems include: 1. UI components are not pure text objects; the same editing operation often affects the structure, layout, style, behavior, and binding relationships simultaneously. 2. Traditional overlay merging can usually only express "who wrote first" or "who wrote last," but it is difficult to express "which editing results can be partially compatible and coexist." 3. Existing conflict handling is mostly based on differences in attribute values, lacking joint judgment of the component semantic layer, visual area layer, and interaction dependency layer. Therefore, when multiple people drag and drop, change styles, change bindings, or change events simultaneously, problems such as interface flickering, state tearing, partial effect errors, and high costs of full rollback are likely to occur. Summary of the Invention

[0003] In view of the shortcomings of the prior art, the purpose of this invention is to provide a real-time conflict resolution method and system for UI component editing, aiming to solve the problem that the prior art cannot provide an effective real-time conflict resolution method for UI component editing, resulting in inaccurate conflict resolution and poor user experience.

[0004] On one hand, the present invention provides a real-time conflict resolution method for UI component editing, the method comprising the following steps:

[0005] Obtain multi-source real-time editing operation streams, and perform event granulation and semantic merging on the multi-source real-time editing operation streams to obtain an editing intent atomic sequence;

[0006] Based on component tree relationships, layout constraint relationships, visual region relationships, and interaction binding relationships, a component semantic anchor graph is constructed, and the editing intent atoms in the editing intent atom sequence are mapped to the component semantic anchor graph to obtain the corresponding candidate scopes;

[0007] Phase encoding and neighborhood expansion are performed on the edit intention atoms in the edit intention atom sequence located within the candidate scope to form conflict candidate clusters;

[0008] For each pair of edit intent atoms in each of the aforementioned conflict candidate clusters, calculate the conflict potential energy value, and combine the intent preservation value and interface continuity value corresponding to the conflict candidate cluster to generate at least two resolution candidate paths;

[0009] For each of the proposed resolution candidate paths, a shadow submission simulcast is performed, and the target resolution path is determined based on the shadow submission simulcast results to obtain the target interface state;

[0010] The target interface state is published to the real-time collaborative session and written to the reversible echo log. Subsequent partial rollback, offline merging, or cross-terminal state synchronization are then performed based on the reversible echo log.

[0011] The method of the present invention, wherein the first of the edited intention atomic sequences... The first edit intention atom and the first in the semantic anchor map of the component The anchor coupling strength between component nodes is calculated according to Formula 1;

[0012] Formula 1: ;in, The first atomic sequence representing the edit intention The first edit intention atom and the first in the semantic anchor map of the component Anchor point coupling strength between component nodes This indicates the anchor dimension index. Indicates the first The weight coefficients corresponding to each anchor dimension Indicates the first The edit intention atom in the first Intent features at each anchor point dimension With the first The component node is in the first Node features in each anchor point dimension Similarity between them Indicates the first The edit intention atom in the first Drift compensation amount in each anchor point dimension;

[0013] The method further includes: determining component nodes with anchor point coupling strength greater than a preset coupling threshold as the main anchor point nodes of the editing intent atom.

[0014] In the method described in this invention, the candidate scope is composed of the main anchor node, adjacent nodes that satisfy a preset number of hops with the main anchor node in the component semantic anchor graph, and associated nodes that share layout constraints or are interactively bound with the main anchor node.

[0015] The method of the present invention, wherein the conflict potential energy value between each pair of edit intention atoms in the conflict candidate cluster is calculated according to Formula 2;

[0016] Formula 2: ;in, Indicates the first in the conflict candidate cluster The edit intention atom and the first The conflict potential energy value between atoms with editing intent Indicates the first The edit intention atom and the first Geometric overlap between atoms intended for editing Indicates the first The edit intention atom and the first Semantic competition between atoms with editing intent Indicates the first The edit intention atom and the first The temporal antagonism between atoms with editing intent Indicates the first The edit intention atom and the first Compatibility retention between atoms with editing intent The weighting coefficients representing the geometric overlap are... The weighting coefficients representing the semantic competitiveness are... The weighting coefficients representing the time-dependent resistance are... The weighting coefficients representing the compatibility retention rate;

[0017] The method further includes: marking edit intention atomic pairs whose conflict potential energy values ​​exceed a preset potential energy threshold as strong conflict pairs.

[0018] The method of the present invention, wherein the resolution candidate path is generated by performing folding and yielding and backfilling operations on the edit intention atoms in the conflict candidate cluster;

[0019] The folding is used to merge semantically consistent editing intent atoms, the yielding is used to perform primary and secondary flow of mutually exclusive editing intent atoms, and the backfilling is used to supplement the subsequent rendering frames with editing results that are not directly effective but are compatible.

[0020] The resolution candidate paths include at least two of the following: attribute overlap path, interval isolation path, behavior migration path, and binding delay path.

[0021] The method of the present invention, wherein the path score of each of the candidate paths to be eliminated is calculated according to Formula 3;

[0022] Formula 3: ;in, Indicates the first Path scoring for eliminating candidate paths, Indicates the first The intention is to preserve the value of the candidate path elimination. Indicates the first The interface values ​​for resolving candidate paths are continuous. Indicates the first The execution stability value of the candidate path elimination. Indicates the first The backoff perturbation value of each candidate path to be eliminated. This represents the weighting coefficient of the intended value. The weighting coefficients represent the continuity of the interface. This represents the weighting coefficient of the stable value. This represents the weighting coefficient of the backoff disturbance value;

[0023] The method further includes selecting the candidate path with the highest path score as the preferred path candidate.

[0024] The method of the present invention, wherein the preset potential energy threshold or path decision threshold is an adaptive threshold, and the adaptive threshold is calculated according to formula 4;

[0025] Formula 4: ;in, Indicates time Adaptive threshold, Indicates the basic threshold. Indicates the time Session conflict entropy, Indicates the time Frame stability, This represents the adjustment coefficient of the session conflict entropy. The adjustment coefficient representing the frame stability;

[0026] The adaptive threshold is used to dynamically adjust the strong conflict determination or delayed submission determination.

[0027] The method of the present invention further includes: when the score difference between the two candidate paths with the highest path scores is less than the adaptive threshold, generating a temporary dual-view rendering result, and determining the target resolution path after receiving a new editing intent atom or a user confirmation instruction.

[0028] The method of the present invention, wherein the method further comprises:

[0029] After receiving a user correction operation, the user correction operation is reverse-mapped to the corresponding editing intent atom and the resolution candidate path, and the weight parameters in the anchor coupling strength, the conflict potential value, or the path score are updated.

[0030] On the other hand, the present invention provides a real-time conflict resolution system for UI component editing, the system comprising:

[0031] The acquisition and parsing unit is used to acquire multi-source real-time editing operation streams and generate editing intent atomic sequences; the graph mapping unit is used to construct component semantic anchor point graphs and form candidate scopes.

[0032] The phase clustering unit is used to perform phase encoding on the edit intention atoms in the edit intention atom sequence and form conflict candidate clusters; the path generation unit is used to calculate the conflict potential energy value between each pair of edit intention atoms in the conflict candidate cluster and generate resolution candidate paths; the simulacrum decision unit is used to perform shadow submission simulacrum and determine the target interface state; the log synchronization unit is used to write reversible echo logs and perform local rollback, offline merging or cross-terminal state synchronization.

[0033] The beneficial effects of this invention are as follows: It acquires multi-source real-time editing operation streams, performs event granulation and semantic merging on these streams to obtain editing intent atom sequences; constructs a component semantic anchor graph based on component tree relationships, layout constraint relationships, visual region relationships, and interaction binding relationships, and maps the editing intent atoms in the editing intent atom sequences to the component semantic anchor graph to obtain corresponding candidate scopes; performs phase encoding and neighborhood expansion on the editing intent atoms in the editing intent atom sequences located within the candidate scopes to form conflict candidate clusters; calculates the conflict potential energy value for each pair of editing intent atoms in each conflict candidate cluster, and generates at least two resolution candidate paths by combining the intent retention value and interface continuity value corresponding to the conflict candidate cluster; performs shadow submission simulcasting on each resolution candidate path, and determines the target resolution path based on the shadow submission simulcasting results to obtain the target interface state; publishes the target interface state to the real-time collaborative session and writes it to a reversible echo log, and performs subsequent local rollback, offline merging, or cross-terminal state synchronization based on the reversible echo log.

[0034] This approach unifies multi-source heterogeneous UI editing events into a unified atomic sequence of editing intent, improving the consistency of conflict analysis objects; utilizes component semantic anchor graphs to accurately locate the actual scope of editing operations, improving conflict identification accuracy; narrows the conflict analysis scope through phase encoding and conflict candidate clusters, reducing computational overhead in real-time collaborative scenarios; enhances compatibility in complex conflict scenarios through a joint generation mechanism of conflict potential values ​​and multiple resolution candidate paths; pre-verifies the actual effectiveness of candidate paths through shadow submission simulation, improving the stability and reliability of the target interface state; and supports partial rollback, offline merging, and cross-terminal state synchronization through reversible echo logs, enhancing system recoverability and collaborative continuity, thereby improving the accuracy of conflict resolution and ultimately enhancing the user experience. Attached Figure Description

[0035] Figure 1 This is a flowchart illustrating the implementation of the real-time conflict resolution method for UI component editing provided in Embodiment 1 of the present invention.

[0036] Figure 2This is a schematic diagram of the structure of the real-time conflict resolution system for UI component editing provided in Embodiment 2 of the present invention. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0038] The specific implementation of the present invention will be described in detail below with reference to specific embodiments:

[0039] Example 1:

[0040] Figure 1 The implementation flow of the real-time conflict resolution method for UI component editing provided in Embodiment 1 of the present invention is illustrated. For ease of explanation, only the parts related to the embodiments of the present invention are shown, and are described in detail below:

[0041] In step S101, a multi-source real-time editing operation stream is obtained, and event granulation and semantic merging are performed on the multi-source real-time editing operation stream to obtain an editing intent atom sequence;

[0042] In embodiments of the present invention, event granulation and semantic merging include: decomposing the multi-source real-time editing operation flow according to component granularity, attribute granularity, and interaction granularity, and merging consecutive editing events in the same direction, with the same target, and within the same constraint domain into editing intent atoms.

[0043] An editable atom must include at least the operation type, target attribute set, action level, source identifier, timestamp and reversibility marker, and phase pre-label;

[0044] The operation types include at least one of structural editing, geometric editing, style editing, interactive editing, and data binding editing.

[0045] In step S102, a component semantic anchor graph is constructed based on component tree relationships, layout constraint relationships, visual region relationships, and interaction binding relationships. The edit intention atoms in the edit intention atom sequence are mapped to the component semantic anchor graph to obtain the corresponding candidate scopes.

[0046] In embodiments of the present invention, the component semantic anchor graph includes component nodes and relation edges; the component nodes have at least structural anchors, geometric anchors, visual anchors, and behavioral anchors; the relation edges include at least parent-child relation edges, constraint dependency edges, region adjacency edges, and event coupling edges.

[0047] Furthermore, the first atomic sequence in the editing intent... The first edit intention atom and component semantic anchor point map in the first edit intention atom and component semantic anchor point map The anchor coupling strength between component nodes is calculated according to Formula 1;

[0048] Formula 1: ;in, The first atomic sequence indicating editing intent The first edit intention atom and component semantic anchor point map in the first edit intention atom and component semantic anchor point map Anchor point coupling strength between component nodes This indicates the anchor dimension index. Indicates the first The weight coefficients corresponding to each anchor dimension Indicates the first The editable atom in the first Intent features at each anchor point dimension With the The component node in the _th ... Node features in each anchor point dimension Similarity between them Indicates the first The editable atom in the first Drift compensation amount in each anchor point dimension;

[0049] The method also includes: identifying component nodes with anchor point coupling strength greater than a preset coupling threshold as the main anchor point nodes of the editing intent atom.

[0050] The purpose of Formula 1 is to determine the component node that the editing intent atom truly affects, rather than simply matching the target based on the component ID, based on multi-dimensional semantic similarity, thereby avoiding incorrect attribution caused by dragging, copying, renaming, or temporary container migration.

[0051] Furthermore, the candidate scope is composed of the main anchor node, the adjacent nodes that satisfy the preset number of hops with the main anchor node in the component semantic anchor graph, and the associated nodes that share layout constraints or are interactively bound with the main anchor node.

[0052] In step S103, the edit intention atoms in the edit intention atom sequence located within the candidate scope are phase encoded and their neighborhood expanded to form conflict candidate clusters;

[0053] In embodiments of the present invention, phase encoding includes encoding each edit intention atom into a five-dimensional phase vector comprising a structural phase, a geometric phase, a style phase, a behavior phase, and a binding phase, to characterize the distribution of the influence of the edit intention atom on the semantic layers of different components.

[0054] When at least two edit intention atoms in an edit intention atom sequence simultaneously meet the following conditions, the at least two edit intention atoms will be classified into the same conflict candidate cluster:

[0055] First, the candidate scopes of at least two editable atoms intersect;

[0056] Secondly, the five-dimensional phase vectors of at least two editable atoms overlap in at least one dimension;

[0057] Third, at least two editable atoms must arrive within the preset time window.

[0058] Furthermore, the conflict potential energy value between each pair of editable atoms in the conflict candidate cluster is calculated according to Formula 2;

[0059] Formula 2: ;in, Represents the first in the conflict candidate cluster The edit intention atom and the first The conflict potential energy value between atoms with editing intent Indicates the first The edit intention atom and the first Geometric overlap between atoms intended for editing Indicates the first The edit intention atom and the first Semantic competition between atoms with editing intent Indicates the first The edit intention atom and the first The temporal antagonism between atoms with editing intent Indicates the first The edit intention atom and the first Compatibility retention between atoms with editing intent Weighting coefficients representing geometric overlap. Weighting coefficients representing semantic competitiveness. The weighting coefficients representing the degree of temporal resistance. Weighting coefficients representing compatibility retention;

[0060] The method also includes marking edit intention atomic pairs whose conflict potential values ​​exceed a preset potential threshold as strong conflict pairs.

[0061] The purpose of Formula 2 is to increase the conflict potential energy when two editing intent atoms are highly conflicting in spatial location, semantic hierarchy, and time window; if there is a compatible preservation space between them, then... The conflict potential energy is offset.

[0062] In step S104, the conflict potential energy value is calculated for each pair of edit intention atoms in each conflict candidate cluster, and at least two resolution candidate paths are generated by combining the intention retention value and interface continuity value corresponding to the conflict candidate cluster.

[0063] In an embodiment of the present invention, more preferably, the candidate path resolution is generated by performing folding and transfer and backfilling operations on the edit intention atoms in the conflict candidate cluster;

[0064] Folding is used to merge semantically consistent edit intent atoms, yielding is used to prioritize mutually exclusive edit intent atoms, and backfilling is used to add compatible but not directly effective edit results into subsequent rendering frames.

[0065] The candidate paths to resolve include at least two of the following: attribute overlap path, interval isolation path, behavior migration path, and binding delay path.

[0066] Furthermore, the path score for each candidate path to be eliminated is calculated according to Formula 3;

[0067] Formula 3: ;in, Indicates the first Path scoring for eliminating candidate paths, Indicates the first The intention is to preserve the value of the candidate path elimination. Indicates the first The interface values ​​for resolving candidate paths are continuous. Indicates the first The execution stability value of the candidate path elimination. Indicates the first The backoff perturbation value of each candidate path to be eliminated. This indicates the weighting coefficients intended to preserve the value. The weighting coefficients represent the continuity of the interface. This represents the weighting coefficients for implementing stable values. This represents the weighting coefficient for the backoff disturbance value;

[0068] The method also includes selecting the candidate path with the highest path score as the preferred path candidate.

[0069] The purpose of Formula 3 is to quantify "preserving more editing intent", "reducing interface flickering", "improving execution success rate" and "reducing future rollback costs" into a single score, so as to select the better path from multiple elimination candidate paths.

[0070] In step S105, a shadow submission simulcast is performed on each candidate path for resolution, and the target resolution path is determined based on the shadow submission simulcast result to obtain the target interface state.

[0071] In an embodiment of the present invention, the shadow submission simulcast includes: loading each resolution candidate path into the shadow rendering buffer without writing to the formal session state, performing frame-by-frame simulcast on the structure layer, style layer and behavior layer of the affected components, and recording the coherence result and rollback cost of each frame.

[0072] Shadow submission simulation uses a double-buffered frame island mechanism; the double-buffered frame island mechanism only refreshes the local rendering area corresponding to the affected component subtree, and does not redraw the entire interface.

[0073] Furthermore, the preset potential energy threshold or path decision threshold is an adaptive threshold, which is calculated according to Formula 4.

[0074] Formula 4: ;in, Indicates time Adaptive threshold, Indicates the basic threshold. Indicates time Session conflict entropy, Indicates time Frame stability, The moderating coefficient representing the session conflict entropy. An adjustment coefficient representing frame stability;

[0075] Adaptive thresholds are used to dynamically adjust strong conflict determinations or delayed submission determinations.

[0076] The purpose of Formula 4 is to increase decision-making caution when the conflict entropy of the session increases, and to reduce the probability of delayed submission when the frame stability is high, thereby achieving a dynamic balance between "real-time performance" and "accuracy".

[0077] More preferably, the method further includes: when the score difference between the two candidate paths with the highest path scores is less than an adaptive threshold, generating a temporary dual-view rendering result, and determining the target resolution path after receiving a new editing intent atom or a user confirmation instruction.

[0078] In step S106, the target interface state is published to the real-time collaborative session and written to the reversible echo log, and subsequent partial rollback, offline merging, or cross-terminal state synchronization is performed based on the reversible echo log.

[0079] In embodiments of the present invention, the reversible echo log records at least the edit intent atom identifier, the main anchor node identifier, the candidate scope, the path score, the simulcast frame results, and the effective and ineffective segments to support subsequent reversible playback.

[0080] Partial rollback includes attribute-level rollback, component-level rollback, and component subtree-level rollback. Partial rollback extracts the active fragments corresponding to the target component from the reversible echo log and performs reverse undo and compatibility recalculation on the active fragments.

[0081] Cross-terminal state synchronization involves splitting the target interface state into structural phase fragments, geometric phase fragments, style phase fragments, behavior phase fragments, and binding phase fragments, and broadcasting them to the corresponding subscribed terminals according to the phase fragment type.

[0082] For edit operations submitted after an offline terminal is restored to online status, they are first parsed as edit intent atoms, then compensated and mapped based on the source identifier and reversible echo logs, and then re-enter the calculation process of conflict candidate clusters.

[0083] In collaborative scenarios where there are differences in roles, role priority is converted into path score correction amount. Role priority only participates in the score correction of candidate paths, and does not directly overwrite existing effective results.

[0084] Furthermore, the method also includes:

[0085] After receiving the user's correction operation, the user's correction operation is mapped in reverse to the corresponding editing intent atom and resolution candidate path, and the weight parameters in the anchor coupling strength, conflict potential value or path score are updated.

[0086] In embodiments of the present invention, a multi-source real-time editing operation flow is acquired, and event granulation and semantic merging are performed on the multi-source real-time editing operation flow to obtain an editing intent atom sequence; a component semantic anchor graph is constructed based on component tree relationships, layout constraint relationships, visual region relationships, and interaction binding relationships, and the editing intent atoms in the editing intent atom sequence are mapped to the component semantic anchor graph to obtain the corresponding candidate scopes; phase encoding and neighborhood expansion are performed on the editing intent atoms in the editing intent atom sequence located within the candidate scopes to form conflict candidate clusters; a conflict potential value is calculated for each pair of editing intent atoms in each conflict candidate cluster, and at least two resolution candidate paths are generated by combining the intent retention value and interface continuity value corresponding to the conflict candidate cluster; shadow submission simulcasting is performed on each resolution candidate path, and the target resolution path is determined based on the shadow submission simulcasting result to obtain the target interface state; the target interface state is published to the real-time collaborative session and written into the reversible echo log, and subsequent local rollback, offline merging, or cross-terminal state synchronization is performed based on the reversible echo log.

[0087] This approach unifies multi-source heterogeneous UI editing events into a unified atomic sequence of editing intent, improving the consistency of conflict analysis objects; utilizes component semantic anchor graphs to accurately locate the actual scope of editing operations, improving conflict identification accuracy; narrows the conflict analysis scope through phase encoding and conflict candidate clusters, reducing computational overhead in real-time collaborative scenarios; enhances compatibility in complex conflict scenarios through a joint generation mechanism of conflict potential values ​​and multiple resolution candidate paths; pre-verifies the actual effectiveness of candidate paths through shadow submission simulation, improving the stability and reliability of the target interface state; and supports partial rollback, offline merging, and cross-terminal state synchronization through reversible echo logs, enhancing system recoverability and collaborative continuity, thereby improving the accuracy of conflict resolution and ultimately enhancing the user experience.

[0088] Example 2:

[0089] Figure 2 The structure of the real-time conflict resolution system for UI component editing provided in Embodiment 2 of the present invention is shown. For ease of explanation, only the parts related to the embodiments of the present invention are shown, including:

[0090] The acquisition and parsing unit 201 is used to acquire multi-source real-time editing operation streams and generate editing intent atomic sequences; the graph mapping unit 202 is used to construct component semantic anchor point graphs and form candidate scopes.

[0091] Phase clustering unit 203 is used to perform phase encoding on the edit intention atoms in the edit intention atom sequence and form conflict candidate clusters; path generation unit 204 is used to calculate the conflict potential energy value between each pair of edit intention atoms in the conflict candidate cluster and generate resolution candidate paths; simulation decision unit 205 is used to perform shadow submission simulation and determine the target interface state; log synchronization unit 206 is used to write reversible echo logs and perform local rollback, offline merging or cross-terminal state synchronization.

[0092] In this embodiment of the invention, each unit of the real-time conflict resolution system for UI component editing can be implemented by a corresponding hardware or software unit. Each unit can be an independent hardware or software unit, or it can be integrated into a hardware or software unit. This is not intended to limit the invention.

[0093] Example 3:

[0094] Embodiment 3 of the present invention provides a non-volatile computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, executing the instructions described above. Figure 1 The method steps S101 to S106.

[0095] As an example, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as an external cache memory. By way of explanation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The memory components or memories disclosed in the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.

[0096] Example 4:

[0097] Embodiment 4 of the present invention provides a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions, which, when executed by a processor, cause the processor to perform the real-time conflict resolution method for UI component editing described in the above-described method embodiments. For example, executing the above-described... Figure 1 The method steps S101 to S106.

[0098] The embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0099] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general-purpose hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can exist in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer electronic device (which may be a personal computer, server, or network electronic device, etc.) to execute the methods of various embodiments or some parts of embodiments.

[0100] Among other things, conditional language such as “can,” “may,” “may,” or “may,” unless otherwise specifically stated or otherwise understood as in the context in which they are used, is generally intended to convey that a particular implementation may include (but not others) certain features, elements, and / or operations. Therefore, such conditional language is generally not intended to imply that features, elements, and / or operations are necessary for one or more implementations in any way, or that one or more implementations must include logic for determining whether such features, elements, and / or operations are included or will be performed in any particular implementation, with or without student input or prompts.

[0101] The contents already described herein in this specification and accompanying drawings include examples of methods and systems capable of providing real-time conflict resolution for UI component editing. Of course, it is not possible to describe every conceivable combination of elements and / or methods for the purpose of describing the various features of this disclosure, but it will be appreciated that many other combinations and substitutions of the disclosed features are possible. Therefore, it will be apparent that various modifications can be made to this disclosure without departing from the scope or spirit of this disclosure. Furthermore, or in alternatives, other embodiments of this disclosure may become apparent from consideration of this specification and accompanying drawings and from practice of this disclosure as presented herein. It is intended that the examples presented in this specification and accompanying drawings be considered illustrative rather than restrictive in all respects. Although specific terminology is used herein, it is used in a general and descriptive sense and is not intended for limiting purposes.

Claims

1. A real-time conflict resolution method for UI component editing, characterized in that, The method includes the following steps: Obtain multi-source real-time editing operation streams, and perform event granulation and semantic merging on the multi-source real-time editing operation streams to obtain an editing intent atomic sequence; Based on component tree relationships, layout constraint relationships, visual region relationships, and interaction binding relationships, a component semantic anchor graph is constructed, and the editing intent atoms in the editing intent atom sequence are mapped to the component semantic anchor graph to obtain the corresponding candidate scopes; Phase encoding and neighborhood expansion are performed on the edit intention atoms in the edit intention atom sequence located within the candidate scope to form conflict candidate clusters; For each pair of edit intent atoms in each of the aforementioned conflict candidate clusters, calculate the conflict potential energy value, and combine the intent preservation value and interface continuity value corresponding to the conflict candidate cluster to generate at least two resolution candidate paths; For each of the proposed resolution candidate paths, a shadow submission simulcast is performed, and the target resolution path is determined based on the shadow submission simulcast results to obtain the target interface state; The target interface state is published to the real-time collaborative session and written to the reversible echo log. Subsequent partial rollback, offline merging, or cross-terminal state synchronization are then performed based on the reversible echo log.

2. The method as described in claim 1, characterized in that, The first in the atomic sequence of the editing intent The first edit intention atom and the first in the semantic anchor map of the component The anchor coupling strength between component nodes is calculated according to Formula 1; Formula 1: ;in, The first atomic sequence representing the edit intention The first edit intention atom and the first in the semantic anchor map of the component Anchor point coupling strength between component nodes This indicates the anchor dimension index. Indicates the first The weight coefficients corresponding to each anchor dimension Indicates the first The edit intention atom in the first Intent features at each anchor point dimension With the first The component node is in the first Node features in each anchor point dimension Similarity between them Indicates the first The edit intention atom in the first Drift compensation amount in each anchor point dimension; The method further includes: determining component nodes with anchor point coupling strength greater than a preset coupling threshold as the main anchor point nodes of the editing intent atom.

3. The method as described in claim 2, characterized in that, The candidate scope is composed of the main anchor node, the adjacent nodes of the main anchor node in the component semantic anchor graph that satisfy a preset number of hops, and the associated nodes that share layout constraints or are interactively bound to the main anchor node.

4. The method as described in claim 1, characterized in that, The conflict potential energy value between each pair of edit intention atoms in the conflict candidate cluster is calculated according to Formula 2; Formula 2: ;in, Indicates the first in the conflict candidate cluster The edit intention atom and the first The conflict potential energy value between atoms with editing intent Indicates the first The edit intention atom and the first Geometric overlap between atoms intended for editing Indicates the first The edit intention atom and the first Semantic competition between atoms with editing intent Indicates the first The edit intention atom and the first The temporal antagonism between atoms with editing intent Indicates the first The edit intention atom and the first Compatibility retention between atoms with editing intent The weighting coefficients representing the geometric overlap are... The weighting coefficients representing the semantic competitiveness are... The weighting coefficients representing the time-dependent resistance are... The weighting coefficients representing the compatibility retention rate; The method further includes: marking edit intention atomic pairs whose conflict potential energy values ​​exceed a preset potential energy threshold as strong conflict pairs.

5. The method as described in claim 1 or 4, characterized in that, The resolution candidate path is generated by performing folding, transfer, and backfilling operations on the edit intent atoms in the conflict candidate cluster; The folding is used to merge semantically consistent editing intent atoms, the yielding is used to perform primary and secondary flow of mutually exclusive editing intent atoms, and the backfilling is used to supplement the subsequent rendering frames with editing results that are not directly effective but are compatible. The resolution candidate paths include at least two of the following: attribute overlap path, interval isolation path, behavior migration path, and binding delay path.

6. The method as described in claim 5, characterized in that, The path score for each of the candidate paths to be eliminated is calculated according to Formula 3; Formula 3: ;in, Indicates the first Path scoring for eliminating candidate paths, Indicates the first The intention is to preserve the value of the candidate path elimination. Indicates the first The interface values ​​for resolving candidate paths are continuous. Indicates the first The execution stability value of the candidate path elimination. Indicates the first The backoff perturbation value of each candidate path to be eliminated. This represents the weighting coefficient of the intended value. The weighting coefficients represent the continuity of the interface. This represents the weighting coefficient of the stable value. This represents the weighting coefficient of the backoff disturbance value; The method further includes selecting the candidate path with the highest path score as the preferred path candidate.

7. The method as described in claim 3, characterized in that, The preset potential energy threshold or path decision threshold is an adaptive threshold, which is calculated according to Formula 4. Formula 4: ;in, Indicates time Adaptive threshold, Indicates the basic threshold. Indicates the time Session conflict entropy, Indicates the time Frame stability, This represents the adjustment coefficient of the session conflict entropy. The adjustment coefficient representing the frame stability; The adaptive threshold is used to dynamically adjust the strong conflict determination or delayed submission determination.

8. The method as described in claim 7, characterized in that, The method further includes: when the score difference between the two candidate paths with the highest path scores is less than the adaptive threshold, generating a temporary dual-view rendering result, and determining the target resolution path after receiving a new editing intent atom or a user confirmation instruction.

9. The method as described in claim 1, characterized in that, The method further includes: After receiving a user correction operation, the user correction operation is reverse-mapped to the corresponding editing intent atom and the resolution candidate path, and the weight parameters in the anchor coupling strength, the conflict potential value, or the path score are updated.

10. A real-time conflict resolution system for UI component editing, characterized in that, The system includes: The acquisition and parsing unit is used to acquire multi-source real-time editing operation streams and generate editing intent atomic sequences; the graph mapping unit is used to construct component semantic anchor point graphs and form candidate scopes. The phase clustering unit is used to perform phase encoding on the edit intention atoms in the edit intention atom sequence and form conflict candidate clusters; the path generation unit is used to calculate the conflict potential energy value between each pair of edit intention atoms in the conflict candidate cluster and generate resolution candidate paths; the simulacrum decision unit is used to perform shadow submission simulacrum and determine the target interface state; the log synchronization unit is used to write reversible echo logs and perform local rollback, offline merging or cross-terminal state synchronization.