1. Technical Field
The disclosure relates to an electronic device, a computer, a server and method for transmitting files between electronic devices via the computer and the server.
2. Description of the Related Art
Electronic devices like digital photo frames have many functions which not only includes displaying images but also communicating with other electronic devices. However, because of the limitation of their input keys, many digital photo frames cannot be manipulated as easily and quickly as those for a computer, especially when one digital photo frame is used to transmit images to another digital photo frame. Accordingly, what is needed in the art is a system and method for transmitting files between electronic devices via the computer and the server.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the system and the method for transmitting files between electronic devices. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The electronic devices 10 may be digital photo frames, cameras, and so on. Taking the digital photo frame as the electronic devices 10 for example in the present disclosure, the digital photo frames 10 can be hardwired to the computer 20, through, for example a Universal Serial Bus (USB) or connection, or wirelessly connected, for example, through a wireless LAN connection. The computers 20 may be connected to the server 30 via a wireless network, cable and so on over the Internet. Each of the digital photo frames 10 has the same hardware infrastructure, but with a unique identifier (ID) or a log in name. Each of the digital photo frames 10 can log onto the server 30 via the corresponding computer 20. The server 30 records the ID of the digital photo frame 10 when the digital photo frame 10 logs onto the server 30, and regards the digital photo frame 10 as being in an online state. The server 30 further regards the digital photo frame 10 as being in an offline state when the digital photo frame 10 logs off the server 30.
When the startup unit 110 of the digital photo frame is activated, the computer 20 obtains the program from the storage unit 120, and starts the program to execute the processing module 210. In the present disclosure, take the digital photo frame 10 that supplies files to other digital photo frames as a source digital photo frame, and the digital photo frame 10 that receives files from other digital photo frames as a target digital photo frame for example in the following disclosure. The source digital photo frame stores files and ID of the target, and transmits files to any one or more of the other digital photo frames. The target digital photo frame has space available to store files from the source digital photo frame. When a user wants to send files from the source digital photo frame to the target digital photo frame the user can input instructions to the source digital photo frame. The inputting module 230 obtains inputs from the user and changes the input into corresponding signals. The processing unit 210 obtains ID of the target digital photo frame and files according to inputs from the user, generates a request including the ID of the target digital photo frame the ID of the source digital photo frame and information of the files what the user selects, sending the request and files to the server 30. The information of the files includes the quantity and accessing path of the files what the user selects.
The processing unit 210 includes a detecting module 1101, a setting module 1102, an obtaining module 1103, a request generating module 1104, a transmitting module 1105 and a controlling module 1106. The controlling module 1106 is configured for recognizing the ID of the source digital photo frame and controlling the source digital photo frame to log on/off the server 30. The other modules of the processing module 210 are described together with
In step S401, the detecting module 1101 detects if the startup signal is transmitted to the computer 20 to determine the startup unit 110 is activated.
In step S402, if the detecting module 1101 detects the startup unit 110 is activated, the setting module 1102 generates a menu for prompting the user to enter inputs. The menu may include a plurality of IDs of the digital photo frames 10, the files and the information of the files in the source digital photo frame.
In step S403, the obtaining module 1103 obtains the ID of the target digital photo frame the ID of the source digital photo frame and the information of the files what the user selects according to the inputs of the user.
In step S404, the request generating module 1104 generates the request including the ID of the target digital photo frame the ID of the source digital photo frame and the information of the files what the user selects.
In step S405, the controlling module 1106 sends the ID of the target digital photo frame to the server 30, and obtains the result of whether the target digital photo frame is logging on the server 30.
In step S406, if the result is the target digital photo frame is logging on the server 30, the transmitting module 1105 transmits the request to the target digital photo frame and flow chart goes to step 406.
In step 407, if the result is the target digital photo frame is not logging on the server 30, the transmitting module 1105 saves the request to the storing module 220, and the flow chart goes to step 405.
It is understood that the invention may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the invention is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
200810305887.X | Dec 2008 | CN | national |
This application is related to a co-pending U.S. patent application filed concurrently herewith whose Attorney Docket No is US 16979 and entitled “SYSTEM AND METHOD FOR TRANSMITTING FILES BETWEEN ELECTRONIC DEVICES,” which is incorporated herein in its entirety by reference.