Method and system for dynamically determining hash function values for file transfer integrity validation
AssigneeInternational Business Machines Corporation
InventorBrent Edward Davis
Life of this patent
Estimating the term…
Abstract
A method and system for dynamically determining hash values for file transfer integrity validation. In response to a request for a transfer of a data file between a first computing system and a second computing system, the first computing system loads a first portion of the data file to a buffer. The first computing system determines a first hash function value based on the first portion. The first computing system loads a second portion of the data file portion to the buffer and determines a second hash function value incrementally based on the first and second data file portions. The first and second data file portions are non-overlapping portions of the data file being transferred.
Claims20
A computer-implemented method of dynamically determining hash values for file transfer integrity validation, comprising:
- loading, by a first computing system, a first portion of a data file to a file transfer buffer of said first computing system, wherein said loading said first portion is performed in response to a request for a transfer of said data file between said first computing system and a second computing system;
- determining, by said first computing system, a first hash function value in response to said loading said first portion, wherein said first hash function value is based on said first portion;
- loading, by said first computing system and in response to said request for said transfer, a second portion of said data file to said file transfer buffer;
- and
- determining, by said first computing system, a second hash function value incrementally in response to said loading said second portion, wherein said second hash function value is based on said first portion and said second portion,
- wherein said first portion and said second portion are a pair of non-overlapping portions included in a plurality of non-overlapping portions comprising said data file.
A first computing system comprising a processor and a computer-readable memory unit coupled to said processor, said memory unit containing instructions that when executed by said processor implement a method of dynamically determining hash values for file transfer integrity validation, said method comprising:
- initiating loading, by a first computing system, a first portion of a data file to a file transfer buffer of said first computing system, wherein said initiating loading said first portion is performed in response to a request for a transfer of said data file between said first computing system and a second computing system;
- determining, by said first computing system, a first hash function value subsequent to said initiating loading said first portion, wherein said first hash function value is based on said first portion;
- initiating loading, by said first computing system and in response to said request for said transfer, a second portion of said data file to said file transfer buffer;
- and
- determining, by said first computing system, a second hash function value incrementally subsequent to said initiating loading said second portion, wherein said second hash function value is based on said first portion and said second portion,
- wherein said first portion and said second portion are a pair of non-overlapping portions included in a plurality of non-overlapping portions comprising said data file.
A computer program product, comprising a computer usable medium having a computer readable program code embodied therein, said computer readable program code containing instructions that when executed by a processor of a first computing system implement a method of dynamically determining hash values for file transfer integrity validation, said method comprising:
- initiating loading, by a first computing system, a first portion of a data file to a file transfer buffer of said first computing system, wherein said initiating loading said first portion is performed in response to a request for a transfer of said data file between said first computing system and a second computing system;
- determining, by said first computing system, a first hash function value subsequent to said initiating loading said first portion, wherein said first hash function value is based on said first portion;
- initiating loading, by said first computing system and in response to said request for said transfer, a second portion of said data file to said file transfer buffer;
- and
- determining, by said first computing system, a second hash function value incrementally subsequent to said initiating loading said second portion, wherein said second hash function value is based on said first portion and said second portion,
- wherein said first portion and said second portion are a pair of non-overlapping portions included in a plurality of non-overlapping portions comprising said data file.
Dependencies are inferred from the claim text.