1. Technical Field
The present disclosure relates to an embedded electronic device and a method for providing Internet service thereto.
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. A DPF receiving Internet service is a desirable market item.
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 comprise 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 GUI application module 10 handles all operational modes. For example, the GUI application module 10 can be an Internet news service, Internet radio provider, Internet photo album, an Internet weather service, or many others.
The Internet service management module 20 provides interfaces for the GUI application module 10 to retrieve Internet service data. The Internet service management module 20 executes authentication with the Internet service terminal 50. The Internet service terminal 50 authorizes the Internet service management module 20 to communicate with the Internet service terminal 50. The Internet service management module 20 includes a setting function interface module and a retrieval mode function interface module. The setting function interface module sets a property identifying the GUI application module 10. The retrieval mode function interface module retrieves data information from the content analysis module 30. The Internet service management module 20 stores the Internet service data with specific data structure for the GUI application module 10. For example, the Internet service management module 20 can store a first data structure for Internet radio service and a second data structure for Internet weather service.
Each content analysis module 30 corresponds to the GUI application module 10 and the Internet service terminal 50. The content analysis module 30 has interfaces for the Internet service management module 20 and the content acquisition module 40. The content analysis module 30 extracts information using users defined rules from the content acquisition module 40. For example, when the users download the Internet service data from the content acquisition module 40, the Internet service data may include other unneeded data information. The content analysis module 40 extracts information defined by the user.
The content acquisition module 40 provides interfaces for the content analysis module 30 and the Internet service terminal 50, working asynchronously with the GUI application module 10. When the content acquisition module 40 downloads the Internet service data from the Internet service terminal 50, the GUI application module 10 continues to function. The content acquisition module 40 downloads the Internet service data from the Internet service terminal 50 via multiple threads. The content acquisition module 40 can monitor and display download progress of the Internet service data. The content acquisition module 40 supports a hyper text transfer protocol (HTTP) header to fetch the Internet service data. The content acquisition module 40 can download multi-service content from the Internet service terminal 50. The Internet service terminal 50 provides the Internet service to the content acquisition module 40.
Referring to
In step S01, the GUI application module 10 sends a download request to the Internet service management module 20.
In step S02, Internet service management module 20 sends a download command to the content acquisition module 40 through the content analysis module 30.
In step S03, content acquisition module 40 downloads Internet service data from the Internet service terminal 50 and sends the Internet service data to the content analysis module 30.
In step S04, content analysis module 30 extracts useful data information from the Internet service data. If the Internet service data is unsuitable, the content analysis module 30 informs the Internet service management module 20. The Internet service management module 20 sends a command to the GUI application module 10 to restart download.
In step S05, the retrieval mode function interface module of the Internet service management module 20 retrieves the data information from the content analysis module 30. The Internet service management module 20 stores data information with specific data structure.
In step S06, GUI application module 10 retrieves the data information from the Internet service management module 20 and displays the data information.
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 |
---|---|---|---|
200910303477.6 | Jun 2009 | CN | national |