SYSTEMS AND METHODS FOR SEEKABLE LAYER FILE ENCODING AND DECODING
First Claim
Patent Images
1. A method for retrieving encoded transaction information associated with a pharmacy transaction, comprising:
- receiving a request for the transaction information;
searching an index of data elements associated with pharmacy transaction messages in a plurality of data files to identify at least a first data file including the requested transaction information and at least one location of the transaction information within the first data file;
opening a first data file, wherein the data file includes a header and a plurality of data blocks of encoded pharmacy transaction messages;
reading the header and determining a first data block in the first data file that contains the first byte of the requested transaction information;
decoding at least the first data block and outputting the transaction information; and
generating a report based at least in part on the transaction information, and presenting the report to a user.
4 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides for efficient random access to the contents of files encoded with two or more layers of standard or custom encoding. In accordance with an embodiment of the present invention, a file of transaction messages are encoded by dividing the file into multiple discretely-sized, blocks of data are independently encoded. When information in a certain transaction message within the unencoded file is requested, only the encoded block(s) containing that transaction message is decoded.
43 Citations
20 Claims
-
1. A method for retrieving encoded transaction information associated with a pharmacy transaction, comprising:
-
receiving a request for the transaction information; searching an index of data elements associated with pharmacy transaction messages in a plurality of data files to identify at least a first data file including the requested transaction information and at least one location of the transaction information within the first data file; opening a first data file, wherein the data file includes a header and a plurality of data blocks of encoded pharmacy transaction messages; reading the header and determining a first data block in the first data file that contains the first byte of the requested transaction information; decoding at least the first data block and outputting the transaction information; and generating a report based at least in part on the transaction information, and presenting the report to a user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for storing transaction information associated with a pharmacy transaction in a HIPAA compliant data file, comprising:
-
receiving a HIPAA compliant data file including a plurality of transaction messages; indexing in an index repository the data file on predetermined data elements associated with transaction messages; encoding the data file utilizing fixed-sized data segments of the data file to generate a plurality of encoded data blocks; generating a header that includes size indicators for the encoded data blocks; generating an encoded data file comprising the header and the encoded data blocks; and storing in memory the encoded data file.
-
- 11. The method of claim 11, further including storing the index repository.
-
15. A system for retrieving encoded transaction information associated with a pharmacy transaction, comprising:
-
a memory comprising a plurality of encoded data files, the encoded data filed including pharmacy transaction messages, and an index repository of indexed data elements associated with the pharmacy transaction messages in a plurality of data files; and a processor in communication with the memory, wherein the processor is configured to; receive a request for the transaction information; search the index repository to identify at least a first data file including the requested transaction information and at least one location of the transaction information within the first data file; open a first data file, wherein the first data file includes a header and a plurality of data blocks of encoded pharmacy transaction messages; read the header and determine a first data block in the first data file that contains the first byte of the requested transaction information; and decode at least the first data block and output the transaction information.
-
- 16. The system of claim 16, wherein the processor is further configured to generate a report based at least in part on the transaction information.
Specification