Apparatus and method for adjusting data sizes in database operations
First Claim
1. An apparatus for adjusting the size of a datum being transferred between a computer program and a data store, said datum being transferred based upon a datum transfer command issued from said computer program, said datum transfer command operating upon said data store, said computer program using said datum with a first size, said data store using said datum with a second size, said first size differing from said second size, comprising:
- a datum transfer direction determinator coupled to said computer program for determining a datum transfer direction, said datum transfer direction indicating whether said datum is being transferred to said computer program from said data store or said datum is being transferred to said data store from said computer program, said determining of said datum transfer direction being based upon said datum transfer command, said datum transfer direction being determined after said computer program has issued said datum transfer command; and
a data size adjuster coupled to said datum transfer direction determinator and to said computer program and to said data store for adjusting the size of said datum based upon the determined datum transfer direction and upon a predetermined data size adjustment value, said adjusting being performed after said datum transfer direction determinator has determined the datum transfer direction and before said datum transfer command has operated upon said data store, said adjusted size of said datum being equal to the first size or the second size depending upon the datum transfer direction.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus for adjusting the size of data as it is exchanged between a computer program and a database in situations when the computer program and the database use different formats for the data which is to be exchanged. A datum transfer direction determinator determines whether the datum which has the incompatible data format is being transferred to the database or to the computer program. The determinator examines the database operation issued from the computer program to determine whether the computer program is to receive the datum as in the case of a retrieve database operation or the database is to receive the data as in the case of an insert database operation. Based upon the datum direction and a predetermined adjustment value, a data size adjuster then adjusts the size of the data to be compatible with the data size used by the intended recipient of the data.
30 Citations
36 Claims
-
1. An apparatus for adjusting the size of a datum being transferred between a computer program and a data store, said datum being transferred based upon a datum transfer command issued from said computer program, said datum transfer command operating upon said data store, said computer program using said datum with a first size, said data store using said datum with a second size, said first size differing from said second size, comprising:
-
a datum transfer direction determinator coupled to said computer program for determining a datum transfer direction, said datum transfer direction indicating whether said datum is being transferred to said computer program from said data store or said datum is being transferred to said data store from said computer program, said determining of said datum transfer direction being based upon said datum transfer command, said datum transfer direction being determined after said computer program has issued said datum transfer command; and a data size adjuster coupled to said datum transfer direction determinator and to said computer program and to said data store for adjusting the size of said datum based upon the determined datum transfer direction and upon a predetermined data size adjustment value, said adjusting being performed after said datum transfer direction determinator has determined the datum transfer direction and before said datum transfer command has operated upon said data store, said adjusted size of said datum being equal to the first size or the second size depending upon the datum transfer direction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for adjusting the size of a datum being transferred between a computer program and a data store, said datum being transferred based upon a datum transfer command issued from said computer program, said datum transfer command operating upon said data store, said computer program using said datum with a first size, said data store using said datum with a second size, said first size differing from said second size, comprising the steps of:
-
receiving the datum transfer command from said computer program; determining a data transfer direction, said datum transfer direction indicating whether said datum is being transferred to said computer program from said data store or said datum is being transferred to said data store from said computer program, said determining of said datum transfer direction being based upon said datum transfer command; adjusting the size of said datum based upon the determined datum transfer direction and upon a predetermined data size adjustment value, said adjusted size of said datum being equal to the first size or the second size depending upon the datum transfer direction; and sending the datum in its adjusted data size to an intended recipient, said intended recipient being based upon said determined datum transfer direction. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. An apparatus for adjusting the size of a datum being transferred between a computer program and a data store, said datum being transferred based upon a datum transfer command issued from said computer program, said datum transfer command operating upon said data store wherein said datum transfer command is a database operation, said computer program using said datum with a first size, said data store using said datum with a second size, said first size differing from said second size, comprising:
-
a datum transfer direction determinator coupled to said computer program for determining a datum transfer direction, said datum transfer direction indicating whether said datum is being transferred to said computer program from said data store or said datum is being transferred to said data store from said computer program, said determining of said datum transfer direction being based upon said datum transfer command, said datum transfer direction being determined after said computer program has issued said datum transfer command, said datum transfer direction determinator using a database operation determinator to determine the type of database operation to be performed upon said database by said computer program, said type of database operation being determined by analyzing said database operation after said computer program has sent said database operation and before said database has received said database operation, said data store being a database; and a data size adjuster coupled to said datum transfer direction determinator and to said computer program and to said data store for adjusting the size of said datum based upon the determined datum transfer direction and upon a predetermined data size adjustment value, said adjusting being performed after said datum transfer direction determinator has determined the datum transfer direction and before said datum transfer command has operated upon said data store, said adjusted size of said datum being equal to the first size or the second size depending upon the datum transfer direction, wherein said adjusted size of said datum is equal to the first size when said database operation is a retrieval database command. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. An apparatus for adjusting the size of a datum being transferred between a computer program and a data store, said datum being transferred based upon a datum transfer command issued from said computer program, said datum transfer command operating upon said data store wherein said datum transfer command is a database operation, said computer program using said datum with a first size, said data store using said datum with a second size, said first size differing from said second size, comprising:
-
a datum transfer direction determinator coupled to said computer program for determining a datum transfer direction, said datum transfer direction indicating whether said datum is being transferred to said computer program from said data store or said datum is being transferred to said data store from said computer program, said determining of said datum transfer direction being based upon said datum transfer command, said datum transfer direction being determined after said computer program has issued said datum transfer command, said datum transfer direction determinator using a database operation determinator to determine the type of database operation to be performed upon said database by said computer program, said type of database operation being determined by analyzing said database operation after said computer program has sent said database operation and before said database has received said database operation, said data store being a database; and a data size adjuster coupled to said datum transfer direction determinator and to said computer program and to said data store for adjusting the size of said datum based upon the determined datum transfer direction and upon a predetermined data size adjustment value, said adjusting being performed after said datum transfer direction determinator has determined the datum transfer direction and before said datum transfer command has operated upon said data store, said adjusted size of said datum being equal to the first size or the second size depending upon the datum transfer direction, wherein said adjusted size of said datum is equal to the second size when said database operation is an inserting or replacing database command. - View Dependent Claims (25, 26, 27, 28, 29)
-
-
30. A method for adjusting the size of a datum being transferred between a computer program and a data store, said datum being transferred based upon a datum transfer command issued from said computer program, said datum transfer command operating upon said data store, wherein said datum transfer command is a database operation, said computer program using said datum with a first size, said data store using said datum with a second size, said first size differing from said second size, comprising the steps of:
-
receiving the datum transfer command from said computer program; determining a data transfer direction, said datum transfer direction indicating whether said datum is being transferred to said computer program from said data store or said datum is being transferred to said data store from said computer program, said determining of said datum transfer direction being based upon said datum transfer command; adjusting the size of said datum based upon the determined datum transfer direction and upon a predetermined data size adjustment value, said adjusted size of said datum being equal to the first size or the second size depending upon the datum transfer direction, wherein said adjusted size of said datum is equal to the first size when said database operation is a retrieval database command; sending the datum in its adjusted data size to an intended recipient, said intended recipient being based upon said determined datum transfer direction; and determining the type of database operation to be performed upon said database by said computer program, said type of database operation being determined by analyzing said database operation after said computer program has sent said database operation and before said database has received said database operation, said data store being a database. - View Dependent Claims (31, 32, 33, 34, 35, 36)
-
Specification