1. Technical Field
The present disclosure relates to electronic devices and methods, and particularly to an electronic device and a method for playing internet radio.
2. Description of Related Art
Now, many radio stations broadcast on the internet. In order to listen to desired radio station, a user may have to search for the radio station by keying in different terms to a network search engine, such as Google, Baidu, and so on, this is very time-consuming.
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.
The configuration module 11 is capable of setting search conditions for searching internet radio stations 20 on the network 30. In one embodiment, the search conditions include locations and types. The locations may be, for example, United States, China, Japan, or other countries. The types may be, for example, economy, literature, etc.
The GUI module 13 is capable of displaying the search conditions. The GUI module 13 can be used to select the locations and the types.
The API module 15 is capable of sending search commands containing the search conditions to the downloading module 17.
The searching module 17 is capable of searching the network for the internet radio stations 20 according to the search conditions, and creating a list of available stations to the electronic device 10 after receiving the download commands. The list of stations includes, but not limited to, names of the internet radio hosts 20. In one embodiment, the contents may be audio contents, video contents, etc., for example.
The GUI module 13 is further capable of displaying the list downloaded by the downloading module 17.
The analyzing module 19 is capable of determining sort conditions, and sorting the list according to the sort conditions. The sort conditions are displayed in the GUI module 13. In one embodiment, the sort conditions may be by popularity and name, for example. In the GUI module 13, the popularity and the name can be selected to filter the list of the internet radio stations 20.
In block S10, the search conditions are selected through the GUI module 13. For example, the country “China” and the genre “economy” are both selected.
In block S11, the API module 15 sends a download command with the selected search conditions to the downloading module 17.
In block S12, the downloading module 17 searches internet radio stations 20 in the network 30 according to the sort conditions, and downloads a list of the internet radio stations 20 when found to the electronic device 10.
In block S13, the list of the internet radio stations 20 is displayed in the GUI module 13.
In block S14, the sort conditions are selected in the GUI module 13, so as to sort the list by the analyzing module 19. For example, either the sort condition “popularity” or “name” is selected, the list will be reordered under the sort condition “popularity” or “name”.
In block S15, one internet radio station 20 is selected in the list.
In block S16, the API module 15 sends a download command with the one internet radio station 20 to the downloading module 17.
In block S15, the downloading module 17 downloads contents of the internet radio stations 20 when found.
In block S17, the GUI module 13 plays the content of the internet radio stations 20.
It is to be understood, however, that even though numerous characteristics and advantages have been set forth in the foregoing description of embodiments, together with details of the structures and functions of the embodiments, 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.
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 |
---|---|---|---|
200910306180.5 | Aug 2009 | CN | national |