Service layer registration
A service layer entity may register to another service layer entity and proactively request to gain access to the local services hosted by the registrar entity. A registrar entity may accept a registree entity's registration request but only grant access of its partial services to the registree entity. If a registree entity does not need to proactively request the services within its registration request message, the registrar entity decides what services may be needed by the registree entity and grants access of those services to the registree entity.
1. A system associated with registration, the system comprising:
one or more processors; and
memory coupled with the one or more processors, the memory storing executable instructions that when executed by the one or more processors cause the one or more processors to effectuate operations comprising:
receiving, at a first registrar entity, a first message comprising a registration request for a first service of a service layer from a first application of a device, wherein the service layer providing service capabilities accessible to different machine-to-machine applications or systems via an open interface;
sending, at the first registrar entity, a second message that is responsive to the first message, the second message comprising information indicating a first set of one or more identifiers of one or more services granted by the first registrar entity for the first application;
receiving, at a second registrar entity, a third message comprising a registration request for a second service of the service layer from the first application; and
sending, at the second registrar entity, a fourth message that is responsive to the third message, the fourth message comprising information indicating a second set of one or more identifiers of one or more services granted by the second registrar entity for the first application, wherein the first application is simultaneously registered with the first registrar entity and the second registrar entity.
2. The registrar system of claim 1 , wherein the second message further comprises a valid time, wherein the valid time indicates an effective time period of the first service.
3. The registrar system of claim 1 , wherein the second message further comprises a maximum usage, wherein the maximum usage indicates a maximum number of uses of the first service for the first application.
4. The registrar system of claim 1 , wherein the second message further comprises a mutuality, wherein the mutuality indicates whether the first service is bi-directional or unidirectional.
5. The registrar system of claim 1 , wherein the second message further comprises a recommendation registrar, wherein the recommendation registrar indicates a third registrar entity that the first registrar entity recommends for a third service that was rejected, the third service requested in the first message.
6. The registrar system of claim 1 , wherein the second message further comprises an allowed wait time, wherein the allowed wait time indicates a time the device is willing to wait for a pending service to be granted.
7. The registrar system of claim 1 , wherein the second message further comprises a priority order, wherein the priority order indicates a priority of the device.
8. A method comprising:
sending, by a first application of a device, a first message comprising a registration request for a first service of a service layer to a first registrar entity, the service layer providing service capabilities accessible to different machine-to-machine applications and systems via an open interface;
receiving, by the first application, a second message that is responsive to the first message, the second message comprising information indicating a first set of one or more identifiers of one or more services granted by the first registrar entity for the first application;
sending, by the first application, a third message comprising a registration request for a second service of the service layer to a second registrar entity; and
receiving, by the first application, a fourth message that is responsive to the third message, the fourth message comprising information indicating a second set of one or more identifiers of one or more services granted by the second registrar entity for the first application, wherein the first application is simultaneously registered with the first registrar entity and the second registrar entity.
9. The method of claim 8 , wherein the second message further comprises a valid time, wherein the valid time indicates an effective time period of the first service.
10. The method of claim 8 , wherein the second message further comprises a maximum usage, wherein the maximum usage indicates a maximum number of uses of the first service for the first application.
11. The method of claim 8 , wherein the second message further comprises a mutuality, wherein the mutuality indicates whether the first service is bi-directional or unidirectional.
12. The method of claim 8 , wherein the second message further comprises a recommendation registrar, wherein the recommendation registrar indicates a third registrar entity that the first registrar entity recommends for a third service that was rejected, the third service requested in the first message.
13. The method of claim 8 , wherein the second message further comprises an allowed wait time, wherein the allowed wait time indicates a time the device is willing to wait for a pending service to be granted.
14. The method of claim 8 , wherein the second message further comprises a priority order, wherein the priority order indicates a priority of the device.
15. A computer readable storage medium storing computer executable instructions that when executed by a computing device cause said computing device to effectuate operations comprising:
receiving, at a first registrar entity, a first message comprising a registration request for a first service of a service layer from a first application of a device, the service layer providing service capabilities accessible to different machine-to-machine applications or systems via an open interface;
sending, at the first registrar entity, a second message that is responsive to the first message, the second message comprising information indicating a first set of one or more identifiers of one or more services granted by the first registrar entity for the first application;
receiving, at a second registrar entity, a third message comprising a registration request for a second service of the service layer from the first application; and
sending, at the second registrar entity, a fourth message that is responsive to the third message, the fourth message comprising information indicating a second set of one or more identifiers of one or more services granted by the second registrar entity for the first application, wherein the first application is simultaneously registered with the first registrar entity and the second registrar entity.
16. The computer readable storage medium of claim 15 , wherein the second message further comprises a valid time, wherein the valid time indicates an effective time period of the first service.
17. The computer readable storage medium of claim 15 , wherein the second message further comprises a maximum usage, wherein the maximum usage indicates a maximum number of uses of the first service for the first application.
18. The computer readable storage medium of claim 15 , wherein the second message further comprises a mutuality, wherein the mutuality indicates whether the first service is bi-directional or unidirectional.
19. The computer readable storage medium of claim 15 , wherein the second message further comprises a recommendation registrar, wherein the recommendation registrar indicates a third registrar entity that the first registrar entity recommends for a third service that was rejected, the third service requested in the first message.
20. The computer readable storage medium of claim 15 , the operations further comprising displaying a graphic that comprises text associated with a valid time, a maximum usage, a mutuality, or a recommendation registrar.