This application is related to co-pending U.S. patent applications entitled “EMBEDDED ELECTRONIC DEVICE”, Attorney Docket No. US28687.
1. Technical Field
The present disclosure relates to an embedded electronic device, and particularly, to an embedded electronic device with enhanced content.
2. Description of Related Art
Embedded electronic devices such as digital photo frames (DPF) are becoming increasingly popular due to the convenience and ease of function. However, the typical digital photo frame can only display photos. A digital photo frame with enhanced content is desirable.
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
In one exemplary embodiment, and with reference to
The application specific library module 20 hides specific details of a foreground application, such as network protocols of HTTP, awareness of which is not required. Operational commands are received by way of the user interface. The source manager library module 30 retrieves a variety of resources from a range of sources, such as a database, a file system, a personal computer, or a digital media player, and provides the resources to the foreground application module 10.
The process management module 40 switches foreground applications, such as launching a foreground application from a main menu displayed on the display 110, returning to the main menu from the foreground application, and/or starting a screen saver or alarm clock. Referring to
In step S41, the main menu of the embedded electronic device 100 sends a command to the process management module 40 to initiate a new foreground application.
In step S42, the process management module 40 removes the main menu from view of the display 110.
In step S43, the process management module 40 launches the new foreground application on the embedded electronic device 100.
Referring to
In step S51, the foreground application sends an application stop request to the process management module 40.
In step S52, the process management module 40 terminates the foreground application.
In step S53, the process management module 40 displays the main menu on the embedded electronic device 100.
The content acquisition module 60 obtains Internet data for the foreground application module 10. The content acquisition module 60 allows data to be downloaded without interfering with foreground operations.
The Internet streaming daemon module 70 manages the Internet streaming applications, such as acquiring subsequent items in a queue. The playback controller module 80 has an interface for a third party media player providing access to application specific controls such as mute, volume adjustment, file loading, and others. The watchdog module 90 restarts the main menu if the foreground application crashes accidentally, thereby ensuring normal operation of the embedded electronic device 100.
Referring to
The AV multiplex module 52 is configured to control the audio module 522 and the display module 523. The display module 523 is a Liquid Crystal Display (LCD) display module or a Cathode Ray Tube (CRT) display module. The AV multiplex module 52 controls the output of the audio module 522 by writing Proc files. The AV multiplex module 52 is configured to parse Proc files of the video module 523 to retrieve the current brightness of the video module 523. The AV multiplex module 52 is also configured to write the Proc file to control the brightness.
The system module 51 is configured to monitor the PC application module 511 and the other system function modules 512. The other system function modules 512 includes a touchpad, a G-sensor, a power button, USB devices, real time control (RTC) and so on. The system module 51 is configured to control an LED of the power button by writing Proc files. The system module 51 is configured to detect the current dimension of the device by parsing Proc files of the G-sensor. The system module 51 is configured to determine whether the power button is activated by parsing Proc files of the power button driver, and to control the power LED of the power button by writing Proc files. The system module 51 is configured to query the current system time via the driver ioctl interface. The system module 51 is configured to communicate with the PC application module 511 to accept or reject PC connection request via pipes.
The scheduler module 53 is configured to monitor working statuses of system function modules periodically and transmit the working statuses to the foreground application module 10.
There are message pipes communicating between the foreground application module 10 and the system monitor module 50. The message pipes include an event pipe and a command pipe. The system monitor module 50 transmits information to the foreground application module 10 via the event pipe. The foreground application module 10 transmits commands to the system monitor module 50 via the command pipe.
The network module 54 connects network via a network controller module 541. The network includes wireless network 542 and Ethernet 543.
IP address of the wireless network 542 or the Ethernet 543 for the network controller module 541 is configured by dynamic host configuration protocol (DHCP) module or auto IP module. The DHCP module is configured to allocate IP address for accessing Internet. The auto IP module is configured to allocate IP for accessing other PCs in local area network (LAN). The DHCP module allocates IP preferentially for the network controller module 541. If the DHCP allocates IP unsuccessfully, the AUTO IP allocates IP for the network controller module 541.
Message pipes connect the network controller module 541 and the network module 54. The message pipe includes an event pipe and a command pipe. The network controller module 541 transmits information to the network module 54 via the event pipe. The network module 54 transmits commands to the network controller module 541 via the command pipe.
The commands transmitted from the network module 54 to the network controller module 541, include: reloading the configuration and configuring the network based on the user setting; providing wireless AP list to the system monitor module 50; connecting to AP with specified settings immediately; obtaining IP address, netmask, gateway, and DNS; obtaining current wireless signal level; obtaining current network status (overall connectivity, network type, IP type, Ethernet link status, wireless connected).
Information sent from the network controller module 541 to the network module 54, includes information about DHCP has obtain IP address or failed to get IP address, about when the network cable is plugged or removed, about when the wireless has been disconnected or connected successfully, or about when the wireless signal strength has been changed.
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.
Number | Date | Country | Kind |
---|---|---|---|
200910307909.0 | Sep 2009 | CN | national |