Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [iot-wg] IoT Connector project proposal

Hi Julien,

 

I am really glad that you find some interest in discussing the IoT Connector and the underlying idea of the IoT Server Platform. The experience you gained from your work in these fields will be a valuable resource J

 

I think that you are right with your point regarding the need for supporting interactions more complex like plain telemetry data transmission. However, I do not quite understand why you think that the scenario sketched out by you would not be possible with the business/orchestration logic located on the northbound side of the IoT Connector.

 

wait the device to connect, // Protocol Adapter sends out a corresponding event via the IoT Connector
when the device is there ask it's version,  //
on receiving the event, send a corresponding request to the device (via IoT Connector and Protocol Adapter)
wait for the response,
// wait for response message received via IoT Connector
send the firmware download operation for the binary patch corresponding to the received version, // send write request for firmware download URI

wait for the response, // wait for response message received via IoT Connector

poll the download status // send read requests polling download status etc. (via IoT Connector and Protocol Adapter)

While I agree that the IoT Connector will introduce some amount of latency to each interaction, I cannot see why this amount of latency (I’d assume we are talking up to hundreds of milliseconds) would prevent the scenario to be successfully implemented.

On the other hand, introducing the IoT Connector to a cloud based IoT infrastructure has a lot of advantages as Henryk has already elaborated on …

 

Regards,

Kai

 

From: iot-wg-bounces@xxxxxxxxxxx [mailto:iot-wg-bounces@xxxxxxxxxxx] On Behalf Of Julien Vermillard
Sent: Friday, November 27, 2015 6:15 PM
To: IoT Working Group mailing list
Subject: Re: [iot-wg] IoT Connector project proposal

 

Hi Kai,

first question:

Scenario for complex operation like firmware upgrade or device configuration are in the scope?

Because if I read between the line an async queue based architecture won't be able to handle very synchronous operation like:

wait the device to connect,
when the device is there ask it's version,
wait for the response,
send the firmware download operation for the binary patch corresponding to the received version,

wait for the response,

poll the download status
...
...

if you put an async construction like rabbitmq between the device protocol gateway and something implementing this scenario it won't work because the device will probably left when you will unqueue the next event and you need to send the next command before the device is gone.

You can't enqueue whole command at once because you have control flow (loop and if).
If you put the state machine between the protocol adapter and the bus it will work, if you expect to put this logic on the northbound it won't.


Sending telemetry data from the device to a database or a rule engine in an async way is easy (even if it's where you probably have a lot of data).

Command flow control is a totally different beast, it needs synchronous behaviour.

You can try to use your bus/RabbitMQ in a synchronous way (RPC style constructions with ephemeral response queue) but a good old database will be a better choice.

I hope it does make sense :)


--
Julien Vermillard

 

On Fri, Nov 27, 2015 at 3:48 PM, Hudalla Kai (INST/ESY) <Kai.Hudalla@xxxxxxxxxxxx> wrote:

Hi,

we have created a draft version of a proposal [1] for starting a project under the Eclipse IoT umbrella for creating the IoT Connector component which is a central part of the IoT Server Platform [2]. We would like to encourage all interested parties to review and comment on the proposal so that we can make sure to create something that will be useful :-)

Please feel free to add yourself to the list of interested parties if you would like to see the component become reality and/or would like to collaborate on its development.

[1] https://wiki.eclipse.org/IoT/IoTConnectorProposal
[2] https://wiki.eclipse.org/IoT/IoTServerPlatform

Mit freundlichen Grüßen/ Best regards
 
Kai Hudalla

Bosch Software Innovations GmbH
Schöneberger Ufer 89
10785 Berlin
GERMANY
www.bosch-si.de

Mobile +49 (151) 54336335 
Phone +49 (30) 726 112-145
kai.hudalla@xxxxxxxxxxxx
 
Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn


_______________________________________________
iot-wg mailing list
iot-wg@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/iot-wg

 


Back to the top