发明名称 Verifying content of resources in markup language documents by inclusion of a hash attribute-value pair in references to the content
摘要 A method and system for verifying resource content. A first characteristic of the content of a resource stored at a second computer is computed. The second computer is coupled to the first computer via a communication infrastructure. A markup element including the computed first characteristic is created in a markup language document. The resource is retrieved from the second computer according to a resource indicator that references the resource. A second characteristic of the content of the retrieved resource is generated by computing a hash of the content of the retrieved resource according to a particular hash algorithm. The second characteristic is ascertained to be identical to the first characteristic. The resource indicator and the first characteristic are included in the markup element. The created markup element includes a first attribute-value pair and a second attribute-value pair within distinct non-overlapping portions of the markup element.
申请公布号 US9477647(B2) 申请公布日期 2016.10.25
申请号 US201314020946 申请日期 2013.09.09
申请人 International Business Machines Corporation 发明人 Patrick Kyle N.
分类号 G06F17/00;G06F17/22;G06F17/27 主分类号 G06F17/00
代理机构 Schmeiser, Olsen & Watts, LLP 代理人 Schmeiser, Olsen & Watts, LLP ;Pivnichny John
主权项 1. A method for verifying resource content, said method comprising: a processor at a first computer computing a first characteristic of the content of a resource stored at a second computer coupled to the first computer via a communication infrastructure; said processor at the first computer creating, in a markup language document, a markup element comprising the computed first characteristic; said processor at the first computer extracting the first characteristic from the markup element in the markup language document; said processor at the first computer retrieving the resource from the second computer according to a resource indicator that references the resource; said processor at the first computer generating a second characteristic of the content of the retrieved resource, wherein said generating the second characteristic comprises computing a hash of the content of the retrieved resource according to a particular hash algorithm; and said processor at the first computer ascertaining that the second characteristic is identical to the first characteristic, wherein said creating the markup element comprises: including the resource indicator in the markup element;computing the first characteristic by computing, according to the particular hash algorithm, a hash of the content of the resource referenced by the resource indicator; andincluding the first characteristic in the markup element, wherein said creating the markup element results in the markup element comprising a first attribute-value pair and a second attribute-value pair, wherein the first attribute-value pair and the second attribute-value pair are within distinct non-overlapping portions of the markup element, wherein the first attribute-value pair comprises both a first attribute denoting the resource indicator and a value pertaining to the first attribute, said value pertaining to the first attribute consisting of a first character string that consists of the resource indicator, wherein the second attribute-value pair comprises both a second attribute denoting the first characteristic and a value pertaining to the second attribute, said value pertaining to the second attribute consisting of a second character string that comprises an identifier of the particular hash algorithm and the generated first characteristic, and wherein the first attribute and the second attribute are different attributes.
地址 Armonk NY US
您可能感兴趣的专利