1. Technical Field
The invention relates in general to a system and a method for file sharing.
2. Background
Legacy devices, such as home audio and video equipments, portable stereos or car audio and video equipments, usually only have USB ports without network accessing abilities and DLNA accessing abilities. Consequently, the legacy devices are hard to apply to modern popular smart devices or cloud storage media. Users have to copy files to USB disks and inserts the USB disks into the legacy devices, and then the legacy devices can access the files in the smart devices or the cloud storage media. The procedure is troublesome.
The disclosure is directed to a system and a method for file sharing, utilizing a dongle device and a file integration service program to make legacy devices be able to easily access files in remote storage media.
According to a first aspect of the present disclosure, a system for file sharing is provided. The system for file sharing includes a file integration service program and a dongle device. The file integration service program is installed in a first electrical device and provides a file allocation table corresponding to multiple to-be-shared files accessible by the first electrical device. The dongle device includes a hot-plug port, a microcontroller and a wireless communication module. The hot-plug port is for coupling to a second electrical device. When the hot-plug port is coupled to the second electrical device, the microcontroller disassembles and packages a first instruction with a SCSI standard from the second electrical device into the first instruction with a wireless communication standard. The wireless communication module transmits the first instruction with the wireless communication standard to the first electrical device, so that the second electrical device can access the to-be-shared files via the dongle device.
According to a second aspect of the present disclosure, a method for file sharing is provided. The method for file sharing includes the following steps. A file integration service program, installed in a first electrical device, is utilized to provide a file allocation table corresponding to multiple to-be-shared files accessible by the first electrical device. A hot-plug port of a dongle device is utilized to couple to a second electrical device. A microcontroller of the dongle device is utilized to disassemble and package a first instruction with a small computer system interface (SCSI) standard from the second electrical device into the first instruction with a wireless communication standard when the hot-plug port is coupled to the second electrical device. A wireless communication module of a dongle device is utilized to transmit the first instruction with the wireless communication to the first electrical device, so that the second electrical device can access the to-be-shared files according to the file allocation table via the dongle device.
The invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings.
The disclosure proposes a system and a method for file sharing. A dongle device and a file integration service program are utilized to make legacy devices be able to easily access files in remote storage media.
Referring to
Referring to
The dongle device 120 includes a wireless communication module 122, a microcontroller 124 and a hot-plug port 126. The wireless communication module 122 communicates with the first electrical device 110 according to a wireless communication standard, such as Bluetooth or WiFi, but it is not limited thereto. The hot-plug port 126, such as a USB port or a 1394 port without limitation, is for coupling to a second electrical device (not shown in the figure). When the hot-plug port 126 is coupled to the second electrical device, the microcontroller 124 executes firmware stored in a flash for example, and disassembles and packages a first instruction with a small computer system interface (SCSI) from the second electrical device into the first instruction with the wireless communication standard.
The wireless communication module 122 transmits the first instruction with the wireless communication standard to the first electrical device 110. Because the file allocation table indicates the lists corresponding to the to-be-shared files MIF1 to MIF3, that is the access paths, the second electrical device can access the to-be-shared files according to the file allocation table via the dongle device 120. The second electrical device is substantially said legacy device. The legacy device can access the to-be-shared files selected by users and stored in remote media via the hot-plug interfaces. Moreover, the dongle device 120 can provide more functions. For example, the microcontroller 124 can decode the to-be-shared files, thus the functional requirements to the second electrical device are lowered.
The disclosure also proposes a method for file sharing. The method for file sharing includes the following steps. A file integration service program, installed in a first electrical device, is utilized to provide a file allocation table corresponding to multiple to-be-shared files accessible by the first electrical device. A hot-plug port of a dongle device is utilized to couple to a second electrical device. A microcontroller of the dongle device is utilized to disassemble and package a first instruction with a small computer system interface (SCSI) standard from the second electrical device into the first instruction with a wireless communication standard when the hot-plug port is coupled to the second electrical device. A wireless communication module of a dongle device is utilized to transmit the first instruction with the wireless communication to the first electrical device, so that the second electrical device can access the to-be-shared files according to the file allocation table via the dongle device.
The detailed principles of the above method for file sharing have been described in the system for file sharing 100 and related contents, so detailed description thereof will be omitted.
In addition, users can give a second instruction to control the dongle device 120 via the file integration service program. The wireless communication module 122 of the dongle device 120 receives the second instruction with the wireless communication standard from the first electrical device 110. The microcontroller 124 of the dongle device 120 accordingly performs corresponding operations.
The system and method for file sharing proposed in the disclosure utilize a dongle device and a file integration service program, so that legacy devices having non or limited network accessing abilities can easily access user-selected files stored in remote storage media via the dongle device.
While the invention has been described by way of example and in terms of a preferred embodiment, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.
This application claims the benefit of U.S. provisional application Ser. No. 61/619,489, filed Apr. 3, 2012, the subject matter of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61619489 | Apr 2012 | US |