1. Field of the Invention
The present invention relates to a method for generating a presentation file for an embedded system, such as mobile phones, smart phones, PDAs, and digital cameras.
2. Description of the Related Art
For most users, almost all presentation files are generated by software, such as the Power-Point program, because this kind of software provides many various animations, audio clips and illustrations. Although presentation files are typically projected onto large screens, sometimes the presentation file needs to be displayed on a small screen, such as found in a notebook computer. However, to do so the user must use a safe computer, as otherwise the presentation file may be copied or pirated.
Many portable electronic devices have small screens, such as mobile phones and digital cameras, and it would offer more convenience for users if the screens on these devices could be used for the displaying of presentation files.
Therefore, it is desirable to provide a method for generating a presentation file for an embedded system to mitigate and/or obviate the aforementioned problems.
A main objective of the present invention is to provide a method for generating a presentation file for an embedded system, such as mobile phones, smart phones, PDAs, and digital cameras.
Another objective of the present invention is to provide an embedded system with presentation function.
In order to achieve the above-mentioned objective, the method of the present invention comprises:
Other objects, advantages, and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
Please refer to
In the present invention, a presentation generation program 40 is stored in the storage device 75 so the processor of the personal computer 70 can execute the presentation generation program 40 to generate the presentation file 50 for the embedded system. The presentation generation program 40 comprises an image recording program 41 and a tag recording program 42. Please refer to following
In the following, the presentation application program 25 is presented as a PowerPoint application program.
Step 200:
Playing the original presentation file 20 and executing the presentation generation program 40.
The presentation application program 25 has an editing mode and a display mode; in the display mode, images obtained from the original presentation file 20 are displayed on the personal computer 70 as full images.
The presentation generation program 40 may be executed in the background, so that no operating interfaces or information is shown in the image displayed that is based on the original presentation file 20, and hence the user will not see the presentation generation program 40 when the presentation application program 25 runs.
Since the typical operating system on the personal computer 70 can execute a plurality of programs at the same time, and as one program can call or start another program, no further description of the presentation generation program 40 is required.
Step 201:
Recording the images.
When the original presentation file 20 is loaded for display, the image recording program 41 starts to record the presentation images shown by the original presentation file 20.
Please refer to
a first presentation picture, as shown in presentation image 21a, showing: “This”;
a second presentation picture, as shown in presentation image 21c, showing: “is a”; the second presentation picture first shows “is” (as a presentation image 21b, and when the user presses the ┌↓┘ key 712, the second presentation picture first shows “is a”; and
a third presentation picture, as shown in presentation image 21d, showing: demo.
When step 201 is executed for the fist time, the presentation image 21a is recorded.
Step 202:
Has an image changing key 30 has been pressed?
Taking the PowerPoint application program as an example, a ┌page downs┘ key, a ┌↓┘ key 7l2, a ┌→┘ key 7l3 on a keyboard 71 and a left button 721 on a mouse 72 can all be pressed to show a subsequent image (which is not necessarily the next page). The subsequent image could be the next page, or different text or drawings in the same page, or an animation. In this invention, the image changing key 30 is used for changing to a subsequent image; in the PowerPoint application program, the image changing key 30 can be the ┌page down┘ key 711, the ┌↓┘ key 712, the ┌→┘ key 713 on the keyboard 71 and the left button 721 on the mouse 72.
When the image changing key 30 is pressed, the presentation generation program 40 performs step 203. For the presentation application program 25, if the image changing key 30 is pressed, it shows the subsequent image.
Step 202 is a monitoring step; when the image changing key 30 is not pressed, step 201 is repeatedly performed.
Step 203:
Performing tag recording.
By way of example, the presentation image 21a is first shown; after the image changing key 30 is pressed, the tag recording program 42 is executed to record a tag1, which marks an ending point of the presentation image 21a and also marks a beginning point of the presentation image 21b.
In this embodiment, the presentation image sequentially generates tag1, tag2 and tag3 when the image changing key 30 is pressed, and the presented images are presentation image 21a, presentation image 21b, presentation image 21c and presentation image 21d.
Please refer to
Step 204:
Has the original presentation file 20 finished?
When the original presentation file 20 has finished, step 205 is performed; otherwise step 201 is continuously performed. However, step 204 is for continuous monitoring.
Please refer to
Step 205:
Finishing the presentation file 50 for the embedded system.
Step 201 and step 203 are used for continuously generating the presentation file 50 for the embedded system; when the original presentation file 20 has finished, the presentation file 50 for the embedded system is completed and can be stored on the storage device 75 (such as a memory stick or a hard disk).
Please refer again to
The presentation file 50 for the embedded system can be in many different formats; it can even include a plurality of files, such as files for storing the presentation images 21a, 21b, 21c, 21d and files for storing tag0˜tag4. Please refer to
a file name area 51 for storing a plurality of file names;
a tag recording area 53a for recording each tag, such as tag1˜tag4;
a tag indicating area 53b for recording the positions of each tag in the presentation data area 54, such as an image data address and audio data for tag1 in the presentation data area 54; the above-mentioned step 201 can also record audio, not being limited to just images, and the corresponding tag records the address of the image data and the address of the audio data; the tag recording area 53a and the tag indicating area 53a, 53b are equivalent to the tag area 53 shown in
the presentation data area 54 for storing image data and audio data.
When the presentation file 50 for the embedded system has finished, it can be run by the embedded system. The embedded system can be a mobile phone, a smart phone, a PDA, or a digital camera. Taking a digital camera 80 as an example, and with reference to
Since the presentation file 50 for the embedded system includes the tag area 53, the user can use the left and right keys, or the up and down keys, in operating interface 85 to operate the display of the presentation file 50 for the embedded system. A flowchart of the application program for displaying the presentation file 50 for the embedded system is presented in the following:
Step 700:
i=0; the variable i is set to 0.
Step 701:
Display image (tag(i) to tag(i+1)); the images indicated by tag(i) to tag(i+1) are displayed.
Step 702:
If a “next” key (which is usually the right arrow key or the down arrow key) of the operating interface 85 is pressed, then i=i+1. But when i>maximum value for i, then i=maximum value for i, (for example, if tag(4) is the last tag, then the maximum value for i is 4) and the display procedure finishes.
If a “previous” key (which is usually the left arrow key or the up arrow key) of the operating interface 85 is pressed, then i=i−1. But when i<0, then i=0.
Step 701 is then executed again.
The embedded system can be used in the digital camera 80. The embedded system may also be used in a mobile phone 80a (as shown in
Similarly, the embedded system can be used in a PDA 80b (as shown in
To reduce the size of the presentation file 50 for the embedded system, if the presentation image is a still picture, it may be represented by a single image. Additionally, all image data or audio data stored in the presentation file 50 for the embedded system may be compressed, using such codes as MJPEG, MP3, MP4 or similar compression formats.
Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.
Number | Date | Country | Kind |
---|---|---|---|
094137693 | Oct 2005 | TW | national |