1. Technical Field
The present disclosure relates to a method of starting a new application module and, particularly, to an embedded device and a method of starting a new application module thereof.
2. Description of Related Art
Embedded devices, for example, digital photo frames (DPFs) are becoming increasingly popular due to their convenience and ease of manipulation when implementing particular functions. However, the typical digital photo frame can only display photos.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprised connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
Referring to
In block S01, the system monitor module 20 monitors an event of starting the new application module 40 and sends the event notification to the original application module 10. When there is no input after the predetermined amount of time, a screen saver module will start up. When a preset time ends, an alarm module will be turned on. The screen saver module has a slide show function or other convenient functions. The alarm module includes rings and can display text messages on the display 110.
In block S02, the original application module 10 sends a starting request to the process handling module 30 to start up the new application module 40. The original application module 10 will still be running on the embedded device 100. For example, a video application module 10 is running on the embedded device 100 when an alarm will be started. Then the video application module 10 sends the starting request to the process handling module 30 to start up the alarm.
In block S03, the process handling module 30 ends the original application module 10 after the process handling module 30 receives the starting request from the original application module 10. In block S04, the process handling module 30 starts up the new application module 40, for example, the process handling module 30 starts up the alarm module.
Referring to
S10: the new application module 40 sends an end request to the process handling module 30.
S11: the process handling module 30 sends a finished command to the new application module 40 to shut down the new application module 40.
S12: the process handling module 30 starts up the original application module 40, for example, the process handling module 30 starts up the video application module 10.
It is to be understood, however, that even though numerous characteristics and advantages of the disclosure have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
It is also to be understood that the above description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
200910303231.9 | Jun 2009 | CN | national |