1. Technical Field
The present disclosure relates to a process management system and a process management method.
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, if the embedded device provides only one window application, all active UI-based functions (for example, video, photo) must be integrated therein. Every time a window function (for example, browsing photos) is needed, the window application plus all other accompanying window functions must be implemented, needlessly consuming system resources. If the window application is divided into a plurality of window modules, a communication interface thereamong is further required.
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
The window process module 20 communicates with the process management module 10 through a second process handshake message interface 30 and a common basic window module 50. The common basic window module 20 provides a common basic function for the window process module 20. The window process module 20 may be a video window module, a photo window module, or a radio window module. The window process module 20 includes a managing sub-module capable of detecting and managing the message from the process management module 10.
Referring to
The pipe file descriptor sub-module, the source identification sub-module, and the option sub-module include values defined as 4-octet integers. The data sub-module includes values defined as 20-octet strings. The option sub-module defines an execution value comprising one command action indicating response ok, handshake start, handshake stop, query status, broadcast message, process terminate, handshake start response, handshake stop response, process terminate response, broadcast message response, or query status response. The execution value and the command are defined as follows.
The window process module 20 communicates with the process management module 10 through an underlying Transfer Control Protocol/Internet Protocol (TCP/IP) network connection or a pipe. The process management module 10 sends a handshake start (0x00000000) request to the window process module 20. Then the window process module 20 sends a handshake start response (0x00000011) to the process management module 10. The window process module 20 sends a handshake stop (0x00000002) request to the process management module 10. The process management module 10 sends a handshake stop response (0x00000012) to the window process module 10.
Referring to
Referring to
Referring to
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 disclosure, 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 disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
200910306108.2 | Aug 2009 | CN | national |