System and method for manipulating data records
First Claim
Patent Images
1. A method of manipulating data records comprising:
- reading a plurality of data records from a record source, for each of the plurality of data records;
determining a length of the data record; and
adding the data record and associated length to a first file at a first position;
receiving a new data record to be added to the plurality of data records;
determining a length of the new data record;
slewing the data records between the first file and a second file until the new record should be added after a last feed record of the first file or before a last takeup record of the second file based on a comparison of values of the new data record and the data records being slewed between the first file and the second file, wherein slewing the data records comprises;
moving a data record from the first file to a transfer buffer;
comparing the new data record to the data record of the transfer buffer to determine if the new data record should be added between the record in the transfer buffer and the last record in the second file;
if the new data record should be added between the data record in the transfer buffer and the last record in the second file, adding the new transfer record to the second file; and
if the new data record should not be added between the data record in the transfer buffer and the last record in the second file, moving the data record from the transfer buffer to the second file and moving another data record from the first file to the transfer buffer; and
adding the new record and associated length to either the end of the first file or the second file.
0 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for manipulating data records in a byte accessible format are provided. Records may be loaded into one of two byte accessible files or arrays, with a determined record length added to the beginning and/or end of each record. Records may then be slewed between the two files and records added, removed, or modified at the split between the two files.
9 Citations
18 Claims
-
1. A method of manipulating data records comprising:
-
reading a plurality of data records from a record source, for each of the plurality of data records; determining a length of the data record; and adding the data record and associated length to a first file at a first position; receiving a new data record to be added to the plurality of data records; determining a length of the new data record; slewing the data records between the first file and a second file until the new record should be added after a last feed record of the first file or before a last takeup record of the second file based on a comparison of values of the new data record and the data records being slewed between the first file and the second file, wherein slewing the data records comprises; moving a data record from the first file to a transfer buffer; comparing the new data record to the data record of the transfer buffer to determine if the new data record should be added between the record in the transfer buffer and the last record in the second file; if the new data record should be added between the data record in the transfer buffer and the last record in the second file, adding the new transfer record to the second file; and if the new data record should not be added between the data record in the transfer buffer and the last record in the second file, moving the data record from the transfer buffer to the second file and moving another data record from the first file to the transfer buffer; and adding the new record and associated length to either the end of the first file or the second file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for manipulating data records comprising:
-
a processor for executing instructions; and a memory for storing instruction, which when executed by the processor configure the system to; read a plurality of data records from a record source, and for each of the plurality of data records; determine a length of the data record; and add the data record and associated length to a first file at a first position; receive new data record to be added to the plurality of data records; determine a length of the new data record; slew the data records between the first file and a second file until the new record should be added after a last feed record of the first file or before a last takeup record of the second file based on a comparison of values of the new data record and the data records being slewed between the first file and the second file, wherein slewing the data records comprises; moving a data record from the first file to a transfer buffer; comparing the new data record to the data record of the transfer buffer to determine if the new data record should be added between the record in the transfer buffer and the last record in the second file; if the new data record should be added between the data record in the transfer buffer and the last record in the second file, adding the new transfer record to the second file; and if the new data record should not be added between the data record in the transfer buffer and the last record in the second file, moving the data record from the transfer buffer to the second file and moving another data record from the first file to the transfer buffer; and add the new record and associated length to either the end of the first file or the second file.
-
-
18. A non-transitory computer readable memory storing instruction, which when executed by a processor of a computing system configure the computing system to:
-
read a plurality of data records from a record source, and for each of the plurality of data records; determine a length of the data record; and add the data record and associated length to a first file at a first position; receive a new data record to be added to the plurality of data records; determine a length of the new data record; slew the data records between the first file and a second file until the new record should be added after a last feed record of the first file or before a last takeup record of the second file based on a comparison of values of the new data record and the data records being slewed between the first file and the second file, wherein slewing the data records comprises; moving a data record from the first file to a transfer buffer; comparing the new data record to the data record of the transfer buffer to determine if the new data record should be added between the record in the transfer buffer and the last record in the second file; if the new data record should be added between the data record in the transfer buffer and the last record in the second file, adding the new transfer record to the second file; and if the new data record should not be added between the data record in the transfer buffer and the last record in the second file, moving the data record from the transfer buffer to the second file and moving another data record from the first file to the transfer buffer; and add the new record and associated length to either the end of the first file or the second file.
-
Specification