Text editing method and device, electronic equipment and storage medium
By constructing a delayed state object and a real-time priority strategy, the problem of user intent changes during AI asynchronous response was solved, thereby improving the stability and accuracy of the intelligent editor and enhancing the user experience.
Patent Information
- Application Number
- CN202610089632.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-22
- Publication Date
- 2026-05-15
AI Technical Summary
Existing technologies, when processing AI-generated asynchronous content, suffer from inaccurate replacement target locations or conflicts with real-time user intents due to changes in user interaction intent or loss of original state during response delays. They lack persistent text range management mechanisms, multi-priority intelligent replacement strategies, range validity checks and multi-level rollback mechanisms, and automatic format recognition and secure conversion of AI-generated content for AI asynchronous response scenarios.
By constructing a delayed state object and combining it with a priority strategy for real-time state selection, the target editing range is determined. A multi-level rollback mechanism and a visual highlight synchronization mechanism are introduced to ensure accurate judgment of user intent and stability of the editor during AI asynchronous response.
It enables intelligent editing during AI asynchronous response, is compatible with user change intentions, prevents the loss of original selections, improves the robustness of the editor and user experience, and ensures the safety and reliability of replacement operations.