This invention relates generally to processing data, and more particularly to performing undo/redo operations across application sessions.
Computer users may interact with an application over a series of sessions. For example, a user may open a word processing application to start a session, interact with a document during the session, and then close the document ending a session. Traditionally, undo/redo operations have been limited to operations a user performs during a given session. Once the session is ended, a user may be unable to undo or redo operations performed during that session. This may limit the utility of the undo/redo operations.
There is a need, therefore, for an improved method, article of manufacture, and apparatus for performing undo/redo operations across application sessions.
The present invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:
A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. While the invention is described in conjunction with such embodiment(s), it should be understood that the invention is not limited to any one embodiment. On the contrary, the scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications, and equivalents. For the purpose of example, numerous specific details are set forth in the following description in order to provide a thorough understanding of the present invention. These details are provided for the purpose of example, and the present invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the present invention is not unnecessarily obscured.
It should be appreciated that the present invention can be implemented in numerous ways, including as a process, an apparatus, a system, a device, a method, or a computer readable medium such as a computer readable storage medium or a computer network wherein computer program instructions are sent over optical or electronic communication links. Applications may take the form of software executing on a general purpose computer or be hardwired or hard coded in hardware. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention.
An embodiment of the invention will be described with reference to a data storage system in the form of a storage system configured to store files, but it should be understood that the principles of the invention are not limited to this configuration. Rather, they are applicable to any system capable of storing and handling various types of objects, in analog, digital, or other form. Although terms such as document, file, object, etc. may be used by way of example, the principles of the invention are not limited to any particular form of representing and storing data or other information; rather, they are equally applicable to any object capable of representing information.
An application's undo/redo functionality may either undo changes made to data, or to redo changes previously undone. For example, if a user is working in Microsoft Word, and accidentally deletes a paragraph, the user may hit “undo” (e.g. CTRL +Z) to undo the delete. Similarly, redo may be viewed as a user's intention to recover data that was removed by undo. Following the above example, if the user decided that the paragraph actually should be deleted, the user may hit “redo” (e.g. CTRL +Y) to redo the delete.
Undo/redo operations, however, have traditionally been limited to a single application session. Once the session has ended, the user may no longer be able to undo and/or redo any operations. For example, if a user undoes changes in a document, saves the document, and closes the word processing application (thereby ending the session), that user will not be able to redo the changes in a future session. The present disclosure addresses these limitations.
The enhanced techniques described herein enable undo/redo operations across multiple application sessions.
In one example, such as that depicted in
Black triangles in
Periodically throughout the dataset's life cycle, versions may be created on persistent storage. Versions may be created at set intervals, at a user's request, each time the dataset is saved (i.e. at the arrows), at every data operation (vertical line), and/or at any other time. Once created, a version may be used to facilitate cross-session undo/redo operations.
In some embodiments, undo/redo operations within a single session may operate as they normally would. If a user or system attempts to “undo” past the start of the current session, however, a previous version of the dataset may be identified and loaded. Since that version contains all of the metadata associated with the data operations, undo can continue into the previous session.
For example, in
The present disclosure may also enable redo across multiple sessions. A user could, for example, load a version of the dataset that is not the most current. For example, any dataset version depicted in
In some embodiments, versions may only contain the delta, or difference, between themselves and the last version that was taken. For example, version 1 may only contain content and metadata from the dataset creation to itself. Version 2, however, may only contain the content and metadata between version 1 and itself. Storing the delta may be beneficial as it reduces the amount duplicate content and/or metadata persistently stored. In some embodiments, content and metadata may be deduplicated separately. For example, metadata may be stored at one location on persistent storage while content is stored at another.
Turning now to
At block 200, data operations occurring during an application session may be recorded. These data operations could be, for example, the vertical lines discussed in
At block 202, the dataset may be stored on a non-transitory computer readable medium. This could be, for example, spinning disk or a solid state drive. In some embodiments, storing the dataset to disk may comprise storing data content as part of a version. Additionally or alternatively, it may be a standard commit of the data, such as when a user saves a document.
At block 204, data operations occurring during the session may also be saved to the persistent storage as metadata. These data operations could be, for example, the vertical black lines depicted in
In some embodiments, the stored metadata may also be part of a saved version. The metadata may be stored either with the dataset content, or separately from it. Metadata may also include more than just data operations. For example, it may include information about which user performed the operations. This may enable another user to undo/redo that user's changes, and/or prevent a user from undo/redoing another user's changes. It may also be used to create an audit of changes a given user made to a document. Additionally or alternatively, the metadata may include security settings as they existed at a particular point in time. This may enable those security settings, such as user access, to be undone/redone like the data content. Metadata may also include timestamps, and/or customizable tags, such as a character string.
In some embodiments, the stored data and stored metadata together may comprise a version. At block 206, the version may be loaded during a second session. This could be, for example, a session occurring at a later point. The version may be restored as the result of a user performing an undo operation past the start of the second session, or as the result of a user trying to redo data past their current version.
Finally, at block 208, the data may be manipulated using the metadata. This could include, for example, redoing data operations and/or undoing data operations.
System IO controller 306 may be in communication with display 310, input device 312, non-transitory computer readable storage medium 314, and/or network 316. Display 310 may be any computer display, such as a monitor, a smart phone screen, or wearable electronics and/or it may be an input device such as a touch screen. Input device 312 may be a keyboard, mouse, track-pad, camera, microphone, or the like, and storage medium 314 may comprise a hard drive, flash drive, solid state drive, magnetic tape, magnetic disk, optical disk, or any other computer readable and/or writable medium. Storage device 314 may also reside inside general purpose computer 300, rather than outside as shown in
Network 316 may be any computer network, such as a local area network (“LAN”), wide area network (“WAN”) such as the internet, a corporate intranet, a metropolitan area network (“MAN”), a storage area network (“SAN”), a cellular network, a personal area network (PAN), or any combination thereof. Further, network 316 may be either wired or wireless or any combination thereof, and may provide input to or receive output from IO controller 306. In an embodiment, network 316 may be in communication with one or more network connected devices 318, such as another general purpose computer, smart phone, PDA, storage device, tablet computer, or any other device capable of connecting to a network.
For the sake of clarity, the processes and methods herein have been illustrated with a specific flow, but it should be understood that other sequences may be possible and that some may be performed in parallel, without departing from the spirit of the invention. Additionally, steps may be subdivided or combined. As disclosed herein, software written in accordance with the present invention may be stored in some form of computer-readable medium, such as memory or CD-ROM, or transmitted over a network, and executed by a processor.
All references cited herein are intended to be incorporated by reference. Although the present invention has been described above in terms of specific embodiments, it is anticipated that alterations and modifications to this invention will no doubt become apparent to those skilled in the art and may be practiced within the scope and equivalents of the appended claims. More than one computer may be used, such as by using multiple computers in a parallel or load-sharing arrangement or distributing tasks across multiple computers such that, as a whole, they perform the functions of the components identified herein; i.e. they take the place of a single computer. Various functions described above may be performed by a single process or groups of processes, on a single computer or distributed over several computers. Processes may invoke other processes to handle certain tasks. A single storage device may be used, or several may be used to take the place of a single storage device. The disclosed embodiments are illustrative and not restrictive, and the invention is not to be limited to the details given herein. There are many alternative ways of implementing the invention. It is therefore intended that the disclosure and following claims be interpreted as covering all such alterations and modifications as fall within the true spirit and scope of the invention.
This application is a continuation-in-part of co-pending U.S. Patent Application No. 13/077,780 (Attorney Docket No. EMC-11-205), filed Mar. 31, 2011, entitled “AGGREGATE UNDO REDO,” which is incorporated herein by reference for all purposes
Number | Date | Country | |
---|---|---|---|
Parent | 13077780 | Mar 2011 | US |
Child | 15404493 | US |