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.

CN122047178APending Publication Date: 2026-05-15IFLYTEK CO LTD
0 Cites 0 Cited by

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

Technical Problem

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.

Method used

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.

Benefits of technology

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.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention provides a text editing method and device, electronic equipment and a storage medium, and belongs to the technical field of artificial intelligence. The text editing method comprises the steps that a delay state object containing position information is constructed in response to an instruction, and a generation request is sent; receiving the generated content; and obtaining a current real-time selection state of the editor, selecting one of an area corresponding to the real-time selection state and an area corresponding to the delay state object to determine a target editing range based on a preset priority strategy, and finally updating the text according to the text content in the target editing range. According to the method, the persistent delay state object is introduced as the historical backup, and the multi-level priority decision is performed in combination with the real-time cursor state, so that the time difference problem of the asynchronous response of the artificial intelligence model can be effectively solved, the change intention generated by the user during the waiting period can be compatible, the original selected area can be prevented from being lost, and the user experience is improved. Therefore, the robustness of intelligent editing and the user experience are remarkably improved.
Need to check novelty before this filing date? Find Prior Art