A kind of method of mobile terminal transfer files
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of method of mobile terminal transfer files.
Background technology
Present mobile terminal mostly is the electric terminal having touch-screen and position positioning equipment, includes but not limited to computer, panel computer, mobile phone, televisor or other electronic equipments with touch-screen.File transfer between two mobile terminals is the behavior that file (including but not limited to text, picture, audio frequency, video etc.) on mobile terminal A is transferred to mobile terminal B.
Existing technical scheme mostly adopts network (mobile network or wifi), start the software of specific function at 2 mobile terminals simultaneously, first on mobile terminal A, mobile terminal B is identified, namely after setting up the connection of 2 mobile terminals, by the push-botton operation of mobile terminal A, as the step such as selected, copy, after being confirmed by the transfer above mobile terminal B, file transfer is to mobile terminal B.
The shortcoming of this technical scheme is the progress along with technology, most mobile terminal has the configuration of touch-screen, and this technical scheme does not give full play to the gesture identification function of touch-screen, and step is more complicated, need first to set up network to connect, carry out frequent push-botton operation again, do not meet the operating habit of human body instinct.
Summary of the invention
The object of the invention is to a kind of method proposing mobile terminal transfer files, the operation of the file transfer between mobile terminal can be made to become hommization more, simplification, also more interesting.
For reaching this object, the present invention by the following technical solutions:
A method for mobile terminal transfer files, comprises the following steps:
A, on the touch-screen of the first mobile terminal, make predetermined first gesture for file;
First gesture described in B, the first mobile terminal identification, the positional information of the first mobile terminal and described file are sent to server by the first mobile terminal;
C, server obtain the positional information of the first mobile terminal and described file;
D, on the touch-screen of the second mobile terminal, make the second predetermined gesture;
Second gesture described in E, the second mobile terminal identification, the positional information of the second mobile terminal is sent to server by the second mobile terminal;
F, server obtain the positional information of the second mobile terminal, and server judges that the distance between the first mobile terminal and the second mobile terminal is less than predetermined distance, then described file is sent to the second mobile terminal.
Further comprising the steps of:
In step C, server obtains and receives the positional information of the first mobile terminal and the time of described file;
In step e, server obtains the time receiving the positional information of the second mobile terminal;
In step F, server also to judge to receive the positional information of the first mobile terminal and the time of described file and receive the second mobile terminal positional information time between interval be less than predetermined time, just described file is sent to the second mobile terminal.
Described positional information is GPS information.
Described first gesture captures gesture, and the second gesture unclamps gesture.
Further comprising the steps of:
Server deletes the positional information of the positional information of the first mobile terminal, described file and the second mobile terminal.
Predetermined distance is 5 meters.
Predetermined time is 1 minute.
Have employed technical scheme of the present invention, more met the method for human instinct operation by simulation, complete the operation of file transfer, make the operation of the file transfer between mobile terminal become hommization more, simplification, also more interesting.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of mobile terminal transfer files in the specific embodiment of the invention.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of mobile terminal transfer files in the specific embodiment of the invention.As shown in Figure 1, the flow process of this mobile terminal transfer files comprises the following steps:
Step 101, on the touch-screen of mobile terminal A, for need transmission file make predetermined gesture, such as the five fingers capture gesture, expression will catch away file.
Step 102, mobile terminal A identify this gesture, the positional information of mobile terminal A then trigger collection mobile terminal A, as GPS position information, and the positional information of mobile terminal A and this file are sent to server.
Step 103, server obtain positional information and this file of the mobile terminal A that mobile terminal A sends, and acquisition receives the positional information of mobile terminal A and the temporal information of file, is stored in server.
Step 104, on the touch-screen of mobile terminal B, make predetermined gesture, such as the five fingers unclamp gesture, and expression will place file.
Step 105, mobile terminal B identify this gesture, the positional information of mobile terminal B trigger collection mobile terminal B, and the positional information of mobile terminal B is sent to server.
Step 106, server obtain the positional information of mobile terminal B, and obtain the temporal information receiving the positional information of mobile terminal B, store in the server.
Step 107, server judge that the distance between mobile terminal A and mobile terminal B is less than predetermined distance, such as within 5 meters, and the interval between the time judging the positional information receiving the positional information of mobile terminal A and the time of file and receive mobile terminal B is less than predetermined time, such as 1 minute, then trigger and file is sent to mobile terminal B.
This step is provided with the restriction of position and time, operator can be allowed very clearly to know from which source mobile terminal and transmit what file to which destination mobile terminal, is in completely under operator's control, thus ensure that the security of file transfer.
Simultaneously, as long as also specify that the Distance geometry time all meet restriction situation, multiple mobile terminal can be realized to a mobile terminal, a mobile terminal to multiple mobile terminal, multiple mobile terminal to the function of multiple mobile terminal transfer files, substantially increase the efficiency of file transfer.
After step 108, file transfer complete, server deletes the positional information of the positional information of mobile terminal A, file and the mobile terminal B stored, and temporal information.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, any people being familiar with this technology is in the technical scope disclosed by the present invention; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.