Abstract:
A method and structure manage a database. A first device that includes data is coupled to a second device that includes metadata relating to the data. The second device is removed from the first device and the metadata is modified. The second device is again coupled to the first device and the modified metadata on the second device modifies the data on the first device.

Description:
BACKGROUND OF THE INVENTION 
     1. Technical Field 
     The present invention relates to a structure and associated method to manage a database. 
     2. Related Art 
     A database typically includes data and metadata for the data on the same device. Managing the database requires a user to perform management functions directly on the device that includes the data and the metadata. These devices are typically awkward in the support of performing complicated management functions. Thus there is a need for a simplified structure and method to manage a database. 
     SUMMARY OF THE INVENTION 
     The present invention provides an electrical structure, comprising: 
     a first device comprising data, wherein the first device is coupled to a second device, wherein the second device comprises metadata relating to the data in the first device, and wherein the second device is adapted to be removed from the first device. 
     The present invention provides an electrical structure, comprising: 
     a second device, wherein the second device is coupled to a first device, wherein the first device comprises data, wherein the second device comprises metadata relating to the data in the first device, wherein the first device does not comprise the metadata, and wherein the second device is adapted to be removed from the first device. 
     The present invention provides a method to manage a database, comprising: 
     providing a first device coupled to a second device, wherein the first device includes data and metadata relating to the data, wherein the second device includes the metadata, and wherein the second device is adapted to be coupled to a third device; 
     removing the second device from the first device and coupling the second device to a third device that is not coupled to the first device; 
     using the third device to modify the metadata on the second device; 
     removing the second device from the third device and coupling the second device to the first device; and 
     updating the metadata on the first device with the modified metadata in the second device. 
     The present invention provides a method to manage a database, comprising: 
     providing a first device having data, wherein the first device is coupled to a second device, wherein the second device comprises metadata relating to the data in the first device, wherein the first device does not comprise the metadata, and wherein the second device is adapted to be coupled to a third device; 
     removing the second device from the first device and coupling the second device to a third device that is not coupled to the first device; 
     using the third device to modify the metadata on the second device; 
     removing the second device from the third device and coupling the second device to the first device. 
     The present invention provides a method to manage a database, comprising: 
     providing a first device coupled to a second device, wherein the first device includes data and metadata relating to the data, wherein the second device includes the metadata, and wherein the second device comprises a memory device, a CPU, an instruction set, an input device, and an output device; 
     removing the second device from the first device; 
     modifying the metadata on the second device; 
     coupling the second device to the first device; 
     updating the metadata on the first device with the modified metadata on the second device. 
     The present invention provides a method to manage a database, comprising: 
     providing a first device coupled to a second device, wherein the first device includes data and metadata relating to the data, wherein the second device includes the metadata, and wherein the second device comprises a memory device, a CPU, an instruction set, an input device, and an output device; 
     removing the second device from the first device; 
     modifying the metadata on the second device; 
     updating the metadata on the first device with the modified metadata on the second device. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  depicts a block diagram view of an electronic structure showing a removable memory device coupled to a fixed memory device and a remote device without a memory device, in accordance with embodiments of the present invention. 
         FIG. 2  depicts  FIG. 1  showing a block diagram view of the electronic structure with the fixed memory device and the removable memory device coupled to the remote device, in accordance with embodiments of the present invention. 
         FIG. 3  depicts a block diagram view of an electronic structure showing a removable memory device with a built in central processing unit (CPU) and input/output (I/O) coupled to a fixed memory device, in accordance with embodiments of the present invention. 
         FIG. 4  depicts a block diagram view of the removable memory device with built in CPU and I/O, in accordance with embodiments of the present invention. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       FIG. 1  illustrates a block diagram view of an electronic structure  1  comprising a first device  5  coupled to a second device  4  wherein the second device  4  is adapted to be removed from the first device  5 , in accordance with embodiments of the present invention. The first device  5  includes memory. The second device  4  includes memory. The electronic structure  1  may be a Personal Video Recorder (PVR) set-top-box (STB). The electronic structure  1  may have a control device  35  comprising a central processing unit (CPU)  10 , an input device  19 , an output device  18 , and software (i.e., instruction set or executable code). The control device  35  controls data storage and data retrieval on the first device  5 . The input device  19  may be any input device known to a person of ordinary skill in the art such as a keypad, keyboard, mouse etc. The output device  18  may be any output device known to a person of ordinary skill in the art such as a monitor, printer, liquid crystal display (LCD) etc. The first device  5  may include a large amount of data (i.e., greater than 10 Gbytes) stored in the memory of the first device  5 . The data in the first device  5  may be video data, audio data, text data or a combination thereof. The video data may be digital videos or digital pictures. The first device  5  may also include metadata relating to the data. The metadata may comprise directory structure, table of content, access control, and synopsis of content for the data. A copy of the metadata on the first device  5  may be stored in the memory of the second device  4 . Alternatively, the first device  5  may include only the data (and no metadata) and the second device  4  may include the metadata. The second device  4  may include removable memory. The second device  4  may comprise a compact flash card, a memory stick, a secured digital memory card, a multimedia memory card, a computer disc, etc. The second device  4  may be removed from the electronic structure  1  and coupled to a third device  8  (i.e., as shown in  FIG. 2 ) in a separate location (e.g., a remote location) so that the metadata on the second device  4  may be modified through the use of the third device  8 . The third device  8  may comprise a CPU  11 , an input device  16 , an output device  15 , and software (i.e., instruction set or executable code). The third device  8  may be a computer, a mobile telephone, or a personal digital assistant (PDA). The second device  4  may have a storage capacity in a range of about 8 megabytes to about 512 megabytes. The third device  8  provides the hardware (e.g., CPU) and software for performing the modification of the metadata on the second device  4 . The metadata may be modified so that specific operations may be performed on the data (i.e., such as database reorganization, update data, editing or deleting files). After the metadata is modified in the second device  4 , the second device  4  may be removed from the third device  8  and coupled to the first device  5  of the electronic structure  1 . The modified metadata may now perform operations on the data stored in the first device  5 . Alternatively, the metadata may have been modified to perform operations on the data at a specific time or times in the future. 
       FIG. 2  illustrates a block diagram view of  FIG. 1  after the second device  4  has been removed from the first device  5  of the electronic structure  1 , in accordance with embodiments of the present invention. The second device  4  is then coupled to the third device  8  so that the metadata may be modified as previously discussed in conjunction with  FIG. 1 . After the metadata has been modified, the second device  4  is removed from the third device  8  and coupled to the first device  5  (as shown in  FIG. 1 ) so that operations may be performed on the data in the first device  5 . 
       FIG. 3  illustrates a block diagram view of an electronic structure  1  comprising a first device  5  coupled to a second device  12  wherein the second device  12  is adapted to be removed from the first device  5 , in accordance with embodiments of the present invention. The first device  5  includes memory. The second device  12  comprises a central processing unit (CPU)  11 , software, (i.e., instruction set or executable code) memory, an input device  16  and an output device  15 . The electronic structure  1  may be a Personal Video Recorder (PVR) set-top-box (STB). The electronic structure  1  may have a control device  35  comprising a CPU  10 , an input device  19 , an output device  18 , and software (i.e., instruction set or executable code). The control device  35  controls data storage and data retrieval on the first device  5 . The input device  16  and the input device  19  may be any input device known to a person of ordinary skill in the art such as a keypad, keyboard, mouse, etc. The output device  15  and the output device  18  may be any output device known to a person of ordinary skill in the art such as a monitor, liquid crystal display (LCD), printer, etc. The first device  5  may include a large amount of data (i.e., greater than 10 Gbytes) stored in the memory of the first device  5 . The data in the first device  5  may he video data, audio data, text data, or any combination thereof. The video data may be digital videos or digital pictures. The first device  5  may include metadata relating to the data. The metadata may comprise directory structure, table of content, access control, and synopsis of content for the data. A copy of the metadata on the first device  5  maybe stored in the memory of the second device  12 . Alternatively, the first device  5  may include only the data (and no metadata) and the second device  12  may include the metadata. The second device  12  may include a compact flash card, a memory stick, a secured digital memory card, a multimedia memory card, a computer disc, etc. The second device  12  may be removed from the electronic structure  1  and taken to a separate location (e.g, a remote location) so that the metadata on the second device  12  may be modified. The metadata may be modified so that to specific operations may be performed on the data (i.e., such as database reorganization, update data, editing or deleting files). After the metadata is modified in the second device  12 , the second device  12  may be coupled to the first device  5  of the electronic structure  1 . The modified metadata may now perform operations on the data stored in the first device  5 . Alternatively, the metadata may have been modified to perform operations on the data at a specific time or times in the future. The second device  12  may have a storage capacity in a range of about 8 megabytes to about 512 megabytes. 
       FIG. 4  illustrates a block diagram view of  FIG. 3  after the second device  12  has been removed from the first device  5  of the electronic structure  1 , in accordance with embodiments of the present invention. The second device  12  is removed from the electronic structure  1  that the metadata may be modified as previously discussed in conjunction with  FIG. 3 . After the metadata has been modified, the second device  12  is coupled to the first device  5  (as shown in  FIG. 3 ) so that operations may be performed on the data in the first device  5 . Alternatively, the second device  12  may comprise a wireless link to the first device  5  so that the second device  12  does not have to be coupled to the first device  5  to perform operations to the data on the first device  5 . 
     While embodiments of the present invention have been described herein for purposes of illustration, many modifications and changes will become apparent to those skilled in the art. Accordingly, the appended claims are intended to encompass all such modifications and changes as fall within the true spirit and scope of this invention.