# US 10,958,436 B2 · Methods contract generator and validation server for access control of contract data in a distributed system with distributed consensus

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

- Number: US 10,958,436 B2
- Document ID: US10958436B2
- Status: Granted
- Kind: B2
- Application number: 15/857,154
- Filed: 2017-12-28
- Published: 2019-07-04
- Granted: 2021-03-23
- Earliest claimed: 2017-12-28
- Assignees: Industrial Technology Research Institute
- Applicants: Industrial Technology Research Institute
- Inventors: Jiazheng Zhou; Shih-Fang Chang; Ya-Wen Lee; Shih-Chang Chen
- Web page: https://patentgrep.com/patent/US10958436B2

## CPC

- H04L 9/3247: {involving digital signatures}
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- 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}
- G06Q 50/18: Legal services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Methods for access control of contract data in a distributed system are provided. The distributed system includes a contract generator, a validation server, a database and a distributed ledger which are in communication via a network, the method including the steps of: at the contract generator, receiving digital contract data from a first electronic device, determining a permission setting for accessing contract content associated with the digital contract data based on the digital contract data, and setting the permission setting to the validation server via the network, obtaining a validation link corresponding to the digital contract data from the validation server, generating contract information for digital contract data according to partial content of the digital contract data and the validation link, and storing the contract information in the distributed ledger.

## Claims

### Claim 1

A computer-implemented method for access control of contract data in a distributed system with distributed consensus, wherein the distributed system comprises a contract generator, a validation server, a first storage device storing a database and a second storage device providing a distributed ledger, wherein at the contract generator, the method comprising:
receiving digital contract data from a first electronic device via a network;
determining a permission setting for accessing contract content associated with the digital contract data based on the digital contract data, and setting the permission setting associated with the digital contract data to the validation server via the network;
obtaining a validation link for validating the permission setting associated with the digital contract data from the validation server via the network;
generating digital contract information for the digital contract data according to partial content of the digital contract data and the validation link; and
storing the digital contract information in the distributed ledger of the second storage device,
wherein accessing of a complete content of the digital contract data is controlled based on the validation link,
wherein the method further comprises:
receiving, at the validation server, an accessing request from a second electronic device for retrieving the digital contract information corresponding to the digital contract data from the distributed ledger via the network;
obtaining, at the validation server, the validation link from the digital contract information;
performing, at the validation server, a permission validation process to determine whether the second electronic device has the permission to read the digital contract data using the validation link;
in response to determining that the second electronic device has no permission to read the digital contract data, rejecting, at the validation server, the accessing request from the second electronic device; and
in response to determining that the second electronic device has the permission to read the digital contract data, generating, at the validation server, the complete content of the digital contract data based on a digital contract template associated with the digital contract data from the database and the partial content of the digital contract data and transmitting the complete content of the digital contract data to the second electronic device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
prior to determining the permission setting for accessing contract content associated with the digital contract data, determining whether a digital contract template associated with the digital contract data already exists in the database,
wherein the permission setting for accessing contract content associated with the digital contract data is determined based on the digital contract data only when determining that the digital contract template associated with the contract data already exists in the database of the first storage device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the digital contract information further comprises a first hash value generated by applying a hash function on the partial content of the digital contract data and the validation link.

### Claim 4 (depends on 3)

The method of claim 3, wherein the digital contract information further comprises an electronic signature or a digital signature.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
prior to obtaining the validation link from the digital contract information, determining, at the validation server, whether the first hash value associated with the digital contract information is correct;
in response to determining that the first hash value is not correct, rejecting, at the validation server, the accessing request from the second electronic device; and
in response to determining that the first hash value is correct, obtaining, at the validation server, the validation link from the digital contract information.

### Claim 6 (depends on 1)

The method of claim 1, wherein the distributed ledger is implemented using at least one blockchain.

### Claim 7 (depends on 1)

The method of claim 1, wherein the validation link is a uniform resource identifier (URI) for validating the permission setting associated with the digital contract information.

### Claim 8 (depends on 1)

The method of claim 1, wherein the digital contract data includes a first portion of public data and a second portion of private or secure data and the method further comprising:
removing the second portion of private or secure data from the digital contract data, at the contract generator, to generate the partial content of the digital contract data; and
storing, at the contract generator, the second portion of private or secure data into the database.

### Claim 9

A contract generator for access control of contract data in a distributed system with distributed consensus, comprising:
a network interface coupled to a validation server, a distributed ledger and a database via a network;
a memory; and
a processor coupled to the network interface and the memory, configured to perform the following operations:
receiving digital contract data from a first electronic device via the network;
determining a permission setting for accessing contract content associated with the digital contract data based on the digital contract data, and setting the permission setting associated with the digital contract data to the validation server via the network;
obtaining a validation link for validating the permission setting associated with the digital contract data from the validation server via the network;
generating digital contract information for the digital contract data according to partial content of the digital contract data and the validation link; and
storing the digital contract information in the distributed ledger of the second storage device,
wherein accessing of a complete content of the digital contract data is controlled based on the validation link,
wherein the validation server further executes:
receiving an accessing request from a second electronic device for retrieving the digital contract information corresponding to the digital contract data from the distributed ledger via the network;
obtaining the validation link from the digital contract information;
performing a permission validation process to determine whether the second electronic device has the permission to read the digital contract data using the validation link;
in response to determining that the second electronic device has no permission to read the digital contract data, rejecting the accessing request from the second electronic device; and
in response to determining that the second electronic device has the permission to read the digital contract data, generating the complete content of the digital contract data based on a digital contract template associated with the digital contract data from the database and the partial content of the digital contract data and transmitting the complete content of the digital contract data to the second electronic device.

### Claim 10 (depends on 9)

The contract generator of claim 9, wherein the processor is further configured to determine whether a digital contract template associated with the digital contract data already exists in the database prior to determining the permission setting for accessing contract content associated with the digital contract data,
wherein the processor determines the permission setting for accessing contract content associated with the digital contract data based on the digital contract data only when determining that the digital contract template associated with the contract data already exists in the database of the first storage device.

### Claim 11 (depends on 9)

The contract generator of claim 9, wherein the digital contract data includes a first portion of public data and a second portion of private or secure data and the processor is further configured to perform the following operations:
removing the second portion of private or secure data from the digital contract data to generate the partial content of the digital contract data; and
storing the second portion of private or secure data into the database via the network.

### Claim 12 (depends on 9)

The contract generator of claim 9, wherein the distributed ledger is implemented using at least one blockchain.

### Claim 13 (depends on 9)

The contract generator of claim 9, wherein the validation link is a uniform resource identifier (URI) for validating the permission setting associated with the digital contract information.

### Claim 14

A validation server for access control of contract data in a distributed system with distributed consensus, comprising:
a network interface coupled to a distributed ledger storing digital contract information of digital contract data received from a first electronic device and a database via a network, wherein the digital contract information of digital contract data includes partial content of the digital contract data and a validation link;
a memory; and
a processor coupled to the memory and the network interface, configured to perform the following operations:
receiving an accessing request from a second electronic device for retrieving the digital contract information corresponding to digital contract data from the distributed ledger via the network;
obtaining the validation link from the digital contract information;
performing a permission validation process to determine whether the second electronic device has the permission to read the digital contract data using the validation link;
rejecting the accessing request from the second electronic device in response to determining that the second electronic device has no permission to read the digital contract data; and
generating a complete content of the digital contract data based on a digital contract template associated with the digital contract data from the database and the partial content of the digital contract data and transmitting the complete content of the digital contract data to the second electronic device in response to determining that the second electronic device has the permission to read the digital contract data.

### Claim 15 (depends on 14)

The validation server of claim 14, wherein the digital contract information further comprises a first hash value generated by applying a hash function on the partial content of the digital contract data and the validation link.

### Claim 16 (depends on 15)

The validation server of claim 15, wherein the processor is further configured to perform the following operations:
determining whether the first hash value associated with the digital contract information is correct prior to obtaining the validation link from the digital contract information,
wherein the processor rejects the accessing request from the second electronic device in response to determining that the first hash value is not correct and obtains the validation link from the digital contract information in response to determining that the first hash value is correct.

### Claim 17 (depends on 14)

The validation server of claim 14, wherein the distributed ledger is implemented using at least one blockchain.

### Claim 18 (depends on 14)

The validation server of claim 14, wherein the validation link is a uniform resource identifier (URI) for validating the permission setting associated with the digital contract information by the validation server.

### Claim 19 (depends on 14)

The validation server of claim 14, wherein the digital contract data includes a first portion of public data and a second portion of private or secure data, and the partial contract information for the digital contract data contains only the first portion of public data.

### Claim 20 (depends on 9)

The contract generator of claim 9, wherein the digital contract information further comprises a first hash value generated by applying a hash function on the partial content of the digital contract data and the validation link.
