Distributed ledger based mass balancing via secret sharing

Information

  • Patent Grant
  • 11367148
  • Patent Number
    11,367,148
  • Date Filed
    Thursday, April 16, 2020
    4 years ago
  • Date Issued
    Tuesday, June 21, 2022
    2 years ago
Abstract
A producer may supply amounts xi of a good to a plurality of consumers Ci in a series of transactions and be subject to a mass balancing verification protocol after every K transactions. A producer platform may compute K random shares (r1 through rK) of a random value r, publish blinded amounts ti representing xi+ri to a secure, distributed transaction ledger, and transmit an encrypted ri to consumer Ci using an asymmetric cryptosystem. A consumer platform may receive and decrypt ri (while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer), compute {circumflex over (x)}i+ri and generate a fraud alert signal if it differs from the published ti. The consumer platform may also transmit an encrypted rolling sum value to a next consumer Ci+1. A verifier platform may, after K transactions, execute the mass balance verification protocol to determine a total amount of the good that the producer had collectively supplied to the consumers Ci. The verifier platform may also generate a fraud alert signal when appropriate based on the total amount and a maximum allowed amount.
Description
BACKGROUND

Distributed ledgers, such as blockchains, are transparent and ensure integrity by design. Any party who has access to the distributed ledger can read the data it contains. Distributed ledgers are particularly useful in scenarios where multiple institutions want to keep consensus and provide public verifiability of some statement. One such scenario is “mass balancing.” In mass balancing, a producer of some product or service is entitled to produce a quota (e.g., by a governmental or a non-governmental organization). This quota represents a maximum value that is publicly known (e.g., one million barrels or $2,000,000 worth of a product). To ensure that the producer does not exceed this production-output limit, information about produced and/or sold amounts can be stored on a distributed ledger. This provides public verifiability. Everyone who has access to the distributed ledger (e.g., consumers, governmental authorities or non-governmental organizations) can read each of the produced amounts, sum them up, and compare the resulting amount to the producer's overall quota.


While this approach ensures transparency and enables verifiability, it may be associated with some disadvantages. For example, such a technique may reveal details about a final product such as, depending on the industry, a recipe (e.g., single ingredients or amounts of medicine in pharmaceutical industry). That is, this form of publicly verifiable mass balancing does not preserve any privacy and could adversely impact a producer's competitive advantage. Furthermore, this type of non-privacy-preserving storage of customer data in a distributed ledger might conflict with legal regulations, such as the General Data Protection Regulations (“GDPR”) of the European Union.


It would therefore be desirable to provide an improved mass balancing protocol in an automatic and efficient manner.


SUMMARY

According to some embodiments, methods and systems may be associated with a producer who supplies amounts xi of a good to a plurality of consumers Ci in a series of transactions and is subject to a mass balancing verification protocol after every K transactions. A producer platform may compute K random shares (r1 through rK) of a random value r, publish blinded amounts ti representing xi+ri to a secure, distributed transaction ledger, and transmit an encrypted ri to consumer Ci using an asymmetric cryptosystem. A consumer platform may receive and decrypt ri directly from the producer platform as well as an amount {circumflex over (x)}i of the good in the physical world. The consumer platform may compute {circumflex over (x)}i+ri and generate a fraud alert signal if it differs from the blinded amount ti of the good that was published to the secure, distributed transaction ledger by the producer platform. The consumer platform may also transmit an encrypted rolling sum value to a next consumer Ci+1. A verifier platform may, after K transactions, execute the mass balance verification protocol to determine a total amount of the good that the producer had collectively supplied to the consumers Ci. The verifier platform may also generate a fraud alert signal when appropriate based on the total amount and a maximum allowed amount.


Some embodiments comprise: means for computing K random shares (r1 through rK) of a random value r; means for publishing blinded amounts ti representing xi+ri to a secure, distributed transaction ledger using additive secret sharing to store information associated with amounts xi in a privacy-preserving form; means for transmitting an encrypted ri to consumer Ci using an asymmetric cryptosystem; means for receiving, at a consumer platform of consumer Ci, the encrypted ri from the producer platform while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer; means for executing, by the consumer platform, a decryption algorithm to determine ri; means for computing {circumflex over (x)}i+ri and generating, by the consumer platform, a fraud alert signal if it differs from the published ti; means for transmitting an encrypted rolling sum value to a next consumer Ci+1; means for executing, by a verifier platform after K transactions, the mass balance verification protocol to determine a total amount of good that the producer had collectively supplied to the consumers Ci; and means for generating, by the verifier platform, a fraud alert signal when appropriate based on the total amount and a maximum allowed amount.


Some technical advantages of some embodiments disclosed herein are improved systems and methods to provide an improved mass balancing protocol in an automatic and efficient manner.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1A is a system incorporating one approach to mass balancing.



FIG. 1B illustrates a secret sharing system.



FIG. 2 is a high-level block diagram of a system in accordance with some embodiments.



FIG. 3A is a producer platform method according to some embodiments.



FIG. 3B is a consumer platform method in accordance with some embodiments.



FIG. 3C is a verifier platform method according to some embodiments.



FIG. 4 is a human machine interface display according to some embodiments.



FIG. 5 is an apparatus or platform according to some embodiments.



FIG. 6 is portion of a transaction data store in accordance with some embodiments.



FIG. 7 is a tablet computer according to some embodiments.





DETAILED DESCRIPTION

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of embodiments. However, it will be understood by those of ordinary skill in the art that the embodiments may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the embodiments.


One or more specific embodiments of the present invention will be described below. In an effort to provide a concise description of these embodiments, all features of an actual implementation may not be described in the specification. It should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another. Moreover, it should be appreciated that such a development effort might be complex and time consuming, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure.



FIG. 1A is a system 110 incorporating one approach to mass balancing. In particular, a producer 112 provides various amounts of product xi to consumers 114 C1 through Cn. Moreover, the producer 112 is assigned an overall limit or quota associated with the total amount of product that is provided. For example, the producer 112 might be an oil refinery that is only allowed to ship 10,000 barrels of oil in a particular month. In this case, the producer 112 and/or consumers 114 might record amounts of product that are provided in a secure, distributed transaction ledger 116 (e.g., C2 might indicate that it received 3,000 barrels, C3 might record that it received 1,000 barrels, etc.). It would then be relatively simple process for the system 110 to calculate the total amount of product that was sold by the producer 112 in any given month (e.g., x1+x2+ . . . +xn). Note, however, that this approach also discloses exactly how much each consumer 114 received. In some cases, parties might prefer to keep this level of detail private. For example, a company might be required disclose the overall amount it pays the board of directors without disclosing exactly how much each director earns individually.


Some embodiments described herein provide a mechanism that allows for public verifiability in mass balancing scenarios and ensures privacy of the producer's production details such as amounts. The mechanism may be based on an information security technology referred to as “additive secret sharing.” As a result, a system may store single data points, e.g., amounts, on a distributed ledger in a way that preserves privacy. The data held by the distributed ledger might not reveal anything about the single amounts but still allows for public verifiability of an overall sum of produced amounts. This, in turn, may enable comparison to a producer's quota.


Some embodiments disclosed herein may utilize an asymmetric cryptosystem. As used herein, the phrase “asymmetric cryptosystem” (also known as “public-key cryptography”) may refer to a cryptographic system that uses pairs of keys, including: (1) public keys, which may be disseminated widely; and (2) private keys, which are known only to the owner. The generation of such keys may depend on cryptographic algorithms (e.g., based on mathematical problems) to produce one-way functions. Effective security then only requires keeping the private key private, and the public key can be openly distributed without compromising security. In such a system, any person can encrypt a message using the receiver's public key, but that encrypted message can only be decrypted with the receiver's private key. In some cases, authentication may also be provided. For example, a sender may combine a message with a private key to create a short digital signature associated with the message. Anyone with the sender's corresponding public key can then combine the same message and a potential digital signature associated with it to determine if the signature is valid (i.e., made by the owner of the corresponding private key).


An asymmetric cryptosystem may be associated with a tuple custom characterS=(G, E, D) consisting of three polynomial-time algorithms:

    • A probabilistic key-generation algorithm G that takes a security parameter k as an input and outputs a key pair (pk, sk) consisting of a public encryption key pk and a secret decryption key sk.
    • A (potentially probabilistic) encryption algorithm E that takes a plaintext x∈custom character and pk as inputs and outputs the ciphertext y=E(x, pk)∈custom character. custom character and custom character denote the plaintext and ciphertext space, respectively.
    • A decryption algorithm D that takes a ciphertext y∈custom character and sk as inputs and outputs the plaintext x=D(y, sk)∈custom character.


      For simplification, the encryption of x∈custom characteri under a cryptosystem custom characterSi=(Gi, Ei, Di) for pki may be denoted by y=Epki(x). Similarly, the decryption of y∈custom characteri for ski may be denoted by x=Dski(y).


Some embodiments described herein may utilize additive secret sharing. As used herein, the phrase “additive secret sharing” may refer to a party that wants to split a secret into several shares given to shareholders, in such a way that each individual shareholder does not know the secret, yet if enough shareholders re-combine their shares then the secret can be reconstructed. FIG. 1B illustrates a secret sharing system 120. The system 120 lets a party split some secret information s 124 ∈GF(q) in n parts such that these n parts together represent s 124. We denote a secret-shared value s by custom characterscustom character122 while the i-th part, called share, is denoted by custom characterscustom characteri 122. Note that the additive secret sharing system 120 ensures privacy and correctness. Privacy guarantees that no share leaks any non-trivial information about s 124 while correctness ensures that s 124 can be reconstructed by combining the n shares. To share a value s 124, one chooses n−1 random shares custom characterscustom character1, . . . , custom characterscustom charactern-1 uniformly at random. The n-th share is computed as follows:









s


n

=

s
-




i
=
1


n
-
1






s


i







Some embodiments described herein may utilize one or more secure, distributed transaction ledgers. As used herein, the phrase “distributed ledger” (also called a shared ledger or distributed ledger technology) may refer to a consensus of replicated, shared, and synchronized digital data that might be geographically spread across multiple sites, countries, or institutions without incorporating a central administrator or centralized data storage. A peer-to-peer network and consensus algorithms may help ensure accurate replication. For example, a distributed ledger database might be spread across several nodes (e.g., devices) on a peer-to-peer network, and each node may replicate and save an identical copy of the ledger (updating itself independently). When a ledger update happens, each node may construct the new transaction and the nodes may vote by consensus algorithm on which copy is correct. Once a consensus has been determined, all of the nodes update themselves with the new, correct copy of the ledger. Security may be accomplished through cryptographic keys and signatures. As long as most of the nodes are honest, such a secure, distributed ledger will ensure data integrity. One very common form of distributed ledger is blockchain technology (e.g., associated with a public or private blockchain).



FIG. 2 is a high-level block diagram of a system 200 in accordance with some embodiments. The system 200 includes a producer platform 210 that supplies an amount of good to consumers associated with consumer platforms 220 C1 through Cn in a series of transactions. Moreover, information about the transactions is recorded in a secure, distributed transaction ledger 250. The consumer platforms 220 might generate a fraud alert signal (e.g., when they suspect that the producer platform 210 is not being honest about an amount of good that was provided). Similar, a verifier platform 290 might analyze information in the distributed transaction ledger 250 and generate a fraud alert signal (e.g., when the producer platform 210 exceeds a production quota). According to some embodiments, portions of the system 200 might operate automatically or be initiated via a command from a remote operator or administrator interface device. As used herein, the term “automatically” may refer to, for example, actions that can be performed with little or no human intervention.


As used herein, devices, including those associated with the system 200 and any other device described herein, may exchange information via any communication network which may be one or more of a Local Area Network (“LAN”), a Metropolitan Area Network (“MAN”), a Wide Area Network (“WAN”), a proprietary network, a Public Switched Telephone Network (“PSTN”), a Wireless Application Protocol (“WAP”) network, a Bluetooth network, a wireless LAN network, and/or an Internet Protocol (“IP”) network such as the Internet, an intranet, or an extranet. Note that any devices described herein may communicate via one or more such communication networks.


The producer platform 210 and/or the other devices in the system 200 may store information into and/or retrieve information from various data stores (e.g., data storage devices), which may be locally stored or reside remote from the producer platform 210 and/or the other devices. Although a single producer platform 210 and verifier platform 290 are shown in FIG. 2, any number of such devices may be included. Moreover, various devices described herein might be combined according to embodiments of the present invention. For example, in some embodiments, the secure, distributed transaction ledger 250 and verifier platform 290 might comprise a single apparatus. Some or all of the system 200 functions may be performed by a constellation of networked apparatuses, such as in a distributed processing or cloud-based architecture.


A user or administrator may access the system 200 via a remote device (e.g., a Personal Computer (“PC”), tablet, or smartphone) to view information about and/or manage operational information in accordance with any of the embodiments described herein. In some cases, an interactive graphical user interface display may let an operator or administrator define and/or adjust certain parameters (e.g., to configure quota rules or requirements, add consumers, etc.) and/or provide or receive automatically generated recommendations or results from the system 200.



FIG. 3A is a method that might be performed by the producer platform 210 in the system 200 described with respect to FIG. 2. The flow charts described herein do not imply a fixed order to the steps, and embodiments of the present invention may be practiced in any order that is practicable. Note that any of the methods described herein may be performed by hardware, software, or any combination of these approaches. For example, a computer-readable storage medium may store thereon instructions that when executed by a machine result in performance according to any of the embodiments described herein.


The methods of FIGS. 3A through 3C might be associated with, for example, a verification process that is to be performed after every K transactions have been executed and recorded (e.g., after five product shipments to various consumers). At S312, a computer processor of a producer platform may compute K random shares (r1 through rK) of a random value r. At S314, the producer platform may then publish blinded amounts ti representing xi+ri to a secure, distributed transaction ledger (e.g., implemented with blockchain technology) using additive secret sharing to store information associated with amounts xi in a privacy-preserving form. That is, looking at the stored value will not reveal xi unless information about the random share ri is also known. At S316, the producer platform may transmit an encrypted ri to consumer Ci using an asymmetric cryptosystem.


The information transmitted at S316 may then be evaluated by the consumer Ci. For example, FIG. 3B is a method that might be performed by the consumer platforms 220 in the system 200 described with respect to FIG. 2. At S322, a consumer platform of consumer Ci may receive the encrypted ri from the producer platform while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer. The consumer platform may then execute a decryption algorithm to determine ri at S324. At S326, the consumer platform may then calculate {circumflex over (x)}i+ri and generate a fraud alert signal if {circumflex over (x)}i+ri differs from the published ti. For example, if the producer platform delivered 5,000 gallons of product to the consumer platform but published a blinded value of ti={circumflex over (x)}i+ri to the secure, distributed transaction ledger indicating that only 2,500 gallons were delivered, the consumer platform might at S326 generate a fraud alert signal to a governmental authority. As will be explained, the consumer platform may also transmit an encrypted rolling sum value to a next consumer Ci+1 at S328.



FIG. 3C is a method that might be performed by the verifier platform 290 in the system 200 described with respect to FIG. 2. At S332, a verifier platform, after K transactions, may execute a mass balance verification protocol to determine a total amount of good that the producer had collectively supplied to the consumers Ci. At S334, the verifier platform may generate a fraud alert signal when appropriate based on the total amount and a maximum allowed amount. For example, if a producer was authorized to sell 100 jet engines in a single year, the verifier platform might generate a fraud alert signal when it determined that the producer has delivered 110 jet engines so far this year.


For simplification purposes, assume that a single producer P transfers amounts xi of a particular good to consumers Ci. These amounts are published via a distributed ledger DL in a privacy-preserving form. Each of these entries can be verified by the respective consumer Ci. This may be referred to as “single amount verification.” Furthermore, the producer P tries to convince verifier V that the total amount x=Σi xi does not exceed a maximum xmax (e.g., a threshold quota). This maximum amount xmax of a good that producer P is entitled to produce is public information. This verification may be referred to as “balance verification.”


Also assume that every consumer Ci has an individual key pair (pki, ski) of an asymmetric cryptosystem, consisting of a public encryption key pki and a secret decryption key ski. Applying the encryption function Epki(⋅) to a plaintext x yields the corresponding ciphertext y, i.e., Epki(x)=y. Accordingly, applying the decryption function Dski(⋅) to a ciphertext y yields the corresponding plaintext x, i.e., Dski(y)=x.


Further assume a balance verification frequency of once every K produced amounts. At the beginning of each K-cycle, P secret-shares a random value r by computing K random shares such that r1=custom characterrcustom character1, . . . , rK=custom characterrcustom characterK of r such that r=Σi=1K ri.


The protocol specification includes an amount publication that begins with the producer P blinding the amount xi by adding the i-th random share ri. Producer P then publishes the resulting blinded value ti via the distributed ledger DL as follows:

P→DL:ti=xi+ri

The amount publication then has producer P encrypt ri with consumer Ci's public key and send the resulting ciphertext si to consumer Ci as follows:

P→Ci:si=Epki(ri)


Next, the protocol specification performs single amount verification. Initially, consumer Ci decrypts si and obtains the random blinding share ri used for blinding as follows:

Ci:ri=Dski(s)

Next in the single amount verification, consumer Ci adds the decrypted ri to the (physically) received amount {circumflex over (x)}i and verifies ti by comparing it to this sum. If the two values are not equal, consumer Ci reports fraud as follows:

Ci:ticustom character{circumflex over (x)}i+ri


a) if ti≠{circumflex over (x)}i+ri: report fraud (producer dishonest)


Finally, the single amount verification performs the following to allow for removing the overall blinding r=Σi ri later during balance verification, the consumers maintain the sum rΣ of the used ri. To do so, each consumer Ci sends rΣ to the consumer Ci+1 of the next transaction. To prevent consumer C2 from learning r1, consumer C1 blinds r1 with a randomly chosen r0. The sum rΣ is transferred in an encrypted form from consumer Ci to consumer Ci+1 to prevent uninvolved participants from inferring ri by comparing two consecutive rΣ as follows:

Ci→Ci+1:


a) If i=1: Epki+1(rΣ)=Epki+1(r0+r1) with r0custom characteri


b) If 1<i<K: Epki+1(rΣ)=Epki+1(Dski(rΣ)+ri)


c) If i=K: Epk1(rΣ)=Epk1(Dski(rΣ)+ri)


Next, the protocol specification performs balance verification. Initially the balance verification, after K produced amounts (i.e., at the end of a K-cycle or “epoch”), consumer C1 subtracts r0 from the blinded sum rΣ of random values ri to obtain the unblinded sum. The unblinded sum of the j-th K-cycle is denoted by rΣj. Consumer C1 publishes the unblinded sum rΣj via distributed ledger DL as follows:

C1→DL: if i=K:rΣj=Dsk1(rΣ)−r0

Balance verification then involves, once every K produced amounts (i.e., once i=K), verifier V computes the balance by adding all ti and subtracting their sum from the maximum amount xmax. The random shares ri (used in each ti=xi+ri) of each K-cycle add up to rΣ=r. Therefore, the rΣ1, . . . , rΣj of the completed K-cycles need to be added for the blindings to cancel out. The result is the balance δj of the j-th K-cycle as follows:

V: δj=xmax−ΣitijrΣj


a) If δj<0: report fraud (mass balance exceeded)


b) If δj=0: report fraud once P publishes another ti


For recurring balance verification, a verifier V might speed up the calculation of δj by caching the balance after every K-cycle (either locally by each verifier V or on distributed ledger DL) and thus achieve a number of additions that is independent of the number of previous K-cycles. To do so, when computing δj the verifier V may subtract the ti of the current K-cycle from the previous balance δj−1 and add rΣj of the current round.


Furthermore, according to some embodiments producer P could secret-share r=0 instead of some random r. This may simplify the balance computation because the random ri of a K-cycle will cancel out automatically (assuming that the producer P always behaves in an honest fashion during secret sharing).


Note that any communication between producers P and consumers C (or between consumers C and other consumers C) might be performed via direct communication channels and/or through the distributed ledger DL.



FIG. 4 is a human machine interface display 400 in accordance with some embodiments. The display 400 includes a graphical representation 410 of a blockchain based mass balancing via secret sharing system in accordance with any of the embodiments described herein. Selection of an element on the display 400 (e.g., via a touchscreen or a computer mouse pointer 420) may result in display of a pop-up window containing more detailed information about that element and/or various options (e.g., to add consumers, adjust quota rules or amounts, etc.). Selection of an “Adjust System” icon 430 may also let an operator or administrator alter or fine tune the operation of the system.


Note that the embodiments described herein may also be implemented using any number of different hardware configurations. For example, FIG. 5 is a block diagram of an apparatus or platform 500 that may be, for example, associated with the system 200 of FIG. 2 (and/or any other system described herein). The platform 500 comprises a processor 510, such as one or more commercially available Central Processing Units (“CPUs”) in the form of one-chip microprocessors, coupled to a communication device 560 configured to communicate via a communication network (not shown in FIG. 5). The communication device 560 may be used to communicate, for example, with one or more remote user platforms, administrator platforms, etc. The platform 500 further includes an input device 540 (e.g., a computer mouse and/or keyboard to enter consumer information, quota amounts, etc.) and/an output device 550 (e.g., a computer monitor to render a display, transmit recommendations, and/or create reports about mass balance verification results etc.). According to some embodiments, a mobile device, monitoring physical system, and/or PC may be used to exchange information with the platform 500.


The processor 510 also communicates with a storage device 530. The storage device 530 may comprise any appropriate information storage device, including combinations of magnetic storage devices (e.g., a hard disk drive), optical storage devices, mobile telephones, and/or semiconductor memory devices. The storage device 530 stores a program 512 and/or a verification engine 514 for controlling the processor 510. The processor 510 performs instructions of the programs 512, 514, and thereby operates in accordance with any of the embodiments described herein. For example, when the platform 500 is associated with a producer the processor 510 may compute K random shares (r1 through rK) of a random value r, publish blinded amounts ti representing xi+ri to a secure, distributed transaction ledger using additive secret sharing to store information associated with amounts xi in a privacy-preserving form, and transmit an encrypted ri to consumer Ci using an asymmetric cryptosystem. When the platform 500 is associated with a consumer, the processor 510 may receive the encrypted ri from the producer platform (while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer), execute a decryption algorithm to determine ri, and compute {circumflex over (x)}i+ri and generate a fraud alert signal if differs from the published ti. The processor 510 may also transmit an encrypted rolling sum value to a next consumer Ci+1. When the platform 500 is associated with a verifier, the processor 510 may execute a mass balance verification protocol to determine a total amount of good that the producer had collectively supplied to the consumers Ci. The processor 510 may also generate a fraud alert signal when appropriate based on the total amount and a maximum allowed amount (e.g., a production quota).


The programs 512, 514 may be stored in a compressed, uncompiled and/or encrypted format. The programs 512, 514 may furthermore include other program elements, such as an operating system, clipboard application, a database management system, and/or device drivers used by the processor 510 to interface with peripheral devices.


As used herein, information may be “received” by or “transmitted” to, for example: (i) the platform 500 from another device; or (ii) a software application or module within the platform 500 from another software application, module, or any other source.


In some embodiments (such as the one shown in FIG. 5), the storage device 530 further stores a transaction data store 600. An example of a database that may be used in connection with the platform 500 will now be described in detail with respect to FIG. 6. Note that the database described herein is only one example, and additional and/or different information may be stored therein. Moreover, various databases might be split or combined in accordance with any of the embodiments described herein.


Referring to FIG. 6, a table is shown that represents the transaction data store 600 that may be stored at the platform 500 according to some embodiments. The table may include, for example, entries associated with transactions between a producer and consumers. The table may also define fields 602, 604, 606, 608, 610 for each of the entries. The fields 602, 604, 606, 608, 610 may, according to some embodiments, specify: a transaction identifier and date 602, a producer identifier and quota 604, a consumer identifier 606, a transaction verified indication 608, and fraud signal with a total amount 610. The transaction store 600 may be created and updated, for example, when a distributed ledger is updated with information about a new supply of an amount of good from a producer to a consumer, a change in quota, etc.


The transaction identifier and date 602 might be a unique alphanumeric label that is associated with a transaction between a producer and a consumer along with a date that the transaction was executed. The producer identifier and quota 604 might identify who supplied the good to the consumer (along with any mass balance limits associated with that type of good). The consumer identifier 606 might identify who received the good and the transaction verified indication 608 might indicate whether or not that party has verified that the producer reported the correct amount (as compared to the physical amount that was received). The fraud signal 610 might indicate that the system has detected that the producer has exceeded the associated quote (along with the actual total amount of good that was provided by the producer to all of the consumers in aggregate without revealing exactly how much each consumer received individually).


Thus, embodiments may let the data required for mass balancing be kept confidential. Instead, the information is made available in a privacy preserving way. This enables novel business scenarios for distributed ledgers, such as blockchains, where confidentiality can play a substantial role. Furthermore, by using additive secret sharing, embodiments may not only help ensure confidentiality but may also reduce computational complexity (encouraging good scalability). Furthermore, embodiments may enable a variety of use cases based on latest technologies (e.g., distributed ledgers and/or blockchain as well as secret sharing) to improve analytics and intelligent processes in enterprise applications.


Although specific hardware and data configurations have been described herein, note that any number of other configurations may be provided in accordance with some embodiments of the present invention (e.g., some of the information associated with the databases described herein may be combined or stored in external systems). Moreover, although some embodiments are focused on particular types of producers, consumers, and goods, any of the embodiments described herein could be applied to other types of applications. For example, a protocol might help ensure that a single consumer does not exceed an overall quota limiting how much of a particular type of good they are allowed purchase from various producers (without revealing how much each producer individually sold to that consumer).


Moreover, the displays shown herein are provided only as examples, and any other type of user interface could be implemented. For example, FIG. 7 illustrates a tablet computer 700 with a mass balancing protocol display 710. The display 710 might be used, for example, by an operator or administrator to configure consumer parameters, producer variables (e.g., quotas, blockchain information, etc.). Selection of an adjust system icon 720 might, for example, let an operator add a new consumer platform to the system (along with details about a consumer communication channel, cryptography keys, purchase order and payment identifiers, etc.).


The present invention has been described in terms of several embodiments solely for the purpose of illustration. Persons skilled in the art will recognize from this description that the invention is not limited to the embodiments described, but may be practiced with modifications and alterations limited only by the spirit and scope of the appended claims.

Claims
  • 1. A system associated with a producer who supplies amounts xi of a good to a plurality of consumers Ci in a series of transactions and is subject to a mass balancing verification protocol after every K transactions, comprising: a secure, distributed transaction ledger that stores information associated with amounts xi in a privacy-preserving form;a producer platform, including: a computer processor, andcomputer memory, coupled to the computer processor, storing instructions that, when executed by the computer processor cause the processor to: (i) compute K random shares (r1 through rK) of a random value r,(ii) publish blinded amounts ti representing xi+ri to the secure, distributed transaction ledger using additive secret sharing, and(iii) transmit an encrypted ri to consumer Ci using an asymmetric cryptosystem;a consumer platform for each consumer Ci, to: (i) receive the encrypted ri from the producer platform while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer,(ii) execute a decryption algorithm to determine ri,(iii) automatically compute {circumflex over (x)}i+ri and transmit a fraud alert signal if it differs from the published ti, and(iv) transmit an encrypted rolling sum value to a next consumer Ci+1; anda verifier platform to, after K transactions, execute the mass balance verification protocol and automatically determine a total amount of good that the producer had collectively supplied to the consumers Ci, and further to transmit a fraud alert signal based on the total amount and a maximum allowed amount.
  • 2. The system of claim 1, wherein the good supplied by the producer is associated with at least one of: (i) a product, (ii) a service, and (iii) a natural resource.
  • 3. The system of claim 1, wherein the verifier platform is associated with at least one of: (i) a governmental authority, and (ii) a non-governmental organization.
  • 4. The system of claim 1, wherein the secure, distributed transaction ledger is associated with blockchain technology.
  • 5. The system of claim 1, wherein the asymmetric cryptosystem is associated with three polynomial time algorithms: (i) a probabilistic key-generation algorithm, (ii) an encryption algorithm, (iii) a probabilistic encryption algorithm, and (iv) a decryption algorithm.
  • 6. The system of claim 5, wherein the asymmetric cryptosystem uses individual key pairs consisting of a public encryption key pki and a secret decryption key ski.
  • 7. The system of claim 1, wherein the mass balancing verification protocol supports multiple producers.
  • 8. The system of claim 1, wherein a balance is cached after every K-cycle to achieve a number of additions that is independent of a number of previous K-cycles.
  • 9. The system of claim 1, wherein communications between producers and consumers are performed via at least one of: (i) a direct communication channel, and (ii) the secure, distributed transaction ledger.
  • 10. The system of claim 1, wherein communications between consumers are performed via at least one of: (i) a direct communication channel, and (ii) the secure, distributed transaction ledger.
  • 11. A computer-implemented method associated with a producer who supplies amounts xi of a good to a plurality of consumers Ci in a series of transactions and is subject to a mass balancing verification protocol after every K transactions, comprising: computing, by a computer processor of a producer platform, K random shares (r1 through rK) of a random value r;publishing, by the producer platform, blinded amounts ti representing xi+ri to a secure, distributed transaction ledger using additive secret sharing to store information associated with amounts xi in a privacy-preserving form;transmitting, by the producer platform, an encrypted ri to consumer Ci using an asymmetric cryptosystem;receiving, at a consumer platform of consumer Ci, the encrypted ri from the producer platform while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer;executing, by the consumer platform, a decryption algorithm to determine ri;automatically computing {circumflex over (x)}i+ri and transmitting, by the consumer platform, a fraud alert signal if differs from the published ti;transmitting an encrypted rolling sum value to a next consumer Ci+1;executing, by a verifier platform after K transactions, the mass balance verification protocol and automatically determine a total amount of good that the producer had collectively supplied to the consumers Ci; andtransmitting, by the verifier platform, a fraud alert signal based on the total amount and a maximum allowed amount.
  • 12. The method of claim 11, wherein the good supplied by the producer is associated with at least one of: (i) a product, (ii) a service, and (iii) a natural resource.
  • 13. The method of claim 11, wherein the verifier platform is associated with at least one of: (i) a governmental authority, and (ii) a non-governmental organization.
  • 14. The method of claim 11, wherein the secure, distributed transaction ledger is associated with blockchain technology.
  • 15. The method of claim 11, wherein the asymmetric cryptosystem is associated with three polynomial time algorithms: (i) a probabilistic key-generation algorithm, (ii) an encryption algorithm, (iii) a probabilistic encryption algorithm, and (iv) a decryption algorithm.
  • 16. The method of claim 15, wherein the asymmetric cryptosystem uses individual key pairs consisting of a public encryption key pki and a secret decryption key ski.
  • 17. The method of claim 11, wherein the mass balancing verification protocol supports multiple producers.
  • 18. A non-transitory, computer-readable medium storing instructions, that, when executed by a processor, cause the processor to perform a method associated with a producer who supplies amounts xi of a good to a plurality of consumers Ci in a series of transactions and is subject to a mass balancing verification protocol after every K transactions, the method comprising: computing, by a computer processor of a producer platform, K random shares (r1 through rK) of a random value r;publishing, by the producer platform, blinded amounts ti representing xi+ri to a secure, distributed transaction ledger using additive secret sharing to store information associated with amounts xi in a privacy-preserving form;transmitting, by the producer platform, an encrypted ri to consumer Ci using an asymmetric cryptosystem;receiving, at a consumer platform of consumer Ci, the encrypted ri from the producer platform while the consumer Ci actually receives an amount {circumflex over (x)}i of the good from the producer;executing, by the consumer platform, a decryption algorithm to determine ri;automatically computing {circumflex over (x)}i+ri and transmitting, by the consumer platform, a fraud alert signal if differs from the published ti;transmitting an encrypted rolling sum value to a next consumer Ci+1;executing, by a verifier platform after K transactions, the mass balance verification protocol and automatically determine a total amount of good that the producer had collectively supplied to the consumers Ci; andtransmitting, by the verifier platform, a fraud alert signal based on the total amount and a maximum allowed amount.
  • 19. The medium of claim 18, wherein a balance is cached after every K-cycle to achieve a number of additions that is independent of a number of previous K-cycles.
  • 20. The medium of claim 18, wherein communications between producers and consumers are performed via at least one of: (i) a direct communication channel, and (ii) the secure, distributed transaction ledger.
  • 21. The medium of claim 18, wherein communications between consumers are performed via at least one of: (i) a direct communication channel, and (ii) the secure, distributed transaction ledger.
US Referenced Citations (2)
Number Name Date Kind
20180137512 Georgiadis May 2018 A1
20200259828 Shaffer Aug 2020 A1
Foreign Referenced Citations (1)
Number Date Country
1656600 Jun 2017 EP
Related Publications (1)
Number Date Country
20210327002 A1 Oct 2021 US