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). 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 another embodiment, the processing module 210 maybe preinstalled on the storage unit 120, not be installed from the digital photo frame. 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 IDs of other digital photo frames, 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 activate the source digital photo frame. The inputting module 230 obtains inputs from the user and changes the input into corresponding signals. The processing module 210 obtains the ID of the target digital photo frame and files that the user selects from the source digital photo frame, generates a request including the ID of the target digital photo frame, and sends the request and the files to the server 30.
The processing module 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 or off the server 30. The other modules of the processing module 210 are described together with
In step S501, 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 S502, 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, and all the files in the source digital photo frame.
In step S503, the obtaining module 1103 obtains the ID of the target digital photo frame according to the inputs of the user, and the request generating module 1104 generates the request including the ID of the target digital photo frame.
In step S504, the obtaining module 1103 obtains the files which are selected from the source digital photo frame by the user.
In step S505, the transmitting module 1105 transmits the request and the files that the user selects to the server 30.
In step S602, if the detecting unit 3001 detects the request and the files that the user selects are transmitted to the server 30, the obtaining unit 3002 obtains the file that the user selects, and obtain the ID of the target digital photo frame from the request.
In step S603, the detecting unit 3001 determines if the target digital photo frame logs on the server 30 according to the ID of the target digital photo frame.
In step S604, if the detecting unit 3001 determines the target digital photo frame having logged onto the server 30, the transmitting unit 3003 transmitted the files that the user selects to the target digital photo frame.
In step S605, if the detecting unit 3001 determines the target digital photo frame having not logged onto the server 30, the transmitting unit 3003 stores the files that the user selects. When the target digital photo frame logs onto the server 30, the transmitting unit 3003 transmits the files that the user selects to the target digital photo frame.
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 |
---|---|---|---|
200810304784.1 | Oct 2008 | CN | national |
This application is related to a co-pending U.S. patent application filed concurrently herewith whose Attorney Docket No is US16981 and entitled “SYSTEM AND METHOD FOR TRANSMITTING FILES BETWEEN ELECTRONIC DEVICES,” which is incorporated herein in its entirety by reference.