|
Re: Usage of NSCL [message #1403812 is a reply to message #1403081] |
Mon, 28 July 2014 00:53 |
Mahdi Ben Alaya Messages: 229 Registered: November 2013 |
Senior Member |
|
|
Hello hao,
The NSCL can do all the primitive procedures provided by the GSCL and more, especially that the NSCL knows the ip addresses of all authenticated GSCLs.
Here are some interesting procedures provided by the NSCL:
1) The NSCL acts as proxy to retarget NA requests to the right GSCL. NA sends request to NSCL (e.g GET http://NSCL-IP:NSCL-PORT/om2m/GSCL-ID), NSCL retargets request to GSCL, GSCL sends back response to NSCL, and NSCL retargets back response to NA. The retarget mechanism is seamless for NA. NA don't care of the GSCL IP and port.
2)The NSCL can act as proxy between several GSCLs. If we have GSCL1 and GSCL2 both authenticated to the NSCL, then a sensor connected to GSCL1 is able to send a request to an actuator connected to GSCL2 via the NSCL. GSCL1 don't care of GSCL2 IP and port (and vice versa).
3) NA can create a container on the NSCL, and use it as contactURI to subscribe to GSCL resource. The notifications will be retargeted from GSCL to NSCL and stored on the NA container.
4) A constraint GSCL can announce some applications on the NSCL. Announced resources will be created under NSCL-ID/scls collection. The GSCL benefits of an external data base to store its data. (e.g A smart meter can create all its measuring data on to NSCL)
5) A GSCL can announce some resources on the NSCL to advertise them in order to simplify their discovery by NAs. NAs will easily find, on the NSCL, links to original resources located on the GSCL.
Mahdi
|
|
|
|
Re: Usage of NSCL [message #1403852 is a reply to message #1403843] |
Mon, 28 July 2014 09:45 |
Mahdi Ben Alaya Messages: 229 Registered: November 2013 |
Senior Member |
|
|
Hello,
Protocol schema, ip, port and context are the protocol-dependent part of the uri used only as a point of contact (POC) to access the SCL server. An SCL can provide severals POCs.
scl-id/path/to/resource is the generic part of the uri used as targeID to identify the resource within the platform. The targetID can be mapped to different POCs. It is even possible to toggle from http to coap.
The context is a specific part that enables to define different listening routes for the same port. It optimizes the server resources.
For example, in OM2M we have two contexts for the same port:
"/" context routes to the resource browser web interface
"/om2m" context routes to the SCL API
"/other" context can be an extension for other services.
ETSI focuses on the targetID and don't define any rule for the context.
[Updated on: Mon, 28 July 2014 10:08] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03415 seconds