The method of transfer files and portable terminal between a kind of portable terminal
Technical field
The invention belongs to communication field, relate in particular to method and the portable terminal of transfer files between a kind of portable terminal.
Background technology
Current, inter-transmitting file mainly passes through bluetooth equipment between portable terminal, its process is roughly as follows: at first carry out the connection between the equipment between the portable terminal, carry out again the man-to-man transmission of file, its transmission speed is slower, and whenever next portable terminal can only be to file of a portable terminal transmission, and same portable terminal can not be simultaneously to a plurality of portable terminal transfer files.And portable terminal can not effectively be managed the file of transmission, and the flow process of transmitting between portable terminal does not at present form systematization, can not effectively guide the user to carry out prompt operation, more can not make the user enjoy the enjoyment of transmission.Like this, just cause the user of portable terminal to experience good not.
Summary of the invention
In order to solve the problems of the technologies described above, the object of the present invention is to provide the method for transfer files between a kind of portable terminal.
The present invention is achieved in that the method for transfer files between a kind of portable terminal, said method comprising the steps of:
This portable terminal is opened the multiple wireless transmission medium of self, and the scanning periphery has wherein a kind of opposite end portable terminal of wireless transmission medium at least;
The selection instruction of the opposite end portable terminal of reception user input and the selection instruction that needs the file of transmission;
Set up the connection of one or more wireless transmission mediums, the file that the need of choosing are transmitted sends to the opposite end portable terminal of choosing.
Further, described connection of setting up one or more wireless transmission mediums sends to the opposite end portable terminal of choosing with the file of the need chosen transmission and comprises:
The connection of setting up one or more wireless transmission mediums according to the order of priority of default wireless transmission medium;
Utilize one or more wireless transmission mediums of setting up that the file that the need of choosing transmit is sent to the opposite end portable terminal of choosing.
Further, described method is further comprising the steps of:
When the file of need transmission is the video class file, synchronous playing video file in process of transmitting; And/or
When the file of need transmission is the picture category file, as this portable terminal demonstration remaining data correspondence image of transmit leg, and show the data accepted correspondence image as recipient's opposite end portable terminal.
Further, described wireless transmission medium comprises that DLAN connects, WFD connects, the WiFi focus connects, WiFi connects and multiple in connecting of bluetooth.
Further, described portable terminal opened the multiple wireless transmission medium of self, and the scanning periphery has wherein at least, and a kind of step of opposite end portable terminal of wireless transmission medium also comprises afterwards:
According to the scanning result of opposite end portable terminal, generate the matching relationship group of this portable terminal and opposite end portable terminal.
Another object of the present invention is to provide a kind of portable terminal, described portable terminal has multiple wireless transmission medium, and described portable terminal comprises:
Pairing mobile scanning terminal module is used for this portable terminal and opens the multiple wireless transmission medium of self, and the scanning periphery has wherein a kind of opposite end portable terminal of wireless transmission medium at least;
The command reception module is for the selection instruction of the opposite end portable terminal that receives user's input and the selection instruction that needs the file of transmission;
Connect and set up and document transmission module, for the connection of setting up one or more wireless transmission mediums, the file that the need of choosing are transmitted sends to the opposite end portable terminal of choosing.
Further, described connection foundation and document transmission module specifically comprise:
Module is set up in the wireless transmission medium connection in order, is used for the connection of setting up one or more wireless transmission mediums according to the order of priority of default wireless transmission medium;
Document transmission module is used for utilizing one or more wireless transmission mediums of setting up that the file that the need of choosing transmit is sent to the opposite end portable terminal of choosing.
Further, described portable terminal also comprises:
The transmission of video playing module is used for when the file that needs transmission is the video class file, synchronous playing video file in process of transmitting; And/or
Picture transmission display module is used for when the file that needs transmission is the picture category file, as this portable terminal demonstration remaining data correspondence image of transmit leg, and shows the data accepted correspondence image as recipient's opposite end portable terminal.
Further, described wireless transmission medium comprises that DLAN connects, WFD connects, the WiFi focus connects, WiFi connects and multiple in connecting of bluetooth.
Further, described portable terminal also comprises:
The matching relationship cluster generating module is used for the scanning result according to the opposite end portable terminal, generates the matching relationship group of this portable terminal and opposite end portable terminal.
In the present invention, portable terminal is by opening the multiple wireless transmission medium of self, and scanning periphery has wherein a kind of opposite end portable terminal of wireless transmission medium at least, utilizes this multiple wireless transmission medium, and the file that need are transmitted sends to the opposite end portable terminal of choosing.In this process, can help the user automatically to set up connection between portable terminal, need not the user and go the setting in the system to carry out additional configuration; Solved the in the past single problem of transmission means between portable terminal, provide a kind of can be simultaneously to the method for a plurality of files of a plurality of device transmission, and transmission course is visual, the operating process hommization.
Description of drawings
Fig. 1 is the flow chart of the method for transfer files between the portable terminal that provides of the embodiment of the invention;
Fig. 2 is this portable terminal of providing of the embodiment of the invention and the figure of matching relationship group of opposite end portable terminal;
Fig. 3 is that the portable terminal A that provides of the embodiment of the invention is to the schematic diagram of portable terminal B transmission picture file;
Fig. 4 is the structured flowchart of the portable terminal that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the flow chart of the method for transfer files between the portable terminal that the embodiment of the invention provides, and details are as follows:
In step S101, this portable terminal is opened the multiple wireless transmission medium of self, and the scanning periphery has wherein a kind of opposite end portable terminal of wireless transmission medium at least.
In the practical application, for user corresponding to identification equipment clearly, portable terminal needs be set up by the user first the personalized labels such as user name, the pet name, head portrait, signature.
Wireless transmission medium in the present invention comprises DLAN(Digital Living NetworkAlliance) connect, WFD (Wireless Fidelity) connects, the WiFi focus connects, WiFi connects and multiple in connecting of bluetooth.
In step S102, the selection instruction of the opposite end portable terminal of reception user input and the selection instruction that needs the file of transmission.
As embodiments of the invention, according to the scanning result of opposite end portable terminal, generate the matching relationship group of this portable terminal and opposite end portable terminal.This comprises again establishment group and adds other existing groups that its interface as shown in Figure 2.Can find out also that from this Fig. 2 this group comprises the users such as Tom, Lily, Jeffrey, and file has been carried out the classification such as video, picture, music, file, and show that also file transfer was historical in the past.Like this, set up the file-sharing circle by the portable terminal of oneself, or add the file-sharing circle that miscellaneous equipment is set up, just can select easily portable terminal and file.
In step S103, set up the connection of one or more wireless transmission mediums, the file that the need of choosing are transmitted sends to the opposite end portable terminal of choosing.
As embodiments of the invention, this step specifically comprises again: the connection of setting up one or more wireless transmission mediums according to the order of priority of default wireless transmission medium; And utilize one or more wireless transmission mediums of setting up that the file that the need of choosing transmit is sent to the opposite end portable terminal of choosing.That is to say, multiple wireless transmission medium is carried out a priority divide, adopt first the higher wireless transmission medium of priority in the time of use.
The form of the Transmit message among the present invention comprises: to an equipment or simultaneously to a plurality of equipment Transmit messages, Transmit message comprises again the transmission Single document or sends simultaneously a plurality of files.And receive the file that sends from other portable terminals, can be set to automatic reception or selectivity and receive.
In the present invention, the mode of operation of the instruction of Transmit message can comprise: drag file is namely carried out sending action to opposite end portable terminal icon operation such as gesture; And for example namely carry out the operation of sending action by the whipping portable terminal.Experience in order to make the user obtain good user, the exclusive transmission mode of operation of carrying out for files in different types, when the file of need transmission is the video class file, synchronous playing video file in process of transmitting; And/or when the file that needs transmission is the picture category file, as this portable terminal demonstration remaining data correspondence image of transmit leg, and show the data accepted correspondence image as recipient's opposite end portable terminal.
In order to say something, Fig. 3 sends picture file (one tree) by portable terminal A to portable terminal B with between portable terminal A, the B.Chosen the picture file that needs transmission by the user, gesture drags file to opposite end portable terminal B icon, just begin to transmit picture file data, portable terminal A shows the remaining data correspondence image, and shows data accepted correspondence image (Fig. 3 show be to have transmitted 1/3 image) as recipient's opposite end portable terminal B.
In document transmission process, can carry out as suspend, stop, the operation such as continuation, deletion, and can carry out the operation of breakpoint transmission, and can show the dynamic process of transmission.Simultaneously, can show the result phase of transmission, such as success, failure; And transmission information attribute display, transmission equipment attribute display.
Fig. 4 shows the structure of the portable terminal that the embodiment of the invention provides, and this portable terminal has multiple wireless transmission medium, and this portable terminal comprises: pairing mobile scanning terminal module 41, command reception module 43 and connecting set up and document transmission module 45.This pairing mobile scanning terminal module 41 is used for this portable terminal and opens the multiple wireless transmission medium of self, and the scanning periphery has wherein a kind of opposite end portable terminal of wireless transmission medium at least; The selection instruction of the opposite end portable terminal of command reception module 43 reception user inputs and the selection instruction that needs the file of transmission; Connect the connection that foundation and document transmission module 45 are set up one or more wireless transmission mediums, the file that the need of choosing are transmitted sends to the opposite end portable terminal of choosing.
As embodiments of the invention, this connection is set up and document transmission module 45 specifically comprises: module 451 and document transmission module 453 are set up in the wireless transmission medium connection in order.The connection that module 451 is set up one or more wireless transmission mediums according to the order of priority of default wireless transmission medium is set up in the wireless transmission medium connection in order; Document transmission module 453 utilizes one or more wireless transmission mediums of setting up that the file that the need of choosing transmit is sent to the opposite end portable terminal of choosing.
As embodiments of the invention, described portable terminal also comprises: transmission of video playing module 46 and/or picture transmission display module 48.This transmission of video playing module 46 is used for when the file that needs transmission is the video class file, synchronous playing video file in process of transmitting; This picture transmission display module 48 is used for when the file that needs transmission is the picture category file, as this portable terminal demonstration remaining data correspondence image of transmit leg, and shows the data accepted correspondence image as recipient's opposite end portable terminal.
In the present invention, described wireless transmission medium comprises that DLAN connects, WFD connects, the WiFi focus connects, WiFi connects and multiple in connecting of bluetooth.
As embodiments of the invention, this portable terminal also comprises matching relationship cluster generating module 47, and this matching relationship cluster generating module 47 generates the matching relationship group of this portable terminal and opposite end portable terminal for the scanning result according to the opposite end portable terminal.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.