Patent ID: 8620027

Claim:
A file transfer method, applied to file transmission between a first device owned by a first user and a second device owned by a second user, the first device being wirelessly connected to the second device, the first device comprising a file, a display unit, and an input unit electronically connected to the display unit, the method comprising the following steps: when an image stored in the first device is opened, displaying the file and the image on the display unit of the first device, wherein the image comprises a face image of the second user; when the file is dragged to the face image of the second user shown in the image via the input unit and is then released, generating a command; and transferring the file from the first device to the second device according to the command, wherein the first device and the second device are wirelessly connected to a server, and the step of transferring the file from the first device to the second device comprises: storing a plurality of photos comprising faces of different users into a database of the server as a comparison basis; when the file is dragged to the face image of the second user shown in the image and is then released, capturing a released position on the image where the file is released and accordingly generating a first coordinate by using the first device; transferring the first coordinate and the image from the first device to the server; after the first coordinate and the image are received by the server, performing a face detection in order to find out the position of the face image of the second user shown in the image, and accordingly generating a second coordinate; determining whether the first coordinate falls on the second coordinate; if the first coordinate does not fall on the second coordinate, transmitting an error message to the first device through the server, such that the file is re-dragged to the face image of the second user shown in the image according to the error message; if the first coordinate falls on the second coordinate, performing a face recognition through the server in order to compare the face of the second user with the faces of different users of the plurality of photos stored in the database, and accordingly generating a response message; transmitting, by the server, the response message to the first device; transferring the file from the first device to the sever according to the response message; and transferring the file from the server to the second device.