# US 2022/0283987 A1 · Management server, document file management system, document file management method, and document file management program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283987 A1
- Document ID: US20220283987A1
- Status: Published application
- Kind: A1
- Application number: 17/311,342
- Filed: 2020-11-26
- Published: 2022-09-08
- Earliest claimed: 2019-11-27
- Assignees: Skycom Corporation
- Applicants: Skycom Corporation
- Inventors: YOSHIKUNI NAKAMURA
- Web page: https://patentgrep.com/patent/US20220283987A1

## CPC

- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/137: {Hash-based (content-based indexing of textual data G06F16/31)}
- G06F 16/93: Document management systems
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G09C 1/00: Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system (cryptographic typewriters G09C3/00)
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Whether a document file is tampered and the like can be determined without imposing a burden on a user. A hash value calculation unit 103 adds contents of update to an original document as incremental update in order of update, and calculates a hash value of the document file for each of the original document and a document for adding the updated content and a hash value of a document file the hash value and the document file ID, identifying the document file, of which are registered in a blockchain network. An ID acquisition unit 102 acquires the document file ID identifying a received document file, from the document file. A hash value acquisition unit 105 acquires the hash value stored in the latest block among blocks storing the document file IDs from the blockchain network. A tampering determination unit 106 determines whether the document file is tampered by determining whether the hash value calculated and the hash value acquired from the blockchain network 300 match.

## Claims

### Claim 1

A management server connected to an information terminal device via a network, the management server comprising:
a reception unit that receives, from the information terminal device, a document file for adding to an original document, an updated content of the original document as incremental update in order of update;
a hash value calculation unit that calculates a hash value of the document file received by the reception unit;
a document file ID acquisition unit that acquires a document file ID that is included in the document file received by the reception unit and identifies the document file;
a hash value acquisition unit that acquires, from a blockchain network to which a block storing the hash value of the document file, the document file ID, and a file size of the document file in association with each other, is registered each time the document file is updated, a hash value and a file size stored in a latest block among blocks storing the document file ID acquired by the document file ID acquisition unit;
a tampering determination unit that determines whether the document file is tampered, by determining whether the hash value calculated by the hash value calculation unit matches the hash value acquired by the hash value acquisition unit and by determining whether a file size of the document file received by the reception unit matches the file size acquired by the hash value acquisition unit; and
a transmission unit that transmits a determination result obtained by the tampering determination unit to the information terminal device.

### Claim 2 (depends on 1)

The management server according to claim 1 further comprising
a version determination unit that stores version information on the document file in association with the document file ID in a block to be registered in the blockchain network, and determines that the version information stored in the latest block is version information on the document file, when the tampering determination unit determines that no tampering has been done, wherein
the transmission unit transmits a determination result obtained by the version determination unit to the information terminal device.

### Claim 3

A management server connected to an information terminal device via a network, the management server comprising:
a reception unit that receives, from the information terminal device, a document file for adding to an original document, an updated content of the original document as incremental update in order of update;
a document file ID acquisition unit that acquires a document file ID that identifies the document file from the document file received by the reception unit;
a hash value acquisition unit that acquires, from a blockchain network to which a block storing the hash value of the document file, the document file ID, and a file size of the document file in association with each other, is registered each time the document file is updated, a file size stored in a latest block among blocks storing the document file ID acquired by the document file ID acquisition unit;
a version determination unit that determines whether the document file is latest by determining whether a file size stored in the latest block among blocks acquired by the hash value acquisition unit and a file size of the document file match; and
a transmission unit that transmits a determination result obtained by the version determination unit to the information terminal device.

### Claim 4 (depends on 3)

The management server according to claim 3 further comprising:
a hash value calculation unit that calculates a hash value of the document file received by the reception unit; and
a tampering determination unit that determines whether the document file is tampered, by determining whether a hash value stored in the latest block and the hash value calculated by the hash value calculation unit match, when the version determination unit determines that a file size stored in the latest block and a file size of the document file match.

### Claim 5 (depends on 3)

The management server according to claim 3, wherein the version determination unit determines that the document file is not a latest version when the file size stored in the latest block and the file size of the document file are determined not to match.

### Claim 6 (depends on 3)

The management server according to claim 3 wherein the version determination unit determines version information stored in the block to be version information on the document file and that no unregistered update has been made, when a file size stored in the block among blocks storing the document file ID acquired from the blockchain network by the hash value acquisition unit is determined to match the file size of the document file and when a hash value stored in the block and a hash value of the document file are determined to match.

### Claim 7 (depends on 3)

The management server according to claim 3, wherein the version determination unit determines version information stored in the block to be version information on the document file and that an unregistered update has been made, when a file size stored in the block among blocks storing the document file ID acquired from the blockchain network by the hash value acquisition unit is determined not to match the file size of the document file and when a hash value stored in the block and a hash value of the document file from a beginning of the document file to the file size are determined to match.

### Claim 8 (depends on 3)

The management server according to claim 3, wherein
the hash value acquisition unit acquires, from the blockchain network, one or more hash values, file sizes, and pieces of version information corresponding to the document file ID included in the document file received by the reception unit,
the version determination unit acquires a file size of the document file and determines whether there is the file size, acquired by the hash value acquisition unit, matching the acquired file size, and
when there is the matching file size, compares a hash value corresponding to the file size acquired by the hash value acquisition unit with a hash value of the document file, and when the hash values match, determines that the version information corresponding to the file size acquired by the hash value acquisition unit is a version of the document file and that no unregistered update has been made on the blockchain network.

### Claim 9 (depends on 8)

The management server according to claim 8, wherein
when the file size matching the file size of the document file is absent, the version determination unit selects a file size smaller than the file size of the document file acquired by the hash value acquisition unit and calculates a hash value from a beginning of the document file to the selected file size, compares the calculated hash value with a hash value corresponding to the selected file size, and determines that the version information corresponding to the file size is the version of the document file and that the unregistered update has been made on the blockchain network when the hash values match.

### Claim 10 (depends on 8)

The management server according to claim 8, wherein
the reception unit receives the document file and a document registration request from the information terminal device, and
the management server further comprises:
an ID acquisition unit that, when the document file ID is stored in the document file, acquires the document file ID from the document file, and when the document file ID is not stored in the document file, generates the document file ID and stores the generated document file ID in the document file;
a hash value calculation unit that calculates a hash value, a file size, and version information on the document file; and
a blockchain registration unit that registers the document file ID, the hash value, the file size, and the version information in the blockchain network.

### Claim 11 (depends on 10)

The management server according to claim 10, wherein the blockchain registration unit registers, in the blockchain network, the document file ID, the hash value, the file size, and the version information together with a registration date and time that is a date and time of storage in the blockchain network.

### Claim 12

A management server connected to an information terminal device via a network, the management server comprising:
a reception unit that receives, from the information terminal device, a document file for adding to an original document, an updated content of the original document as incremental update in order of update;
a document file ID acquisition unit that acquires a document file ID that identifies the document file from the document file received by the reception unit;
a hash value acquisition unit that acquires, from a blockchain network to which a block storing the hash value of the document file, the document file ID, and a file size of the document file in association with each other, is registered each time the document file is updated, a hash value and a file size stored in a latest block among blocks storing the document file ID acquired by the document file ID acquisition unit;
a file size determination unit that determines whether a file size of the document file is larger than the file size stored in the latest block acquired by the hash value acquisition unit;
a hash value calculation unit that calculates a hash value of the document file received by the reception unit from a beginning to the file size stored in the latest block;
a registration feasibility determination unit that determines that the document file is able to be registered, when the file size determination unit determines that the file size of the document file is larger than the file size stored in the latest block acquired by the hash value acquisition unit, and when the hash value stored in the latest block acquired by the hash value acquisition unit and the hash value calculated by the hash value calculation unit match; and
a transmission unit that transmits a determination result obtained by the registration feasibility determination unit to the information terminal device.

### Claim 13 (depends on 12)

The management server according to claim 12, wherein
the file size determination unit determines whether the file size of the document file matches the file size stored in the latest block acquired by the hash value acquisition unit, and
the registration feasibility determination unit determines that the document file is already registered and is unable to be registered, when the file size determination unit determines that the file size of the document file and the file size stored in the latest block acquired by the hash value acquisition unit match.

### Claim 14 (depends on 12)

The management server according to claim 12, wherein the registration feasibility determination unit determines that the document file is unable to be registered, when the file size determination unit determines that the file size of the document file is smaller than the file size stored in the latest block acquired by the hash value acquisition unit.

### Claim at position 15

15-18. (canceled)

### Claim 19

A document file management method executed by a computer, the document file management method comprising:
a receiving step of receiving a document file for adding to an original document, an updated content of the original document as incremental update in order of update;
a hash value calculation step of calculating a hash value of the document file received by the receiving step;
a document file ID acquiring step of acquiring a document file ID that is included in the document file received by the receiving step and identifying the document file;
a hash value acquiring step of acquiring, from a blockchain network to which a block storing the hash value of the document file, the document file ID, and a file size of the document file in association with each other, is registered each time the document file is updated, a hash value and a file size stored in a latest block among blocks storing the document file ID acquired by the document file ID acquiring step;
a tampering determining step of determining whether the document file is tampered, by determining whether the hash value calculated by the hash value calculation step matches the hash value acquired by the hash value acquiring step and by determining whether a file size of the document file received by the receiving step matches the file size acquired by the hash value acquiring step; and
a transmitting step of transmitting a determination result obtained by the tampering determining step.

### Claim 20

A document file management method executed by a computer, the document file management method comprising:
a receiving step of receiving a document file for adding to an original document, an updated content of the original document as incremental update in order of update;
a document file ID acquiring step of acquiring a document file ID that identifies the document file from the document file received by the receiving step;
a hash value acquiring step of acquiring, from a blockchain network to which a block storing the hash value of the document file, the document file ID, and a file size of the document file in association with each other is registered each time the document file is updated, a file size stored in a latest block among blocks storing the document file ID acquired by the document file ID acquiring step;
a version determining step of determining whether the document file is latest by determining whether a file size stored in the latest block among blocks acquired by the hash value acquiring step and a file size of the document file match; and
a transmitting step of transmitting a determination result obtained by the version determining step.

### Claim 21 (depends on 20)

The document file management method according to claim 20, wherein
the hash value acquiring step includes acquiring, from the blockchain network, one or more hash values, file sizes, and pieces of version information corresponding to the document file ID included in the document file received by the receiving step,
the version determining step includes acquiring a file size of the document file and determining whether there is the file size, acquired by the hash value acquiring step, matching the acquired file size, and
when there is the matching file size, comparing a hash value corresponding to the file size acquired by the hash value acquiring step with a hash value of the document file, and when the hash values match, determining that the version information corresponding to the file size acquired by the hash value acquisition step is a version of the document file and that no unregistered update has been made on the blockchain network.

### Claim 22

A document file management method executed by a computer, the document file management method comprising:
a receiving step of receiving a document file for adding to an original document, an updated content of the original document as incremental update in order of update;
a document file ID acquiring step of acquiring a document file ID that identifies the document file from the document file received by the receiving step;
a hash value acquiring step of acquiring, from a blockchain network to which a block storing the hash value of the document file, the document file ID, and a file size of the document file in association with each other, is registered each time the document file is updated, a hash value and a file size stored in a latest block among blocks storing the document file ID acquired by the document file ID acquiring step;
a file size determining step of determining whether a file size of the document file is larger than the file size stored in the latest block acquired by the hash value acquiring step;
a hash value calculation step of calculating a hash value of the document file received by the reception unit from a beginning to the file size stored in the latest block; and
a registration feasibility determining step of determining that the document file is able to be registered, when it is determined in the file size determining step that the file size of the document file is larger than the file size stored in the latest block acquired by the hash value acquiring step, and when the hash value stored in the latest block acquired by the hash value acquiring step and the hash value calculated by the hash value calculation step match.

### Claim 23

(canceled)

### Claim 24 (depends on 19)

A computer-readable recording medium recording a document file management program for causing a computer to execute the document file management method according to claim 19.

### Claim 25 (depends on 20)

A computer-readable recording medium recording a document file management program for causing a computer to execute the document file management method according to claim 20.

### Claim 26 (depends on 21)

A computer-readable recording medium recording a document file management program for causing a computer to execute the document file management method according to claim 21.

### Claim 27 (depends on 22)

A computer-readable recording medium recording a document file management program for causing a computer to execute the document file management method according to claim 22.
