This application claims the benefit of Taiwan application Serial No. 103122516, filed Jun. 30, 2014, the subject matter of which is incorporated herein by reference.
1. Field of the Invention
The invention relates in general to a virtual file sharing method, and more particularly to a virtual file sharing method which creates a virtual sharing pool for sharing the files.
2. Description of the Related Art
As mobile devices have gained a great popularity, mobile phones, tablet PCs and wearable devices have been widely used. In general, each device has its own storage space which may range from 8 G to 128 G. However, it is indeed a technique challenge to move or access data between different devices, and may cause inconvenience of use to those users who have several mobile devices.
Therefore, how to provide a file sharing technique capable of effectively integrating storage spaces of different devices has become a prominent task for the industries.
The invention is directed to a virtual file sharing method capable of showing to-be-shared files of several devices of the same group in a virtual sharing pool for each device of the same group to access.
According to one embodiment of the present invention, a virtual file sharing method is disclosed. The method comprises following steps. A device joins a group. A virtual sharing pool corresponding to the group is created. Another device joins the group. The other device shares the virtual sharing pool of the group. The device chooses a file to share to the group. A file information corresponding to the shared file is shown in the virtual sharing pool. The other device selects the file information from the virtual sharing pool to access the file from the device
The above and other aspects of the invention will become better understood with regard to the following detailed description of the preferred but non-limiting embodiment (s). The following description is made with reference to the accompanying drawings.
A number of embodiments are disclosed below for elaborating the invention. However, the embodiments of the invention are for detailed descriptions only, not for limiting the scope of protection of the invention. Furthermore, secondary or unimportant elements are omitted in the accompanying diagrams of the embodiments for highlighting the technical features of the invention.
In step 104, a virtual sharing pool corresponding to the group is created. For example, when the device creates a peer-to-peer transmission link with another device of the group, file information is synchronically shared between devices of the same group in a peer-to-peer manner to create a virtual sharing pool. The virtual sharing pool can be realized by a user interface for showing to-be-shared files of each device of the group. In an example, the virtual sharing pool further show the icon of each device of the group so that the user can understand which devices are included in the group along with other information such as the models, storage capacities and/or users of the devices.
In step 106, another device joins the group. Based on the design needs or the nature of the environment, the other device can create a communication link with another device of the group by using a suitable communication technique such that the other device can join the group via the communication link.
In step 108, the other device shares the virtual sharing pool of the group. In step 110, the device chooses a file to share to the group. The file is such as a file stored in the device. In an example, when the device intends to share a file to the group, the device can register the file on a virtual sharing record list for sharing the file to the group.
In step 112, the file information corresponding to the shared file is shown in the virtual sharing pool. As disclosed above, when the file is registered in the virtual sharing record list, the content of the virtual sharing pool will be synchronically updated to show the file information of the shared file. It is noted that in the above step, the virtual sharing pool merely shows the file information of the file shared to the group by a sharing device, but the file is still stored in the sharing device.
In step 114, the other device selects a file information from the virtual sharing pool to access a corresponding file from the sharing device. For example, when the other device of the group selects a file information provided by a sharing device from the virtual sharing pool, the sharing device will transmit stream of the shared file to the other device.
Based on the above disclosure, the virtual file sharing method of an embodiment of the invention shows the to-be-shared files of several devices of the same group in a virtual sharing pool for each device of the group to access. Each shared file can be directly accessed from the local host by other device of the same group without having to be physically written to the virtual sharing pool, hence saving extra storage space for storing the shared file. In terms of the devices of the same group, when an external device is added to the group, the equivalent storage space of the virtual sharing pool increases accordingly, such that the limitation in the storage space of the devices can be resolved. For example, when a mobile phone having a storage space of 8 G and a tablet PC having a storage space of 32 G are combined as one group, the equivalent virtual sharing pool will have a storage space of 40 G (8 G+32 G) in total.
In the present embodiment, after the device joins the group 202, the device can show a corresponding virtual sharing pool 204. When the device intends to access a particular file, the device can click on the file information corresponding to the shared file (such as “share file A1”) of the virtual sharing pool 204 to directly receive the stream of the shared file from the device in which the shared file is stored. Suppose the to-be-shared file is a text file or other editable file. The device with required permission can directly open and edit the shared file through the virtual sharing pool 204. The device of the same group can directly access a shared file from the device in which the file shared. Therefore, when a device intends to share a file, the device does not need to physically copy the file to the virtual sharing pool 204.
The virtual file sharing method of an embodiment of the invention can at least be divided into four modes, namely, (I) public peer-to-peer mode, (II) private peer-to-peer mode, (III) cloud server aided mode, and (IV) cloud server hosting mode. The four modes are respectively disclosed below. It is understood that the quantities of devices and files, disposition of devices and structure of the group exemplified below are for description purpose only, not for limiting the invention, and may be adjusted to fit actual needs.
In another example, the predetermined group to which the device enters can be set as an inherent group. The connection of the inherent group pre-exists by way of keeping previous relevant parameters of the group (such as the parameter of a device which once joined the group). For example, after a device joined a group and then left, the connection setting of the group will be recorded. Later on, when the device intends to join the group again, the device can quickly join the group because relevant setting parameters are already stored.
In the present mode, the mechanism for finding another device is similar to that in the public peer-to-peer mode. That is, a device can transmit a broadcast signal to inform other device of its presence information. Once the device is found, the device can join a corresponding group through a group identification code contained in the broadcast signal. Let the group identification code of the private group 402 be “AAA”. Suppose the group identification code of the broadcast information transmitted by the newly joined device is also “AAA”. Once the newly joined device is found, the newly joined device will be added to the private group 402.
In another example, after receiving the request for accessing the device D(3) from the remote device DR, the cloud server CS will wait for the inquiry information transmitted from the device D(3). After receiving the inquiry information from the device D(3), the cloud server CS will transmit a file access request to the device D(3). In response to the file access request, the device D(3) will transmit the file content requested by the cloud server CS to the cloud server CS, which will accordingly transmit the file content to the remote device DR. With the assistance of the cloud server CS, the remote device DR can obtain the files shared by the device D(3).
In the present mode, the mechanism for finding device can be implemented by the cloud server CS. For example, when a newly joined device having group identification code “AAA” logs in the cloud server CS, the cloud server CS firstly will verify the device information and group identification code of the newly joined device. If the verification is successful, the cloud server CS will transmit the device information and group identification code of the newly joined device to other devices of the group when the other devices log in the cloud server CS. Thus, the other devices of the group can find the newly joined device and further create a connection with the newly joined device through the received information.
In the present mode, at least a private group (such as the private group 402 of
In an example, the private group of the cloud server CS exists only when the group has devices. After the last device of the private group exits, the private group will be automatically deleted. In another example, the private group of the cloud server CS can only be deleted manually. That is, even when the private group does not have any device, the private group does not disappear automatically, and the cloud server CS will still keep relevant parameter of the private group (such as the parameters of all devices ever joined the group). Under such circumstance, the device, which exited the group but now intends to join again, will be promptly recognized by the cloud server CS and accepted as a device of the group.
In the present mode, the mechanism for finding device can be implemented by the cloud server CS. For example, when a newly joined device having group identification code “AAA” logs in the cloud server CS, the cloud server CS firstly will determine whether the newly joined device has registered and then verify the device information and group identification code of the newly joined device. If the verification is successful, the cloud server CS will add the newly joined device to a private group corresponding to the group identification code “AAA”, update the group device list, and transmit the updated group device list to each device of the group.
In an example, when a device intends to register to the cloud server CS, the device will transmit a registration request to the cloud server CS. When receiving the registration request, the cloud server CS will execute a series of verification procedures. For example, the cloud server CS will verify the application used by the device (such as the application for registering to the cloud server CS), the user information (such as the owner of the device), and the device information (such as the model, operating system, and storage space of the device) in sequence. If the above items of verification are all successful, the cloud server CS will record the device as a registered device.
According to the virtual file sharing method of an embodiment of the invention, the device can join a particular private group by inputting an invitation code (such as a group identification code). Furthermore, once a private group is created, an invitation code of the private group will be correspondingly generated. When a device intends to join the group, whether the device has the invitation code will be determined. If the device has the invitation code, the device will join the private group corresponding to the invitation code. Conversely, if the device does not have the invitation code, the device will join a default public group of the local network.
Referring to
Referring to
To summarize, the virtual file sharing method of an embodiment of the invention shows the to-be-shared files of several devices of the same group in a virtual sharing pool for devices to access. Each shared file can be directly accessed from the local host by other device of the same group without having to be physically written to the virtual sharing pool, hence saving extra storage space for storing the shared file. In terms of the devices of the same group, when an external device is added to the group, the equivalent storage space of the virtual sharing pool increases accordingly, such that the limitation in the storage space of the devices can be resolved.
While the invention has been described by way of example and in terms of the preferred embodiment (s), 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.
Number | Date | Country | Kind |
---|---|---|---|
103122516 | Jun 2014 | TW | national |