我们有一位客户认为区块链可能有助于解决他所在行业的具体问题。为了避免泄露商业理念,我必须在这里进行抽象,并使用医疗行业的一个类推,后者有非常相似的细节。免责声明:我对区块链非常陌生,所以请随时纠正我。
让我们想象一下,有一种药物可以治疗某些人可能会发生的某种特定类型的癫痫。
这种药物只能由经认证的公司处方。
每次发作时,顾客必须只服用一种药物。
让我们假设药物的分销是完美的,没有办法偷取或非法购买。
该行业要解决的主要问题是确保一个人不会滥用该系统,并且只收到一次扣押的处方。以下是客户当前如何进行欺骗:
现在,顾客收到了两张单次癫痫的处方。这是滥用系统。
私有区块链可能会解决这个问题。但我对此有一些疑问:
- a customer should be able to read his own records only but does not have permissions to write any changes (no prescribing drugs to himself). So, he needs some kind of read-only-access key.
- the company (and all of its local branches and partners in different countries) need to have read-add (not write - no actual modification of history) access for this customer. A customer cannot register himself but has to do it through the company. The company is the issuer of the keys and the holder of the "add records key".
如何确保这些密钥通过公司的网络分发,不会泄露出去?当然,我们可以将“公钥”交给客户,这样他/她就可以读取自己的记录,但即使这个密钥本身也不完全是“公共”的--客户不应该访问其他客户的记录。
- for each customer separately - his private history, accessible only to himself and companies
- history of all prescriptions issued by the companies in our network
这是否意味着我们需要两个区块链,或者是否有可能以某种方式创建一个单链,其中存储整个网络的所有历史记录,但每个客户只能访问和解密他自己的历史记录?
发布于 2017-11-01 15:34:19
我试着回答你的问题。然而,我认为你有非常清楚的你想要什么,现在,你必须花一些时间来开发智能合同。
我认为超分类器织物对你来说是一个很好的解决方案。
答案:
https://stackoverflow.com/questions/47012735
复制相似问题