In the current code base an SID (server-ID) is generated for each instance of 
an Iotivity server - so two server instances running on the same device will 
have a different SIDs.  This SID is used by clients to check that a resource 
discovered on multiple interfaces are indeed the same, i.e. SID + URI together 
ensure uniqueness of resource.  In the current implementation SID is not 
persisted when the process restarts but once the security team implements the 
persistent storage mechanism, it can be leveraged to ensure that the SID 
persists.

As Thiago mentioned, the onboarding solution being designed by the security 
team might enhance/change the existing implementation.

--Vijay

-----Original Message-----
From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Thiago Macieira
Sent: Friday, April 24, 2015 1:12 AM
To: minho03.lee at samsung.com
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Question about global uniqueness of IoTivity thing

Hi Minho

We're not yet addressing the problem of deduplication, which is probably why no 
one has created UUIDs yet.

But as far as I understand, this will come with the onboarding solution being 
designed inside OIC's security team.

On Friday 24 April 2015 07:45:03 ??? wrote:
> Hi Thiago,
>  
> Thank you for sharing current situation.
> From your information, currently no specific plan about it exist and 
> nobody can ensure that it can included in v1.0 feature of IoTivity.
>  
> With this situation, if someone want to make and deploy real service 
> with IoTivity, they should make their own mechanism to generate UUID.
>  
> I am concerning this can be some kind of obstacle to promotion of IoTivity.
>  
> Regards
> Andy Minho Lee
>  
> ------- Original Message -------
> Sender : Thiago Macieira<thiago.macieira at intel.com>
> Date : 2015-04-24 16:01 (GMT+09:00)
> Title : Re: [dev] Question about global uniqueness of IoTivity thing
>  
> Hi Minho
> 
> The UUID -- if it will exist -- will be part of the security / 
> onboarding solution. Since we haven't implemented that yet, it's hard 
> to say even whether an UUID will exist.
> 
> I've been pushing for a discussion on this topic on whether we can get 
> away from even having a UUID. For example, it could be the checksum of 
> the client's certificate, which it will have to generate at onboarding time.
> 
> But despite the method, we *need* a globally unique identifier that 
> allows you to track a client if its IP address changed or if you 
> reached it over a different medium.
> 
> On Thursday 23 April 2015 08:56:03 ??? wrote:
> > Hi,
> >
> >  
> >
> > I have a question regarding uniqueness of things in IoTivity.
> >
> >  
> >
> > Are there any mechanisms to generate UUID for a specific device 
> > exist in IoTivity? when I assume that a particular service exist and 
> > this service uses IoTivity, can I guarantee a specific thing is 
> > globally unique so that any other things can't use same UUID? Also 
> > as client of this service can I recognize this thing after this thing 
> > rebooted and IP/Port # is changed?
> > I heard currently there are no mechanisms regarding this defined in 
> > OIC standard track so nobody can guarantee global uniqueness of 
> > things in OIC now.
> > What is IoTivity's situation regarding this or any plan exist?
> >
> >  
> >
> > Thank you
> >
> >  
> >
> > Regards,
> > Andy Minho Lee
> >
> >  
> >
> > --------
> > Lee Min Ho
> > Principal Engineer
> > 
> > IoT Solution Lab.
> > Web & Convergence Team
> > Software Center
> > SAMSUNG ELECTRONICS CO.,LTD
> > 
> > TEL . 82-31-279-7888
> > FAX . 82-31-279-0523
> > Mobile . 82-10-6228-8340
> > E-Mail . minho03.lee at samsung.com
> >
> >  
> 
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
> 
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>  
> Regards,
> Andy Minho Lee
>  
> 
> 
> 
> 
> --------
> Lee Min Ho
> Principal Engineer
> 
> IoT Solution Lab.
> Web & Convergence Team
> Software Center
> SAMSUNG ELECTRONICS CO.,LTD
> 
> TEL . 82-31-279-7888
> FAX . 82-31-279-0523
> Mobile . 82-10-6228-8340
> E-Mail . minho03.lee at samsung.com
> 
> 
> 
>  

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to