System and method for synchronizing states in associated data records
Granted 22 May 2018 · 3 office actions
Assignee: Tasktop Technologies Incorporated
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Robert Elves, Ryan Golbeck, Doug Janzen · Examiner: Heather Herndon · AU 2153 · TC 2100
Life of the application
13 dated eventsAbstract
A system for synchronizing states in associated for data records has been developed. The system includes a first data repository (R 1 ) containing a first data record (DR 1 ) and a second data repository (R 2 ) containing a second data record (DR 2 ). The system also includes a synchronizer that initiates synchronization activity between DR 1 and DR 2 . Upon change in DR 1 , the system generates a listing of all possible target states for DR 2 and determines the correct target state of DR 2 from the listing of possible target states. The system then determines if DR 2 is in the correct target state. If not, the system transitions DR 2 to the correct target state, and synchronizes the data of DR 2 with DR 1.
Description
6 parts›FIELD
The invention relates generally to a system and method of synchronizing states in associated data records across different data repositories.
›BACKGROUND
Many computer software applications and development projects store a wide variety of data records in multiple locations commonly referred to as “data repositories”. The data records may be operated on independently but should always be in a compatible state with each other. Consequently, a system and method for synchronizing states in associated data records is needed.
›SUMMARY
In some aspects, embodiments of the invention relate to a system for synchronizing states in associated data records, comprising: a first data repository (R 1 ) containing a first data record (DR 1 ); a second data repository (R 2 ) containing a second data record (DR 2 ); a synchronizer that initiates synchronization activity between DR 1 and DR 2 ; where the system generates a listing of all possible target states for DR 2 ; and where, upon a change in DR 1 , the system, determines the correct target state of DR 2 from the listing of all possible target states, determines if DR 2 is in the correct target state, transitions DR 2 to the correct target state, and synchronizes the data of DR 2 with DR 1 .
In other aspects, embodiments of the invention relate to a method for synchronizing states in associated data records, comprising: detecting a change in a first data record (DR 1 ) located in a first data repository (R 1 ); initiating synchronization activity between DR 1 and a second data record (DR 2 ) located in a second data repository (R 2 ); generating a listing of all possible target states for DR 2 ; determining the correct target state of DR 2 from the listing of all possible target states; determining if DR 2 is in the correct target state; transitioning DR 2 to the correct target state; and synchronizes the data of DR 2 with DR 1 .
Other aspects and advantages of various embodiments of the invention will be apparent from the following description and the appended claims.
›BRIEF DESCRIPTION OF DRAWINGS
It should be noted that identical features in different drawings are shown with the same reference numeral.
FIG. 1 is a diagram showing a single computer system with multiple data repositories in accordance with one embodiment of the present invention.
FIG. 2 is a diagram showing two separate computer systems each with a data repository in accordance with one embodiment of the present invention.
FIGS. 3A and 3B are flow charts depicting a method of synchronizing states of associated data records in accordance with one embodiment of the present invention.
›DETAILED DESCRIPTION · 1 of 2
A system and method for synchronizing states of data records across multiple data repositories or software applications has been developed. The embodiments of the present invention include multiple data repositories and a synchronizer that serves to synchronize the data links between the repositories.
The data repositories containing data to be synchronized may be on the same computer system or may be spread across different computer systems. The data records could exist in the same data repository or different data repositories. FIG. 1 shows a single computer system with multiple data repositories in accordance with one embodiment of the present invention. In this embodiment, a single computer system 10 contains two independent data repositories 12 a and 12 b . The computer system 10 also includes a data synchronizer 14 that is in communication with both repositories 12 a and 12 b . It should be understood that the data repositories are not limited to being part of a single computer system. Each repository could be located on a separate computer system as depicted in the embodiment shown in FIG. 2 . In this example, two separate computer systems 20 a and 20 b each have a single respective data repository 22 and 24 . These repositories 22 and 24 are in communication with a data synchronizer 26 that is separate from each computer system 20 a and 20 b . It should be understood, that multiple computer systems with multiple data repositories could be used within the scope of the present invention. Also, multiple data synchronizers could be used in such embodiments as well. In embodiments with multiple computer systems, a computer network links all computer systems hosting a data repository or synchronizer. In other embodiments, the computer systems may be smart phones, tablets or other mobile communication devices.
Independent data repositories may hold two or more similar data records. Each data record has fields that represent the state of the record in a “workflow”, which is a sequence of states, described by a graph, which the records may move through. The repository or application housing the data record typically defines the workflow for a data record based on the type of the data record. As part of one example embodiment of the invention, each data record on each data repository participating in synchronization has one or more fields to represent the state of the data record. All possible legal states of a particular data record type and legal transitions between states are described by a state transition diagram. For a transition to be taken for a data record, there may be other fields on the data record that must be set to literal values for the transition to be legal.
Embodiments of the present invention synchronizes states in similar data records stored in separate data repositories by treating workflow as data. Once states in two systems are detected as incompatible, the synchronizer system will push the data in the second data repository into the correct state. FIGS. 3A and 3B give an example of this embodiment. Referring to FIG. 3A , first all possible next states are generated for all artifact types in a second data repository (Repository # 2 or “R 2 ”). The possible “next states” are generated from state transition diagrams stored per artifact type in the data repository. The “artifacts” include types of data records such as defects, bugs, tasks, requirements, etc.
Referring to FIG. 3B , the synchronizer system now detects a change to a first data record in a first repository (Data Record # 1 or “DR 1 ” of Repository # 1 or “R 1 ”). Next, the target state for an associated second data record (Data Record # 2 or “DR 2 ”) in R 2 is determined. The target state was previously generated in the process in FIG. 3A . If DR 2 is in the “proper target state” which is a state that is compatible with the state of the associated data record, then the status is set to “OK” in the synchronizing system and the process ends.
However, if DR 2 is not in the proper target state, the system checks to see if a predetermined limit on attempts to transition the state has been exceeded. A limit on transition attempts is set to prevent endless looping errors. Instead, if the limit has been exceeded, an error status is set and the process ends. If the limit on attempts has not been exceeded, the next state for DR 2 is set along with any other appropriate fields. As DR 2 moves to a new state, a user configuration file can specify that certain fields be set. Finally, DR 2 is checked to determine if it has been changed by another process. These other processes could include a change by another workflow synchronizer, another system and/or another user. If it has, the data in fields of DR 2 is synchronized with associated data fields of DR 1 .
One example of a practical application of embodiments of the present invention include a software development team involved in troubleshooting software bugs. The team uses one software system that record bugs that are reported about their software applications. The organization uses a second software system in which to record tests that are used to determine if the applications are executing as desired. To help track tests used to determine if a bug is fixed, the team wants to represent “bugs” in the first system as “defects” in the second system. By synchronizing the bugs to defects, both programmers and testers can work with the same information. This example presumes a correspondence has been determined between bugs and defects in the two systems and that a state transition diagram has been generated for defect artifacts in the second system including any fields that must be set for a given transition to be legal. This example also presumes that it can access a configuration file that describes a target state for a defect for each state of a bug and any constraints on setting other fields in the defect when a transition is taken.
When a change to a state of a bug in the first system is detected, the synchronizer system looks up the target state in the configuration file for a corresponding defect in the second system. For example, a bug may go from an “OPEN” to a “RESOLVED” state. The synchronizer system determines from the configuration file that a corresponding second system should transition from “NEW” to “CLOSED” where a field on the defect is also set to the literal value “Resolved”.
›DETAILED DESCRIPTION · 2 of 2
The defect in the second system is in the “NEW” state. The synchronizer system now looks up in the data generated from the defect artifact state transition diagram that a defect can go from “NEW” to “ASSIGNED” but not directly from “NEW” to “CLOSED”. The method asks the second system to transition the defect to “ASSIGNED”. It then checks to see if “ASSIGNED” is the target state. Since it is not, the method asks the second system to transition the defect to the target “CLOSED” state. Since “ASSIGNED” to “CLOSED” is legal in the second system's defect state transition diagram, the second system defect is transitioned. The method also sets the required field to “Resolved”. The transition is taken and the data in each repository is now compatible.
Finally, the synchronizer system also checks, before actually taking the transition for the second system defect, whether there has been any change since the last check of the state (in case another process is changing the record). If so, user-configured conflict detection rules as used to determine how to proceed. Typically, user-configured conflict detection rules are part of a user configuration file that resolves conflicts by either an override instruction or declaring an error.
Embodiments of the present invention can be implemented across a wide variety of applications and uses. For example, embodiments of the present invention could be used with Application Lifecycle Management (ALM) records, project portfolio management (PPM) and tickets in an IT help or support system management (ITSM). Embodiments of the present invention could also be used in Customer Relationship and Sales Management systems that also take data records through various workflow states (e.g., lead, opportunity, etc.). The workflow in these systems might be similar to procedures to handle Application Lifecycle Management (ALM) data. Embodiments of the present invention could then be used to move data simultaneously in two customer relationship or sales management systems into similar or compatible states.
Additionally, the embodiments of the present invention could be used to synchronize data for health records. For instance, a mobile phone app might have a representation of an individual's health record (or part of a health record) and this might be synchronized with a hospital or lab's view of the same record where the workflow could be “stable” to “waiting for lab result” to “waiting for lab interpretation” to “lab results available”, etc.
While embodiments of the present invention have been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this disclosure, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as disclosed here. Accordingly, the scope of the invention should be limited only by the attached claims.
Claims as granted
23 claimsLog in to read the claims of this application.
Log in to unlockClassifications
3 codes- G06F17/00
- G06F17/30
- G06F7/00
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock