Cross-domain discovery between service layer systems and web of Things systems
Systems and methods are introduced to enable cross-domain discovery. Systems and methods are also introduced to create representations of resources and information discovered from cross-domain discovery.
1. An apparatus comprising a processor, a memory, and communication circuitry, the apparatus being connected to a communications network via its communication circuitry, the apparatus further comprising computer-executable instructions stored in the memory of the apparatus which, when executed by the processor of the apparatus, cause the apparatus to:
receive, in a first system compliant with a first communications protocol, via the communication network and from another apparatus on the network, a request message to conduct resource discovery for resources matching specified criteria;
determine resources in the first system that match the specified criteria, wherein each resource has an associated uniform resource identifier (URI);
determine interworking avatars (IAs) in the first system that match the specified criteria, wherein each IA comprises a representation of a resource from a second system, wherein the second system is not compliant with the first system and wherein the second system is compliant with a second communications protocol, wherein the representation of the resource from the second system comprises a format compliant with the first system, and wherein each IA has an associated URI; and
send in the first system, via the communication network and to the other apparatus on the network, a response message indicating URIs of the resources that match the specified criteria and URIs of the IAs that match the specified criteria.
2. The apparatus of claim 1 , wherein the request message comprises a SPARQL RDF-based query.
3. The apparatus of claim 1 , wherein the request message comprises a parameter indicating cross-domain discovery should be performed.
4. The apparatus of claim 1 , wherein the first system comprises a system compliant with a oneM2M service layer protocol.
5. The apparatus of claim 4 , wherein the IAs comprise oneM2M resource representations of WoT Things.
6. The apparatus of claim 1 , wherein the first system comprises a system compliant with a WoT protocol.
7. The apparatus of claim 6 , wherein the IAs comprise Thing representations of oneM2M resources.
8. The apparatus of claim 1 , wherein the specified criteria comprises a data content-related constraint.
9. The apparatus of claim 8 , wherein the computer-executable instructions, when executed by the processor of the apparatus, further cause the apparatus to:
send, to a cross-domain discovery service, a request message for current data of a discovered IA from the resource from the second system the IA represents; and
receive, from the cross-domain discovery service, a response message indicating current data of the IA.
10. An apparatus comprising a processor, a memory, and communication circuitry, the apparatus being connected to a communications network via its communication circuitry, the apparatus further comprising computer-executable instructions stored in the memory of the apparatus which, when executed by the processor of the apparatus, cause the apparatus to:
discover a resource in a first system compliant with a first communications protocol; and
create, on a resource host in a second system not compliant with the first system, wherein the second system is compliant with a second communications protocol, an interworking avatar (IA) representing the discovered resource in the first system.
11. The apparatus of claim 10 , wherein the first system comprises a system compliant with a WoT protocol.
12. The apparatus of claim 11 , wherein the IA comprises a oneM2M resource representation of a WoT Thing.
13. The apparatus of claim 10 , wherein the first system comprises a system compliant with a oneM2M service layer protocol.
14. The apparatus of claim 13 , wherein the IA comprises a Thing representation of a oneM2M resource.
15. The apparatus of claim 10 , wherein the computer-executable instructions, when executed by the processor of the apparatus, further cause the apparatus to:
receive, from the second system, a request message for current data of the resource;
determine the current data of the resource; and
send, to the second system, a response message indicating current data of the resource.
16. The apparatus of claim 10 , wherein the creating is initiated before any discovery requests are received.
17. The apparatus of claim 10 , wherein the creating is initiated after receiving a request message for cross-domain discovery.
18. The apparatus of claim 10 , wherein the computer-executable instructions, when executed by the processor of the apparatus, further cause the apparatus to:
host a cross-domain discovery service.
19. The apparatus of claim 18 , wherein the cross-domain discovery service comprises a common service function of a service layer.
20. The apparatus of claim 18 , wherein the cross-domain discovery service comprises a oneM2M resource.
21. The apparatus of claim 10 , wherein the IA is created with an interface for use by entities of the second system.
22. The apparatus of claim 10 , wherein the computer-executable instructions, when executed by the processor of the apparatus, further cause the apparatus to:
receive a discovery request from the second system, wherein the discovery request comprises a parameter indicating the resource host on which to create the IA.
23. An apparatus comprising a processor, a memory, and communication circuitry, the apparatus being connected to a communications network via its communication circuitry, the apparatus further comprising computer-executable instructions stored in the memory of the apparatus which, when executed by the processor of the apparatus, cause the apparatus to:
receive a discovery request from a first system compliant with a first communications protocol, wherein the discovery request comprises a parameter indicating a group operation is planned to be conducted over discovered devices;
discover one or more devices in a second system not compliant with the first system wherein the second system is compliant with a second communications protocol;
create a list of the one or more devices of the second system; and
generate a universal resource indicator (URI) for the list.
24. The apparatus of claim 23 , wherein the computer-executable instructions, when executed by the processor of the apparatus, further cause the apparatus to:
create a group resource in the first system, wherein the group resource comprises the generated URI for the list.