博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
67 open source tools and resources for IoT
阅读量:4046 次
发布时间:2019-05-24

本文共 19876 字,大约阅读时间需要 66 分钟。

The idea behind open source has been around for years, long before the movement toward open source software in the late 1980s—even before computers and well before the (IoT) tools on the market today. In the early days of automobiles, George Selden owned the patent on the two-cycle gas engine, which meant no auto manufacturers could deviate from Selden's basic design and requirements without a lawsuit.

Henry Ford put an end to that by successfully challenging Selden's patent and rendering it practically useless. This action also led to the Motor Vehicle Manufacturers Association and "cross-licensing," which allowed US auto manufacturers to develop and share their innovations openly without the threat of litigation between various auto companies. One could say that this approach accelerated the innovation and availability of those new technologies to mainstream consumers.

 

Fast forward to 2015: we're at a pivotal point in human history as we look to open source solutions to accelerate the innovation and adoption of IoT.

Drivers for open source

There are many drivers behind the popularity of open source:

  • Consumers want to use a large variety of consumer technology devices, and they don't want to be limited to using devices from one specific vendor (some smartwatches can only be paired with the same vendor's smartphone).

  • Vendors of IoT devices want to increase the number of technology ecosystems into which their devices can be integrated without major effort.

  • want to support a broad range of devices without having to develop vendor-specific code.

Open source solutions allow for this scale, velocity of innovation, and flexibility.

Scale

In order to scale to connect and support 50 to 70 billion sensors in the next decade, potentially millions of routers, gateways, and data servers will be required. There's no way to achieve these levels of scale without relying on open source frameworks and platforms within that infrastructure. Any other approach will simply be unaffordable.

Velocity of innovation

support rapid innovation through several advantageous characteristics, allowing for a more natural adoption approach within the enterprise. It's free and generally easy to download, install, and launch. This allows easy exploration of and experimentation with new technologies and enables enterprises to get comfortable with the software on smaller, non-mission-critical projects before any financial commitment is required.

Additionally, open source software enables permissionless innovation, easing concerns over royalties or lawsuits. In particular, open source promotes innovation by integration, where developers create new systems by combining freely available open source components.

Vibrant developer community

Open source software projects tend to promote innovation faster than proprietary solutions because they draw contributions from a large community of developers. The accumulation of this community participation accelerates the delivery of the key features and ecosystem that enterprises need. The result is that open source usually delivers on-target capabilities faster than proprietary alternatives.

Interoperability

The best possible way to have a new technology achieve rapid adoption is by combining open standards with a robust open source implementation. Open source implementations provide an easy adoption path with interoperability, and they reduce the cost of entering the market. Developers can spend less time implementing a standard and focus instead on building software that provides the firm with the product-differentiating features customers value.

No lock-in

A key advantage of open source solutions is that they don't lock your organization in to a proprietary provider. The cost of switching solutions and their vendors is typically high, which holds enterprises and startups hostage to proprietary service providers. Open source mitigates the risk of proprietary solutions being discontinued or no longer supported. How many firms have purchased proprietary software and invested in costly customizations, only to be stuck with an unsupported system or a costly upgrade path?

Industry-wide research on IoT open source technologies

conducted an industry-wide study on the open source projects related to IoT. Our goal was to obtain a cross-section of open source projects. Our scope was not to reach 100-percent coverage but rather to get a diverse representation of open source IoT projects.

The research methodology consisted of a survey questionnaire, video interviews, and secondary sources from websites, industry reports, and other sources. We found that not all projects open the entire source code for open source collaboration. The degree of "open" varies from project to project. Others offer a "freemium" model, or free open source code with the option of professional services for support and advanced tools.

A chapter on IoT open source, based on Amyx+McKinsey's research findings, will be included in the upcoming The Internet of Things and Cyber-Physical Systems Handbook in late 2015.

Open source projects in study

Note that some projects may fall under one or more categories.

Industry consortiums

1.

2. (OIC)

3.

4.

5. (OSHWA)

Protocols

6. (AMQP)

7. (CoAP)

8. (XMPP)

9. (MQTT)

10. (VSCP)

Operating systems (OS)

11.

12.

13.

14.

15.

16. Spark

17.

APIs

18. BipIO

19.

20.

21.

Horizontal platforms

22.

23.

24.

25. (DSA)

26. (Kynetx open source assigned to Pico Labs)

27.

28.

29. (OSIOT)

30.

31.

32.

33.

34.

Middleware

35.

36.

37.

38.

Node flow editors

39.

40.

Toolkits

41.

42.

Data visualization

43.

44.

Search

45.

Hardware

46.

47.

48.

49.

50.

51.

52.

In-memory data grids

53.

54.

Home automation

55. (HGI)

56.

57.

58.

59.

60.

61.

Robotics

62.

Mesh networks

63.

64.

Health

65.

Air pollution

66.

Water

67.

 

Business use cases

Consider how businesses can take advantage of the technologies listed above.

Interoperability

For most businesses, the top priority in building an IoT solution is interoperability. These standards and protocols enable systems and devices to find each another and communicate across profiles, such as mobile, wearables, in-vehicle infotainment, TV, cameras, printers, and appliances.

Standards bodies concerned with interoperability include AllSeen Alliance, with their AllJoyn framework, the Open Interconnect Consortium (OIC) and their IoTivity open source software framework, , OASIS IoT/ M2M, Eclipse, and others that are working on standardization, reference implementations, and certification programs. The standard plus the implementation reference helps to ensure interoperability among products, regardless of the manufacturer or vertical.

AllSeen Alliance:

The AllSeen Alliance consortium has more than 120 members, including Qualcomm, Microsoft, Panasonic, Sharp, Sony, LG, Cisco, Honeywell, HTC, Lenovo, Haier, TP-LINK, D-Link, ADT, NETGEAR, Symantec, and Verisign.

The AllSeen Alliance describes themselves as "dedicated to enabling and driving the widespread adoption of products, systems, and services that support the Internet of Everything with an open, universal development framework supported by a vibrant ecosystem and thriving technical community. It is the broadest cross-industry consortium to date that advances adoption and innovation in the Internet of Everything in homes and industry and looks to expand to healthcare, education, automotive, and enterprise."

OIC:

The OIC was founded in July 2014 and has more than 50 members, including Intel, Samsung, Cisco, Acer, Dell, GE, Honeywell, HP, Siemens, Lenovo, and McAfee.

IoTivity from OIC is similar to AllJoyn, but it allows for flexibility to customize for verticals. Its salient capability is in the abstraction transport layer.

Eclipse Foundation

The Eclipse Foundation grew out of IBM's Eclipse Project and currently has 228 members, including IBM, Google, Oracle, SAP, Siemens, Texas Instruments, Research in Motion, BMW, Cisco, Dell, Ericsson, HP, Intel, Nokia, and Bosch.

Scalability

Because a critical market requirement is the ability to scale, firms are looking for platforms that can support large-scale deployments. So, what are some available options for businesses to consider? In order to appreciate these platforms, we need to understand the more popular protocols: MQTT, XMPP, CoAP, and AMQP.

MQTT

Described by mqtt.org as "a lightweight publish-subscribe messaging transport" designed for resource-constrained devices and low-bandwidth, high-latency, or unreliable networks, Message Queue Telemetry Transport (MQTT) is ideal for connections with remote locations requiring a small code footprint and featuring scarce network bandwidth.

CoAP

Constrained Application Protocol (CoAP) is an application layer protocol intended for use in resource-constrained Internet devices, such as wireless sensor network nodes, low power sensors, switches, valves, and components controlled or monitored remotely through Internet networks. The key here is resource constrained.

XMPP

Designed for message-oriented middleware based on XML, Extensible Messaging and Presence Protocol (XMPP) is a communication protocol developed in 1999 by Jabber, an open source community. XMPP has been extended to use in publish-subscribe systems and IoT applications, such as for the smart grid.

AMQP

An open-standard application layer protocol designed for message-oriented middleware, Advanced Message Queuing Protocol (AMQP) features message orientation, queuing, routing (including point-to-point and publish-and-subscribe), reliability, and security.

SiteWhere

SiteWhere enables businesses to create IoT solutions without custom coding. Devices can be assigned to physical or logical assets via pluggable, commercial, off-the-shelf modules. SiteWhere supports numerous protocols, such as MQTT, JSON, AMQP, XMPP, Stomp, JMS, and WebSockets, while providing published APIs. Event data can be stored in the cloud or on local servers. The solution is fault tolerant, scalable, and cost efficient. Communication with devices is bidirectional and asynchronous. This allows SiteWhere to manage solutions that require very large numbers of devices and event cycles. SiteWhere provides interfaces for customized event triggering, searching, and analytics, as well as out-of-the-box support for rapidly integrating customized device data into other platforms.

, acquired by , is most similar to SiteWhere, which is also based on MQTT. SiteWhere claims that their solution is faster to deploy than Xively, with the advantage of deploying in the cloud and the local server.

webinos

webinos has 30 project partners across Europe, and its platform consists of an application platform, a connected everything protocol, and a security framework. webinos promotes a "single service for every device" vision, and supports deployments across a wide range of connected devices. Each gateway consists of a complete end-to-end specification of reference hardware, core platform, and example applications. Supported standards and protocols include HTTPS and JSON-RPC.

Smart cities

When we talk about scale and fragmented device environment, nothing poses a greater challenge than smart cities. For those firms looking for a smart city open source toolset, consider these projects for the OS layer.

RIOT

RIOT is an open source microkernel operating system that is an alternative to Linux OS. Both RIOT and Contiki focus on sensors with very minimal processing and memory, allowing the full OS capability on tiny sensor devices that otherwise wouldn't be able to support Linux or Android because of the lack of power, memory, and processing. RIOT supports multiple chip architectures, including MSP430, ARM7, Cortex-M0, Cortex-M3, Cortex-M4, and others. Both RIOT and Contiki use RPL mesh network protocols.

Contiki

Contiki specifically supports IPv6, 6loWPAN, Ripple, CoAP, TCP, HTTP, MQTT, DNS, JSON, and other standards. It has highly efficient memory allocation, full IP networking, low power consumption, and dynamic module loading.

OpenRemote

OpenRemote is a middleware solution with a focus on home automation, commercial buildings, public spaces, and healthcare. OpenRemote is protocol-agnostic and operates on off-the-shelf hardware. OpenRemote's architecture enables fully autonomous and user-independent intelligent buildings. End user control interfaces are available for iOS, Android, and web-browser-based devices. User interface design, installation management, and configuration can be handled remotely with OpenRemote's cloud-based design tools.

A is based on the City of Eindhoven's use of OpenRemote. They were able to build a crowd management system with workflow and messaging. Data visualization software was integrated with devices, sensors, and subsystems via a local controller or hub. Using street sensors, the system was able to count the number of people passing, measure city sound levels, and use lighting as an actuator. A UI dashboard was available on mobile devices to view crowd management metrics.

Smart homes

There's a lot of competition in the smart home space, from organizations such as , , and . For those companies interested in entering the smart home category, what are some open source projects that can give you a head start? Here are two smart home platforms to consider:

openHAB and Eclipse SmartHome

openHAB offers a framework based on (OSGi). openHAB has a modular architecture that allows contributors to add devices, including legacy protocol-based devices, standards, and component support, which are ideal for connected homes, into a single solution that allows overarching automation rules and uniform user interfaces.

For enterprise use, openHAB core framework can be used within the Eclipse SmartHome project. Any changes to the openHAB code base is shared seamlessly with Eclipse SmartHome. Eclipse SmartHome tries to address the fragmented smart home ecosystem with common interfaces and APIs to integrate connectivity, automation, user interfaces, and persistence.

Home Gateway Initiative (HGI)

HGI is a consortium of major broadband service providers (Deutsche Telekom, Telecom Italia, NTT) and home consumer electronics manufacturers to build a smart home ecosystem. HGI publishes requirements and test plans for home gateways and wireless home networks with the goal of enabling applications, home gateway middleware, and home-network-based devices to connect seamlessly.

Rapid time to benefit

Piecing together various components and services is no simple matter. Yet, your stakeholders demand quick benefits. So, how can organizations achieve this?

Zetta

On the API side, Zetta, which is built on Node.js, helps link devices with the cloud to create geo-distributed networks. Zetta combines REST APIs, WebSockets, and reactive programming, which is ideal for assembling devices into data-intensive, real-time applications. Zetta powers commercial platforms like .

OpenIoT

On the middleware side, OpenIoT creates an open source middleware for pulling information from sensor clouds, without having to worry about what sensors are used. It explores efficient ways to use and manage for IoT entities and resources, such as sensors, actuators, and smart devices, and offers a cloud- and utility-based sensing-as-a-service model via an adaptive middleware framework for deploying and providing services in cloud environments.

OpenIoT has developed use cases for smart agriculture, intelligent manufacturing, urban crowdsensing, smart living, and smart campuses.

Limited network coverage

Depending on the solution you're building, there may be use cases where Wi-Fi and cellular coverage will be limited. What do you do then?

Mesh networking

Whether we're talking about live events, remote areas, or agricultural land, a mesh network offers connectivity when there's limited Wi-Fi or cellular service.

Open Garden

Open Garden SDK enables connected devices to connect to the Internet and communicate with other nearby devices using peer-to-peer mesh networking connectivity to share and receive data faster and more efficiently by automatically and actively choosing and switching to the best available network without requiring a user's involvement. Open Garden's wireless mesh networking application is supported on Mac, Android, Windows, and soon iOS. Founders claims that more than five million people are using Open Garden.

Some startups are using Open Garden and a low-power wide-area network (LPWAN) to create an off-the-grid, wireless messaging network that claims to work over a 20-mile radius and support up to 50 kilobits per second over 50 channels.

OpenWSN

OpenWSN is an open source project based at UC Berkeley that supports "RPL, a routing protocol designed for low power and wireless sensor networks. The routing layer is responsible for relaying packets across multiple hops separating source and destination nodes. It's divided into a forwarding engine, which uses a routing table to decide which neighbor node is the next hop for that packet, as well as a routing protocol, which populates the routing table."

Utilization-based monetization: Chimera IoT

Another market requirement we hear about often is the ability to monetize based on utility. Companies need the ability to charge accordingly—be it by RPM, acceleration, or the number of times the front loader was raised.

Chimera IoT is building an IoT platform that allows enterprises to build real-time with usage-based monetization and reconciliation, visible to both the billing company and the user. Its messaging service is based on RabbitMQ, an open source project utilizing AMQP messaging. RabbitMQ supports robust messaging for applications, runs on all major operating systems, and supports many developer platforms.

Chimera IoT will be unveiling their open source project for the server design of their messaging system and the device drivers for sensors on Android devices and Texas Instruments' SimpleLink Bluetooth Smart SensorTag.

High-volume, real-time analytics

High-volume transactions present a big challenge, but what about those companies looking to implement real-time analytics? How can firms tackle these challenges? One solution is an in-memory data grid, which primarily relies on main memory for computer-data storage to access data in memory. The following two projects support enterprise-grade, in-memory computing solutions for high-volume transactions, real-time analytics, and hybrid data processing.

Ehcache

The most widely used Java-based cache, Ehcache is an open source, standards-based, performance enhancing cache that offloads databases and simplifies scalability. Developed and maintained by Terracotta, Encache scales from in-process, with one or more nodes, while mixing in-process/out-of-process configurations.

Hazelcast

Hazelcast provides in-memory NoSQL, Java caching, data grid, messaging, application scaling, and clustering.

Key takeaways

Based on our evaluation of open source technologies, there's no silver bullet for success in IoT. These projects represent not a single turnkey solution. Additionally, documentation and support vary greatly from project to project.

Yet the benefits of open source technologies for implementing the IoT far outweigh potential limitations. As a matter of fact, many of today's proprietary IoT solutions are using open source technologies under the hood.

If you work at a blue-chip, publicly traded company, that doesn't mean you have infinite resources to work with. In many cases, your sponsors want quick solutions that demonstrate benefits before they're willing to commit to a full-fledged IT project. If you work for a startup, you need to get up and running fast without legions of developers. In both scenarios, open source enables you to do more with less.

The message is simple: Don't start from scratch. Leverage these incredible open source projects and IoT tools to accelerate your product development.

转载地址:http://hvgdi.baihongyu.com/

你可能感兴趣的文章
async 函数的含义和用法
查看>>
Understanding the Node.js Event Loop - Node.js at Scale
查看>>
Koa框架实践与中间件原理剖析
查看>>
Express和koa各有啥优缺点?
查看>>
进程、线程、协程之概念理解
查看>>
为什么觉得协程是趋势?
查看>>
PV、UV、VV、CV
查看>>
用Node.js实现Restful风格webservice
查看>>
REST简介
查看>>
理解RESTful架构
查看>>
nginx日志切割
查看>>
js函数的作用域与this指向
查看>>
腾讯QQ团队开源分布式后台服务引擎msec
查看>>
看看腾讯和百度等这样的大型网站系统架构是如何演化的
查看>>
AMQP与QPID简介
查看>>
nginx虚拟主机
查看>>
Nginx 性能调优
查看>>
nginx rewrite规则之last和break
查看>>
Redis和Memcached的区别
查看>>
Memcached 集群的高可用(HA)架构
查看>>