LOADING...
LOADING...
LOADING...
当前位置: 玩币族首页 > 区块链资讯 > Chainlink联合iExec 合作解决下一代分布式应用程序的复杂脱链需求

Chainlink联合iExec 合作解决下一代分布式应用程序的复杂脱链需求

2020-02-07 Chainlink 来源:火星财经

本文由iExec和Chainlink两个技术团队协作工作编辑

前言

毫无疑问,2019年是去中心化金融(“DeFi”)的一年。投入在DeFi智能合约的ETH数量激增(截至撰写本文时,该金额超过8亿美元)是这一趋势的显著指标,同时构建DeFi应用程序的项目列表也越来越多,围绕该主题的讨论也越来越多。

所有发达国家在过去一百年来一直依赖金融工具来支持强劲的经济发展,这一年,我们也见证了以太坊区块链用于支持许多主要金融工具的去中心化版本。这些功能包括货币稳定,借贷市场,衍生品,保险和保证金交易。与传统的金融系统相比,以太坊区块链带来了两个显著改进:不受审查限制,并确保对世界上任何人的无权限访问。这是DeFi运动核心的两个关键。

2020年,我们将看到开发人员利用这一新的金融系统基础层(一年前甚至不存在)来开发一系列全新的价值升级应用程序。

这些新应用程序将是什么样?他们将解决哪些痛点?它们将被广泛采用吗?

除了这些问题之外,我们预测,这些新型的基于区块链的应用程序将具有一个共同的特征:它们需要访问越来越多的具有多样性和复杂性的链下资源,同时仍维持高水平的信任,安全和保密。

这样的解决方案十分具有挑战性。基于Chainlink预言机高质量数据和iExec在具有机密计算和可信赖执行环境的重型计算方面的专业知识,Chainlink和iExec合作,使开发人员可以轻松地运用其技术开发实现完整的链下解决方案投入到下一波分布式应用程序。

技术整合

下图描述了一个脱链请求使用Chainlink和iExec在一个交易中访问一组全面的服务流程,所有服务都通过 Orchestrator智能合约以LINK和RLC通证支付。

工作流说明了Chainlink和iExec如何结合其技术堆栈以响应复杂的脱链请求

组成工作流程的每个步骤的描述:

1.分布式应用程序(智能合约)向Orchestrator智能合约发送链下请求,该合约实现“ ChainlinkClient”和“ iExecHub”以保管用于支付的使用程序通证。

2.Orchestrator智能合约创建对Chainlink网络的请求。

3.链上请求由Chainlink节点接收。

4.Chainlink按照请求中指定的方式访问多个数据源。

5.Chainlink在链上响应。

6.触发Orchestrator合同以创建对iExec的请求。

7.iExec接收请求。

8.iExec离线处理工作订单(利用CPU / GPU,TEE安全区)。

9.iExec用计算结果响应链上。

10协调器将结果发回分布式应用程序(请求者)。

下面,我们再看一个由Chainlink和iExec联合专业技术支持的具体案例分析。

案例分析:分布式汽车保险

通过查看公开数据,我们发现汽车保险市场具有巨大潜力:

到2019年,汽车保险市场估计将超过8800亿美元,预计在预测期内(未来5年)复合年增长率约为6.2%。汽车保险的保费在2018年占非人寿保险总保费的40%以上。由于发展中国家(主要是亚洲)的需求不断增长,预计未来几年这种保费将增加。

尽管汽车保险市场显示出健康的数字,但保险公司获得的增长并没有使最终用户受益。报告显示,个人的汽车保险费实际上逐年增加。更令人担忧的是,人们认识到发展中国家的很大一部分人口负担不起汽车保险的费用,甚至无法获得此类服务。

我们也可以列举讨论其他类型的保险(例如健康保险),但是这里选用汽车保险基于其特征:车辆的行为易于建模,测量和标准化,使汽车保险更容易过渡到几乎完全自动化的操作。随着物联网传感器,5G,远程信息处理和区块链技术的兴起,我们观察到了构建现有汽车保险产品的更高效版本所需的所有模块的融合应用。不仅可以降低保险成本,而且可以保证风险范围,世界各地的任何人都可以使用保单(用户不一定必须住在发达国家才能从这项服务中受益)。

利用以上介绍的技术集成,人们可以开发自动驾驶汽车保险政策,作为部署在以太坊区块链上的数据驱动型智能合约。与新用户签约之前,保险智能合约必须计算其风险状况。以下是预期的工作流程:

1.用户仅需显示有关其位置的信息,以允许Chainlink节点从驾驶员所在的区域获取交通事故统计信息。鉴于Chainlink与Google Bigquery的集成,我们可以找到Bigquery中纽约市可用数据集的示例,其中包括超过一百万次汽车碰撞。

2.驾驶员在其智能手机上安装了一个应用程序,该应用程序收集反映其驾驶行为的所有动力学数据。鉴于此类数据的高度机密性,在将其上传到云之前,将对其进行本地加密。

3.iExec算工使用以下数据集:Chainlink预言机,申请人的加密数据集和网络作为运行AI应用程序的输入。AI软件将计算申请人的风险状况,最终将其转化为该特定用户的保险费。由于iExec的可信计算执行,所有这些机密数据都在高度安全的环境(例如Intel SGX enclave)中进行处理,从而确保没有人(甚至是进行计算的不受信任的主机)也无法访问它。

4.最终,有关保险费的信息被推回到保险智能合约中,从而告知它应该向新订户收取多少费用。

这样的工作流程可以在30天后重新运行,以应对风险变化;因此能够随时间调整保险费用。如果用户认为自己的风险状况得到了改善,他们可以主动在固定时间段之前触发新的计算,并支付与额外计算相关的成本,因为他将从降低的保险费用中受益。

保险产品的第二部分是保单规范,详细说明了事故如何得到赔偿。大多数补偿规则可以转换为智能合约代码,尤其是在保险属于参数类型的情况下(即:补偿水平直接取决于指数)。但是,在事故发生后评估损失是自动化最困难的部分。传统上,这需要“理赔人”的人为干预。

由于电子车辆健康检查(eVHC)和IoT设备的出现,现在可以考虑测量损坏程度,并以不被篡改的方式报告健康检查结果。每次提出索赔时,都会有新的训练网络的新数据输入,以确保AI产生输出结果的模型随着时间的推移而不断改进。最终,基于这些度量和参数保险规则,智能合约将自动触发向驾驶员付款,从而大大减少了补偿驾驶员损失所需的时间,而费用仅为传统汽车保险的一小部分。

结论

总而言之,新一代分布式应用程序对高质量数据,隐私保护功能和可信赖的重型计算的需求将不断增长,而单个请求中需要交错式的应用程序。通过将Chainlink的现实世界中经过验证的数据与iExec的分布式云基础架构相结合,我们能够提供一种创新且独特的解决方案,旨在成为由区块链应用程序发起的各种复杂的脱链请求的一站式服务提供商。

如果您想支持构建利用脱链资源的下一代应用程序,我们建议您通过[email protected][email protected]与我们联系。

项目介绍

iExec

iExec has developed the first decentralized marketplace for cloud computing resources. Blockchain technology is used to organize a market network where users can monetize their computing power, applications, and datasets. By providing on-demand access to cloud computing resources, iExec is able to support compute-intensive applications in fields such as AI, big data, healthcare, rendering, or FinTech.

The iExec network is made up of computing resource providers. Computing power providers are called ‘iExec Workers’. As workers, users can connect their machines and be rewarded in RLC tokens for contributing resources to the network. Application providers can monetize their applications and algorithms. Data providers who own valuable datasets can make them available for use by applications through iExec. The iExec consensus protocol ‘PoCo’ (Proof of Contribution) provides consensus over off-chain computing.

iExec’s strength lies in trusted off-chain computing. Its representative heads the ‘Trusted Compute Working’ group within the Ethereum Enterprise Alliance. It has partnered with Intel to release a ‘trusted compute’ solution for blockchain (TEE using Intel SGX) and recently became the latest member of the Linux Foundations project community Confidential Computing Consortium (CCC). Other iExec collaborators include Alibaba Cloud, IBM, Genesis Cloud, EDF electrical utility company, EEA, and Ubisoft. iExec was one of the contributors to the Trusted Compute Framework (Hyperledger Avalon) alongside Microsoft, Intel, ConsenSys, Chainlink, Envision, PegaSys, and Kaleido.

iExec is working with various organizations and consortiums with the goal of providing scalable, secure and easy access to the services, datasets, and computing resources.

Learn more by visiting the iExec Website, Twitter or Telegram. If you’re a developer, have a look at the technical documentation or join the technical discussion on Slack.

Chainlink

An oracle is a digital agent employed by a smart contract to retrieve and/or connect it to data and systems outside its native blockchain (off-chain). Oracles enable this off-chain connectivity for the smart contract by reformatting external connection points (APIs) so that two different software applications are compatible for data exchange. The oracles can then pull data into the smart contract and/or execute actions on external systems based on predefined instructions and endpoints outlined in the Service Level Agreement (SLA).

Chainlink is a decentralized oracle network that will give smart contracts secure and reliable access to data providers, web APIs, enterprise systems, cloud providers, IoT devices, payment systems, other blockchains and much more. It will feature the following:

1.Binding service agreements between the oracle providers and querying smart contracts that outline the terms of service

2.A robust market of independent oracles providing a range of data and connections

3.Flexibility to customize an oracle connection including the number of oracles, types and number of data sources, aggregation strategies, staking deposits, trusted execution environments, Mixicles and more

4.A reputation framework for evaluating oracles based on on-chain and off-chain metrics

It’s an all-in-one network for users to customize how their contract communicates with anything off-chain using varying levels of decentralization, data aggregation, and oracle selection.

It’s backed by an experienced team of developers, academics, and proven business leaders with an extensive background in pioneering emerging technology and scaling global enterprises. Chainlink is recognized as one of the top blockchain companies by leading independent research firms such as Gartner, and featured in leading publications such as MIT Technology Review, Forbes, Coindesk, and more. It is well known for providing highly secure and reliable oracles to great companies like Google, Oracle, SWIFT, and many other large enterprises, as well as many of the world’s best smart contract projects/teams such as Web3/Polkadot, Synthetix, Loopring, Kaleido, OpenLaw, Reserve, and many more.

Learn more by visiting the Chainlink website, Twitter or Telegram. If you’re a developer, visit the developer documentation or join the technical discussion on Discord.

—-

编译者/作者:Chainlink

玩币族申明:玩币族作为开放的资讯翻译/分享平台,所提供的所有资讯仅代表作者个人观点,与玩币族平台立场无关,且不构成任何投资理财建议。文章版权归原作者所有。

LOADING...
LOADING...