Web-based application for inbound message synchronization
First Claim
1. A method of synchronizing communications messages between a first back office system and a web-based application in a computer network, wherein the first back office system comprises a first back office database and a plurality of nodes for creating documents, the nodes communicating with the first back office database, the documents each being identified with a primary key code and a timestamp designating the time of creation of each document, and the back office system generates document messages, the document messages each comprising one of the documents and primary key code and timestamp information for the one of the documents, the method comprising the steps of:
- receiving in the web-based application a stream of the document messages from the first back office system, wherein the document messages transfer information about changes to data in the first back office system for integrating the first back office system and the web-based application;
operating a database of the web-based application to maintain inbound document message information comprising primary key codes and said timestamps for selected document messages previously received by the web-based application database;
comparing the primary key code of a new inbound document message received by the web-based application database with primary key codes maintained in the web-based application database for the previously received document messages;
selecting a pair of corresponding document messages by identifying any one previously received document message having a primary key code corresponding with the primary key code of the new inbound message;
selecting a unique new inbound document message by identifying any new inbound document message with a primary key code which does not correspond to any of the primary key codes maintained in the web-based application database;
identifying the more recent document message in the selected pair of corresponding document messages by comparing the timestamp of the previously received document message in the message pair with the timestamp of the new inbound message in the message pair; and
updating the web-based application database to record;
the inbound document message information for the more recent document message, the unique inbound document message; and
the timestamps for the more recent and the unique inbound document messages,wherein the method is adapted to process the document messages in a synchronous time sequence even if the timestamp of the previously received document message is more recent than the timestamp of the new inbound message.
1 Assignment
0 Petitions
Accused Products
Abstract
A Web-based computer system is provided with software for processing of inbound messages originating from a back office system. The computer system or web-based application may be operated to maintain the consistency of the information on both systems. A method of operating the computer system and application is also provided. The method, system and application accommodate use of multiple inbound queue server processes, multiple ports for sending messages from the back office system and multi-threaded processing in the web-based application system. The various inbound messages received by the web-based application system are processed in proper time sequence. Every document created by the back office system is identified with a unique primary key. The primary key identifies the type of document and the document number corresponding to the particular document. The document and a timestamp identifying the date and time of the document'"'"'s creations are stored in the back office database. The web-based application system receives an inbound message including the document information from the back office system. Upon receipt, the web based application system searches a database listing primary key information of earlier received messages and compares the primary key information of the inbound message. If the primary key of the inbound message matches a stored primary key entry, the timestamps of the two messages are compared. The message having the later timestamp is identified as the most current version and is recorded in the web-based application database.
-
Citations
18 Claims
-
1. A method of synchronizing communications messages between a first back office system and a web-based application in a computer network, wherein the first back office system comprises a first back office database and a plurality of nodes for creating documents, the nodes communicating with the first back office database, the documents each being identified with a primary key code and a timestamp designating the time of creation of each document, and the back office system generates document messages, the document messages each comprising one of the documents and primary key code and timestamp information for the one of the documents, the method comprising the steps of:
-
receiving in the web-based application a stream of the document messages from the first back office system, wherein the document messages transfer information about changes to data in the first back office system for integrating the first back office system and the web-based application; operating a database of the web-based application to maintain inbound document message information comprising primary key codes and said timestamps for selected document messages previously received by the web-based application database; comparing the primary key code of a new inbound document message received by the web-based application database with primary key codes maintained in the web-based application database for the previously received document messages; selecting a pair of corresponding document messages by identifying any one previously received document message having a primary key code corresponding with the primary key code of the new inbound message; selecting a unique new inbound document message by identifying any new inbound document message with a primary key code which does not correspond to any of the primary key codes maintained in the web-based application database; identifying the more recent document message in the selected pair of corresponding document messages by comparing the timestamp of the previously received document message in the message pair with the timestamp of the new inbound message in the message pair; and updating the web-based application database to record;
the inbound document message information for the more recent document message, the unique inbound document message; and
the timestamps for the more recent and the unique inbound document messages,wherein the method is adapted to process the document messages in a synchronous time sequence even if the timestamp of the previously received document message is more recent than the timestamp of the new inbound message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 15)
-
-
8. A computer program product for use with a web-based application, the computer program product comprising:
-
a recording medium; means, recorded on the recording medium, for receiving in an inbound message processor of the web-based application a stream of inbound document messages, wherein the inbound document messages transfer information about changes to data in a sender of the inbound document messages for integrating the sender of the inbound document messages and the web-based application; means, recorded on the recording medium, for operating a web-based application database in the web based application and in communication with the means for receiving to maintain inbound document message information comprising primary key codes and corresponding timestamps for selected document messages previously received by the web-based application database; means, recorded on the recording medium, for comparing the primary key code of a new inbound document message received by the web-based application database with primary key codes maintained in the web-based application database for the previously received document messages; means, recorded on the recording medium, for selecting a pair of corresponding document messages by identifying any one previously received document message having a primary key code corresponding with the primary key code of the new inbound message; means, recorded on the recording medium, for selecting a unique new inbound document message by identifying any new inbound document message with a primary key code which does not correspond to any of the primary key codes maintained in the web-based application database; means, recorded on the recording medium, for identifying the more recent document message in the message pair of corresponding document messages by comparing the timestamp of the previously received document message in the message pair with the timestamp of the new inbound message in the message pair; and means, recorded on the recording medium, for updating the web-based application database to record;
inbound document message information for the more recent document message;
inbound document message information for the unique inbound document message; and
the timestamps for the more recent and the unique inbound document messages,wherein the program product is adapted to process the inbound document messages in a synchronous time sequence even if the timestamp of the previously received document message is more recent than the timestamp of the new inbound message. - View Dependent Claims (9, 10, 11, 16, 17)
-
-
12. A web-based system for communication with a back office system, the back office system comprising a back office database and a plurality of nodes for creating documents, the nodes communicating with the back office database, the documents each being identified with a primary key code and a timestamp designating the creation of each document, the back office system generating document messages, each of the document messages comprising one of the documents and the primary key code and the timestamp for the one of the documents, the web-based system comprising:
-
an inbound message processor for processing a stream of document messages received from the back office system, wherein the document messages transfer information about changes to data in the back office system for integrating the back office system and the web-based application; a web-based application database in communication with the inbound message processor; means for operating the web-based application database to maintain inbound document message information comprising primary key codes and timestamp for selected document messages previously received by the web-based application database; means for comparing the primary key code of a new inbound document message received by the web-based application database with primary key codes maintained in the web-based application database for the previously received document messages; means for selecting a pair of corresponding document messages by identifying any one previously received document message having a primary key code corresponding with the primary key code of the new inbound message; means for selecting a unique new inbound document message by identifying any new inbound document message with a primary key code which does not correspond to any of the primary key codes maintained in the web-based application database; means for identifying the more recent document message in the message pair of corresponding document messages by comparing the timestamp of the previously received document message in the message pair with the timestamp of the new inbound message in the message pair; and means for updating the web-based application database to record;
the inbound document message information for the more recent document message;
the inbound document message information for the unique inbound document message; and
the timestamps for the more recent and the unique inbound document messages,wherein the system is adapted to process the document messages in a synchronous time sequence even if the timestamp of the previously received document message is more recent than the timestamp of the new inbound message. - View Dependent Claims (13, 14, 18)
-
Specification