PROFILE BASED CONTENT AND SERVICES
Profile based services and content can assist with the backward and forward compatibility of conventional service layers or the like. Using a profile to manage content and access to services offered may reduce the overhead or processing associated with providing those value added services by service layers.
1 . An apparatus for creating compatible messages between devices, the apparatus comprising:
a processor; and
a memory coupled with the processor, the memory comprising executable instructions that when executed by the processor cause the processor to effectuate operations comprising:
receiving a message from a client device for a target end device;
determining a version or release associated with the message;
determining based on the version or release associated with the message, a list of profiles to apply to the message, each of the list of profiles associated with the version or release associated with the message and the list of profiles associated with multiple versions of an implemented software of the target end device; and
applying the list of profiles to the message to create a new message that is compatible with the target end device.
2 . The apparatus according to claim 1 , wherein the message is a service layer message.
3 . The apparatus according to claim 1 , wherein the determining of the list of profiles is based on matching information associated with the message from the client device to each profile in the list of profiles, the information associated with the message from the client device comprising one or more of an identifier of the client device, a release of software indicated in the message, a resource type indicated in the message, an operation indicated in the message, and a uniform resource identifier indicated in the message.
4 . A method for creating compatible messages between devices, the method comprising:
receiving a message from a client device for a target end device;
determining a version or release associated with the message;
determining based on the version or release associated with the message, a list of profiles to apply to the message, each of the list of profiles associated with the version or release associated with the message and the list of profiles associated with multiple versions of an implemented software of the target end device; and
applying the list of profiles to the message to create a new message that is compatible with the target end device.
5 . The method according to claim 4 , wherein the message is a service layer message.
6 . The method according to claim 4 , wherein the determining of the list of profiles is based on matching information associated with the message from the client device to the list of profiles, the information associated with the message from the client device comprising one or more of an identifier of the client device, a release of software indicated in the message, a resource type indicated in the message, an operation indicated in the message, and a uniform resource identifier indicated in the message.
7 . 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 a message from a client device for a target end device;
determining a version or release associated with the message;
determining based on the version or release associated with the message, a list of profiles to apply to the message, each of the list of profiles associated with the version or release associated with the message and the list of profiles associated with multiple versions of an implemented software of the target end device; and
applying the list of profiles to the message to create a new message that is compatible with the target end device.
8 . The computer readable storage medium according to claim 7 , wherein the determining of the list of profiles is based on matching information associated with the message from the client device to the list of profiles, the information associated with the message from the client device comprising an identifier of the client device.
9 . The computer readable storage medium according to claim 7 , wherein the determining the list of profiles is based on matching information associated with the message from the client device to the list of profiles, the information associated with the message from the client device comprising a release of software indicated in the message.
10 . The computer readable storage medium according to claim 7 , wherein the determining of the list of profiles is based on matching information associated with the message from the client device to the profiles, the information associated with the message from the client device comprising a resource type indicated in the message.
11 . The computer readable storage medium according to claim 7 , wherein the determining of the list of profiles is based on matching information associated with the message from the client device to the profiles, the information associated with the message from the client device comprising an operation indicated in the message.
12 . The computer readable storage medium according to claim 7 , wherein the determining of the list of profiles is based on matching information associated with the message from the client device to the profiles, the information associated with the message from the client device comprising a uniform resource identifier indicated in the message.