Traditional collaborative editing tends to be performed serially. Users take turns accessing a document, editing the document, and storing their edits. To inhibit editing conflicts, the accessing user may place a lock on the file to inhibit other users from editing the document when the accessing user is editing the document. The iterative editing process can cause delays since each user may wait for a turn at editing the document. In addition, the iterative editing process may be difficult to manage. For example, each user may need to keep track of who is editing which portions of the document, which version of the document is the most recent, and when the user will have a turn.
In other types of traditional collaborative editing, each user can edit a different copy of a document. Subsequently, all of the edited copies may be merged into a single document. This large scale merge also may cause delays, lead to numerous editing conflicts, and/or be difficult to manage. For example, the user responsible for merging the documents may be required to track the relationship between the documents. The user also may be responsible for resolving conflicts among two or more of the edited copies.
It is with respect to these and other considerations that the present disclosure has been made.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended as an aid in determining the scope of the claimed subject matter.
Embodiments of the present disclosure are generally directed to enabling a user to resolve editing conflicts arising when synchronizing a data file in a collaborative environment. Each user authoring a user copy of a data file may resolve editing conflicts between a master copy of the data file and the user copy. Updates from the user copy of the data file may be incorporated into the master copy after editing conflicts have been resolved.
According to aspects of the disclosure, an authoring application enables a user to selectively show and hide editing conflicts within a user copy of a data file. The authoring application enables free editing of the user copy regardless of whether or not editing conflicts are shown or hidden. According to other aspects, authoring application provides a contextual user interface that enables a user to resolve the displayed editing conflicts.
In some embodiments, showing editing conflicts includes annotating conflicting content. In one embodiment, annotating conflicting content indicates how the content conflicts. In another embodiment, only conflicting content inserted, revised, and/or deleted within the user copy is annotated.
These and other features and advantages will be apparent from a reading of the following detailed description and a review of the associated drawings. It is to be understood that both the foregoing general description and the following detailed description are explanatory only and are not restrictive of aspects as claimed.
In the following detailed description, references are made to the accompanying drawings that form a part hereof, and in which are shown by way of illustrations specific embodiments or examples. While the disclosure will be described in the general context of program modules that execute in conjunction with an application program that runs on an operating system on a computer system, those skilled in the art will recognize that the disclosure also may be implemented in combination with other program modules. The embodiments described herein may be combined and other embodiments may be utilized without departing from the spirit or scope of the present disclosure. The following detailed description is therefore not to be taken in a limiting sense, and the scope of the invention is defined by the appended claims and their equivalents.
In accordance with the principles of the present disclosure, a collaborative authoring application provides an authoring environment in which one or more users can edit one or more data files (e.g., word processing documents, presentation documents, spreadsheet documents, pictures or other images, sound files, software applications, executable code, etc.) via editing operations (e.g., insertion, revision, and/or deletion of content and/or metadata). Each user obtains a user copy of the data file based on a version of the data file represented by a master copy. A user may edit the user copy of the data file to create a new version of the data file and periodically synchronize the new version with the master copy.
Synchronization, as the term is used herein, refers to the sending and/or receiving of one or more version updates between the master copy of the data file and a user copy of the data file to create a common version of the data file. For example, each user periodically may send to the master copy a version update representing the new version of the data file and periodically may receive from the master copy a version update representing a current version of the master copy (e.g., which may reflect edits performed by other users).
As briefly described above, embodiments of the present disclosure are directed to enabling a user to resolve editing conflicts arising when synchronizing a data file in a collaborative environment. In general, editing conflicts may arise when the master copy of the data file changes (e.g., editing operations are performed on the master copy) between when a user copy is obtained and the user copy is synchronized with the master copy or between synchronizations. Such changes to the master copy will be referred to herein as “intervening changes.”
An editing operation performed on a user copy of the data file results in an editing conflict, as the term is used herein, when the editing operation interferes with an intervening change made to the master copy (i.e., or vice versa). For example, if a user performs an editing operation in a user copy of a data file to revise a first data unit that was deleted in a master copy of the data file by an intervening change, then the editing operation resulting in the revision of the first data unit would conflict with the editing operation resulting in the deletion of the first data unit in the master copy.
Referring now to the drawings,
The authoring system 100 also includes at least one user computing device 110 that may be communicatively coupled to the storage device 120. As the term is used herein, a user computing device 110 includes any device configured to obtain and author a user copy 155 of a data file from a master copy 150 of the data file. As the term is used herein, authoring a data file may include creating the data file and/or editing the data file via editing operations. Each of the user computing devices 110 can author the data file by creating a user copy 155 of the data file based on the master copy 150. The user device 110 may edit the user copy 155 when the user device 110 is communicatively coupled to the storage device 120 (i.e., online) or when the user device 110 is disconnected from the storage device 120 (i.e., offline).
The user copy 155 of the data file may be synchronized when the user computing device 110 communicatively couples to the storage device 120 (i.e., is online) and periodically sends to the storage device 120 one or more updates to be incorporated into the master copy 150 and, thereby, shared with other user computing devices. Synchronization of the user copy 155 also includes periodically obtaining from the storage device 120 updates from the master copy 150 that originated from other user computing devices. When a user computing device 110 is offline, the user computing device does not synchronize with the storage device 120 and, hence, the other user computing devices.
Additional details pertaining to synchronization of a user copy of a data file with a master copy can be found in co-pending application Ser. No. 11/938,082, filed Nov. 9, 2007, and entitled “Collaborative Authoring,” the disclosure of which is hereby incorporated herein in its entirety. Additional details pertaining to synchronization when the user computing device is offline can be found in co-pending application Ser. No. 11/957,010, filed Dec. 14, 2007, and entitled “Collaborative Authoring Modes,” the disclosure of which is hereby incorporated herein in its entirety.
In the example shown in
The user computing devices 110A, 110B, 110C, 110D can be a different device from the storage device 120 or can include different user accounts implemented on the storage device 120. In one embodiment, a device that acts as a storage device 120 for one data file may act as a user computing device 110 for a different data file and vice versa. In one embodiment, the storage device 120 can be a server computing device and the user computing devices 110A, 110B, 110C, 110D can be client computing devices.
According to aspects of the disclosure, updates to the data file include content updates and/or metadata updates. As the term is used herein, content updates refer to any editing operation made to the substantive content of a data file. For example, content updates for a word processing document can include added paragraphs (i.e., or sections thereof), deleted paragraphs (i.e., or section thereof), revised paragraphs (i.e., or sections thereof), and additions, deletions, and/or changes to tables, charts, images, or other such objects. In another embodiment, content updates for a presentation document can include added, deleted, and/or revised pictures, text, animations, sounds, and other such data objects.
As the term is used herein, metadata updates refer to any editing operation made to metadata of the data file. Non-limiting examples of metadata include content locks, presence information, and other such data. Presence information indicates which users have indicated an intention to edit the document. Content locks inhibit editing of any content within the lock by users that do not own the lock. For example, content locks may inhibit editing conflicts by indicating which portions of a document or other data file have been claimed by another user. In some embodiments, the content locks can prevent (i.e., bar) a user from editing a portion of a document that has been claimed by another user. In other embodiments, however, the user can choose to break the content lock and edit the portion of the data file. In such cases, the authoring application can warn the user that conflicts may arise when editing the locked portion.
As shown in
In general, the user computing devices 110 can synchronize content updates separately from metadata updates. In some embodiments, metadata updates are automatically synchronized among the storage device 120 and user computing devices 110, whereas content updates from each user computing device 110 are synchronized at the request of the respective user. In one embodiment, the authoring environment 100 may synchronize content updates only when editing conflicts do not exist (i.e., or have been resolved), but may synchronize metadata updates regardless of existing editing conflicts.
In one embodiment, an editing conflict may stem from a content update received from the master copy. In such an embodiment, changes to content 152′ and/or metadata 154′ of the user copy 155 interfere with intervening changes to the content 152 of the master copy 150. Such editing conflicts are referred to herein as mergeable conflicts. For example, in one embodiment, the same data unit may have been edited differently in the user copy and the master copy of the data file in between synchronizations. In another embodiment, the data unit may have been edited in the master copy 150 before a content lock obtained on the data unit in the user copy 155 was synchronized with the master copy 150.
In another embodiment, an editing conflict may stem from a metadata update received from the master copy 150. In such an embodiment, changes to the content 152′ and/or metadata 154′ of the user copy 155 interfere with intervening changes to the metadata 154 of the master copy 150 (e.g., the addition of content locks). Such editing conflicts are referred to herein as unmergeable conflicts. For example, the user device 110 may receive a metadata update from the master copy 150 of a data file indicating that content revised in the user copy 155 has already been locked by another user.
In one embodiment, changes to the metadata 154′ of a user copy 155 of a data file that interfere with intervening changes to the master copy 150 are overridden by the intervening changes to the master copy 150. For example, if the storage device 120 receives a metadata update from a first user device 110A (
A receive operation 306 obtains at the authoring application updates indicating intervening changes made to the master copy of the data file. For example, in one embodiment, the receive operation 306 obtains a content update indicating any intervening changes made to the content of the master copy by one or more other users authoring the data file. In another embodiment, the receive operation 306 obtains a metadata update indicating any intervening changes made to the metadata of the master copy by one or more other users authoring the data file. In another embodiment, the receive operation 306 obtains both content and metadata updates.
In one embodiment, the receive operation 306 receives updates from the master copy at predetermined intervals. In another embodiment, the receive operation 306 receives an update from the master copy when a threshold amount of editing has been performed on the master copy. In another embodiment, the receive operation 306 receives an update from the master copy in response to a request for the update. For example, the receive operation 306 may request an update from the master copy in order to update the data file before saving the data file. In such an embodiment, the receive operation 306 requests an update from the master copy when instructions to synchronize the data file are received from the user.
An update operation 308 instantiates the intervening changes into the user copy of the document (e.g., by merging the intervening changes into the user copy of the document). In one embodiment, the update operation 308 instantiates intervening metadata changes differently from intervening content changes. In one embodiment, the update operation 308 may instantiate content updates and metadata updates automatically. In another embodiment, the update operation 308 may instantiate metadata updates automatically and may instantiate content updates at the request of the user. For example, the update operation 308 may present a button or other interface tool to the user indicating the availability of updates that may be instantiated by selecting the button or other interface tool.
The update operation 308 also may determine whether any editing conflicts exist. In some embodiments, the update operation 308 may instantiate the intervening changes differently depending on whether editing conflicts are identified. For example, in one embodiment, the update operation 308 may inhibit instantiation of content updates when editing conflicts are identified, but may continue to instantiate metadata updates automatically despite the existence of editing conflicts. Advantageously, synchronizing the metadata updates despite the existence of editing conflicts may mitigate the creation of further editing conflicts. For example, synchronizing lock data may inhibit concurrent editing of the same data unit by different users.
A synchronize operation 310 attempts to synchronize the user copy with the master copy by forwarding to the master copy updates indicating changes made to the user copy of the data file. In one embodiment, the synchronize operation 310 forwards the updates for distribution to other users collaboratively authoring the data file. The synchronize operation 310 only stores the user copy as the master copy (i.e., overwrites the master copy) if no editing conflicts between the user copy and the master copy are identified. In one embodiment, the synchronize operation 310 obtains the most recent version of the master copy and determines whether editing conflicts exist between the user copy and the most recent version of the master copy.
According to aspects of the disclosure, the synchronize operation 310 may enable the user to initiate resolution of the editing conflicts at any time after the editing conflict has been identified at the discretion of the user. The synchronize operation 310 may enable the user to continue freely editing the user copy of the data file even though one or more editing conflicts have been determined to exist. In one embodiment, the synchronize operation 310 may continue to edit the user copy with editing conflicts being hidden from the user. In another embodiment, the synchronize operation 310 may continue to edit the user copy with editing conflicts being presented to the user. If editing of the user copy is continued despite the existence of one or more editing conflicts, then content updates indicating changes to the user copy may be stored locally until the editing conflicts are resolved instead of being forwarded to the master copy for synchronization as will be discussed in greater detail herein.
The synchronize operation 310 may synchronize metadata updates differently from content updates. For example, in one embodiment, the synchronize operation 310 may forward content updates only if all editing conflicts have been resolved and may forward metadata updates regardless of whether editing conflicts have been resolved. As noted above, synchronizing the metadata updates despite the existence of editing conflicts may mitigate the creation of further editing conflicts. Furthermore, ceasing to synchronize content updates when editing conflicts exist may inhibit introducing the editing conflicts into the master copy of the data file. The authoring process 300 completes and ends at a stop module 312.
In general, an authoring environment having features that are examples of inventive aspects in accordance with the principles of the disclosure can be implemented on a user computing device (e.g., a personal computer, a server computer, a notebook computer, a PDA, a Smartphone, or any other such computing device). A non-limiting embodiment of a user computing system 400 configured to implement an authoring environment and perform authoring processes, such as authoring process 300 of
In
System memory 420 typically stores an operating system 422, such as the WINDOWS® operating systems from MICROSOFT CORPORATION of Redmond, Wash., suitable for controlling the operation of the computing device 410. System memory 420 also may include a data file cache 426 in which a user copy 427 of a document can be stored. Metadata 429 of the data file also can be stored within the user cache 426.
The system memory 420 also may store one or more software applications, such as authoring applications 424 for creating and editing data files. One non-limiting example of an authoring application 424 suitable for authoring documents in accordance with the principles of the present disclosure is MICROSOFT® OFFICE WORD authoring software from MICROSOFT CORPORATION of Redmond, Wash. Other non-limiting examples of authoring applications include POWERPOINT® presentation software and VISIO® drawing and diagramming software, both also from MICROSOFT CORPORATION of Redmond, Wash.
Computing device 410 also may have input device(s) 430, such as a keyboard, mouse, pen, voice input device, touch input device, etc., for entering and manipulating data. Output device(s) 435, such as a display screen, speakers, printer, etc., also may be included. These output devices 435 are well known in the art and need not be discussed at length herein.
The computing device 410 also may contain communication connections 440 that allow the device 410 to communicate with other computing devices, for example, the storage device 120 of
An identify operation 506 determines whether editing conflicts exist between the current version of the master copy and the user copy. More specifically, the identify operation 506 determines whether any intervening changes to the master copy and any editing operations performed on the user copy since the most recent synchronization (i.e., or since the user copy was obtained) interfere with one other.
A merge operation 508 combines the user copy and the master copy into a merged version of the data file and presents the merged version to the user. In one embodiment, the merge operation 508 integrates the intervening changes into the user copy of the data file. In another embodiment, the merge operation 508 integrates the user changes into the master copy of the data file. In another embodiment, the merge operation 508 integrates the intervening changes and the user changes into the most recently synchronized version of the master copy (i.e., the version of the master copy that was obtained and edited by the user).
A first determination module 510 splits the flow of the synchronize process 500 based on whether any editing conflicts were identified by the identify operation 506 and/or whether any identified editing conflicts from previously received updates remain unresolved. If the first determination module 510 determines at least one editing conflict has been identified, then an alert operation 512 indicates the presence of the editing conflict to the user. For example, the alert operation 512 may present a message to the user indicating the existence of one or more editing conflicts. In one embodiment, the alert operation 512 also may indicate consequences of having unresolved, identified editing conflicts (e.g., the inability to fully synchronize the user copy with the master copy until the editing conflict is resolved).
A second determination module 514 enables the user to choose when to review and resolve the identified editing conflict. In the example shown, the second determination module 514 presents to the user an option of reviewing the editing conflict or continuing to edit the user copy of the data file without viewing the editing conflict. If the second determination module 514 determines the continued editing option has been selected by the user, then a continue operation 516 enables the user to edit the data file freely as will be discussed in greater detail herein.
If the second determination module 514 determines the review option has been selected by the user, however, then a review operation 518 enables the user to review and optionally to resolve the editing conflict using a resolution process that will be discussed in greater detail herein. When the review operation 518 completes, the synchronize process 500 proceeds back to the first determination module 510 to determine whether any editing conflicts remain unresolved. The operation flow described above repeats until the first determination module 510 determines no editing conflicts exist.
When the first determination module 510 determines no editing conflicts exist, then a third determination module 520 determines whether all intervening changes from the master copy have been obtained and instantiate into the user copy. For example, the third determination module 520 may determine whether any intervening changes have been made to the master copy since the most recent update. In one embodiment, the third determination module 520 compares a version number of the current version of the master copy with a version number of the version of the master copy represented by the most recently received update.
If the third determination module 520 determines additional intervening changes exist (i.e., that the most recently received update does not reflect the current state of the master copy), then the synchronize process 500 returns to the obtain operation 504 and the synchronize process 500 begins again. If the third determination module 520 determines no additional intervening changes exist (i.e., that the most recently received update reflects the current state of the master copy), however, then an indicate operation 522 provides an indication the editing conflict has been resolved. For example, in one embodiment, the indicate operation 522 may display a message to the user indicating that all editing conflicts have been resolved. In another embodiment, the indicate operation 522 may display a graphic, icon, or other indicia to the user indicating the editing conflicts have been resolved. A store operation 524 overwrites the master copy of the data file with the user copy. The synchronize process 500 completes and ends at a stop module 526.
The editing instructions indicate changes to content and/or metadata of the merged version of the user copy of the data file. For example, the editing instructions may indicate a data unit (e.g., a paragraph, a column, a table, a slide, a graphic, etc.) of the new data file should be added, deleted, or revised. The editing instructions also may indicate a change in metadata (e.g., a change in content locks, etc.). An implement operation 606 performs the editing operation on the new copy of the document.
A determination module 608 determines whether the user has indicated a desire to stop editing. For example, in a first embodiment, the determination module 608 may determine the user has chosen to resolve editing conflicts. In another embodiment, the determination module 608 determines the user has chosen to close the new copy of the data file or to synchronize the new copy with the master copy of the data file. In another embodiment, the determination module 608 may determine the user has chosen to continue editing the new copy of the data file.
If the determination module 608 determines the user has chosen to continue editing the data file, then the editing process 600 cycles back to the receive operation 604 and begins again. If the determination module 608 determines the user has chosen to stop editing the data file, however, then a save operation 610 stores any changes made by the user. Generally, the save operation 610 stores the merged version of the data file including any changes made by the user in a location other than the master copy of the data file. In one embodiment, the save operation 610 stores the merged version of the data file in local memory (e.g., a local cache). In another embodiment, the save operation 610 may store the merged version of the data file on a storage device separate from the master copy. The editing process 600 completes and ends at a stop module 612.
In some embodiments, the display operation 704 displays all conflicting edits from both the master copy and the user copy. For example, in one embodiment, the display operation 704 may display content resulting from the conflicting editing operations as merged into the user copy of the data file. In another embodiment, the display operation 704 may display content resulting from the conflicting editing operations as merged into the master copy of the data file. In another embodiment, the display operation 704 may display content resulting from the conflicting editing operations as merged into the version of the data file prior to any intervening changes.
In one embodiment, if conflicting editing operations are made to the same object (e.g., a character, a word, a paragraph, a graphic, a slide, a cell, a row, a column, etc.) within the data file, then the display operation 704 will display the object transformed by both editing operations. In another embodiment, the display operation 704 will display two copies of the object, one copy representing the version of the object found in the master copy of the data file and the other copy representing the version of the object found in the user copy of the data file.
In one embodiment, the display operation 704 displays the conflicting content as annotations to the non-conflicting content of the merged version of the data file. For example, in one embodiment, conflicting content added to the data file, either in the master copy or in the user copy, may be shown added to the non-conflicting content and annotated to indicate the conflicting content was inserted in one version of the data file. In another embodiment, conflicting content removed from the data file, either in the master copy or in the user copy, may be shown added to the non-conflicting content and annotated to indicate the conflicting content was deleted in one version of the data file. Additional disclosure relating to the display of conflicting edits will be provided herein.
An obtain operation 706 receives authoring instructions from the user. For example, the obtain operation 706 may receive user input through an input device, such as input device 430 of
If the first determination module 708 determines the user has provided instructions to return to editing, then the review process 700 completes and ends at a stop module 714 even if identified editing conflicts remain unresolved. If the first determination module 708 determines the user has not provided instructions to return to editing, however, then an implement operation 710 performs the user instructions. In general, the implement operation 710 may accept or reject each editing operation in accordance with the instructions provided by the user. For example, in one embodiment, the implement operation 710 may instantiate a conflicting editing operation into the merged version of the data file if the user provides instructions to accept the editing operation. In another embodiment, the implement operation 710 may remove the effects of a rejected editing operation from the merged version of the data file. Additional details regarding performance of the implement operation 710 are provided herein.
A second determination module 712 determines whether any identified editing conflicts remain unresolved. In one embodiment, the second determination module 712 does not determine whether any new editing conflicts have been created since the most recent identification of editing conflicts (e.g., through updates received from the master copy, through additional editing operations performed by the user, etc.). Rather, the second determination module 712 determines whether any of the editing conflicts already identified remain unresolved. In another embodiment, the second determination module 712 determines whether any new editing conflicts exist.
If the second determination module 712 determines at least one identified editing conflict remains unresolved, then the resolution process 700 cycles back to the first determination module 708. If the second determination module 712 determines the identified editing conflicts have been resolved, however, then the resolution process 700 completes and ends at the stop module 714.
In general, the user interface displayed by the authoring application on the user device, such as authoring application 130 on user device 110 of
In addition, when an editing conflict is identified, the user interface of the authoring application may be configured to toggle between showing editing conflicts and hiding editing conflicts at the discretion of the user. In general, the user interface of the authoring application enables free editing of the data file both when editing conflicts are shown and when editing conflicts are hidden. The user interface enables additional functionality enabling review and resolution of editing conflicts when the user chooses to view editing conflicts.
The user interface 800 includes an authoring window 810 in which the user copy of the data file may be displayed. In one embodiment, the authoring window 810 includes an editing area 812 in which the content of the user copy is displayed. Metadata of the data file (e.g., content locks) also may be displayed in the editing area 812. The user of the authoring application may interact with the content in the editing area 812 to add, delete, or revise the displayed content.
The user interface 850 includes the authoring window 810 of
The user interface 900 also includes a toggle interface 915 by which the user may hide identified editing conflicts. In one embodiment, selection of the toggle interface 915 also will deactivate the conflict resolution interface 920. For example, selection of the toggle interface 915 may cause the user interface 850 of
The user interface 900 includes an authoring window 910 having an editing area 912 in which the content and metadata of the data file may be displayed and/or edited. The editing area 912 also displays identified editing conflicts or content resulting from identified editing conflicts. For example, in one embodiment, the editing area 912 may display a merged version of the data file generated by merging the user copy with the master copy.
In some embodiments, the identified editing conflicts displayed within the editing area 912 are indicated via annotations to the content resulting from the conflicting editing operations. In one embodiment, the annotations indicate how of the resulting content conflicts. For example, in one embodiment, a section of content (e.g., a word, a paragraph, a table, a column, a graphic, etc.) may be annotated to indicate the section was inserted, deleted, and/or revised in the user copy and/or the master copy. Example annotations indicating such insertion, deletion, and/or revision may include a predetermined color, a strikethrough, underlining, a predetermined opacity, highlighting, or other such indicia.
The user interface 900 also can include a summary window 920 in which the authoring application may communicate information about identified editing conflicts to the user. In some embodiments, the summary window 920 can include a summary information area 922. For example, the summary information area 922 may display the number of editing conflicts identified by the authoring application and remaining unresolved. The summary information area 922 also may indicate the number of mergeable and unmergeable editing conflicts. In one embodiment, the summary information area 922 may be refreshed (i.e., updated) as the editing conflicts are resolved.
In some embodiments, the summary window 920 also may display a listing 924 of any unresolved editing conflicts. For example, in one embodiment, all conflicting content (e.g., content added, deleted, and/or revised in the user copy or the master copy) is listed within the summary window 920. In one embodiment, the listed content may be annotated to indicate an origin of the content (e.g., the user copy or the master copy). In another embodiment, the listed content may be annotated to indicate a type of editing action (e.g., revision, insertion, deletion, etc.) yielding the content.
The user interface 900 may be configured to enable a user to resolve the displayed editing conflicts. For example, the user interface 900 may enable the user to provide resolution instructions for one or more displayed editing conflicts. In one embodiment, the user interface 900 enables the user to provide resolution instructions for the displayed editing conflicts in accordance with a sequence. In another embodiment, the user interface 900 enables the user to provide resolution instructions for any displayed editing conflict selected by the user.
Examples of resolution instructions include an accept instruction by which the user indicates a given editing operation should be instantiated into the merged version of the data file and a reject instruction by which the user indicates the editing operation should not be performed on the merged version of the data file. Other examples of resolution instructions may include a next instruction by which the user proceeds to a subsequent editing conflict without resolving the currently selected editing conflict and a back instruction by which the user returns to a previous editing conflict without resolving the currently selected editing conflict.
In some embodiments, the user may provide a resolution instruction by interacting with one or more resolution interfaces 930. Non-limiting examples of resolution interfaces include buttons (e.g., an accept button, a reject button, a next button, etc.), drop-down menus, tabs, and other such interface tools. In one embodiment, the user interface 900 displays one or more resolution interfaces to the user when the editing conflicts are displayed. In another embodiment, the user interface 900 displays one or more resolution interfaces to the user when conflicting content is selected by the user.
For example, the user may provide a resolution instruction by selecting (e.g., via a cursor or other input interface) content within the editing area 912 that results from one of the conflicting editing operations and interacting with a resolution interface. In other embodiments, the user may provide a resolution instruction by selecting an editing operation displayed within the summary window 920 and interacting with a resolution interface to provide or select a resolution instruction.
For example, in
A determination module 1006 determines whether the resolution instruction indicates the selected conflicting content is to be accepted or rejected. If the determination module 1006 determines the obtain operation 1004 receives an accept instruction, then the implementation process 1000 proceeds to an accept operation 1008. If the determination module 1006 determines the obtain operation 1004 receives a reject instruction, however, then the implementation process 1000 proceeds to a reject operation 1010. Details regarding example processes for implementing the accept and reject operations 1008, 1010 are discussed below with reference to
A determination module 1106 determines whether or not the accepted content resulted in content and/or formatting being added into the data file. For example, in one embodiment, the determination module 1106 determines whether or not the accepted content includes a character, word, table, column, graphic, or other data unit to the data file. In another embodiment, the determination module 1106 determines whether the accepted content added any formatting (e.g., bold, underlining, font color, highlighting, etc.) to the data file.
If the determination module 1106 determines the accepted editing operation resulted in content and/or formatting being added, then the accept process 1100 complete and ends at the stop module 1110. If the determination module 1106 determines the accepted editing operation removes content and/or formatting from the data file, however, then a remove operation 1108 deletes the content and/or formatting from the merged version of the data file. The accept process 1100 completes and ends at the stop module 1110 after completion of the remove operation 1108.
A determination module 1206 determines whether or not the rejected editing operation would have resulted in content and/or formatting being added to the data file. For example, in one embodiment, the fourth determination module 1206 determines whether or not the rejected editing operation would have added a character, word, row, cell, or other data unit or content object to the data file. In another embodiment, the determination module 1206 determines whether the rejected editing operation would have added any formatting (e.g., bold, underlining, font color, highlighting, etc.) to the data file.
If the determination module 1206 determines the rejected editing operation would not have resulted in content and/or formatting being added to the data file, then the reject process 1200 complete and ends at the stop module 1210. If the determination module 1206 determines the rejected editing operation would have added content and/or formatting, however, then a remove operation 1208 deletes the content and/or formatting from the merged version of the data file. The reject process 1200 completes and ends at the stop module 1220 after completion of the remove operation 1208.
The principles of the present disclosure can be better understood by walking through example applications. In a first example application,
In
The authoring application enables editing of the user copy of the data file, for example, using the example authoring process 300 of
In
In one embodiment, editing of the first data unit initiates a transmission to the master copy of the data file of a request by the first user to lock the first data unit. In another embodiment, the first user may provide express instructions to lock the first data unit. For example, the first user may select the first data unit and select a lock option on the user interface 2000. Accordingly, a lock 2024 owned by the first user has been placed around the first data unit in
In
In one embodiment, the authoring application receives a metadata update from the master copy. In another embodiment, the authoring application receives a content update from the master copy. In the example application, the authoring application receives both a metadata update and a content update. The metadata update indicates the second user has released the lock 2022 on the second data unit and has obtained a lock (see lock 2028 of
When the authoring application receives the update, the authoring application determines whether any editing conflicts exist between the user copy and the received update. If no editing conflicts exist, then the authoring application instantiates the metadata updates automatically (see update operation 308 of
In one embodiment, if a metadata update conflicts with a user change, however, then the metadata update is not instantiated until the user attempts to synchronize the user copy with the master copy. In the example application, the metadata update indicates the second user has a lock on the first data unit, which conflicts with the first user's request to lock the first data unit. Accordingly, the second user's lock on the first data unit is not instantiated into the user copy automatically. In another embodiment, a release of a content lock is not instantiated until any identified editing conflicts are resolved. Accordingly, the second user's release of the lock 2022 on the second data unit is not instantiated into the user copy automatically.
If no editing conflicts exist, then the authoring application also enables the user to determine when the content updates should be instantiated (e.g., merged) into the user copy of the data file (see update operation 308 of
If the authoring application identifies an editing conflict, however, then the authoring application inhibits the user from instantiating the updates into the user copy. In one embodiment, the authoring application does not display an instantiation interface. In another embodiment, the authoring application does not display an indication of the availability of the update. In the example application, the metadata update conflicts with a user change. Accordingly, the authoring application does not provide the first user with an opportunity to instantiate the content update.
In
The authoring application then merges the user copy of the data file with the master copy of the data file (see merge operations 508 of
In another embodiment, the authoring application may determine the version of the data file represented by the master copy and may perform any content or formatting additions, deletions, and/or revisions from the user copy on unlocked data units of the master copy version of the data file (i.e., instantiates mergeable conflicts). For unmergeable conflicts, such as user edits to data units locked on the master copy (e.g., user edits performed prior to receiving the metadata update indicating the lock), the authoring application may add a duplicate data unit adjacent the locked data unit and may revise the duplicate data unit based on the revisions made in the user copy (e.g., change content, add a content lock, etc.). Accordingly, the data unit remains locked and unchanged in accordance with the state of the master copy. However, changes to the data unit by the first user are retained in the merged version of the data file until the first user chooses to remove them.
In the example shown in
Because the authoring application has identified editing conflicts, the authoring application does not continue to save to the master copy (see first determination module 510 of
The authoring application also presents a toggle interface 2015 to the first user in
One example process by which the authoring application may implement the review operation 518 of
In general, the editing area 2012 displays the merged version of the data file and enables the user to freely edit the merged version. In some embodiments, the merged version of the data file displayed in the editing area 2012 is annotated to indicate which portions of content are in conflict. For example, in one embodiment, the merged version of the data file is annotated to indicate whether the conflicting content resulted from insertions (e.g., via underlining or other formatting, text color, highlighting, or other such indicia) or deletions (e.g., via strikethroughs or other formatting, text color, highlighting, or other such indicia).
In the example shown, revisions to content are shows as a series of deletions and insertions. In other embodiments, however, revisions to content may be distinctly annotated. In other embodiments, the metadata (e.g., locks) also may be annotated to indicate which portions of metadata conflict. In the example shown in
The conflicting editing operations also are displayed by the summary window 2030. The summary area 2032 of the resolution interface indicates the number of conflicting editing operations contained within the merged version of the data file. In the example shown, the summary area 2032 indicates one conflicting editing operation has been identified. The listing 2034 of the summary window 2030 displays the conflicting content. In one embodiment, the listing 2034 displays the conflicting content separate from the non-conflicting content. In another embodiment, the listing 2034 annotates the conflicting content to indicate whether the content as inserted and/or deleted (e.g., see indicia 2036 of
The first user of the authoring application may interact with either the editing area 2012 or the summary window 2030 (
Alternatively, the first user may provide instructions to accept or reject conflicting content or portions thereof. In one embodiment, the first user may select content displayed within the editing area 2012 of the display window 2010 and may select an option on a resolution interface to provide instructions to resolve the editing operation. For example, the first user may select the content on which instructions are to be provided and may select a menu option from a resolution mention 2040 (see
In the example shown in
One example process by which the authoring application may perform the rejection of the selected portion of the conflicting content is the reject process 1200 of
Returning to the review process 700 of
Continuing with the review process 700, the authoring application obtains another set of instructions from the first user (see obtain operation 706 of
In
One example process by which the authoring application may accept the selected conflicting content includes the accept process 1100 of
Returning to the review process 700 of
Since the first user resolved all identified editing conflicts in this example application, the authoring application determines that no editing conflicts remain unresolved. Accordingly, the authoring application checks with the master copy to determine whether additional updates are available (see the second determination module 520 of
When the authoring application determines no editing conflicts exist (see first determination module 510 of
The authoring application alerts the first user when the authoring application successfully uploads the update to the master copy (see indicate operation 524 of
The second example application, in which the first user is editing a data file offline, is provided in
In the example shown, the status bar 2218 indicates the first user is editing a user copy of a data file offline (i.e., is not communicatively connected to a storage device storing a master copy of the data file). Another user has a lock 2222 on the first data unit within the editing area 2212. Accordingly, the authoring application inhibits the first user from editing the first data unit.
The authoring application enables editing of the user copy of the data file, for example, using the example authoring process 300 of
Because the first user is editing the user copy offline, the authoring application cannot synchronize a lock request for the third data unit. In one embodiment, the authoring application stores the lock request until the user logs online. In such an embodiment, the authoring application may display a lock around the third data unit. In another embodiment, the authoring application does not attempt to lock the third data unit. In one embodiment, the authoring application alerts the first user that a lock request cannot be synchronized and, accordingly, that editing the data unit may result in editing conflicts. For the purposes of this example application, the authoring application stores the lock request for later synchronization with the master copy.
In
When the authoring application receives the update, the authoring application determines whether any editing conflicts exist between the user copy and the received update. If no editing conflicts exist, then the authoring application instantiates the metadata updates automatically (see update operation 308 of
In
The authoring application then merges the user copy of the data file with the master copy of the data file (see merge operations 508 of
The first set of new content, “TBD,” which was added to the first data unit, does not result in an editing conflict. The first user did not edit the first data unit. The second set of new content, “Jump, fox, jump!”, which was added to the third data unit, results in an editing conflict since the first user attempted to lock the third data unit. The other user was able to edit the third data unit since the first user's lock request has not yet been synchronized with the master copy prior to the edit. However, since the update does not indicate the third data unit is locked by another user, the first user's lock is maintained around the third data unit.
Because the authoring application has identified an editing conflict, the authoring application does not continue to save to the master copy (see first determination module 510 of
The authoring application also presents a toggle interface 2215 to the first user in
One example process by which the authoring application may implement the review operation 518 of
In general, the editing area 2212 displays the merged version of the data file and enables the user to freely edit the merged version. In some embodiments, the merged version of the data file displayed in the editing area 2212 is annotated to indicate which portions of content are in conflict. For example, in one embodiment, the merged version of the data file is annotated to indicate whether the conflicting content resulted from insertions (e.g., via underlining or other formatting, font color, highlighting, opacity, or other such indicia) or deletions (e.g., via strikethroughs or other formatting, font color, highlighting, opacity, or other such indicia).
In the example shown, the first data unit does not contain any editing conflicts since the first data unit is locked on the server to the second user. Accordingly, the first data unit is not annotated. The second data unit also does not contain any editing conflicts so the second data unit is not annotated. Some content within the third data unit, which is shown as locked to the first user, is underlined to indicate the content has been inserted into the data unit.
In one embodiment, only conflicting content originating from the user copy is annotated. Advantageously, only annotating user created conflicts allows the user to understand the state of the master copy of the data file and differences between the master copy and the user copy. In other embodiments, however, conflicting content originating from the master copy may be annotated as well as or in place of the conflicting content from the user copy.
The conflicting editing operations also are displayed by the summary window 2230. The summary area 2232 of the resolution interface indicates the number of conflicting editing operations contained within the merged version of the data file. In the example shown, the summary area 2232 indicates one conflicting editing operation has been identified. The listing 2234 of the summary window 2230 displays the conflicting content. In one embodiment, the listing 2234 displays the conflicting content separate from the non-conflicting content. In another embodiment, the listing 2234 annotates the conflicting content to indicate whether the content as inserted and/or deleted (e.g., see indicia 2236 of
The first user of the authoring application may interact with a resolution interface (e.g., see resolution interface 2240 of
Alternatively, the first user may provide instructions to accept or reject conflicting content or portions thereof. In one embodiment, the first user may select content displayed within the editing area 2012 of the display window 2010 and may select an option on a resolution interface 2240 to provide instructions to resolve the editing operation. For example, the first user may select the content on which instructions are to be provided and may select an accept button 2242 or a reject button 2244 from an example resolution interface 2040 (see
In the example shown in
One example process by which the authoring application may accept the selected conflicting content includes the accept process 1100 of
Returning to the review process 700 of
The authoring application alerts the first user when the authoring application successfully uploads the update to the master copy (see indicate operation 524 of
Embodiments of the disclosure may be implemented as a computer process (method), a computing system, or as an article of manufacture, such as a computer program product or computer readable media. The processes (programs) can be implemented in any number of ways, including the structures described in this document. One such way is by machine operations, of devices of the type described in this document. Another optional way is for one or more of the individual operations of the methods to be performed on a computing device in conjunction with one or more human operators performing some of the operations. These human operators need not be collocated with each other, but each can be only with a machine that performs a portion of the program.
The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a computing system and encoding a computer program of instructions for executing a computer process. The term computer readable media as used herein includes both storage media and communication media.
Those skilled in the art will appreciate that the disclosure may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. The disclosure may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types.