多通道多重组织超织物织物(Multi channel mulriorganisation hyperledger fabric)

编程入门 行业动态 更新时间:2024-10-19 00:29:28
多通道多重组织超织物织物(Multi channel mulriorganisation hyperledger fabric)

我正在做一个电子病历Hyperledger结构网络。 假设我的网络有两家医院,这些医院需要彼此共享患者信息等信息并登记在分类账上。 我创建了三个频道channel1,其中医院1和频道2具有医院2的对等方和具有两个组织的对等方的另一个频道。 因此,诸如员工细节等信息不会被另一个组织同行节省。 我的设置是否正确或需要进行更改? 以及如何将患者记录分享到医院2。

I am doing an electronic health record Hyperledger fabric network. Suppose my network has two hospitals and these hospitals need to share information like patient info etc with each other and register on the ledger. I have created three channel channel1 having peers of hospital1 and channel2 having peers of hospital2 and another channel that having peers of both organization. So that information like employees details etc won't be save on another organisations peers. Is my setup correct or do I need to make changes? and how can I share patient records to hospital2.

最满意答案

在技​​术方面,你是对的。 只有第3频道才会提供共同的“数据共享”。 在体系结构方面,通道1和通道2的目的是什么? 数据将仅由1个组织(1家医院)编写和阅读。 所以一个更“古典”的数据库可以完成这项工作。

如果您想在两家医院之间共享患者数据,则需要在3频道的所有对等方上安装链代码,然后对其进行实例化。 在这个chaincode中,你应该有一个invoke函数,它将新的患者键/值放入分类账中。

Under the technical aspect, you are right. Only the channel 3 will provide a common "data sharing". Under the architecture aspect, what would be the purpose of the channels 1 and 2? The data will be written and read by only 1 organisation (1 hospital). So a more "classical" database would do the job.

If you want to share patient data between both hospitals, you will need to install a chaincode on all the peers of channel 3, then instantiate it. In this chaincode, you should have an invoke function, which put new patient key/value in the ledger.

更多推荐

本文发布于:2023-08-04 12:23:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1416047.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:织物   通道   组织   Multi   fabric

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!