Upload
david-brearley
View
240
Download
3
Tags:
Embed Size (px)
DESCRIPTION
Connecting the real world to the ThingWorx platform
Citation preview
Edge Connectivity in ThingWorx™ Extending the ThingWorx Platform Out To the Physical World
WHITEPAPER
A MODERN APPROACH TO INTEGRATING REMOTE RESOURCES
INTO YOUR CONNECTED APPLICATIONS
One of the hallmarks of ThingWorx is its ability to integrate the physical world into business processes. These processes increasingly require information from and interaction with people, enterprise software systems, and remote devices. Unfortunately, not all physical systems are created equally and there is no universal answer to integrating those remote systems into your business processes. Fortunately, ThingWorx was designed with a deep understanding of device connectivity and the myriad of existing connectivity models as well as with a modern AlwaysOn™ model that addresses many of the problems with existing solutions. This whitepaper discusses the varied mechanisms available for seamlessly integrating both legacy and newly designed edge devices into the ThingWorx platform.
Edge Connectivity in ThingWorx
www.thingworx.com
TABLE OF CONTENTS
1 AN IMPERFECT WORLD ......................................................................................................................... 3
2 A TAXONOMY OF EDGE CONNECTIVITY ................................................................................................. 3
Direct Connect ......................................................................................................................................................... 3 AlwaysOn™ .............................................................................................................................................................. 4 AlwaysOn™ Embedded ............................................................................................................................................ 5 AlwaysOn™ Tethered ............................................................................................................................................... 5 AlwaysOn™ Network Gateway ................................................................................................................................ 6 Device Cloud/Internet Gateway............................................................................................................................... 6
3 SUMMARY ............................................................................................................................................ 7
Edge Connectivity in ThingWorx
www.thingworx.com
1 AN IMPERFECT WORLD In a perfect world, where bandwidth is free and unlimited, batteries last forever, all devices use the most modern of communications technology, and everyone on the Internet is friendly and law abiding, connectivity with edge devices is simple. Bi-directional REST based interactions enable interactive communications between an edge device and the ThingWorx server and visa-versa. Unfortunately, unless everything is line-powered and deployed within your own private network, the world is far from perfect. On wired networks there are firewalls and other necessary IT security infrastructure. On wireless networks there are issues with the cost of bandwidth, unpredictable IP addresses, and battery life. And in all cases there is the need for encryption, authentication, authorization and auditing to keep information away from prying eyes.
Over the years many technologies have been developed and deployed to address the myriad of different scenarios and requirements for remote device connectivity and it is simply not realistic to expect companies to start from scratch when developing new connected applications. Therefore, the ThingWorx platform must not only support legacy systems, it must embrace them, attempting to bring them into as near a perfect world as possible. That is the goal of the ThingWorx approach to edge connectivity: abstract away any imperfections of the existing connectivity model so that applications built with ThingWorx can work with as secure and perfect a world as possible.
2 A TAXONOMY OF EDGE CONNECTIVITY Edge connectivity takes multiple forms and people have been classifying these forms in many ways. The most often used breakdown is wired vs. wireless. However, with the rapid advances in wireless capacity and bandwidth, the technical distinction between these is less important. What is important is the ongoing operating costs that wireless brings with it. Another cost that is often overlooked is energy costs to operate a specific transport. In battery powered systems this can be a very significant expense in terms of downtime and battery replacement costs. ThingWorx takes these factors into account as it looks at the connectivity taxonomy in a slightly different fashion.
The ThingWorx platform has been architected to easily support the following modes of interaction with edge devices and sensors.
Direct Connect There are certain deployments where the ThingWorx server, either standalone or in a federated model, and an edge device can interact directly through mutual HTTPS REST based interfaces. Consider a manufacturing facility where all the equipment is on the same network. Each piece of intelligent equipment may have its own controller and Human Machine Interface (HMI). The system used for the HMI typically has enough resources to also expose its data to the network via REST based web services or some existing interface such as OPC or ODBC. In
this scenaridirectly in anetwork infdeployment
The downsithe edge denot always alternative s
AlwaysOn™The ThingWpresence anand pull), abandwidth wnetwork comproviding foEstablishingit does not This connecthe infrastruidentified byis standards
When usingThe EMS is Services frofrom the Thequipment applicationsadditional ebe used to desktop andcommunica
There are mare covered
o it is quite pa secure fashifrastructure ht is shown in
de to a directevices are on the case and scenarios.
™ Worx AlwaysOnd real-time cnd can be utiwasting constmplexities sucor a highly secg ‘AlwaysOn’ crequire any octivity model ucture requirey the applicats based and c
g AlwaysOn, othe key to pr
om the edge ahignWorx servand newly des to the serveedge intelligenaggregate and file transfertions with the
many ways tod in the follow
possible for a Ton without thurdles such athe figure be
t connect modthe same netThingWorx h
On technologyconnectivity, silized on bothtant polling. ch as firewallscure and scalconnectivity fopen incomingis also quite fed for assignitions that intecan be either
one also gets roviding transas well as prover. The EMSeployed systemer as RESTful nce though a nd preprocessr capabilities ae server.
deploy the Twing sections
ThingWorx sehe need for anas firewalls anlow.
del is that it atwork or at lehas developed
y is lightweighsupports fully
h wired and wThe beauty os, NATs, and able interacti
from the devicg ports or chafriendly to wirng static IP a
eract with theXMPP or Web
the benefits osparent accesoviding transpS also plays ams by exposiWeb Servicesbuilt in script
s data, performand perform o
ThingWorx Alwof this docum
E
erver and thisny additional nd proxy serve
assumes that east directly cd other conne
ht, scalable, ay bidirectionalwireless netwoof AlwaysOn isneeding to knon between tce to the servanges to the nreless operatoaddresses so tem. The undebSockets.
of the ThingWs to ThingWo
parent access pivotal role ing propertiess. Finally, thting environmm data comprother function
waysOn technment.
Edge Connect
ww
s edge deviceprotocols to oers. An exam
the ThingWoontactable. O
ectivity mecha
nd secure. It communicat
orks without ts that it abstrnow IP addrethe server andver is also vernetwork secuors as it remothat devices cerlying transp
Worx Edge Miorx server proto edge basen integrating
s and servicese EMS can als
ment. This edression, provins needed to
nology. Each
tivity in Thing
ww.thingworx
e to communicovercome any
mple of such a
orx platform aOf course thisanisms to sup
t incorporatesions (both puthe need for racts away thesses while std the edge dery IT friendly rity infrastruc
oves the needcan always beport for Alway
croServer (EMovided Web ed Web Servicwith both leg
s provided by so provide ge intelligencide remote optimize
of these opti
gWorx
x.com
cate y a
and s is pport
s ush
e ill evice. since
cture. d for e ysOn
MS).
ces gacy edge
ce can
ions
AlwaysOn™For new prothe EMS dir
The benefitThingWorx product, anwell.
AlwaysOn™In many rembase, not wthe equipmequipment in mind andsupport theone of the fscenarios, t
™ Embedded oducts under rectly into the
ts of such a soplatform, no d the ability t
™ Tethered mote service
with new prodent create boprovider. Ho
d simply may e ThingWorx Efundamental tthe ThingWor
development
e product’s so
olution are madditional deto remotely u
scenarios, theucts under de
oth a compelliowever, a lot onot have the
EMS. ThingWtenets of the rx EMS can be
t or products ftware or firm
any includingeployment stepdate not on
e immediate vevelopment. ing business cof legacy equnetworking h
Worx does notThingWorx p
e deployed in
E
in the field thmware is a hig
g a tight integeps since the Ely the EMS, b
value of ThinThe cost sav
case and uniqipment was nhardware, rest ignore theseplatform is to
what is called
Edge Connect
ww
hat can be upghly desirable
ration of the EMS is built ri
but the device
gWorx is withvings and increque differentianot designed sources, or upe legacy systeembrace legad “Tethered”
tivity in Thing
ww.thingworx
pdated, embede solution.
product into ight into the
e’s software a
h the installedeased uptimeator for an with connectipgradeability tems, and in faacy. In thesemode.
gWorx
x.com
dding
the
s
d e of
ivity to
act e
In TetheredSerial<->EtThe scriptindevice via wprotocol succonnection ThingWorx
AlwaysOn™It is quite ccustomer simaster servcentralized that is not nsupports de
In this deplchannel of cmodel desigseparately, architecturedevice is cointo the pro
Device ClouOne final de“Device CloCosm™/Pacdevice data
d mode, the Tthernet gatewng environmewhatever protch as Modbusis made, the universe.
™ Network Gaommon for ate. Often, th
ver that providcontroller manecessarily aveploying the T
oyment scenaconnectivity ugned into the as its own un
e is that the eonnected throoduct software
ud/Internet Geployment sceud” solutions chube™, Axed streams to a
ThingWorx EMway and connent of the EMStocol it suppos or some prodevice is tran
ateway n equipment
hese devices rdes a commoay also have ivailable at theThingWorx EM
ario, the Thinup to the ThinThingWorx E
nique Thing wend applicatiough a networe.
Gateway enario for Ththat seem to
da™, iDigi™, a centralized d
MS is deployedects to the deS can then berts over that
oprietary custonsformed into
vendor to hareside on the on user interfanformation ore individual deMS as a Netwo
ngWorx EMS isngWorx serveEMS, each of twithin the Thinns have no idrk gateway, a
ingWorx is coo be popping and nPhase™data repositor
E
d on a very loevice via some used to cominterface wheom protocol.
o a fully funct
ve many devicustomer’s n
ace for interacr aggregated evice. In sucork Gateway.
s deployed oner. However,the remote dengWorx platfodea, and do na tethered EM
onnecting throup every day
™ are essentiary.
Edge Connect
ww
ow cost “blacke existing diamunicate witether that is a In either casional, interact
ices deployedetwork and mcting with thedata regardinh a scenario,
n the local sebecause of thevices is reprorm. The bea
not need to knS, or has the
ough one of ty. Cloud provally pipes that
tivity in Thing
ww.thingworx
k box” such aagnostic interfh the legacy a standard se, once that tive “Thing” in
d at a single may have some product. Thng the deviceThingWorx
rver and actshe connectivitresented auty of this now, whetherEMS embedd
the plethora oiders such as t connect rem
gWorx
x.com
as a face.
n the
me hat es
s as a ty
r the ded
of
mote
3
These pipesThe data thIn such a scapparent. Iappropriateit to your Thcan be modin many casthe most po
SUMMA
The ThingWto that claimand sizes. WThingWorx direct conneAdapter extstandard an
Cosm, P
s may use eithat is collectedcenario, the pIntegrating on
e extension rehingWorx depdeled and instses life is eveopular Device
ARY Worx platformm it must provWith built in aplatform provected, Alwaystensibility modnd proprietary
Pachube, iDig
her wired or wd is then madpower of the Tne of these d
esource that uployment. Ontantiated just n easier since
e Clouds.
is “The First vide a secureability to suppvides the flexsOn, and occadel, the Thingy protocols an
i, Axeda, and
wireless connde available vThingWorx exevice clouds
understands tce deployed, like any othe
e several such
Platform for e, cost effectivport many difibility to handasionally modgWorx platfornd their assoc
d nPhase are T
E
nectivity, but tia some propxtension mechinto ThingWohe device clothe devices a
er Thing in theh extensions h
the Connecteve way to confferent connecdle both wireldes. In additiorm can be extciated installed
Trademarks o
Edge Connect
ww
the end resulrietary APIs ohanism becom
orx is a matteud’s particulaattached to the ThingWorx have already
ed World”. Innnect with devctivity scenaress and wiredon, with an etended to supd base of dev
of their respec
tivity in Thing
ww.thingworx
t is the sameor Web Servicmes readily r of creating t
ar API and addhe Device Clouniverse. In been created
n order to livevices of all shios, the d networks ineasy to use Edpport both vices.
ctive compan
gWorx
x.com
. ces.
the ding ud fact,
d for
e up hapes
n dge
ies.