This application claims priority from Korean Patent Application No. 10-2012-105688 filed Sep. 24, 2012 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.
1. Field
Apparatuses and methods consistent with the exemplary embodiments relate to a Blu-ray disc playback apparatus and a Blu-ray disc loading method thereof. More particularly, the exemplary embodiments relate to a Blu-ray disc playback apparatus that plays a Blu-ray disc by using a middleware in an optical disc-based application platform environment and a Blu-ray disc loading method thereof.
2. Description of the Related Art
According to the development of electronic technology, playback apparatuses that can play data from various types of recording media has been developed and distributed. Optical discs are used as one of the recording media. The optical disc is a storage medium from which data can be read by using the reflection of light.
A Blu-ray disc (hereinafter, referred to as BD) is a standard for third-generation optical discs, and refers to an optical recording storage medium that can store digital data for high-definition (HD) video and was determined by the Blu-ray Disc Association (BDA).
Since the BD was determined to be better than the HD-DVD disc of a competing standard, and was determined to be the next generation storage media in competing next generation DVD standards, the Blu-ray disc playback apparatus market has grown.
On the other hand, in an optical device-based application platform such as the Blu-ray disc playback standard, after a disc application is activated, the application processes resources required for content services. However, this has a disadvantage in that an application loading process and an initialization process which requires a lot of processing time should be performed prior to the processing of the resources.
In other words, the application performs all action controls of File Read, Decoding, and Composing used in the resource process for providing the content services. Therefore, only after an application launching process and an application loading process which take a long time are completed, can the resource process be started by the application. Also, since the application has the right to control the resource process, it is difficult for playback apparatus manufacturers to optimize the resource process.
Accordingly, there is a need for technologies that can shorten a loading time that users experience, and can optimize performance depending on a structure of each of the playback apparatuses.
Exemplary embodiments provide a Blu-ray disc playback apparatus that can shorten the loading time that Blu-ray disc users experience, and allow playback apparatus manufacturers to optimize a resource process and a loading method thereof.
According to an aspect of an exemplary embodiment, there is provided a Blu-ray disc playback apparatus, which may include a mounting unit in which a Blu-ray disc can be mounted; a storage in which a middleware is stored; and a controller that, after the Blu-ray disc is mounted in the mounting unit, runs the middleware, and performs in parallel an activation operation to activate an application for controlling a processing action with respect to the Blu-ray disc and a resource process operation to read and process a resource used by the application.
The controller may read application information and resource detailed information from at least one of the files recorded on the Blu-ray disc, read the application recorded on the Blu-ray disc by using the application information to perform the activation operation, and obtain the resources recorded on the Blu-ray disc by using the resource detailed information to perform the resource process operation.
The controller may run an application manager program within the middleware to perform the activation operation, and run a resource manager program within the middleware to perform the resource process operation.
The resource process operation may include a pre-processing operation to process the resource in a form that can be used by the application based on the resource detailed information.
The resource process operation may include at least one of a keeping operation to keep a pre-processed resource and a communication operation to provide the pre-processed resource to the application when a use request of the application occurs.
If a use request of the application for the resource occurs before the pre-processing operation is completed, the controller may control the application to directly perform the pre-processing operation with respect to the resource.
If a use request of the application for the resource occurs before the pre-processing operation is completed, the controller may first perform the pre-processing operation with respect to the resource through the middleware, and then, provide the pre-processed resource to the application.
The controller may acquire lifecycle information with respect to the resource from the Blu-ray disc, and manage the resource based on the acquired lifecycle.
The controller may read the application information and the resource detailed information by using the Blu-ray Disk Java Object (BDJO) file among the files recorded on the Blu-ray disc.
The controller may read the application information by using the BDJO file among the files recorded on the Blu-ray disc, and read the resource detailed information by using a title resource table recorded on the Blu-ray disc.
According to another aspect of the present disclosure, a disc loading method for a Blu-ray disc playback apparatus may include running a middleware after a Blu-ray disc is mounted in the Blu-ray disc playback apparatus, and performing in parallel an activation operation to activate an application for controlling a processing action with respect to the Blu-ray disc by using the middleware and a resource process operation to read and process a resource used by the application.
The performing in parallel may include reading application information and resource detailed information from at least one of the files recorded on the Blu-ray disc by using the middleware; and reading and activating the application recorded on the Blu-ray disc by using the application information according to an application manager within the middleware, and acquiring and processing the resource recorded on the Blu-ray disc by using the resource detailed information according to a resource manager program within the middleware.
The resource process operation may include at least one of a pre-processing operation to process the resource in a form that can be used by the application, a communication operation to provide a pre-processed resource to the application, and a keeping operation to keep the pre-processed resource.
The application information and the resource detailed information may be read from a BDJO file among the files recorded on the Blu-ray disc.
The application information may be read from a BDJO file among files recorded on the Blu-ray disc, and the resource detailed information may be read from a title resource table recorded on the Blu-ray disc.
According to various exemplary embodiments of the present disclosure, the loading time that users experience when playing a Blu-ray disc can be shortened, and playback apparatus manufacturers can optimize a resource process depending on a structure of each playback apparatus.
These and/or other aspects will become apparent and more readily appreciated from the following description of exemplary embodiments, taken in conjunction with the accompanying drawings of which:
Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures.
Hereinafter, certain exemplary embodiments will be described in detail with reference to the accompanying drawings.
The matters defined herein, such as a detailed construction and elements thereof, are provided to assist in a comprehensive understanding of this description. Thus, it is apparent that the exemplary embodiments may be carried out without those defined matters. Also, well-known functions or constructions are omitted to provide a clear and concise description of the exemplary embodiments. Further, dimensions of various elements in the accompanying drawings may be arbitrarily increased or decreased to assist in a comprehensive understanding.
The mounting unit 130 is a component to mount a Blu-ray disc. The mounting unit 130 may include a tray, an optical pickup, a loading motor, a spindle motor, a sled motor, etc. After a Blu-ray disc is mounted in the tray of the mounting unit 130, the spindle motor is automatically driven to rotate the Blu-ray disc, and the optical pickup is moved by the sled motor to access the disc.
The storage 110 can store a variety of software such as operating system, middleware, etc., basic data required for driving each of the software, various types of data updated during use of the software, etc.
When the Blu-ray disc is mounted in the mounting unit 130, the controller 120 runs the middleware to load the Blu-ray disc. In detail, the controller 120 performs in parallel (i.e., performs simultaneously) an activation operation to activate an application for controlling a process action of the Blu-ray disc and a resource process operation that reads and processes resources used in the application.
The Blu-ray disc playback apparatus 100 as illustrated in
Referring to
In the configuration as illustrated in
In detail, the controller 120 can read application information and resource detail information from a specific file among the files of the Blu-ray disc. Then, the controller 120 reads the application recorded on the Blu-ray disc by using the read application information and performs the activation operation thereof. Also, the controller 120 acquires the resources recorded on the Blu-ray disc by using the resource detail information and performs the resource process operation.
According to an exemplary embodiment, the controller 120 detects the application information required for the application activation operation, and the resource detailed information required for the resource process operation from the BDJO file among the files recorded on the above-described Blu-ray disc.
On the other hand, the resource process operation performed by the controller 120 may include a pre-processing operation that processes the resource into a form that can be processed by the application, a keeping operation that keeps the resource processed by the pre-processing operation, and a communication operation that provides the resource that was pre-processed and is being kept to the application when a use request of the application occurs.
On the other hand, the above-described resource process operation may be performed according to the resource detailed information, and the resource detailed information is described in a RDF 330 written on the Blu-ray disc. Accordingly, for performing the resource process operation, the controller 120 needs to first acquire the RDF 330, and then, performs the resource process operation according to the resource detailed information described in the RDF 330.
Although not illustrated in
Since the environment required to activate the application (output setting, cache, remote control keys to which the application is of interest, etc.) and detailed application activation information (locations of class files, LifeCycle control-related information, Icon information, etc.) are described in the BDJO file, the controller 120 can process the BDJO file to obtain the application information that is required to activate the application. However, the manner in which the controller 120 obtains the RDF may become problematic. In an exemplary embodiment, the controller 120 obtains the RDF by additionally providing detailed descriptions with respect to resources (images, fonts, sounds, etc.) that will be processed by the middleware as the environment required to activate the application in an application description file such as the BDJO file.
Referring to
An ARIT example 630 of
On the other hand,
In other words, after the controller 120 checks the AppResourceInfo_start_address 610 in the BDJO file, and accesses the ARIT 620, it checks the file name of the RDF from the ARIT 620, and obtains the RDF 640 and 650 from a folder at a defined location.
On the other hand, an exemplary embodiment as illustrated in
Sizes, access paths, lifecycles, distinguished names, etc. of resources that should be processed may be described in the RDF. Also, all detailed information that is required to process the resources including diverse and complex actions such as to create empty image buffer zones and text processing (size, style, location) may be described in the RDF. The RDF may be described by various methods such as an extensible markup language XML or a binary.
Since the 00000.rdf 640 of
The resources that are pre-processed to be used by the application are kept by the controller 120, and, when the application requires it, may be provided to the application.
On the other hand, a method to expand Application Cache Information of the BDJO file may be used as another exemplary embodiment to obtain the RDF by using the BDJO file.
In the Blu-ray standard, it is possible to previously request the middleware to put specific files in the cache for smooth driving of the application, and the files that should be put in the cache are described in the AppCacheInfo within the BDJO file. Here, since it is also possible to see that the resources that should be pre-processed are operations that are processed and put in the cache, by specifying access to the RDF in the AppCacheInfo of the BDJO file, the controller 120 is allowed to obtain the RDF for the resource process operation.
In the reference number 920, a related art cache-processing may possibly be performed on a Java ARchive (JAR) file (entry_type “1”) and a directory (entry_type “2”). However, as one example illustrated by reference number 930 in
On the other hand, contrary to the description above, the controller 120 may obtain the RDF without using the BDJO file. This is possible by introducing a title resource table.
Referring to
In an example of the reference number 1000, the “/BDMV/AUXDATA” folder has one title resource table file (TitleResourceTable.dct), and the file includes a description of the RDF for all titles within the disc (00001.rdf, 00002.rdf). An example of the written description is the reference number 1000-1.
The reference number 1010 is another exemplary embodiment of the title resource table file, and is a method where there is a separate title resource table file for each of the titles. In the “/BDMV/AUXDATA” folder, there are two title resource table files, that is, 00001.trd for a first title, and 00002.trd for a second title. Each of the title resource table files includes the types of the resources and the location of the RDF for the title. An example of the written description thereof is the reference number 1010-1.
In summary of the above-description, there may be various methods that the controller reads the application information for the application activation and the resource detailed information for the resource process operation. However, according to an exemplary embodiment, the controller can read both the application information and the resource detailed information by using the BDJO files. Alternatively, the controller can read the application information from the BDJO file and the resource detailed information from the introduced title resource table. The controller uses the read information to process in parallel the application activation operation and the resource pre-processing operation as illustrated in
On the other hand, the activated application uses the pre-processed resource to play the content recorded on the Blu-ray disc. According to the exemplary embodiments, since the controller 120 uses the middleware to perform the resource process operation, when the activated application requires the pre-processed resources in order to play the content, the controller 120 can perform the communication operation that provides the application with the corresponding resources that have been kept after the pre-processed operation was completed.
For this communication operation, the RDF specifies a distinguished name for each of the pre-processed resources and provides an access method by the application after the pre-processing operation. Referring to the detailed example of
If, when the application requests the required pre-processed resource to the resource manager, the corresponding resource is a resource the pre-processing operation of which was completed and that is kept, the application can request the required resource from the resource manager to obtain the resource in the same way as the reference number 1100. In other words, according to an example of the reference number 1100, when the application needs an image resource among the resources, the application requests the resource manager to provide the image resource by using IMG: 00001 of the distinguished name of the pre-processed resource specified in the RDF, and the resource manager provides a pre-processed image named IMG: 00001 to the application depending on the request of the application.
On the other hand, if, when the application requests the resource, the pre-processed operation thereof is not completed, it may not be possible to fulfill the request. This problem may be solved in two different ways. First, the middleware may give the application a failure value, for example, a return null and the application directly performs the pre-processing operation with respect to the corresponding resource. Second, the middleware may first perform the pre-processing operation with respect to the corresponding resource and then provide it to the application.
According to an exemplary embodiment, if, when the application requests the resource, the pre-processing operation thereof is not completed, the controller 120 returns a value that indicates a failure to the application, and then, allows the application to directly perform the pre-processing operation of the resource. According to another exemplary embodiment of the present disclosure, the controller 120 first performs the pre-processing operation by using the middleware, a corresponding application programming interface (API) stands by until the operation is completed, and, after the pre-processing operation is completed, the pre-processed resource is provided to the application.
However, if every time the application wishes to acquire the pre-processed resource, the application has to transmit requests to the middleware with regard to the resources that the application needs, this process may be inefficient. Accordingly, as the reference number 1110 of
On the other hand, if the pre-processing operation is completed, the controller 120 keeps the resource for the above-described communication operation. In this case, time the controller 120 keeps up the resource may be a problem. Based on the resources, some resources may need to be used even after the disc is ejected, or on the contrary, a situation may occur that, after the application using each of the resources is terminated, the resource is released and the right to use a memory, etc. is passed over to another module. Also, the Blu-ray disc provides a content service per a title. Accordingly, when, within one disc, a plurality of contents has different titles but uses the same image or font, the pre-processing operation that occurs in the middleware every time whenever each of the titles is loaded may be an unnecessary action.
Accordingly, there is a need to control a lifecycle of each of the resources used by the application. This may be solved by specifying a lifecycle of each of the resources in a specific file within the Blu-ray disc and allowing the controller to read the lifecycle and to use the resource based on the lifecycle.
Referring to specific examples of RDF of
Referring to
According to an exemplary embodiment of the present disclosure, the controller 120 obtains the application information and RDF from the BDJO file, performs in parallel the application activation operation and the pre-processing operation, and keeps the pre-processed resource. At this time, the lifecycle of the resource may be specified in the RDF. According to specified examples 640 and 650 of the RDF as illustrated in
As a result, as illustrated in
Then, a step of loading the Blu-ray disc may be composed of a step of reading application information and resource detailed information from at least one of the files that are recorded on the Blu-ray disc by using the middleware, and a step of reading and activating an application recorded on the Blu-ray disc by using the application information according to an application manager program within the middleware and acquiring and processing resources recorded on the Blu-ray disc by using the resource detailed information according to a resource manager program within the middleware.
Here, the resource process operation may include at least one of a pre-processing operation to process the resource in a form that can be used by the application, a communication operation to provide the application with the resource when the pre-processing operation is completed according to the request of the application, and a keeping operation to keep the pre-processed resource.
On the other hand, the application information and resource detailed information may be read from the BDJO file among the files recorded on the Blu-ray disc.
Alternatively, the application information may be read from the BDJO file among the files recorded on the Blu-ray disc, and the resource detailed information may be read from a title resource table recorded on the Blu-ray disc.
As described above, according to various exemplary embodiments, since a middleware can activate an application and at the same time process resources based on resource processing information generated by a Blu-ray disc manufacturer, and process the resources in a way that is optimized for the platform, when playing a Blu-ray disc, loading time that a user experiences may be shortened.
The middleware or disc loading method of the Blu-ray disc playback apparatus according to various exemplary embodiments may be formed as software and mounted in the Blu-ray disc playback apparatus. The BDJO file expended to acquire the resource process information of the middleware or the title resource table may be introduced as software and recorded on the Blu-ray disc.
In detail, according to an exemplary embodiment of the present disclosure, in the Blu-ray disc playback apparatus may be disposed a non-transitory computer readable medium storing a program that performs a step of running the middleware after the Blu-ray disc is mounted, and a loading step of performing in parallel the activation operation to activate the application for controlling the processing action with respect to the Blu-ray disc by using the middleware, and the resource process operation to read and process resources used by the application.
The non-transitory computer readable medium refers not to a medium to store data for a short moment like a register, a cache, a memory, etc., but a medium that can store data in a semi-permanent state and can be read by devices. Specifically, the middleware and programs as described above may be stored on the non-transitory computer readable medium, such as a CD, a DVD, a hard disc, a Blu-ray disc, an USB, a memory card, a ROM, etc., and may be provided.
While the exemplary embodiments of the present disclosure have been described, additional variations and modifications of the exemplary embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims shall be construed to include both the above exemplary embodiments and all such variations and modifications that fall within the spirit and scope of the inventive concepts.
Number | Date | Country | Kind |
---|---|---|---|
10-2012-0105688 | Sep 2012 | KR | national |