1460947536-aeda7597-097f-42f2-9900-81963b92bcd3

1. A method for replacing an Access Control List (ACL) of a managed node, comprising:
receiving by a terminal, a command from a Device Management (DM) server for replacing an Access Control List (ACL) of a managed node on a Device Management Tree (DMT), the managed node is an internal node on the DMT;
if the DM server does not have the authority to replace the ACL of the managed node according to the ACL of the managed node and an ACL of a parent node of the managed node, determining by the terminal, whether there exists an ancestor node of the managed node which is one or more level above the parent node of the managed node on the DMT and has an ACL indicating that the DM server has an authority to replace the ACL of the ancestor node;
if such ancestor node of the managed node exists, replacing by the terminal, the ACL of the managed node according to the command without replacing both the ACL of the parent node and the ACL of the ancestor node.
2. The method according to claim 1, wherein if a Replace item in a value of the ACL of ancestor node comprises an identifier of the DM server, the DM server has an authority to replace the ACL of the ancestor node.
3. The method according to claim 1, further comprising:
returning, an error if it is determined that such ancestor node of the managed node does not exist.
4. A method for replacing an Access Control List (ACL) of a managed node, comprising:
receiving by a terminal, a command from a Device Management (DM) server for replacing an Access Control List (ACL) of a managed node on a Device Management Tree (DMT), the managed node is a leaf node on the DMT;
if the DM server does not have the authority to replace the ACL of the parent node of the managed node according to the ACL of the parent node, determining by the terminal, whether there exists an ancestor node of the managed node which is one or more level above the parent node of the managed node on the DMT and has an ACL indicating that the DM server has an authority to replace the ACL of the ancestor node;
if such ancestor node of the managed node exists, replacing, by the terminal, the ACL of the managed node according to the command without replacing both the ACL of the parent node and the ACL of the ancestor node.
5. The method according to claim 4, wherein if a Replace item in a value of the ACL of ancestor node comprises an identifier of the DM server, the DM server has an authority to replace the ACL of the ancestor node.
6. The method according to claim 4, further comprising:
returning, an error if it is determined that such ancestor node of the managed node does not exist.
7. A terminal device for replacing an Access Control List (ACL) of a managed node, comprising a memory, a receiver and a processor, wherein:
the memory is configured to store a Device Management Tree (DMT) of the terminal device;
the receiver is configured to receive a command from a Device Management (DM) server for replacing an Access Control List (ACL) of a managed node on the Device Management Tree (DMT), the managed node is an internal node on the DMT; and
the processor is configured to:
if the DM server does not have the authority to replace the ACL of the managed node according to the ACL of the managed node and an ACL of a parent node of the managed node, determine whether there exists an ancestor node of the managed node which is one or more level above the parent node of the managed node on the DMT and has an ACL indicating that the DM server has an authority to replace an ACL of the ancestor node;
if such ancestor node of the managed node exists, replace the ACL of the managed node according to the command without replacing both the ACL of the parent node and the ACL of the ancestor node.
8. The terminal device according to claim 7, wherein if a Replace item in a value of the ACL of ancestor node comprises an identifier of the DM server, the DM server has an authority to replace the ACL of the ancestor node.
9. The terminal device according to claim 7, the processor is further configured to:
returning, an error if it is determined that such ancestor node of the managed node does not exist.
10. A terminal device for replacing an Access Control List (ACL) of a managed node, comprising a memory, a receiver and a processor, wherein:
the memory is configured to store a Device Management Tree (DMT) of the terminal device;
the receiver is configured to receive a command from a Device Management (DM) server for replacing an Access Control List (ACL) of a managed node on the Device Management Tree (DMT), the managed node is a leaf node on the DMT; and
the processor is configured configured to:
if the DM server does not have the authority to replace the ACL of the parent node of the managed node according to the ACL of the parent node, determine, whether there exists an ancestor node of the managed node which is one or more level above the parent node of the managed node on the DMT and has an ACL indicating that the DM server has an authority to replace an ACL of the ancestor node;
if such ancestor node of the managed node exists, replace the ACL of the managed node according to the command without replacing both the ACL of the parent node and the ACL of the ancestor node.
11. The terminal device according to claim 10, wherein if a Replace item in a value of the ACL of ancestor node comprises an identifier of the DM server, the DM server has an authority to replace the ACL of the ancestor node.
12. The terminal device according to claim 9, the processor is further configured to:
returning, an error if it is determined that such ancestor node of the managed node does not exist.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method for setting a scene comprising:
receiving a television signal by an electronic device, the television signal including a content signal, metadata describing the content signal, and state information describing a television setting and settings of one or more additional components that can be controlled by the electronic device;
examining the metadata describing the content signal;
determining whether a previously stored saved scene configuration is suitable for use with the content signal by comparing metadata of the previously stored saved scene configuration with the metadata describing the content signal; and
controlling the television setting and the settings of the one or more additional components based on the previously stored saved scene configuration.
2. The method of claim 1, wherein the previously stored saved scene configuration comprises a collection of television volume settings, external speaker settings, audio balance settings, equalizer settings, television brightness settings, contrast settings, room lighting settings, channel settings, playback control settings, playback speed settings, fireplace settings, speaker settings, and combinations thereof.
3. The method of claim 1, wherein the metadata is indicative of a commercial break, wherein the television setting comprises a volume setting, the method further comprising:
detecting a commercial break in the television signal, wherein controlling the television setting further comprises automatically lowering the volume setting upon detection of the commercial break.
4. The method of claim 1, wherein the metadata is indicative of a commercial break, wherein the television setting comprises a channel setting, the method further comprising:
detecting a commercial break in the television signal, wherein controlling the television setting further comprises automatically changing the channel setting upon detection of the commercial break.
5. The method of claim 1, wherein the settings of the one or more additional components includes a room lighting setting, and wherein controlling the settings of the one or more additional components further includes adjusting the room lighting setting.
6. The method of claim 1, further comprising:
determining, with the electronic device, that one or more of the additional components are in the same location as the electronic device based on at least one of an internal map, a received state of the one or more components, and a signal strength between the electronic device and the one or more components.
7. The method of claim 1, wherein the one or more additional components include devices and applications.
8. An electronic device configured to set a scene comprising:
memory;
a network interface configured to receive a television signal, the television signal including a content signal, metadata describing the content signal, and state information describing a television setting and settings of one or more additional components that can be controlled by the electronic device; and
a processor configured to:
examine the metadata describing the content signal;
determine whether a previously stored saved scene configuration is suitable for use with the content signal by comparing metadata of the previously stored saved scene configuration with the metadata describing the content signal; and
construct a control signal configured for controlling the television setting and the settings of the one or more additional components based on the previously stored saved scene configuration, and
wherein the network interface is further configured to send the control signal to a television and the one or more additional components.
9. The electronic device of claim 8, wherein the saved scene configuration comprises a collection of television volume settings, external speaker settings, audio balance settings, equalizer settings, television brightness settings, contrast settings, room lighting settings, channel settings, playback control settings, playback speed settings, fireplace settings, speaker settings, and combinations thereof.
10. The electronic device of claim 8, wherein the metadata is indicative of a commercial break, wherein the television setting comprises a volume setting, and wherein the processor is further configured to detect a commercial break in the television signal, and wherein the television setting is constructed to automatically lower the volume setting upon detection of the commercial break.
11. The electronic device of claim 8, wherein the metadata is indicative of a commercial break, wherein the television setting comprises a channel setting, and wherein the processor is further configured to detect a commercial break in the television signal, and wherein the television setting is constructed to automatically change the channel setting upon detection of the commercial break.
12. The electronic device of claim 8, wherein the settings of the one or more additional components includes a room lighting setting, and wherein the processor is configured to construct a control signal configured for adjusting the room lighting setting.
13. The electronic device of claim 8, wherein the processor is further configured to:
determine that one or more of the additional components are in the same location as the electronic device based on at least one of an internal map, a received state of the one or more components, and a signal strength between the electronic device and the one or more components.
14. The electronic device of claim 8, wherein the one or more additional components include devices and applications.
15. A non-transitory computer-readable medium containing instructions that, when executed by an electronic device, cause the electronic device to:
receive a television signal including a content signal, metadata describing the content signal, and state information describing a television setting and settings of one or more additional components;
examine the metadata describing the content signal;
determine whether a previously stored saved scene configuration is suitable for use with the content signal by comparing metadata of the previously stored saved scene configuration with the metadata describing the content signal; and
control the television setting and the settings of the one or more additional components based on the previously stored saved scene configuration.
16. The non-transitory computer-readable medium of claim 15, further containing instructions that, when executed by the electronic device, cause the electronic device to:
determine that the metadata is indicative of a commercial break; and
automatically lower a volume setting upon detection of the commercial break.
17. The non-transitory computer-readable medium of claim 15, further containing instructions that, when executed by the electronic device, cause the electronic device to:
determine that the metadata is indicative of a commercial break; and
automatically change a channel setting upon detection of the commercial break.
18. The non-transitory computer-readable medium of claim 15, further containing instructions that, when executed by the electronic device, cause the electronic device to:
determine that one or more of the additional components are in the same location as the electronic device based on at least one of an internal map, a received state of the one or more components, and a signal strength between the electronic device and the one or more components.
19. The non-transitory computer-readable medium of claim 15, wherein the previously stored saved scene configuration comprises a collection of television volume settings, external speaker settings, audio balance settings, equalizer settings, television brightness settings, contrast settings, room lighting settings, channel settings, playback control settings, playback speed settings, fireplace settings, speaker settings, and combinations thereof.
20. The non-transitory computer-readable medium of claim 15, wherein the settings of the one or more additional components includes a room lighting setting, and wherein the electronic device is configured to construct a control signal configured for adjusting the room lighting setting.