Method and apparatus interfacing between an application and a library of a master for network managing
First Claim
Patent Images
1. A method in which an application starts in a device for managing a network, comprising:
- (a) requesting initialization to a library in the device;
(b) requesting the library to obtain list of devices connected to the network and information on the devices; and
(c) requesting the library to register an event, which is generated on a device on the network, and a call-back function to handle the event.
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. An interfacing method according to the present invention discloses processes to initialize a library being executed in a device for managing a home network, to set a home code for managing a home network exclusively, to manage address of each device on a home network, and to set conditions necessary for device monitoring.
-
Citations
26 Claims
-
1. A method in which an application starts in a device for managing a network, comprising:
-
(a) requesting initialization to a library in the device;
(b) requesting the library to obtain list of devices connected to the network and information on the devices; and
(c) requesting the library to register an event, which is generated on a device on the network, and a call-back function to handle the event. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for setting a network, comprising:
-
(a) transmitting an arbitrary broadcast message over the network;
(b) determining whether either initial setup of the network or adding of a device is to be conducted, based on whether there is a response to the arbitrary broadcast message;
(c) commanding a network adaptor to create a home code, transmitting an arbitrary broadcast message, and checking whether there is a response to the broadcast message, if it is determined that initial setup of the network is to be conducted; and
(d) broadcasting a command message for setting the home code over the network, if there is no response to the broadcast message transmitted at the step (c). - View Dependent Claims (7, 8, 9, 10)
-
-
11. A method for setting a network, comprising:
-
(a) calling a library of a library for setting a home code entered from a user with an input argument carrying the home code, the calling being conducted by an application; and
(b) requesting a network adaptor to set the entered home code, the requesting being conducted by the library.
-
-
12. An apparatus for managing devices on a network, comprising:
-
an adaptor for transmitting/receiving data through the network; and
a library for transmitting an arbitrary broadcast message over the network according to request of home code setting, determining whether either initial setup of the network or adding of a device is to be conducted, based on whether there is a response to the arbitrary broadcast message, wherein if it is determined that initial setup of the network is to be conducted the library commands the adaptor to create a home code and broadcasts a command message for setting the created home code over the network. - View Dependent Claims (13)
-
-
14. 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 setting a time with an input argument carrying time information, the time information being used to determine whether a device is alive or not, the calling being conducted by the application; and
(b) transmitting a first message to devices connected to the network, the first message commanding the devices to send a second message to notify alive periodically at an interval that is specified by the time information, the transmitting being conducted by the library. - View Dependent Claims (15)
-
-
16. 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 setting present time with an input argument carrying information on present time, the calling being conducted by the application; and
(b) transmitting a message including the information on present time to devices connected to the network, the message commanding the devices to set present time with the information, the transmitting being conducted by the library.
-
-
17. 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 setting event reporting action to active/inactive with an input argument carrying a value indicative of active or inactive, the calling being conducted by the application; and
(b) transmitting a message to at least one device connected to the network, the message commanding the at least one device to set event reporting action to one state of active and inactive, the one state being specified by the value carried by the input argument, the transmitting being conducted by the library.
-
-
18. An apparatus for managing devices connected to a network, comprising:
-
an application for conducting managing of the devices; and
a library for exchanging information with the devices according to requests from the application, wherein the library comprises;
a first function for sending devices connected to the network a first message commanding the devices to send a second message to notify alive periodically at an interval that is specified by an input argument accompanied by function calling;
a second function for sending devices connected to the network a message commanding the devices to set present time with time information specified by an input argument accompanied by function calling; and
a third function for sending at least one device connected to the network a message commanding the at least one device to set event reporting action to one state of active and inactive, the one state being specified by an input argument accompanied by function calling.
-
-
19. A method for allocating an address to a device on a network, comprising:
-
(a) receiving a first message informing that a first device is connected to the network;
(b) searching a database for an unassigned address, and transmitting a second message commanding to set the unassigned address to the first device;
(c) changing the unassigned address to assigned address if success of address setting is responded from the first device; and
(d) transmitting a third message commanding to update another database to a second device that manages the another database, if the second device exists on the network. - View Dependent Claims (20, 21, 22, 23, 24)
-
-
25. An apparatus for managing devices connected to a network, comprising:
-
an application for managing address allocation for the devices; and
a library for calling a first function registered by the application when receiving a first message informing that an arbitrary device is connected to the network, wherein the first function requests the library to search a database for an unassigned address and to transmit a second message commanding to set the unassigned address to the arbitrary device. - View Dependent Claims (26)
-
Specification