# US 2021/0288787 A1 · Method and system for state associated device identification for digital payments using blockchain technology

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

- Number: US 2021/0288787 A1
- Document ID: US20210288787A1
- Status: Published application
- Kind: A1
- Application number: 17/333,168
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2019-01-22
- Assignees: Mastercard International Incorporated
- Applicants: Mastercard International Incorporated
- Inventors: Ilgin SAFAK; Ramanan RAJAPREYAR; Niravkumar PANDYA; Olutoyin ODUWOLE
- Web page: https://patentgrep.com/patent/US20210288787A1

## CPC

- 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}
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- G06Q 20/3829: {involving key management}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/3073: {involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing}
- H04L 9/3247: {involving digital signatures}
- G06Q 2220/00: Business processing using cryptography
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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

A method for maintaining state and event information for all of a user's devices associated in a common location using a blockchain where each block includes an event block and a device block within it, where each event and device block refers to an earlier block of the respective type, resulting in a blockchain-in-a-blockchain architecture. The device and event blocks store data regarding each device associated with a user and events related to the devices/user, respectively. Any time a new event occurs, or a device is registered or removed, a new set of blocks is created, where submissions regarding device changes or events can be made by any participant due to the decentralized and public nature of a blockchain. The result is a system where all data regarding a user's registered devices and events is kept in a common location in a manner that is auditable and verifiable.

## Claims

### Claim 1

A method for method for maintaining device information for one or more devices associated with a user, comprising:
storing, in a memory of a blockchain node, a blockchain comprised of a plurality of main blocks, where each main block includes a block header and at least one device-event block, the block header includes at least a timestamp, a reference hash value, and a block hash value, each at least one device-event block includes at least one device block and at least one event block, and the plurality of main blocks includes a most recent main block as indicated by the timestamp included in the respective block header;
receiving, by a receiver of the blockchain node, a device registration message including at least a device identifier associated with a new device and a user identifier associated with a user;
creating, by a processing device of the blockchain node, an enrollment event registering the new device to the user, the enrollment event including at least the device identifier;
generating, by the processing device of the blockchain node, an event block hash using at least an event hash value included in the event block included in the most recent block and the created enrollment event;
generating, by the processing device of the blockchain node, a new event block including at least the generated event block hash;
generating, by the processing device of the blockchain node, a device block hash using at least a device hash value included in the device block included in the most recent block and the device identifier; and
generating, by the processing device of the blockchain node, a new device block including at least the generated device block hash.

### Claim 2 (depends on 1)

The method of claim 1, including:
generating, by the processing device of the blockchain node, a new device-event block including the generated new event block and the generated new device block.

### Claim 3 (depends on 2)

The method of claim 2, including
generating, by the processing device of the blockchain node, a new block header, where generation of the new block header includes generating a new block hash value by hashing the most recent block, generating a new reference hash value by hashing the new device-event block, and generating a new timestamp;
generating, by the processing device of the blockchain node, a new block comprised of the new block header and the new device-event block; and
transmitting, by a transmitter of the blockchain node, the generated new block to one or more participants associated with the blockchain.

### Claim 4 (depends on 1)

The method of claim 1, wherein the device-event block further includes a transaction block, the method includes:
receiving, by the receiver of the blockchain node, transaction data associated with the user, the transaction data including one or more data values;
generating, by the processing device of the blockchain node, a transaction block hash using at least a transaction hash value included in the transaction block included in the most recent main block and the transaction data; and
generating, by the processing device of the blockchain node, a new transaction block including at least the generated transaction block hash.

### Claim 5 (depends on 4)

The method of claim 4, including:
generating, by the processing device of the blockchain node, a new device-event-transaction block including the generated new event block, the generated new device block.

### Claim 6 (depends on 5)

The method of claim 5, including:
generating, by the processing device of the blockchain node, a new block header, where generation of the new block header includes generating a new block hash value by hashing the most recent block, generating a new reference hash value by hashing the new device-event-transaction block, and generating a new timestamp;
generating, by the processing device of the blockchain node, a new block comprised of the new block header and the new device-event-transaction block; and
transmitting, by the transmitter of the blockchain node, the generated new block to one or more participants associated with the blockchain.

### Claim 7 (depends on 1)

The method of claim 1, wherein the device registration message is received from the user associated with the one of the one or more devices.

### Claim 8 (depends on 1)

The method of claim 1, wherein the device registration message is received from a blockchain participant other than the user associated with the one of the one or more devices.

### Claim 9

A method for maintaining device information for one or more devices associated with a user, comprising:
storing, in a memory of a blockchain node, a blockchain comprised of a plurality of main blocks, where each main block includes a block header and at least one device-event block, the block header includes at least a timestamp, a reference hash value, and a block hash value, each at least one device-event block includes at least one device block and at least one event block, and the plurality of main blocks includes a most recent main block as indicated by the timestamp included in the respective block header;
receiving, by a receiver of the blockchain node, a new event data for one of the one or more devices associated with the user, the new event data including a unique device identifier identifying the one of the one or more devices;
generating, by the processing device of the blockchain node, an event hash using the new event data;
generating, by the processing device of the blockchain node, an event block hash using at least an event hash value included in the event block included in the most recent main block; and
generating, by the processing device of the blockchain node, a new event block including at least the generated event hash and the generated event block hash.

### Claim 10 (depends on 9)

The method of claim 9, including:
generating, by the processing device of the blockchain node, an device hash using the unique device identifier;
generating, by the processing device of the blockchain node, an device block hash using at least a device hash value included in the device block included in the most recent main block; and
generating, by the processing device of the blockchain node, a new device block including at least the generated device hash and the generated device block hash.

### Claim 11 (depends on 10)

The method of claim 10, including:
generating, by the processing device of the blockchain node, a new device-event block including the generated new event block and the generated new device block;
generating, by the processing device of the blockchain node, a new block header, where generation of the new block header includes generating a new block hash value by hashing the most recent block, generating a new reference hash value by hashing the new device-event block, and generating a new timestamp;
generating, by the processing device of the blockchain node, a new block comprised of the new block header and the new device-event block; and
transmitting, by a transmitter of the blockchain node, the generated new block to one or more participants associated with the blockchain.

### Claim 12 (depends on 9)

The method of claim 9, wherein the new event data is received from the user associated with the one of the one or more devices.

### Claim 13 (depends on 9)

The method of claim 9, wherein the new event data is received from a blockchain participant other than the user associated with the one of the one or more devices.

### Claim 14 (depends on 9)

The method of claim 9, wherein the new event data includes one of more of the following: updating of the one or more devices, adding a new user device, removal of one of the one or more devices, user participation in a payment transaction using one of the one or more devices, policy and rules governing events on one of the one or more devices, execution of rules on one of the one or more devices, binding of a new payment instrument to one of the one or more devices, unbinding of a bound payment instrument from one of the one or more devices, registration of a new transaction account to one of the one or more devices, removal of a transaction account from one of the one or more devices, binding to a new financial institution to one of the one or more devices, unbinding of a financial institution from one of the one or more devices, reporting of suspicious activity or fraud on one of the one or more devices, enrollment of one of the one or more devices with a service provider, removal of a service provider from one of the one or more devices, installation of a new application program on one of the one or more devices, updating of an operation system (OS) on one of the one or more devices, and uninstalling of an application program on one of the one or more devices.

### Claim 15

A system for method for maintaining device information for one or more devices associated with a user, the system comprising:
a blockchain participant configured to transmit a device registration message to a blockchain node, the device registration message including at least a device identifier associated with a new device and a user identifier associated with a user;
a memory of the blockchain node configured to store a blockchain comprised of a plurality of main blocks, where each main block includes a block header and at least one device-event block, the block header includes at least a timestamp, a reference hash value, and a block hash value, each at least one device-event block includes at least one device block and at least one event block, and the plurality of main blocks includes a most recent main block as indicated by the timestamp included in the respective block header;
a receiver of the blockchain node configured to receive the device registration message; and
a processing device of the blockchain node configured to:
create an enrollment event registering the new device to the user, the enrollment event including at least the device identifier,
generate an event block hash using at least an event hash value included in the event block included in the most recent block and the created enrollment event,
generate a new event block including at least the generated event block hash,
generate a device block hash using at least a device hash value included in the device block included in the most recent block and the device identifier,
generate a new device block including at least the generated device block hash.

### Claim 16 (depends on 15)

The system of claim 15, including:
the processing device of the blockchain node configured to:
generate a new device-event block including the generated new event block and the generated new device block.

### Claim 17 (depends on 16)

The system of claim 16, including:
the processing device of the blockchain node configured to:
generate a new block header, where generation of the new block header includes generating a new block hash value by hashing the most recent block, generating a new reference hash value by hashing the new device-event block, and generating a new timestamp;
generate a new block comprised of the new block header and the new device-event block; and
a transmitter of the blockchain node configured to:
transmit the generated new block to one or more participants associated with the blockchain;
the one or more participants configured to receive the generated new block from the blockchain node.

### Claim 18 (depends on 15)

The system of claim 15, wherein the device-event block further includes a transaction block, the system includes:
the receiver of the blockchain node configured to:
receive transaction data associated with the user, the transaction data including one or more data values; and
the processing device of the blockchain node configured to:
generate a transaction block hash using at least a transaction hash value included in the transaction block included in the most recent main block and the transaction data;
generate a new transaction block including at least the generated transaction block hash.

### Claim 19 (depends on 18)

The system of claim 18, including:
the processing device of the blockchain node configured to:
generate a new device-event-transaction block including the generated new event block, the generated new device block.

### Claim 20 (depends on 19)

The system of claim 19, including:
the processing device of the blockchain node configured to:
generate a new block header, where generation of the new block header includes generating a new block hash value by hashing the most recent block, generating a new reference hash value by hashing the new device-event-transaction block, and generating a new timestamp;
generate a new block comprised of the new block header and the new device-event-transaction block; and
the transmitter of the blockchain node configured to:
transmit the generated new block to one or more participants associated with the blockchain.
