A content arrangement interaction method and system based on a multi-level spatial topology
Patent Information
- Application Number
- CN202610757993.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-29
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]本发明要解决的技术问题在于,针对传统线性文本编辑在人机协同创作中存在的逻辑重组摩擦力大、认知负荷过载、生命周期管理复杂以及缺乏多层级非线性持久化关联的问题,提供一种基于多层级空间拓扑的内容编排交互方法及系统
1. 实现了对文本数据流的非线性解构与渐进式物理级重组,打破了传统编辑器的线性物理束缚,允许用户像拼搭积木一样自由组合语料,大幅降低了长文逻辑重构时的交互摩擦力;
Smart Images

Figure CN122593892A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer human-computer interaction and text data processing technology, specifically relating to a content arrangement and interaction method, system and computer-readable storage medium based on multi-level spatial topology. Background Technology
[0002] With the widespread adoption of AI technologies such as Large Language Models (LLM), human-computer collaborative creation is gradually becoming an important method for content production among high-level knowledge workers. However, existing collaborative writing systems and generative AI-assisted tools mostly adopt traditional chat interfaces or linear document editors.
[0003] In practical applications of long-form writing and complex logical construction, such traditional linear editing interfaces reveal significant interactive flaws: First, the multi-round generated text is monotonously stacked linearly on the canvas or interface, requiring frequent copy-and-paste physical operations for logical reorganization, reconstruction, and structural adjustment of local corpora, resulting in significant interaction friction. Second, the traditional linear organizational form cannot support the non-linear, leaping thinking of humans and lacks multi-level topological connections, making it easy for users to become disoriented when faced with large amounts of AI-generated content. Furthermore, the system struggles to perform fine-grained local deconstruction, semantic tracing, and lineage analysis of text blocks. This not only limits users' micro-management of content direction but also easily leads to cognitive inertia or loss of cognitive sovereignty, severely reducing the efficiency of data flow and logical accumulation in the human-computer co-creation process. Summary of the Invention
[0004] The technical problem this invention aims to solve is to provide a content arrangement and interaction method and system based on multi-level spatial topology, addressing the issues of high logical restructuring friction, cognitive overload, complex lifecycle management, and lack of multi-level nonlinear persistent association in traditional linear text editing in human-computer collaborative creation.
[0005] To address the aforementioned technical problems, this invention provides a content arrangement and interaction method based on a multi-level spatial topology, applied to a human-computer collaborative interaction system. The method includes: 1. In response to a trigger command, generate independent content nodes containing text information in a borderless canvas; 2. Monitor the spatial coordinates of nodes in real time. When the first node is detected to be moved to the preset spatial adsorption threshold range of the second node or group, perform spatial splicing to combine the relevant nodes into a group entity with a local linear structure. 3. Within the group entity, the underlying linked list index is dynamically updated based on the relative physical drag coordinates of each child node, and a linear rearrangement algorithm is executed to adjust the node hierarchy order and view position in real time; 4. In response to the drag or delete operation of the target node, the hierarchical binding of the node to the group entity is released; the number of active child nodes in the group entity is monitored in real time, and when the number decreases to a preset threshold of 1, the self-destruction logic is triggered, the group entity is released and the only child node is released to the canvas root level to reclaim system resources. 5. In response to logical construction instructions, establish directional logical connections between arbitrary nodes and group entities to weave local linear structures into a global nonlinear directed graph topology network.
[0006] Furthermore, for text editing and topological deformation within group entities or between independent nodes, the method also includes: Obtain the cursor focus coordinates of the input box within the node and listen for trigger commands, including commands originating from physical hardware input, virtual interface interaction, or commands automatically initiated by the system and artificial intelligence algorithms; 1. In response to a content splitting instruction: Obtain the truncation position index, and based on the truncation position index, split the text data of the original node into multiple string fragments, with each string fragment being carried by multiple content nodes; if the original node was an independent content node before splitting, a group entity is automatically generated, and the multiple content nodes carrying the string fragments are included in it; if the original node was already in a group entity before splitting, the newly added content nodes after splitting are directly inserted into the group entity in hierarchical order, realizing the hot conversion of text flow to a local linear structure; 2. In response to the content merging command: when it is detected that the current cursor is at the first character index position of the text and there is a predecessor child node, the text data of the predecessor child node is concatenated with the text data of the current node, and the concatenated text data is carried by a single target node; the destruction logic of redundant child nodes that do not carry concatenated text is triggered synchronously; and based on the real-time monitoring mechanism, when the destruction logic causes the number of active child nodes in the group entity to decrease to 1, the self-destruction logic of the group entity is triggered. 3. Responding to cross-node navigation commands: Based on the physical coordinate mapping of the node in the canvas or the linked list index within the group, calculate the target neighboring node and automatically transfer the input focus to the specific character index of the target neighboring node to achieve seamless cursor roaming across nodes.
[0007] Furthermore, regarding the human-computer collaborative interaction process, the method further includes: monitoring the interaction state between the user and the content node input box; triggering an intent locking mechanism when input focus is detected to block global shortcut key offset at the system level to ensure text flow input; and automatically releasing the intent locking mechanism when the input box loses focus.
[0008] Furthermore, the method also includes: assigning an identity attribution identifier to the content node to distinguish between human entity input and artificial intelligence generation.
[0009] Furthermore, the method also includes: calculating the in-degree and out-degree values of each node and group entity based on the logical connection line; when the in-degree or out-degree value of an entity is greater than 1, marking the entity as a nonlinear key node containing divergent or convergent characteristics, and persistently storing the relevant topology data and identity attribution identifier.
[0010] To address the aforementioned technical problems, the present invention also provides a content orchestration and interaction system based on a multi-level spatial topology, the system comprising: 1. Topology control and rendering module, used to generate content nodes in the canvas, calculate spatial coordinate parameters in real time to perform spatial snapping, assembly and splicing, drag and detachment between nodes, and group self-destruction logic based on the threshold value 1; 2. A linear rearrangement and morphological deformation module is used to dynamically refresh the linked list index, arrangement order and view level of nodes based on vertical coordinate data within the group entity, and to perform dynamic segmentation and multi-instantiation of text content, concatenation of target nodes and destruction of redundant nodes based on instructions, as well as cross-node roaming of input focus; 3. Nonlinear logic construction module, used to draw directional logical connection lines between nodes and group entities, and maintain the global directed graph data structure.
[0011] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the above-described method.
[0012] The beneficial effects achieved by this invention are mainly reflected in: 1. It achieves non-linear deconstruction and progressive physical-level reorganization of text data streams, breaking the linear physical constraints of traditional editors, allowing users to freely combine corpora like building blocks, and significantly reducing the interactive friction during the logical reconstruction of long texts; 2. It breaks down the physical isolation boundary between text editing and spatial topology components. It innovatively realizes multi-source triggering and imperceptible content node topology mapping. During the creation and reconstruction process, users or artificial intelligence algorithms can adaptively complete the dimensionality reduction (swallowing and merging) and dimensionality increase (fission of multiple nodes) of the data structure without the need for complex physical dragging, which greatly improves the flow of continuous creation; 3. By introducing a group entity child node counter and self-destruction logic, automated lifecycle management of complex nested entities in nonlinear space is achieved, effectively releasing and reclaiming system rendering resources while ensuring stable visual entropy of the interface; 4. A highly sensitive component-level intent locking mechanism was designed to accurately determine the user's actual physical input state, preventing global shortcut key conflicts or AI spontaneous intervention from interrupting the original logical flow of human creators, thus building a fundamental defense for human cognitive sovereignty at the interaction layer. 5. By combining the in-degree and out-degree parsing of directed connections, implicit human divergent and convergent thinking behaviors are transformed into explicit graph topology data nodes, providing a high-precision structured data foundation for subsequent user collaboration feature classification and system adaptive computing power adjustment. Attached Figure Description
[0013] Figure 1 is a main flowchart of the content arrangement and interaction method provided in an embodiment of the present invention.
[0014] Figure 2 is a schematic diagram of the system logic architecture provided in an embodiment of the present invention.
[0015] Figure 3 is a schematic diagram of the multi-level spatial topology data structure change provided in the embodiment of the present invention.
[0016] Figure 4 is a schematic diagram of the evolution of spatial adsorption and group interaction states provided in an embodiment of the present invention.
[0017] Figure 5 is a schematic diagram of the text layer topological state evolution based on cursor state provided in an embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0019] In a preferred embodiment of the present invention, the system not only supports spatial snapping with mouse drag, but also breaks through the physical boundaries of traditional spatial components. Based on the underlying time-series event listening stream, a multi-dimensional topological adaptive morphing mechanism at the text level is constructed.
[0020] The underlying implementation of the multi-source triggering and fully inclusive node splitting mechanism: The system's event listening layer runs silently and captures triggering commands. These commands are not limited to physical line break commands input by the user through peripherals (such as the Enter key on a physical keyboard), but also fully include user-triggered virtual interface interactions (such as clicking a paragraph splitting button) and splitting requests spontaneously initiated by the system's underlying algorithm and AI semantic analysis engine based on text logical density. When a content splitting command is activated, the core processing module instantly captures the current cursor position or the truncation position index of a preset splitting point. The system utilizes higher-order string truncation logic to split the original node's text data into multiple independent string fragments, and instantly instantiates multiple content nodes within the corresponding canvas level or group to carry these string fragments (e.g., splitting independent node A into node B and node C, or retaining the original node A and deriving a new node B). At this point, the system performs a status check: if the original node was in an independent, detached state before splitting, the system will immediately and automatically create and activate a group entity with an invisible boundary, and inject multiple new content nodes carrying the string fragment into the child node list of this group entity; if the original node was already in a group entity before splitting, the system will accurately locate the original node index in the list, directly insert the newly added content nodes after splitting into the group entity in syntactic order, and call the local reordering algorithm to refresh the rendering, thereby completing the imperceptible structural dimensionality upgrade without disrupting the context flow.
[0021] The underlying implementation of the full-encompassing node merge mechanism: When the system detects a backspace command (such as a backspace key, virtual deletion, or a semantic collapse command initiated by the system / AI), and determines that the current cursor index is located at the first character boundary, and that it has a valid predecessor child node in the current linked list, the system triggers a reverse merge morphism. The system extracts the text data of the predecessor child node and the text data of the current node, performs high-concurrency layer concatenation or appending, and encapsulates the concatenated complete text content into a single target node. Technically, the target node can be the original predecessor node, the original current node, or a newly instantiated carrying entity. After the text content is aggregated, the system synchronously triggers memory release and self-destruction logic for the remaining redundant child nodes that do not carry the concatenated text. After the destruction action is completed, the system immediately calls the topology control unit to recount the active child node counters within the current group entity. If the merging and destruction action causes the number of active child nodes in the group entity to decrease to the critical value of 1, the system will completely release the group entity and release its only remaining child node back to the root level of the canvas, thereby achieving automatic dimensionality reduction of the data structure to a flattened form and precise resource reclamation.
[0022] The underlying implementation of spatial cursor navigation: To ensure the absolute continuity of the input flow for long text, the system rewrote the default event routing mechanism for the up / down arrow keys. When the cursor moves upwards from the first line or downwards from the last line of a node's text, causing it to exceed the current input box boundary, the system performs a spatial ray search or array traversal based on the node's local coordinates in the canvas's Transform or its upstream and downstream indices within the Group's internal array. This precisely locates the nearest valid input field in physical space. Subsequently, the system calls the SetFocus method to move the cursor to the adjacent node, thus providing the user with a seamless navigation experience equivalent to traditional Word's continuous text editing.
Claims
1. A content orchestration and interaction method based on multi-level spatial topology, characterized in that, The method, applied to a human-computer collaborative interaction system, includes: In response to a trigger command, generate independent content nodes containing text information in a borderless canvas; The spatial coordinates of nodes are monitored in real time. When the first node is detected to be moved to the preset spatial adsorption threshold range of the second node or group, spatial splicing is performed to combine the relevant nodes into a group entity with a local linear structure. Within the group entity, the underlying linked list index is dynamically updated based on the relative physical drag coordinates of each child node, and a linear rearrangement algorithm is executed to adjust the node hierarchy order and view position in real time. In response to a drag-away or deletion operation on a target node, the node is unbound from the hierarchical binding of the group entity; the number of active child nodes in the group entity is monitored in real time, and when the number decreases to a preset threshold of 1, the self-destruction logic is triggered, the group entity is released and the only child node is released to the canvas root level to reclaim system resources. In response to logical construction instructions, directional logical connections are established between arbitrary nodes and group entities to weave local linear structures into a global nonlinear directed graph topology network.
2. The method according to claim 1, characterized in that, For text editing and topological deformation within group entities or between independent nodes, the method further includes: Monitor the cursor focus coordinates and physical key commands within the input box of the monitoring node; In response to content splitting instructions (such as the Enter key): the system obtains the truncation index of the current cursor in the string in real time, and splits the text data of the original node into a preceding string and a following string based on the truncation index; instantiates a new node to carry the following string; if the original node is an independent content node, the system automatically generates a group entity and includes the original node and the new node as child nodes in it, realizing the hot conversion of text flow to a local linear structure. In response to content merging instructions (such as the backspace key): when it is detected that the current cursor is at the first character index position of the text and there is a predecessor child node, extract the text data of the predecessor child node and perform string prepend concatenation with the current node; synchronously trigger the destruction logic of the predecessor child node, and reposition the cursor focus to the index position of the concatenation point; In response to cross-node navigation commands (such as arrow keys): Based on the physical coordinate mapping of the node in the canvas or the linked list index within the group, calculate the target neighboring node and automatically transfer the input focus to the specific character index of the target neighboring node to achieve seamless cursor roaming across nodes.
3. The method according to claim 1, characterized in that, For the aforementioned human-computer collaborative interaction process, the method further includes: Monitor the user's interaction with the content node input box, and trigger the intent locking mechanism when the input focus is activated to block the global shortcut key offset at the system level to ensure text flow input; Assign an identity identifier to the content node to distinguish between human entity input and artificial intelligence generation; Based on the logical connection lines, calculate the in-degree and out-degree values of each node and group entity, mark entities with an in-degree or out-degree greater than 1 as non-linear key nodes, and persistently store the relevant topology data and identity attribution identifiers.
4. A content orchestration and interaction system based on multi-level spatial topology, characterized in that, The system includes: The topology control and rendering module is used to generate content nodes in the canvas, calculate spatial coordinate parameters in real time to perform spatial snapping, assembly and splicing, drag and detachment between nodes, and group self-destruction logic based on the threshold value 1. The linear reordering module is used to dynamically refresh the linked list index, sorting order, and view hierarchy of nodes within the group entity based on vertical coordinate data; The nonlinear logic construction module is used to draw directional logical connection lines between nodes and group entities, and maintain the global directed graph data structure.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 2.