摘要:
Method and Open Services Gateway initiative (OSGi) device for selective execution of commands from a controller device in Open Services Gateway initiative (OSGi) framework are provided. The method includes receiving a request for execution of a command from a controller device. The method also includes determining if the command is associated with a unique identifier of the controller device based on a reference database. The reference database stores the unique identifier of the controller device and a set of commands associated with the unique identifier. The method further includes executing the command when the command is associated with the unique identifier.