Patent ID: 11914584
Assignee: LEMON INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 5:
6. The method according to claim 1, after the starting the command group storage unit and starting the snapshot session in response to the inputted startGroup command, further comprising:
putting at least one target object into the snapshot session in response to the inputted snapshot capture command, wherein each target object corresponds to an instance of a data class in the target software;
updating a status of each target object in the snapshot session based on a simulation operation;
in response to an inputted new startGroup command, closing the snapshot session, extracting each target object from the snapshot session to obtain change information of each target object before and after updating, generating a command pair for each target object according to the change information, pressing the command pair into the command group storage unit, putting all target objects extracted from the snapshot session into a temporary object stack, restarting the snapshot session, and starting a new command group storage unit;
in response to the inputted operation execution command, closing the snapshot session, and determining that there is no object in the snapshot session and no change information is generated; executing a target command corresponding to the operation execution command, pressing the target command into the new command group storage unit, starting the snapshot session, and restoring the object in the snapshot session, wherein the snapshot session is currently empty;
in response to the inputted endGroup command, closing the snapshot session, determining that the snapshot session is currently empty, and closing the new command group storage unit;
restarting the snapshot session, and restoring all target objects in the temporary object stack to the snapshot session;
updating the status of each target object in the snapshot session based on the simulation operation again;
in response to an endGroup command inputted again, closing the snapshot session, extracting each target object from the snapshot session to obtain new change information of each target object before and after updating, and generating a new command pair for each target object according to the new change information, pressing the new command pair into the command group storage unit, and closing the command group storage unit; and
pressing a reset command into the reset command stack of the target software by using all command groups of the command pair and the target command nested in all command group storage units as the reset command.