Systems and methods for efficient data transfer
First Claim
1. A method for transferring data, the method comprising:
- sending, from a receiving device, a data query to request data from a sending device;
receiving, from the sending device, a data result model in response to the data query, the data result model including a table block and a final status block;
analyzing the data result model to regenerate the data for storage at the receiving device, wherein the analyzing of the data result model comprises;
reading at least one column definition and at least one data row from the table block, the data row including a row flag, a null location list, and a row payload field including non-null data to be transferred to the receiving device,determining a number of columns in the table block from the column definition,analyzing the row flag to determine whether the data row includes null values and, when the row flag indicates a presence of null values, further analyzing the null location list to determine location information for the non-null data and the null values,creating at least one mapped data row by sequentially inserting the non-null data from the row payload field at non-null locations and inserting a null value at each null location determined in the analyzing of the row flag, and determining whether the table block received by the receiving device is complete by reading a user message in the final status block, the user message including a severity flag and an indication that the table block is complete; and
processing each mapped data row to provide the regenerated data for storage at the receiving device.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are provided for transferring data. In one implementation, a method is provided for transferring data between a sending device (e.g., a server) and a receiving device (e.g., a client). The method may include sending, from the receiving device, a data query to request data from the sending device and receiving, form the sending device, a data result model in response to the data query. The data result model may include a table block. The method may also include analyzing the data result model to regenerate the data for storage at the receiving device. Analyzing the data result model may comprises reading at least one column definition and at least one data row from the table block, the data row including a row flag, a null location list, and a row payload field including the non-null data to be transferred to the receiving device. The method may further include processing each mapped data row to provide the regenerated data for storage at the receiving device.
7 Citations
17 Claims
-
1. A method for transferring data, the method comprising:
-
sending, from a receiving device, a data query to request data from a sending device; receiving, from the sending device, a data result model in response to the data query, the data result model including a table block and a final status block; analyzing the data result model to regenerate the data for storage at the receiving device, wherein the analyzing of the data result model comprises; reading at least one column definition and at least one data row from the table block, the data row including a row flag, a null location list, and a row payload field including non-null data to be transferred to the receiving device, determining a number of columns in the table block from the column definition, analyzing the row flag to determine whether the data row includes null values and, when the row flag indicates a presence of null values, further analyzing the null location list to determine location information for the non-null data and the null values, creating at least one mapped data row by sequentially inserting the non-null data from the row payload field at non-null locations and inserting a null value at each null location determined in the analyzing of the row flag, and determining whether the table block received by the receiving device is complete by reading a user message in the final status block, the user message including a severity flag and an indication that the table block is complete; and processing each mapped data row to provide the regenerated data for storage at the receiving device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for transferring data from a sending device to a receiving device, the system comprising:
-
a processor; and a memory for storing program instructions which, when executed, cause the receiving device to; receive from the sending device a data result model in response to a data query, the data result model including a table block and a final status block; analyze the data result model to regenerate the data for storage at the receiving device, wherein the program instructions further cause the receiving device to; read at least one column definition and at least one data row from the table block, the data row including a row flag, a null location list, and a row payload field including non-null data to be transferred to the receiving device, determine a number of columns in the table block from the column definition, analyze the row flag to determine whether the data row includes null values and, when the row flag indicates a presence of null values, further analyze the null location list to determine location information for the non-null data and the null values, create at least one mapped data row by sequentially inserting the non-null data from the row payload field at non-null locations and inserting a null value at each null location determined from the null location list; determining whether the table block received from the sending device is complete by reading a user message in the final status block, the user message including a severity flag and an indication that the table block is complete; and process each mapped data row to provide the regenerated data for storage in the memory. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer-readable storage medium comprising instructions, which when executed on a processor, cause the processor to perform a method for transferring data, the method comprising:
-
sending, from a receiving device, a data query to request data from a sending device; receiving, from the sending device, a data result model in response to the data query, the data result model including a table block and a final status block; analyzing the data result model to regenerate the data for storage at the receiving device, wherein the analyzing the data result model comprises; reading at least one column definition and at least one data row from the table block, the data row including a row flag, a null location list, and a row payload field including non-null data to be transferred to the receiving device, determining the number of columns in the table block from the column definition, analyzing the row flag to determine whether the data row includes null values and, when the row flag indicates a presence of the null values, further analyzing the null location list to determine location information for the non-null data and the null values, creating at least one mapped data row by sequentially inserting the non-null data of the row payload field at non-null locations and inserting a null value at each null location determined from the null location list, and determining whether the table block received by receiving device is complete by reading a user message in the final status block, the user message including a severity flag and an indication that the table block is complete; and processing each mapped data row to provide the regenerated data for storage at the receiving device. - View Dependent Claims (14, 15, 16, 17)
-
Specification