Apparatus and method for creating control code for home network appliance according to resolution of control device
First Claim
1. A method for creating a control code for a network appliance according to resolution of a control device, the method comprising:
- receiving, by a first receiving unit, a first hypertext markup language (HTML) file that provides a graphic user interface composed of a fragmented image;
creating by a resource management unit, a pseudo code that defines a matching relation between an image identifier (ID) of the fragmented image that constitutes the first HTML file and a behavior function for controlling the network appliance or collecting a state of the network appliance;
creating, by a user interface (UI) code creating unit, a second HTML file on which the matching relation is reflected with reference to the pseudo code; and
creating, by a script code creating unit, a script code that is called by the second HTML file to control the network appliance or collect the state of the network appliance,wherein the second HTML file is created by applying the pseudo code to the first HTML file having a different resolution.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and a method for creating a control code for a home network appliance according to resolution of a control device which can automatically create a control code for a home network appliance according to the resolution of the control device and can perform a testing of the device even in the case in which the home network appliance is not bound. The apparatus includes a first receiving unit to receive a first HTML file that provides a graphic user interface composed of fragmented images, a resource management unit to create a pseudo code that defines a matching relation between an image ID of the image and a behavior function for controlling the home network appliance or collecting a state of the home network appliance, a user interface (UI) code creating unit to create a second HTML file on which the matching relation is reflected with reference to the created pseudo code, and a script code creating unit to create a script code that is called by the second HTML file to control the home network appliance or collect the state of the home network appliance.
-
Citations
15 Claims
-
1. A method for creating a control code for a network appliance according to resolution of a control device, the method comprising:
-
receiving, by a first receiving unit, a first hypertext markup language (HTML) file that provides a graphic user interface composed of a fragmented image; creating by a resource management unit, a pseudo code that defines a matching relation between an image identifier (ID) of the fragmented image that constitutes the first HTML file and a behavior function for controlling the network appliance or collecting a state of the network appliance; creating, by a user interface (UI) code creating unit, a second HTML file on which the matching relation is reflected with reference to the pseudo code; and creating, by a script code creating unit, a script code that is called by the second HTML file to control the network appliance or collect the state of the network appliance, wherein the second HTML file is created by applying the pseudo code to the first HTML file having a different resolution. - View Dependent Claims (2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
7. An apparatus for creating a control code for a network appliance according to a resolution of a control device, the apparatus comprising:
-
a first receiving unit which receives a first hypertext markup language (HTML) file that provides a graphic user interface composed of a fragmented image; a resource management unit which creates a pseudo code that defines a matching relation between an image identifier (ID) of the fragmented image that constitutes the first HTML file and a behavior function for controlling the network appliance or collecting a state of the network appliance; a user interface (UI) code creating unit which creates a second HTML file on which the matching relation is reflected with reference to the pseudo code; and a script code creating unit which creates a script code that is called by the second HTML file to control the network appliance or collect the state of the network appliance, wherein the UI code creating unit creates the second HTML file by applying the pseudo code to the first HTML file having a different resolution, wherein at least one of the first receiving unit, the resource management unit, the UI code creating unit, and the script code creating unit is implemented by hardware.
-
Specification