Method and apparatus interfacing for controlling a device between an application and a library of a master on home network
First Claim
1. A method for exchanging commands and/or responses between an application and a library of a device managing a network, comprising:
- (a) calling a function of a library for controlling a device connected to the network while delivering an identifier of a device to control and a command code to the function, the calling being conducted by the application; and
(b) requesting a command identified by the command code to a device specified by the identifier and delivering information resulting from a commanded operation of the device to the application, the requesting being conducted by the library.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention relates to method and apparatus for interfacing for controlling a device between various applications operated on a home network and a library to ensure their compatibility. In a method for controlling a device on a home network according to the present invention, an application calls a function of a library for controlling a device on a network while providing an identifier of a device to control and a command code for control through a mutually-shared structure, and the library requests a command identified by the command code to a device specified by the identifier and delivers resultant information from the device to the application through the shared structure.
36 Citations
19 Claims
-
1. A method for exchanging commands and/or responses between an application and a library of a device managing a network, comprising:
-
(a) calling a function of a library for controlling a device connected to the network while delivering an identifier of a device to control and a command code to the function, the calling being conducted by the application; and
(b) requesting a command identified by the command code to a device specified by the identifier and delivering information resulting from a commanded operation of the device to the application, the requesting being conducted by the library. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for managing devices connected to a network, comprising:
-
a library for exchanging information with the devices; and
an application for requesting a command to a device among the devices and for receiving resultant information by the command through the library, wherein information on a device to command, a code indicative of a command, and resultant information by a command are communicated between the library and the application through a mutually-shared information structure. - View Dependent Claims (9, 10)
-
-
11. A method for exchanging commands and/or responses between an application and a library of a device managing a network, comprising:
-
(a) setting information to a global variable and calling a function of a library for controlling a device connected to the network, the information indicating whether or not to wait for a result by the calling; and
(b) determining a response manner to the calling based on the information set in the global variable, wherein the step (a) is conducted by the application and the step (b) is conducted by the library. - View Dependent Claims (12, 13)
-
-
14. An apparatus for managing devices connected to a network, comprising:
-
a library for exchanging information with the devices;
an application for requesting a command to an arbitrary device among the devices and for receiving resultant information by the command through the library; and
a global variable to which the application sets information indicating whether or not to wait for the resultant information.
-
-
15. A method for exchanging commands and/or responses between an application and a library of a device managing a network, comprising:
-
(a) calling a function of a library for controlling a device connected to the network while delivering an identifier of a device and a status querying command to the function, the calling being conducted by the application; and
(b) requesting the status querying command to a device specified by the identifier and delivering status information obtained by the status querying command to the application, the requesting being conducted by the library. - View Dependent Claims (16, 17, 18)
-
-
19. An apparatus for managing devices connected to a network, comprising:
-
a library for exchanging information with the devices; and
an application for requesting a status querying command to an arbitrary device among the devices and for receiving resultant information by the command through the library, wherein information on a device to query status, a code indicative of a status querying command, time to wait for result of status querying, and resultant information by a status querying command are communicated between the library and the application through an information structure.
-
Specification