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 modifying messages exchanged 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 first message defining a profile for modifying messages, wherein the profile specifies which types of messages the profile applies to, names of attributes in a message to be modified, and modifications to be performed on the attributes;
storing the profile in a resource;
receiving a second message from a client device for a target end device;
determining a list of applicable profiles stored in resources of a plurality of profiles for modifying the second message; and
applying the list of applicable profiles to the second message to modify attributes of the second message and create an updated or new message that is compatible with the target end device.
2. The apparatus of claim 1 , wherein creator of each of the profiles in the list of applicable profiles is checked for permission to modify the second message before the profile is applied to the second message.
3. The apparatus of claim 1 , wherein a consistency check is performed to ensure the profiles do not conflict with each other if more than one applicable profile is identified.
4. The apparatus of claim 1 , wherein the operations are reverted if an error occurs when processing the updated or new message that is compatible.
5. A method for modifying messages exchanged between devices, the method comprising:
receiving a first message defining a profile for modifying messages, wherein the profile specifies which types of messages the profile applies to, names of attributes in a message to be modified, and modifications to be performed on the attributes;
storing the profile in a resource;
receiving a second message from a client device for a target end device;
determining a list of applicable profiles stored in resources of a plurality of profiles for modifying the second message; and
applying the list of applicable profiles to the second message to modify attributes of the second message and create an updated or new message that is compatible with the target end device.
6. The method of claim 5 , wherein creator of each of the profile in the list of applicable profiles is checked for permission to modify the message before the profile is applied to the message.
7. The method of claim 5 , wherein a consistency check is performed to ensure the profiles do not conflict with each other if more than one applicable profile is identified.
8. The method of claim 5 , wherein the steps are reverted if an error occurs when processing the updated or new message that is compatible.
9. A computer readable storage medium storing computer executable instructions that when executed by one or more computing devices cause said one or more computing devices to effectuate operations comprising:
receiving a first message defining a profile for modifying messages, wherein the profile specifies which types of messages the profile applies to, names of attributes in a message to be modified, and modifications to be performed on the attributes;
storing the profile in a resource;
receiving a second message from a client device for a target end device;
determining a list of applicable profiles stored in resources of a plurality of profiles for modifying the second message; and
applying the list of applicable profiles to the second message to modify attributes of the second message and create an updated or new message that is compatible with the target end device.
10. The computer readable storage medium of claim 9 , wherein creator of each of the profiles in the list of applicable profiles is checked for permission to modify the second message before the profile is applied to the second message.
11. The computer readable storage medium of claim 9 , wherein a consistency check is performed to ensure the profiles do not conflict with each other if more than one applicable profile is identified.
12. The computer readable storage medium of claim 9 , wherein the operations are reverted if an error occurs when processing the updated or new message that is compatible.