Method and system for providing HTML-based application capable of controlling web action and client

The present disclosure relates to a method and system for providing an HTML-based application capable of controlling web actions and clients. The system includes an HTML skin-generating module to generate an HTML skin that includes instructions corresponding to business logic, and a script to control a skin according to the business logic. The system also includes an application drive file-generating module to generate an application drive file to interoperate with the HTML skin to execute the business logic.

CROSS REFERENCE TO RELATED APPLICATION

This application claims priority from and the benefit of Korean Patent Application No. 10-2009-0009906, filed on Feb. 6, 2009, which is hereby incorporated by reference for all purposes as if fully set forth herein.

BACKGROUND OF THE INVENTION

1. Field of the Invention

Exemplary embodiments of the present invention relate to a method and system for providing a HyperText Markup Language (HTML)-based application and, more particularly, to a method and system for providing an HTML-based application capable of controlling web actions and clients.

2. Discussion of the Background

FIG. 1shows an example of a conventional application that uses an image file as a skin file.

Referring toFIG. 1, the conventional application10may use an image file11, such as, for example, BMP or JPG, as a skin file. As such, when an image file is used as a skin file to cover a portion or the whole of the conventional application10, the skin file may provide only a simple function of showing an image. Thus, change of a fundamental frame of the skin file may be limited because the application may have predetermined arrangements of controls and functions. Further, the skin file may be required to be previously distributed to the respective user terminals where the application will be executed.

To solve such problems, a technique has been developed that creates an HTML region by installing a web control on a region of an application.

FIG. 2shows an example of a conventional application that uses an HTML page as a skin file.

Referring toFIG. 2, a conventional application20includes an application region21and an HTML region22.

The application region21displays user interfaces, such as an update section21a, a game execute button21b, and the like, which are related to business logic of the application.

The HTML region22may display an HTML page hyperlinked to a specific web page of the application region21, image files, advertisements, announcements, and the like.

However, although the HTML page can be loaded in some regions of the conventional application and linked to various application pages to display the application pages in addition to image files, the HTML page may be operated independent of business logic is processed by the application. Thus, the HTML page cannot control clients and provides a simple function of displaying content hyperlinked thereto.

Moreover, since the conventional application secures the HTML region to a predetermined section in the application region, it may be difficult to change the size, design and utility of the HTML region.

SUMMARY OF THE INVENTION

Exemplary embodiments of the present invention provide a method and system for providing an HTML-based application capable of controlling web actions and clients.

Exemplary embodiments of the present invention also provide an HTML-based application capable of simultaneously controlling a web action and a client through interoperation between an HTML region and an application region.

Exemplary embodiments of the present invention also provide an HTML-based application capable of easily modifying a user interface (UI) of the application merely by modifying HTML information used as a skin file.

An exemplary embodiment of the present invention discloses a system for providing a HyperText Markup Language (HTML)-based application capable of controlling web actions and clients, the system including an HTML skin-generating module to generate an HTML skin, the HTML skin including instructions corresponding to business logic, and including a script to control the HTML skin according to the business logic, and an application is drive file-generating module to generate an application drive file, the application drive file being configured to hook event information generated by the HTML-based application and to execute corresponding business logic.

An exemplary embodiment of the present invention also discloses A method of providing a HyperText Markup Language (HTML)-based application capable of controlling web actions and clients, the method including generating an application drive file configured to hook event information generated by the HTML-based application, and to execute corresponding business logic, generating and storing an HTML skin configured to interoperate with the application drive file, and providing the HTML skin to a client, wherein the HTML skin includes instructions corresponding to the business logic.

An exemplary embodiment of the present invention also discloses A method of interoperating a HyperText Markup Language (HTML) region with an application region in an HTML-based application capable of controlling web actions and clients, the method including hooking event information generated in the HTML region, determining whether the event information is an instruction corresponding to a web action or to business logic, executing, in the application region, the business logic corresponding to the instruction, in response to a determination that the hooked event information is an instruction corresponding to business logic, and displaying a result of executing the business logic in the HTML region in response to business logic being executed in the application region.

DETAILED DESCRIPTION OF THE ILLUSTRATED EMBODIMENTS

Furthermore, it should be understood that the embodiments of the present disclosure are different from each other but are not exclusive with respect to each other, and illustration of details not directly related to the detailed description of the present disclosure may be omitted in the drawings for clarity.

In the following description and claims, the term “connected” may be used to indicate not only that two or more elements are “directly or physically connected” to each other, but also that two or more elements are “electrically connected” to each other with a third element interposed therebetween. Further, the articles “a”, “an”, and “the” may be used to mean that there are one or more components, and the terms “includes”, “has” “with” or “comprises” may be used not to exclude other components but to further include other components, unless otherwise indicated.

Further, the term “application” may refer to an application program that is composed of HyperText Markup Language (HTML) and is capable of simultaneously controlling web actions and clients.

Further, the term “HTML skin” may refer to a skin file that is composed of JAVASCRIPT® capable of being called using an operating system (OS) component (for example, Component Object Model (COM)), to interoperate with the application and may include user interfaces (UIs) composed of JAVASCRIPT® capable of being called by COM.

Further, the term “application drive file” may refer to a drive file of an application that can be provided to a client, and that executes business logic by hooking event information of the application using an OS component (for example, COM).

Further, the term “hooking” or “hooked” may refer to a technique that obtains specific event information generated from the application using an OS component (for example, COM).

Referring toFIG. 3,FIG. 4,FIG. 5a,FIG. 5b,FIG. 6,FIG. 7, andFIG. 8, a method and system for providing an HTML-based application capable of controlling web actions and clients in accordance with an exemplary embodiment will be described.

FIG. 3shows a connection relationship between clients100and the HTML-based application providing system300in accordance with an exemplary embodiment of the present invention.

Referring toFIG. 3, a network connection of the HTML-based application providing system300according to an exemplary embodiment includes clients100, a network200and the HTML-based application providing system300.

The clients100are user terminals that are connected to the HTML-based is application providing system300through the network200to receive the application capable of controlling web actions and clients. The clients may be, for example, computers, mobile phones, and the like.

Examples of a computer include a notebook computer, a desktop computer, a laptop, and the like. Examples of a mobile phone include any kind of handheld wireless communication device, such as a personal communication system (PCS), global system for mobile communication (GSM), personal digital cellular (PDC), personal handy-phone system (PHS), personal digital assistant (PDA), international mobile telecommunication-2000 (IMT-2000) terminal, code division multiple access-2000 (CDMA-2000) terminal, W-CDMA terminal, wireless broadband internet (WiBro) terminal, and the like.

The network200may be any kind of wired communication network such as a local area network (LAN), wide area network (WAN), value added network (VAN), and the like, or any kind of wireless communication network such as a mobile radio communication network, satellite network, and the like.

The HTML-based application providing system300may provide the application capable of controlling web actions and clients to the clients100connected thereto via the network200. The application may be installed in each of the clients100to control web actions and clients.

Specifically, the HTML-based application providing system300may provide an application drive file to the clients100, in which the application drive file hooks event information using an OS component (for example, COM) and executes business logic corresponding to the hooked event information. The application drive file installed in the client100may control an HTML region corresponding to a skin on the application, thereby executing is not only a web action but also the business logic with respect to the client100.

FIG. 4is a block diagram of the system for providing an HTML-based application capable of controlling web actions and clients in accordance with an exemplary embodiment of the present invention.

Referring toFIG. 4, the HTML-based application providing system300according to an exemplary embodiment includes an application (APP) drive file-generating module310, an APP drive file-providing module320, an HTML skin-generating module330, an HTML skin storage340, an HTML URL-receiving module350, an HTML skin request module360, and an HTML skin-providing module370.

The APP drive file-generating module310may generate the application drive file that hooks event information generated from the application using an OS component, for example, COM, and executes business logic corresponding to the hooked event information.

The APP drive file-providing module320may provide the application drive file generated by the APP drive file-generating module310to the clients100in response to a request.

The HTML skin-generating module330may generate an HTML skin composed of JAVASCRIPT® capable of being called using an OS component (for example, COM). Here, the JAVASCRIPT® can be called by the business logic executed by the application drive file using COM. Thus, results of controlling the client can be displayed on the HTML skin. The HTML skin may include instructions relating to business logic corresponding to control of web actions and clients. Herein, the instruction corresponding to the business logic may be a navigate argument such as, for example, a hyperlink, and may be set as an instruction (e.g., xCommand) to be hooked using COM and to execute control of the client instead of the web actions. As such, is the HTML skin not only may receive a command for executing the business logic of the application from a user, but also may display results of executing the business logic thereon.

The HTML skin storage340may store the HTML skin generated by the HTML skin-generating module330.

The HTML URL-receiving module350may receive a URL of the HTML skin from the client100. That is, the HTML-based application providing system300may receive an HTML URL included in the application drive file from the client100.

The HTML skin request module360may search for the HTML skin, which corresponds to the HTML URL from the client100, in the HTML skin storage340.

The HTML skin-providing module370may provide the HTML skin retrieved from the HTML skin storage340to the client100.

FIG. 5aandFIG. 5bshow interoperation between an HTML region and an application region in an HTML-based application capable of controlling web actions and clients in accordance with an exemplary embodiment of the present invention.

Referring toFIG. 5b, if a certain event occurs on an HTML region420(shown inFIG. 7), an HTML-based application400(shown inFIG. 7) according to an exemplary embodiment may hook the generated event information using an OS component (for example, COM) and may execute business logic if the hooked event information is an instruction (e.g., xCommand) that corresponds to the business logic. Here, if the hooked event information is not an instruction that corresponds to the business logic, the HTML-based application400may execute a general web action.

Referring toFIG. 5a, if specific business logic is executed on an application region410(shown inFIG. 7), the HTML-based application according to an exemplary is embodiment may activate COM to call a JAVASCRIPT® function corresponding to the specific business logic using COM, and may control the HTML region420to display a user interface corresponding to the called JAVASCRIPT® function.

As described above, the conventional application cannot execute operations other than HTML loading on the HTML region, but the HTML-based application according to an exemplary embodiment of the present invention enables simultaneous control of web actions and clients through interoperation between the HTML region420and the application region410.

FIG. 6is a flowchart of a process of interoperating the HTML region420with the application region410in the HTML-based application capable of controlling web actions and clients in accordance with an exemplary embodiment of the present invention.

In operation S11, an event occurs on the HTML region420. In operation S12, the HTML-based application400hooks the generated event information (e.g., a navigate argument) using an OS component (for example, COM).

In operation S13, the application400checks the hooked event information and, in operation S14, determines whether the hooked event information is an instruction (e.g., xCommand) that corresponds to business logic.

If it is determined in operation S14that the hooked event information is not an instruction that corresponds to business logic, but is a hyperlink for executing a general web action, in operation S15the HTML-based application400executes the web action set to the hyperlink. On the other hand, if the hooked event information is an instruction that corresponds to business logic, in operation S16the HTML-based application400executes the business logic corresponding to the instruction. In other words, as shown inFIG. 5b, the HTML-based application400executes the web action set to the hyperlink if the event information hooked is using COM is the hyperlink for executing the general web action, and executes the business logic corresponding to an instruction if the event information hooked using COM is an instruction corresponding to the business logic.

If specific business logic corresponding to an instruction is executed on the application region410, the HTML-based application400, in operation S17, activates an OS component (for example, COM).

In operation S18, the HTML-based application400calls a JAVASCRIPT® function using activated COM and, in operation S19, controls the HTML region420to display a user interface, such as Ping text, update, installation or the like, corresponding to the called JAVASCRIPT® function. That is, as shown inFIG. 5a, when the specific business logic is executed on the application region410, the HTML-based application400activates COM to call the JAVASCRIPT® function corresponding to the specific business logic and controls the HTML region420to display the user interface corresponding to the called JAVASCRIPT® function.

As described above, in the conventional application, a user instruction input through the HTML region420only influences the HTML region420, but the HTML-based application400according to an exemplary embodiment of the present invention enables simultaneous control of web actions and clients through interoperation between the HTML region and the application region.

FIG. 7shows one example of an HTML-based application capable of controlling web actions and clients in accordance with an exemplary embodiment of the present invention.

Referring toFIG. 7, an HTML-based application400according to an exemplary is embodiment includes an application region410and an HTML region420.

The application region410is displayed in a region on a screen of a client100when an application drive file is driven. The application region410includes a system area and a boundary area.

The HTML region420displays an HTML skin that interoperates with the application region410and is transmitted from the HTML-based application providing system300through a network200when the application drive file is driven. Here, the HTML region420may receive the HTML skin transmitted from the HTML-based application providing system300by transmitting an HTML URL in the application drive file, which may have been previously provided from the HTML-based application providing system300and installed in the client100, to the HTML-based application providing system300. Further, the HTML skin may be composed of JAVASCRIPT® capable of being called using an OS component (for example, COM) and may include user interfaces, for example, an advertisement section421, an update section422, and a game start button423. The user interfaces may also be composed of JAVASCRIPT® capable of being called using an OS component (for example, COM).

According to an exemplary embodiment, the user interfaces may be displayed on the HTML region420interoperating with the application region410and may be different from a user interface on an application region that operates independent of a conventional HTML region.

FIG. 8is a flow diagram of a method of providing an HTML-based application capable of controlling web actions and clients in accordance with an exemplary embodiment of the present invention.

In operation S31, the HTML-based application providing system300generates an is application drive file configured to be installed in clients100, and hook event information generated from an application to execute business logic.

In operation S32, the HTML-based application providing system300generates and stores an HTML skin configured to interoperate with the application installed in the clients100. Here, the HTML skin includes an instruction (e.g., xCommand) corresponding to business logic or a web action, according to the event information generated from the application. Further, the HTML skin includes a JAVASCRIPT® function that allows the executed business logic to be called by an OS component (for example, COM) and to be displayed as execution results on the HTML skin. Further, the HTML skin includes a variety of user interfaces that receive user commands for executing the business logic of the application or for displaying results of executing the business logic.

In operation S33, the HTML-based application providing system300provides the application drive file to a client100in response to a request.

In operation S34, the client100installs the application drive file provided from the HTML-based application providing system300and, in operation S35, drives the application.

In response to driving of the application, in operation S36the client100may transmit a URL of an HTML skin, thereby requesting the HTML-based application providing system300to transmit an HTML skin that will be displayed in the HTML region420on the HTML-based application400. Here, the application drive file includes a URL of the HTML skin displayed in the HTML region420on the application.

In operation S37, the HTML-based application providing system300searches for the HTML skin, which corresponds to the HTML URL received from the client100, in the HTML skin storage340and, in operation S38, provides the retrieved HTML skin to the client.

In operation S39, the client100displays the HTML skin, which is provided from the HTML-based application providing system300, in the HTML region420of the application.

According to an exemplary embodiment of the present invention, the HTML-based application may control web actions and clients at the same time through interoperation between the HTML region and the application region.

According to an exemplary embodiment of the present disclosure, user interfaces (UIs) of the application may be easily modified merely by modifying HTML used as a skin file without modification of the application.

Exemplary embodiments of the present invention may be realized in the form of a computer-readable medium including program instructions such as program modules that can be executed by various computer components. The computer-readable medium includes all types of available media that can be accessed by the computer and include volatile and non-volatile media, and removable and non-removable media. Further, the computer readable medium may include computer storage media and communication media. Examples of computer storage media include volatile and non-volatile media, and removable and non-removable media which are realized in any method or technique for storage of information such as computer readable instructions, data structures, program modules, or other data. Examples of a communication medium typically include computer readable instructions, data structures, program modules, other data of modulated data signals such as carrier waves, or other transmission mechanisms, or any data transmission media.

Although exemplary embodiments have been described above, components or entire operations thereof may be realized by any computer system including general hardware architectures.