1. Field of the Invention
The present invention relates to a media playback apparatus capable of testing a user application and a method for testing a user application using the same, and more particularly, to a media playback apparatus capable of testing a user application which is generated by executing a developer application in a computing apparatus, and a method for testing a user application using the same.
2. Description of the Related Art
A Blu-ray disc (referred to as “BD” hereinafter) provides not only HD images through a Blu-ray disc player (referred to as “BDP” hereinafter) but also various user applications executed in the BDP.
A user can be provided with a service by selecting a desired user application from various user applications stored in a BD and executing the selected user application. For example, when the user selects and executes a VOD application, a BDP accesses a VOD server to provide video selected by the user in real time.
A user application executed in a BDP is generated by compiling a source code configured in JAVA.
Referring to
To test and debug the generated user application, the user stores the user application in a storage unit 20 such as a BD. The user inserts the storage unit 20 into a media playback apparatus 30 to execute the user application stored in the storage unit 20.
The media playback apparatus 30 outputs a debugging message and a log message, which are generated by the user application, through a display unit 40.
The user corrects and compiles the source code with reference to the debugging message and the log message and repeats the above-mentioned procedure.
In the conventional user application development environment, it is necessary to store a corrected user application in the storage unit 20 to test and debug the corrected user application whenever a source code is corrected.
Particularly, to test a user application executed in a media playback apparatus using a disc storage device such as a BD, an additional recording device capable of recording a user application in the disc storage device is required, resulting in additional costs for implementing an application development environment. Even when the disc storage device includes the recording device, the user has to insert the disc storage device on which a user application is recorded into the media playback apparatus, and test and debug the user application whenever the user application is corrected.
Furthermore, the user needs to check a debugging message and a log message, generated during a test and debugging process, through a display unit. Accordingly, if a plurality of debugging messages and log messages are generated, the user may not check some of the messages and may not store the debugging messages and log messages.
To solve these problems, there has been proposed a method of testing and debugging a user application by installing media player simulation software in a computing apparatus.
However, because the simulation software cannot implement the same test environment as a physical media player, even a user application, which is executed without generating an error in the test environment of the simulation software, can frequently generate errors when executed in the physical media player.
An object of the present invention is to provide a media playback apparatus capable of testing a user application which is generated by executing a developer application in a computing apparatus such that applications stored in a plurality of computing apparatuses can be tested using a single media playback apparatus, and a method for testing a user application using the same.
The object of the present invention can be achieved by providing a media playback apparatus including: a storage unit storing one of a developer application and information about a download link of the developer application; a processor executing the developer application; and a communication unit communicating with a computing apparatus which generates user applications, under the control of the processor, wherein the developer application includes: a first instruction for transmitting a user application information request to the computing apparatus through the communication unit; a second instruction for receiving information about one or more user applications, transmitted from the computing apparatus in response to the user application information request; a third instruction for transmitting, to the computing apparatus through the communication unit, a user application request for a user application selected with reference to the information about user applications; a fourth instruction for receiving the user application transmitted from the computing apparatus in response to the user application request through the communication unit; and a fifth instruction for executing the user application received according to the fourth instruction to test the user application.
The developer application may be based on Java.
The developer application may further include a sixth instruction for transmitting debugging information generated by executing the selected user application to the computing apparatus.
The developer application may further include a seventh instruction for transmitting the debugging information to the logging server.
The processor may download the developer application from a developer application storage server according to the download link and execute the developer application.
The developer application may further include an eighth instruction for transmitting a configuration request for configuration information of the computing apparatus to the computing apparatus.
The developer application may further include a ninth instruction for displaying the configuration information and the information about user applications on a display unit before the third instruction is executed.
The media playback apparatus may include a Blu-ray disc player.
The object of the present invention can be achieved by providing a method for testing a user application executed in a media playback apparatus including a storage unit storing one of a developer application and information about a download link of the developer application; a processor executing the developer application; and a communication unit communicating with a computing apparatus generating a user application, under the control of the processor, the method including steps of: (a) transmitting a user application information request to the computing apparatus through the communication unit; (b) receiving information about one or more user applications, transmitted from the computing apparatus in response to the user application information request; (c) transmitting, to the computing apparatus, a user application request for a user application selected with reference to the information about user applications; (d) receiving the user application transmitted from the computing apparatus in response to the user application request through the communication unit; and (e) executing the received user application to test the user application.
The user application may be based on Java.
The method may further include step of (f) transmitting debugging information generated in the step (e) to the computing apparatus.
The method may further include step of (g) transmitting the debugging information to a logging server.
The method may further include step of (h) downloading the developer application according to the download link prior to the step (a).
The method may further include step of (i) transmitting a configuration request for configuration information of the computing apparatus to the computing apparatus prior to the step (a).
The method may further include step of (j) displaying the configuration information and the information about user applications on a display unit prior to the step (c).
The media playback apparatus may include a Blu-ray disc player.
The media playback apparatus capable of testing a user application and a method for testing a user application using the same according to the present invention have the following advantages.
Since a user application which is generated by executing a developer application in a computing apparatus connected to the media playback apparatus through a network is tested, applications stored in a plurality of computing apparatuses can be tested using a single media playback apparatus. Accordingly, it is unnecessary for the media playback apparatus to include an additional recording device that records user applications on a disc.
In addition, a user can select and test a user application displayed through a display unit connected to the media playback apparatus according to the present invention. Therefore, the user can easily test the user application without inserting a disc storage device storing the user application into the media playback apparatus and testing and debugging the user application whenever the user application is corrected.
Furthermore, the user can easily check a debugging message generated during a test and debugging procedure since the debugging message is stored in a computing apparatus or a logging server.
Moreover, a user application can be easily and correctly tested even if simulation software of the media playback apparatus is not used.
Additional aspects and/or advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
These and/or other aspects and advantages of the invention will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to the present embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.
Preferred embodiments of a media playback apparatus capable of testing a user application and a method for testing a user application using the same according to the present invention will now be described with reference to the attached drawings.
Referring to
A user application is software executed in the media playback apparatus 200. While user applications may include a VOD application, a word processor application, and a game application, the user applications are not limited thereto.
An application provision program including one or more instructions, which provides a user application at the request of a user, is installed and executed in the computing apparatus 100.
The media playback apparatus 200 preferably includes a BDP and can execute a JAVA-based user application. Hereinafter, the media playback apparatus refers to an apparatus capable of reproducing audio/video data stored in various storage devices such as a BD, DVD, flash memory storage unit, a hard disc, etc. and executing user applications.
The media playback apparatus 200 will now be described in detail.
Referring to
The processor 210 executes a developer application 240 and controls the overall operation of the media playback apparatus 200.
The communication unit 220 communicates, under the control of the processor 210, with the computing apparatus 100 that generates a user application. The communication unit 220 may be the Ethernet supporting LAN.
The storage unit 230 stores one of the developer application 240 and information about a download link of the developer application 240. The storage unit 230 may be a BD, a hard disc, a flash memory, a RAM, a ROM, or a USB storage unit. However, the storage unit 230 is not limited thereto.
When the developer application 240 is stored in the storage unit 230, the processor 210 can read the developer application 240 from the storage unit 230 and execute the read developer application 240. When the information on the download link of the developer application 240 is stored in the storage unit 230, the processor 210 can download the developer application 240 from a developer application storage server 500 according to the download link and execute the developer application 240.
The developer application 240 includes one or more instructions and the processor 210 performs the one or more instruction by executing the developer application 240. The developer application 240 is preferably based on JAVA and the media playback apparatus 200 tests a user application by executing the developer application 240.
A description will be made of the developer application 240 in detail.
As shown in
When the developer application 240 is executed, the processor 210 can transmit a configuration request for configuration information of the computing apparatus 100 to the computing apparatus 100 according to an eighth instruction. The computing apparatus 100 transmits the configuration information thereof to the media playback apparatus 200 in response to the configuration request of the media playback apparatus 200. The configuration information may include the IP address and computer name of the computing apparatus 100. When one or more computing apparatuses 100 are present, the media playback apparatus 200 can broadcast the configuration request and one or more computing apparatuses 100 can transmit configuration information thereof to the media playback apparatus 200 upon reception of the configuration request.
The processor 210 transmits a user application information request to the computing apparatus 100 through the communication unit 220 according to a first instruction. The computing apparatus 100 transmits information about one or more user applications stored in the computing apparatus 100 to the media playback apparatus 200 in response to the user application information request. The information about a user application may include the title of the user application.
The processor 210 receives the information about one or more user applications from the computing apparatus 100 according to a second instruction.
The processor 210 can display the configuration information and the information about one or more user applications on the display unit according to a ninth instruction. The user can select a user application to be tested with reference to the configuration information and the information about user applications, displayed on the display unit. Particularly, when one or more computing apparatuses 100 are present, the user can identify the computing apparatus 100 with reference to the configuration information.
The processor 210 transmits a user application request for a user application selected with reference to the configuration information and the information about user applications to the computing apparatus 100 through the communication unit 220 according to a third instruction.
Upon reception of the user application request, the computing apparatus 100 transmits the selected user application to the media playback apparatus 200 in response to the user application request.
The processor 210 receives the user application transmitted from the computing apparatus 100 through the communication unit 220 according to a fourth instruction.
The processor 210 executes the received user application according to a fifth instruction to test the same.
Upon execution of the user application, debugging information is generated.
The processor 210 can transmit the debugging information generated by executing the user application to the computing apparatus 100 according to a sixth instruction.
The processor 210 can transmit the debugging information to a logging server 400 according to a seventh instruction. Simultaneously, the processor 210 can display the debugging information on the display unit 600. The debugging information transmitted to the logging server 400 is stored in the logging server 400, and thus the user can view the debugging information stored in the logging server 400.
A method for testing a user application according to the present invention will now be described in detail.
Referring to
The processor transmits configuration request for the configuration information of the computing apparatus to the computing apparatus (S110). The computing apparatus transmits the configuration information thereof to the media playback apparatus in response to the configuration request of the media playback apparatus. The configuration information may include the IP address and computer name of the computing apparatus. When one or more computing apparatuses are present, the media playback apparatus can broadcast the configuration request and one or more computing apparatuses can transmit configuration information thereof to the media playback apparatus upon reception of the configuration request.
The processor transmits a user application information request to the computing apparatus (S120).
The computing apparatus transmits information about one or more user applications stored in the computing apparatus to the media playback apparatus in response to the user application information request. Information about a user application may include the title of the user application.
The processor receives the information about one or more user application transmitted from the computing apparatus (S130).
The processor displays the configuration information and the information about one or more user applications on the display unit (S140). The user can select a user application to be tested with reference to the configuration information and the information about one or more user applications, displayed on the display unit. Particularly, when one or more computing apparatuses are present, the user can identify the computing apparatuses using the displayed configuration information.
The processor transmits a user application request for a user application selected with reference to the information about one or more user applications to the computing apparatus (S150).
Upon reception of the user application request, the computing apparatus transmits the selected user application to the media playback apparatus in response to the user application request.
The processor receives the user application transmitted from the computing apparatus through the communication unit (S160).
The processor executes the user application received in step S160 to test the same (S170).
Upon execution of the user application, debugging information is generated. The generated debugging information is displayed on the display unit and transmitted to the computing apparatus (S180).
The debugging information is transmitted to the logging server (S190) and stored in the logging server such that the user can read the debugging information stored in the logging server.
Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in this embodiment without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2009-0115295 | Nov 2009 | KR | national |
This application claims the benefit of PCT International Patent Application No. PCT/KR2010/008456, filed Nov. 26, 2010, and Korean Patent Application No.10-2009-0115295, filed Nov. 26, 2009, in the Korean Intellectual Property Office, the disclosures of which are incorporated herein by reference.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2010/008456 | 11/26/2010 | WO | 00 | 5/23/2012 |