Operation control method, device and storage medium

By introducing undo pointers and recovery pointers into the operation record stack, and supporting operation merging and maximum operand control, the problem of insufficient flexibility and consistency of the undo recovery mechanism in the processing of complex operation sequences in the prior art is solved, and more flexible and efficient operation management is achieved.

CN118819502BActive Publication Date: 2025-03-25GUANGZHOU BAOLUN ELECTRONICS CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202411053365.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2025-03-25
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

The existing stack structure undo recovery mechanism is not flexible enough when dealing with complex operation sequences, and it is difficult to cope with multi-branch and multi-level undo needs. In a complex multi-user collaboration environment, it is difficult to ensure the consistency and correctness of undo recovery operations.

Method used

By introducing undo pointers and recovery pointers into the operation record stack, and supporting operation merging, maximum operand control and serialization functions, the call, undo and recovery functions of operations are optimized.

Benefits of technology

Improves the flexibility and applicability of the system, supports complex operational requirements, ensures consistency and correctness of undoing and recovery operations, and optimizes memory usage and performance performance.

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

Abstract

The present application discloses an operation control method, device and storage medium, belonging to the field of computer technology. The method comprises: when a target operation in a target application is called, detecting whether a recorder is in an enabled state; if the recorder is in an enabled state, executing the target operation, and writing the target operation into an operation record stack, pointing an undo pointer to the location of the target operation, and pointing a restore pointer to the location of a blank record; when the target application triggers an undo operation or a restore operation, printing the operation record of the target application in the operation record stack; modifying the positions of the undo pointer and the restore pointer in the operation record to obtain a modified operation record; and executing the undo operation or the restore operation according to the modified operation record to optimize the functions of calling, undoing and undoing and restoring operations, meet the complex operation requirements of users in different applications, and improve the flexibility and applicability of the system.
Need to check novelty before this filing date? Find Prior Art