Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for canceling and repeating interface operations in electronic device

A technology of interface operation and electronic equipment, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problems of large number of changed data, long development time, complex logic processing, etc., and save development time , The effect of shortening the time spent

Inactive Publication Date: 2014-12-24
SHENZHEN LAN YOU TECH
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Inserting a row is a simple interface operation. If it is a complex interface operation, the logic is more complicated, and there are many changed data, the implementation of undo will be very complicated, and the undo processing logic of each interface operation is different.
[0005] It can be seen that the logic processing of the existing undo and redo scheme is complicated. When there are many interface operation items and the processed data is huge, it will take a lot of time to implement undo and redo operations for each interface operation.
In addition, if a new interface operation function is added, it is necessary to edit the new function to redo the logic of the undo and redo operation, which requires a long development time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for canceling and repeating interface operations in electronic device
  • Method and system for canceling and repeating interface operations in electronic device
  • Method and system for canceling and repeating interface operations in electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further explained below in conjunction with the accompanying drawings and embodiments.

[0052] figure 1 It is a flow chart of the first embodiment of the method for undoing and redoing interface operations in an electronic device of the present invention, such as figure 1 As shown, in the present embodiment, the method of the present invention comprises the following steps:

[0053] S1. After each interface operation, obtain the operation data, generate the clone data of the operation data and store it in the history array;

[0054] S2. When undoing the interface operation, obtain the clone data of the previous interface operation of the current interface operation from the history array, and redraw the operation interface according to the acquired clone data;

[0055] S3. When redoing the interface operation, obtain the clone data of the interface operation to be redone from the history array, and redraw the operation interface accordin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a system for canceling and repeating interface operations in an electronic device. The system comprises a clone data generation and storage unit, an interface operation canceling unit and an interface operation repeating unit. The method includes the steps: S1, acquiring operation data, generating clone data of the operation data and storing the clone data into a historical array after each interface operation; S2, acquiring the clone data of a previous interface operation of a current interface operation from the historical array and redrawing an operation interface according to the acquired clone data when the interface operations are canceled; S3, acquiring the clone data of the interface operations needing repeating from the historical array and redrawing the operation interface according to the acquired clone data when the interface operations are repeated. Processing logics of operation canceling and repeating portions are the same, development time is saved, canceling and repeating functions of new functions do not need to be developed when the new functions are added, and time consumed for canceling and repeating each interface operation is shortened.

Description

technical field [0001] The invention relates to an electronic device interface operation technology, and more specifically, relates to a method and system for undoing and redoing interface operations in an electronic device. Background technique [0002] In software that provides interface operations, such as software that provides graphical interface operations, in order to facilitate users to change the interface, it is generally necessary to provide multi-level undo and redo functions. [0003] The existing undo and redo scheme is based on an interface operation, provides its opposite interface operation, and needs to save the data changed by each operation, so it deals with the partial undo and redo of the operation interface. For example, if you perform an interface operation for inserting a line, inserting a line means inserting a blank line, and the program will record the line number of the inserted line, and the undo operation is to delete the line just inserted acc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/0481
Inventor 马冬
Owner SHENZHEN LAN YOU TECH