简体   繁体   English

数据流 FIWARE Orion

[英]Data Flow FIWARE Orion

I have three simple question for my better understading of the FIWARE ecotope:为了更好地理解 FIWARE 生态环境,我有三个简单的问题:

  1. If I do upload a photo with some data and want to use a database at my own, does data flow to the Orion Context Broker first and than to the database?如果我确实上传了带有一些数据的照片并想使用自己的数据库,数据是否首先流向 Orion Context Broker 而不是数据库? Even if the database is with the same ISP, this might take longer before it arrives?即使数据库与同一个 ISP,这可能需要更长的时间才能到达?
  2. Is there some way confirming the proper upload?有没有办法确认正确上传?
  3. And in case of discontinuied orion, may I use this data at all?如果 Orion 停产,我可以使用这些数据吗?

Many thanks非常感谢

1) If I do upload a photo with some data and want to use a database at my own, does data flow to the orion context broker first? 1) 如果我确实上传了带有一些数据的照片并希望自己使用数据库,那么数据是否首先流向 orion 上下文代理?

As the name suggests, the Orion Context Broker is a component used to maintain context - eg the current value of sensors - a digital representation of the state of the world as it is right now (or rather when it was last measured) - it is not database and is not a storage mechanism and has no memory of the previous state.顾名思义, Orion Context Broker是一个用于维护上下文的组件 - 例如传感器的当前值 - 世界状态的数字表示,因为它现在(或者更确切地说是上次测量时) - 它是不是数据库,也不是存储机制,并且没有先前状态的记忆。 It exists merely as a neutral communications mechanism so that other all other components making up a Smart solution are able to talk using a common language NGSI.它仅作为一种中立的通信机制存在,因此构成智能解决方案的其他所有其他组件都能够使用通用语言 NGSI 进行对话。

A mongo-db database is used in the backend to hold the context data and should be regularly backed-up in case of disaster recovery.后端使用 mongo-db 数据库来保存上下文数据,并应定期备份以备灾难恢复。

2) Is there some way confirming the proper upload? 2)有什么方法可以确认正确上传?

Context is limited to readings, JSON objects, key-value pairs and so on.上下文仅限于读数、JSON 对象、键值对等。 If you need to upload digital images you wouldn't use a context broker directly - your own component would upload an image to storage (like S3 for example) and pass the URL of the location to the context broker.如果您需要上传数字图像,您不会直接使用上下文代理 - 您自己的组件会将图像上传到存储(例如 S3)并将位置的 URL 传递给上下文代理。

An additional data persistence component such as Cygnus or Draco would be able to place the historical values of that attribute into the database of your choice (eg HDFS)一个额外的数据持久化组件,如CygnusDraco将能够将该属性的历史值放入您选择的数据库中(例如 HDFS)

As you can see there is no need of confirmation of upload since a raw image is not context data per-se如您所见,无需确认上传,因为原始图像本身不是上下文数据

3) And in case of discontinued orion, may I use this data at all? 3) 如果 orion 停产,我可以使用这些数据吗?

The Orion-Context broker is a free open source component - all the source code available on GitHub under the APGL license. Orion-Context 代理是一个免费的开源组件——所有源代码都在GitHub 上根据 APGL 许可提供。 FIWARE does not offer a commercial hosting or data storage environment. FIWARE 不提供商业托管或数据存储环境。 Your data would be held with which ever cloud service provider you were signed up with.您的数据将保存在您注册的任何云服务提供商处。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM