IP Library Granted Patent US 7,925,252
Granted Patent B2
US 7,925,252 · App. 11/405,600 · Granted Apr 12, 2011

Container-level transaction management system and method therefor

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,925,252
App. No.
11/405,600
Granted
Apr 12, 2011
Kind
B2
Abstract

An application container-level transaction management system for managing transactions of an application on a wireless device. The system comprises a transaction manager for providing an interface to the application container for accessing methods for creation and execution of transactions in a hierarchical order. The transactions comprising correlative operations. The system further comprises a transaction stack for storing the transactions to be executed in an execution order according to the hierarchical order, the order of execution providing for at least one of rollback and completion of the correlative operations.

Claims (35)

1. An application container-level transaction management system for managing nested transactions of an application on a wireless device, the system comprising:

a processor coupled to a memory having computer-readable instructions for execution by the processor, the instructions causing the processor to implement:

a transaction manager for providing an interface to said application container for accessing methods for creation and execution of nested transactions in a hierarchical nested order;

each nested transaction including at least a parent transaction and a child transaction, and each of the parent and child transaction including at least two correlative operations;

where completing execution of each transaction includes completing execution of all correlative operations belonging to each respective transaction; and

a transaction stack for storing said transactions to be executed in an execution order according to said hierarchical nested order, said order of execution providing for at least one of rollback and completion of said correlative operations.

2. The system of claim 1 , wherein said transactions comprise transaction objects.

3. The system of claim 2 , wherein said transaction objects comprise transaction identification, sequence of operation information and data recovery information.

4. The system of claim 3 , wherein said sequence of operation information comprises an indexing of said operations by associating data reference numbers to respective operation.

5. The system of claim 3 , wherein the instructions further cause the processor to implement a transaction pool for storing said transactions objects.

6. The system of claim 5 , wherein said transaction pool is for generating said transaction identification.

7. The system of claim 3 , wherein said data recovery information comprises sequences of numbers used to keep track of data that might need recovery.

8. The system of claim 1 , wherein said methods comprise at least one of a start_transaction method, which is for returning the identification of a started transaction; a complete_transaction, which is for completing the specified transaction and all other transactions lower in the hierarchical nested order; a roll_back transaction, which is for discarding all changes made during the execution of a transaction as well as the changes made during the execution of all other transaction lower in the hierarchical nested order.

9. The system of claim 1 , wherein said hierarchical nested order comprises only one branch.

10. A method for managing execution of nested transactions in an application container of a wireless device, the method comprising:

obtaining a nested transaction created by said application container;

each nested transaction including at least a parent transaction and a child transaction, and each of the parent and child transaction including at least two correlative operations;

where completing execution of each transaction includes completing execution of all correlative operations belonging to each respective transaction;

adding said transaction to a stack, and if said transaction has offspring transactions, adding said offspring transactions to said stack in an execution order according to a hierarchical nested order defined by the relationship between said transactions;

executing said transactions in said execution order; and

removing said transactions from said stack following execution.

11. The method of claim 10 , wherein said transactions comprise transaction objects.

12. The method of claim 11 , wherein said transaction objects comprise transaction identification, sequence of operation information and data recovery information.

13. The method of claim 12 , wherein said sequence of operation information comprises an indexing of said operations by associating data reference numbers to respective operation.

14. The method of claim 12 , further comprising storing said transactions objects.

15. The method of claim 14 , further comprising generating said transaction identification from a transaction pool for storing said transaction objects.

16. The method of claim 12 , further comprising using said data recovery information for keeping track of data that might need recovery.

17. The method of claim 10 , further comprising providing an interface to said application container for accessing methods for creation and execution of transactions in a hierarchical nested order.

18. The method of claim 17 , wherein said methods comprise at least one of a start_transaction method, which is for returning the identification of a started transaction; a complete_transaction, which is for completing the specified transaction and all other transactions lower in the hierarchical nested order; a roll_back transaction, which is for discarding all changes made during the execution of a transaction as well as the changes made during the execution of all other transaction lower in the hierarchical nested order.

19. The method of claim 10 , wherein said hierarchical nested order comprises only one branch.

20. A non-transitory computer program product having encoded thereon computer-readable instructions for executing a method for managing execution of nested transactions in an application container of a wireless device, each nested transaction including at least a parent transaction and a child transaction, each of the parent and child transaction including at least two correlative operations, where completing execution of each transaction includes completing execution of all correlative operations belonging to each respective transaction, the instructions, when executed, causing a processor to:

obtain a transaction created by said application container;

add said transaction to a stack, and if said transaction has offspring transactions, adding said offspring transactions to said stack in an execution order according to a hierarchical nested order defined by the relationship between said transactions;

execute said transactions in said execution order; and

remove said transactions from said stack following execution.

Assignments (4)
NUNC PRO TUNC ASSIGNMENT Recorded Jun 19, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064269/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 16, 2023
From: BLACKBERRY LIMITED
To: MALIKIE INNOVATIONS LIMITED
Reel/Frame 064104/0103 →
CHANGE OF NAME Recorded Nov 5, 2014
From: RESEARCH IN MOTION LIMITED
To: BLACKBERRY LIMITED
Reel/Frame 034176/0557 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 4, 2007
From: DOKTOROVA, LAURA; QING, RICHARD X; VITANOV, KAMEN B; SHENFIELD, MICHAEL
To: RESEARCH IN MOTION LIMITED
Reel/Frame 019248/0985 →