Patent Number: 6,401,103

Title: Apparatus, method, and article of manufacture for client-side optimisticlocking in a stateless environment

Abstract: The invention is an optimistic locking mechanism which allows Internetaccess to a database while maintaining data integrity in a stateless webenvironment. One embodiment of the invention incorporates a conventionalIMS residing on a host computer and includes a generic transaction modulewhich retrieves original data segments from the an IMS database inresponse to a search request from a web user. This embodiment of theinvention further includes a server-side interface module for duplicatingthe original data segment into identical lines of data segments. One datasegment may be updated by a web user whereas the other data segmentremains constant and serves as a reference of the original state of thedata segment. Both data segments are transmitted to a web user who maymake changes to one data segment but not the other. Both data segments arereturned, and the generic transaction module compares the state datasegment to a current data segment to determine if the web user updateswere based on the current state. If so, the IMS is updated to reflect theweb user updates. If the web user updates were not based on the currentstate, the data segments are updated to reflect the current state and arethen retransmitted to the web user. In this manner, a web user is allowedto update only data segments which are current, thereby maintainingintegrity of the database.

Inventors: Ho; Shyh-Mei (Cupertino, CA), Watts; Vern Lee (Los Altos, CA)

Assignee:

International Classification: G06F 17/30 (20060101); G06F 017/30 ()

Expiration Date: 06/04/2014