CN105376318A - File transmission method, device and system - Google Patents

File transmission method, device and system Download PDF

Info

Publication number
CN105376318A
CN105376318A CN201510814971.4A CN201510814971A CN105376318A CN 105376318 A CN105376318 A CN 105376318A CN 201510814971 A CN201510814971 A CN 201510814971A CN 105376318 A CN105376318 A CN 105376318A
Authority
CN
China
Prior art keywords
file
terminal
mobile terminal
destination
file transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510814971.4A
Other languages
Chinese (zh)
Inventor
王薇薇
杨文博
王文艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510814971.4A priority Critical patent/CN105376318A/en
Publication of CN105376318A publication Critical patent/CN105376318A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a file transmission method, device and system, and belongs to the technical field of file transmission. The file transmission method comprises the steps of receiving a file transmission instruction aiming at a target file; detecting whether terminals in communication connection with a mobile terminal exist based on the file transmission instruction; when the terminals in communication connection with the mobile terminal exist, determining a target terminal in the terminals in communication connection with the mobile terminal; sending a file transmission request, wherein the file transmission request comprises a target file to be transmitted to the target terminal. According to the file transmission method, device and system, the problem of a complex file transmission process is solved, and the beneficial effect of simplifying the transmission process is realized. The file transmission method, device and system are used for file transmission.

Description

Document transmission method, Apparatus and system
Technical field
The disclosure relates to file transfer technology field, particularly a kind of document transmission method, Apparatus and system.
Background technology
Along with popularizing of intelligent terminal, the demand of user to the function of intelligent terminal also gets more and more, and such as, user not only wishes by intelligent terminal from obtaining information network, also to wish can carry out file transfer between intelligent terminal.
For by the file transfer on mobile phone to computer.In correlation technique, when user to need the file transfer on mobile phone to computer, mobile phone and computer can be set up network and be connected by user, then on mobile phone, find the file destination wanting to transmit, long by this file destination triggering mobile phone display options, can comprise transmission button in this options, this file destination is sent to computer by the instruction of this transmission button, and this file destination can be transferred to computer by clicking this transmission button by user.
Summary of the invention
In order to solve the problem in correlation technique, present disclose provides a kind of document transmission method, Apparatus and system.Described technical scheme is as follows:
According to first aspect of the present disclosure, provide a kind of document transmission method, described method comprises:
Receive the file transfer instruction for file destination;
The terminal established a communications link with mobile terminal whether is there is according to described file transfer command detection;
When there is the terminal established a communications link with described mobile terminal, in the terminal established a communications link with described mobile terminal, determine target terminal;
Send file transfer requests, described file transfer requests comprises the described file destination transmitted to described target terminal.
The document transmission method that the disclosure provides, because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of document transmission process complexity, reach the beneficial effect of simplified-file transmitting procedure.
Alternatively, described reception, for the file transfer instruction of file destination, comprising:
Receive the default file transmission gesture for described file destination;
Described file transfer instruction is generated according to described default file transmission gesture.
The document transmission method that the disclosure provides, mobile terminal is by receiving the default file transmission gesture for file destination, according to default file transmission gesture spanned file transfer instruction, and carry out file transfer, the transmission that gesture just can realize file is transmitted owing to only needing the default file of user, therefore, the beneficial effect of fast transport file is reached.
Alternatively, described method also comprises:
Receive file transfer pattern open command;
According to described file transfer pattern open command display transport interface, in described transport interface, show the mark of the file in described mobile terminal;
Receive and triggered file selection instruction is operated to the mark of the file in described mobile terminal;
Using the file selected by described file selection instruction as described file destination.
The document transmission method that the disclosure provides, mobile terminal is by receiving file transfer pattern open command, according to file transfer pattern open command display transport interface, and in transport interface, receive file selection instruction, and then according to file selection instruction determination file destination, reach the beneficial effect determining file destination.
Alternatively, described file destination is at least one, and the mark of described reception to the file in described mobile terminal operates triggered file selection instruction, comprising:
Receive and the first triggered file selection instruction is operated to the mark of the file in described mobile terminal;
Described using the file selected by described file selection instruction as described file destination, comprising:
Whether judge to receive in preset time period and operate the second triggered file selection instruction to the mark of the file in described mobile terminal, the file selected by described second file selection instruction is different from the file selected by described first file selection instruction;
When receiving described second file selection instruction in described preset time period, using the file selected by described second file selection instruction and the file selected by described first file selection instruction all as described file destination;
When not receiving described second file selection instruction in described preset time period, using the file selected by described first file selection instruction as described file destination.
The document transmission method that the disclosure provides, mobile terminal is by reception first file selection instruction, judge in preset time period, whether receive the second file selection instruction, when receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination, when not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination, by arranging preset time period, mobile terminal judges whether user's select File terminates, reach the beneficial effect that intelligence determines file destination.
Alternatively, in described transport interface, also show ACK button, described using the file selected by described file selection instruction as described file destination, comprising:
When receive triggered confirmation instruction is operated to described ACK button time, using the file selected by described file selection instruction as described file destination.
The document transmission method that the disclosure provides, when mobile terminal receive triggered confirmation instruction is operated to ACK button time, file selected by file selection instruction as file destination, is reached the beneficial effect determining file destination according to the operation of user by mobile terminal.
Alternatively, described method also comprises:
Reception file transfer responds, and described file transfer response comprises the transmission state of described file destination, and described transmission state comprises: success status or status of fail;
Transmission information is generated according to described transmission state;
Point out according to described transmission information.
The document transmission method that the disclosure provides, mobile terminal is by receiving file transfer response, generate transmission information according to the transmission state in file transfer response, and point out according to transmission information, reach the beneficial effect of the transmission state of pointing out file destination to user.
Alternatively, determining target terminal in the described terminal establishing a communications link with described mobile terminal, comprising:
When the terminal established a communications link with described mobile terminal is one, using the terminal that establishes a communications link with described mobile terminal as described target terminal;
When the terminal established a communications link with described mobile terminal is at least two, the terminal established a communications link according to preset rules pair and described mobile terminal is screened, and obtains described target terminal.
The document transmission method that the disclosure provides, when the terminal established a communications link with mobile terminal is one, mobile terminal using the terminal that establishes a communications link with mobile terminal as target terminal, when the terminal established a communications link with mobile terminal is at least two, the terminal that mobile terminal establishes a communications link according to preset rules pair and mobile terminal is screened, obtain target terminal, reach the beneficial effect determining target terminal.
Alternatively, the described terminal established a communications link according to preset rules pair and described mobile terminal is screened, and obtains described target terminal, comprising:
Using any one terminal in the terminal that establishes a communications link with described mobile terminal as described target terminal; Or,
Using from the terminal different with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
Using with the terminal identical with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
Using all terminals in the terminal that establishes a communications link with described mobile terminal as described target terminal; Or,
Interface selected by display terminal, using select interface to receive in described terminal terminal selection instruction indicated by terminal as described target terminal.
The document transmission method that the disclosure provides, mobile terminal by any one terminal in the terminal that will establish a communications link with mobile terminal as target terminal, or, using the terminal different from the type of mobile terminal as target terminal, or, using the terminal identical with the type of mobile terminal as target terminal, or, using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal; Or, display terminal select interface, using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal, enrich the mode of mobile terminal determination target terminal.And when mobile terminal using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal time, the disclosure can realize the effect mass-sending file.
Alternatively, described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on the mobile terminal and described file destination store on the mobile terminal.
The document transmission method that the disclosure provides, file transfer requests can also comprise the fileinfo of file destination, reaches and is convenient to the effect that target terminal knows the fileinfo of file destination.
According to second aspect of the present disclosure, provide a kind of document transmission method, described method comprises:
Receive file transfer requests, described file transfer requests comprises file destination;
Resolve described file transfer requests and obtain described file destination;
Described file destination is stored to target terminal, and described target terminal is mobile terminal determined terminal in connected terminal.
The document transmission method that the disclosure provides, target terminal is by receiving file transfer requests, file transfer requests comprises file destination, resolution file transmission request obtains file destination, file destination is stored to target terminal, and target terminal is mobile terminal determined terminal in connected terminal.Because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of document transmission process complexity, reach the beneficial effect of simplified-file transmitting procedure.
Alternatively, described method also comprises:
According to file transfer result spanned file transmission response, described file transfer response comprises the transmission state of described file destination, and described transmission state comprises: success status or status of fail;
Send the response of described file transfer.
The document transmission method that the disclosure provides, target terminal passes through according to file transfer result spanned file transmission response and sends file transfer response, because file transfer response comprises, the transmission state of file destination, therefore, the beneficial effect of the transmission state of informing mobile terminal file destination is reached.
Alternatively, described described file destination is stored to target terminal, comprises:
Display stores information;
When receive to described storage information operate triggered confirmation store instruction time, described file destination is stored to the target location of described target terminal.
The document transmission method that the disclosure provides, target terminal stores information by display, when receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal, owing to being store file destination according to the confirmation of user, therefore, target terminal can be avoided by assault.
Alternatively, described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on mobile terminals and described file destination store on the mobile terminal.
The document transmission method that the disclosure provides, file transfer requests can also comprise the fileinfo of file destination, reaches and is convenient to the effect that target terminal knows the fileinfo of file destination.
According to the third aspect of the present disclosure, provide a kind of file transfer means, described device comprises:
First receiver module, is configured to receive the file transfer instruction for file destination;
Detection module, whether the described file transfer command detection being configured to receive according to described first receiver module exists the terminal established a communications link with mobile terminal;
First determination module, is configured to when described detection module detects the terminal existing and establish a communications link with described mobile terminal, in the terminal established a communications link with described mobile terminal that described detection module detects, determine target terminal;
Sending module, is configured to send file transfer requests, and described file transfer requests comprises the described file destination of the described target terminal transmission determined to described first determination module.
Alternatively, described first receiver module, is configured to:
Receive the default file transmission gesture for described file destination;
Described file transfer instruction is generated according to described default file transmission gesture.
Alternatively, described device also comprises:
Second receiver module, is configured to receive file transfer pattern open command;
Display module, is configured to the described file transfer pattern open command display transport interface received according to described second receiver module, shows the mark of the file in described mobile terminal in described transport interface;
3rd receiver module, the mark being configured to receive the file in the described mobile terminal shown described display module operates triggered file selection instruction;
Second determination module, the file selected by described file selection instruction being configured to described 3rd receiver module to receive is as described file destination.
Alternatively, the described file destination that described second determination module is determined is at least one,
Described 3rd receiver module, is configured to:
The mark receiving the file in the described mobile terminal shown described display module operates the first triggered file selection instruction;
Described second determination module, is configured to:
The mark judging whether to receive the file in the described mobile terminal shown described display module in preset time period operates the second triggered file selection instruction, and the file selected by described second file selection instruction is different from the file selected by described first file selection instruction;
When receiving described second file selection instruction in described preset time period, using the file selected by described second file selection instruction and the file selected by described first file selection instruction all as described file destination;
When not receiving described second file selection instruction in described preset time period, using the file selected by described first file selection instruction as described file destination.
Alternatively, also show ACK button in the described transport interface of described display module display, described second determination module, is configured to:
When receiving the described ACK button shown described display module and operating triggered confirmation instruction, using the file selected by described file selection instruction as described file destination.
Alternatively, described device also comprises:
4th receiver module, be configured to receive file transfer response, described file transfer response comprises the transmission state of the described file destination that described second determination module is determined, described transmission state comprises: success status or status of fail;
Generation module, the described transmission state being configured to receive according to described 4th receiver module generates transmission information;
Reminding module, the described transmission information being configured to generate according to described generation module is pointed out.
Alternatively, described first determination module, comprising:
First determines submodule, is configured to when described detection module detects that the terminal established a communications link with described mobile terminal is one, and the terminal established a communications link with described mobile terminal detected by described detection module is as described target terminal;
Second determines submodule, be configured to when described detection module detects the terminal established a communications link with described mobile terminal at least two, the terminal established a communications link with described mobile terminal detected described detection module according to preset rules is screened, and obtains described target terminal.
Alternatively, described second determines submodule, is configured to:
Any one terminal in the terminal established a communications link with described mobile terminal detected by described detection module is as described target terminal; Or,
That described detection module is detected from the terminal different with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
That described detection module is detected with the terminal identical with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
All terminals in the terminal established a communications link with described mobile terminal detected by described detection module are as described target terminal; Or,
Interface selected by display terminal, using select interface to receive in described terminal terminal selection instruction indicated by terminal as described target terminal.
Alternatively, described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on the mobile terminal and described file destination store on the mobile terminal.
According to fourth aspect of the present disclosure, provide a kind of file transfer means, described device comprises:
Receiver module, be configured to receive file transfer requests, described file transfer requests comprises file destination;
Parsing module, the described file transfer requests being configured to resolve the reception of described receiver module obtains described file destination;
Memory module, be configured to that described parsing module is resolved the described file destination obtained and be stored to target terminal, described target terminal is mobile terminal determined terminal in connected terminal.
Alternatively, described device also comprises:
Generation module, is configured to according to file transfer result spanned file transmission response, and described file transfer response comprises the transmission state of described file destination, and described transmission state comprises: success status or status of fail;
Sending module, is configured to the described file transfer response sending the generation of described generation module.
Alternatively, described memory module, is configured to:
Display stores information;
When receive to described storage information operate triggered confirmation store instruction time, described file destination is stored to the target location of described target terminal.
Alternatively, described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on mobile terminals and described file destination store on the mobile terminal.
According to the 5th aspect of the present disclosure, a kind of file transfer means is provided, comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive the file transfer instruction for file destination;
The terminal established a communications link with mobile terminal whether is there is according to described file transfer command detection;
When there is the terminal established a communications link with described mobile terminal, in the terminal established a communications link with described mobile terminal, determine target terminal;
Send file transfer requests, described file transfer requests comprises the described file destination transmitted to described target terminal.
According to the 6th aspect of the present disclosure, a kind of file transfer means is provided, comprises:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive file transfer requests, described file transfer requests comprises file destination;
Resolve described file transfer requests and obtain described file destination;
Described file destination is stored to target terminal, and described target terminal is mobile terminal determined terminal in connected terminal.
According to the 7th aspect of the present disclosure, provide a kind of document transmission system, described system comprises: mobile terminal and target terminal,
Described mobile terminal comprises the file transfer means described in the third aspect;
Described target terminal comprises the file transfer means described in fourth aspect.
According to eighth aspect of the present disclosure, provide a kind of document transmission system, described system comprises: mobile terminal and target terminal,
Described mobile terminal comprises the file transfer means described in the 5th aspect;
Described target terminal comprises the file transfer means described in the 6th aspect.
The technical scheme provided of the present disclosure can comprise following beneficial effect:
The document transmission method that the disclosure provides, Apparatus and system, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present disclosure, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only embodiments more of the present disclosure, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the disclosure;
Fig. 2 is the method flow diagram of a kind of document transmission method according to an exemplary embodiment;
Fig. 3 is the method flow diagram of a kind of document transmission method according to another exemplary embodiment;
Fig. 4-1 is the method flow diagram of a kind of document transmission method Gen Ju an exemplary embodiment again;
Fig. 4-2 is the method flow diagrams of a kind of mobile terminal determination file destination that Fig. 4-1 illustrated embodiment provides;
Fig. 4-3 is the surface charts of a kind of file manager that Fig. 4-1 illustrated embodiment provides;
Fig. 4-4 is the transport interface figure of a kind of mobile terminal that Fig. 4-1 illustrated embodiment provides;
Fig. 4-5 is the surface charts of a kind of user's trigger file selection instruction that Fig. 4-1 illustrated embodiment provides;
Fig. 4-6 is that a kind of mobile terminal of providing of Fig. 4-1 illustrated embodiment is using the method flow diagram of the file selected by file selection instruction as file destination;
Fig. 4-7 is that a kind of mobile terminal of providing of Fig. 4-1 illustrated embodiment is using the surface chart of the file selected by file selection instruction as file destination;
Fig. 4-8 is method flow diagrams that a kind of mobile terminal that Fig. 4-1 illustrated embodiment provides receives for the file transfer instruction of file destination;
The method flow diagram of Fig. 4-9 to be a kind of mobile terminals of providing of Fig. 4-1 illustrated embodiment determine in the terminal established a communications link with mobile terminal target terminal;
Fig. 4-10 is that the terminal of a kind of mobile terminal display that Fig. 4-1 illustrated embodiment provides selects surface chart;
Fig. 4-11 is the method flow diagrams of a kind of target terminal storage file destination that Fig. 4-1 illustrated embodiment provides;
Fig. 4-12 is schematic diagrames of the prompting frame of a kind of target terminal display that Fig. 4-1 illustrated embodiment provides;
Fig. 4-13 is the surface charts of a kind of user's Offered target position that Fig. 4-1 illustrated embodiment provides;
Fig. 4-14 is surface charts that the mobile terminal that provides of Fig. 4-1 illustrated embodiment carries out according to transmission information pointing out;
Fig. 5 is the block diagram of a kind of file transfer means according to an exemplary embodiment;
Fig. 6-1 is the block diagram of a kind of file transfer means according to another exemplary embodiment;
Fig. 6-2 is block diagrams of a kind of first determination module shown in Fig. 6-1 illustrated embodiment;
Fig. 7 is the block diagram of a kind of file transfer means Gen Ju an exemplary embodiment again;
Fig. 8 is the block diagram of a kind of file transfer means according to another exemplary embodiment;
Fig. 9 is the block diagram of a kind of file transfer means according to an exemplary embodiment;
Figure 10 is the block diagram of a kind of file transfer means according to another exemplary embodiment;
Figure 11 is the block diagram of a kind of document transmission system according to an exemplary embodiment.
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Embodiment
In order to make object of the present disclosure, technical scheme and advantage clearly, be described in further detail the disclosure below in conjunction with accompanying drawing, obviously, described embodiment is only a part of embodiment of the disclosure, instead of whole embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making other embodiments all obtained under creative work prerequisite, all belong to the scope of disclosure protection.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the disclosure.See Fig. 1, this implementation environment comprises: mobile terminal 120 and target terminal 140.Wherein, mobile terminal 120 can be smart mobile phone, panel computer, digital camera, dynamic image expert compression standard audio frequency aspect 4 (English: MovingPictureExpertsGroupAudioLayerIV; Be called for short: MP4) player, dynamic image expert compression standard audio frequency aspect 3 (English: MovingPictureExpertsGroupAudioLayerIII; Be called for short: MP3) player etc., target terminal 140 can be identical with mobile terminal 120, also can be different, disclosure embodiment does not limit this, as shown in Figure 1, disclosure embodiment is different from target terminal 140 with mobile terminal 120, and with mobile terminal 120 for smart mobile phone, is described for desktop computer for target terminal 140.Wherein, mobile terminal 120 can be connected by cable network with target terminal 140, and such as, USB is (English: UniversalSerialBus for this cable network; Be called for short: USB).It should be noted that, when target terminal 140 is mobile terminal (such as mobile phone), mobile terminal 120 can also be connected by wireless network with target terminal 140, and this wireless network can include but not limited to: Wireless Fidelity is (English: WirelessFidelity; Be called for short: WIFI), bluetooth, (English: Zigbee), data, disclosure embodiment does not limit this infrared, purple honeybee.
Mobile terminal 120 can receive the file transfer instruction for file destination, whether there is the terminal established a communications link with mobile terminal 120 according to file transfer command detection; When there is the terminal established a communications link with mobile terminal 120, mobile terminal 120 determines target terminal in the terminal established a communications link with mobile terminal 120, this target terminal can be the target terminal 140 shown in Fig. 1, then mobile terminal 120 sends file transfer requests to target terminal 140, and this file transfer requests comprises the file destination that mobile terminal 120 transmits to target terminal 140.Target terminal 140 can mobile terminal receive 120 send file transfer requests, resolve this file transfer requests and obtain file destination, and then file destination is stored to target terminal 140.Wherein, target terminal 140 first can show storage information to point out user, when receiving user and operating triggered confirmation storage instruction to storage information, file destination is stored to the target location of target terminal 140 by target terminal 140.After target terminal 140 stores file destination, can according to file transfer result spanned file transmission response, then target terminal 140 sends file transfer response to mobile terminal 120, wherein, this file transmission response comprises the transmission state of file destination, and this transmission state comprises: success status or status of fail.Mobile terminal 120 can generate transmission information according to the transmission state in this file transmission response, and then points out according to transmission information.Wherein, in the disclosed embodiments, can also comprise in file transfer requests: the fileinfo of file destination, fileinfo comprises: at least one in the physical address that storage directory on mobile terminal 120 of filename, file size, file destination and file destination store on mobile terminal 120.
In the disclosed embodiments, the file transfer instruction that mobile terminal 120 receives for file destination can comprise: the default file that mobile terminal 120 receives for file destination transmits gesture (such as, upper skating gesture), according to default file transmission gesture spanned file transfer instruction.Wherein, before mobile terminal 120 receives the file transfer instruction for file destination, file destination can be determined in file first in mobile terminal 120, illustratively, mobile terminal 120 is provided with file transfer pattern, this file transmission mode is used for carrying out file transfer between mobile terminal 120 and other-end, mobile terminal 120 can receive the file transfer pattern open command that user triggers, according to file transfer pattern open command display transport interface, the mark of the file in mobile terminal is shown in this transport interface, then mobile terminal 120 receives and operates triggered file selection instruction to the mark of the file in mobile terminal 120, and then mobile terminal 120 using the file selected by file selection instruction as file destination.
In the disclosed embodiments, file destination can be at least one, therefore, mobile terminal 120 receives and operates triggered file selection instruction to the mark of the file in mobile terminal 120 and can comprise: mobile terminal 120 receives and operates the first triggered file selection instruction to the mark of the file in mobile terminal 120; File selected by file selection instruction can comprise as file destination by mobile terminal 120: whether mobile terminal 120 judges to receive in preset time period and operate the second triggered file selection instruction to the mark of the file in mobile terminal 120, and the file selected by the second file selection instruction is different from the file selected by the first file selection instruction; When receiving the second file selection instruction in preset time period, mobile terminal 120 using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination; When not receiving the second file selection instruction in preset time period, mobile terminal 120 using the file selected by the first file selection instruction as file destination.Alternatively, also ACK button is shown in transport interface, therefore, file selected by file selection instruction can also comprise as file destination by mobile terminal 120: when mobile terminal 120 receive triggered confirmation instruction is operated to ACK button time, mobile terminal 120 using the file selected by file selection instruction as file destination.
Alternatively, in the disclosed embodiments, when the terminal established a communications link with mobile terminal 120 is one, mobile terminal 120 can using the terminal that establishes a communications link with mobile terminal 120 as target terminal; When the terminal established a communications link with mobile terminal 120 is at least two, the terminal that mobile terminal 120 can establish a communications link according to preset rules pair and mobile terminal 120 is screened, and obtain target terminal 140, disclosure embodiment does not limit this.
Fig. 2 is the method flow diagram of a kind of document transmission method according to an exemplary embodiment, the present embodiment is applied to this document transmission method in the mobile terminal 120 in implementation environment shown in Fig. 1 and is illustrated, see Fig. 2, this document transmission method can comprise following several step:
In step 201, the file transfer instruction for file destination is received.
In step 202., the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection.
In step 203, when there is the terminal established a communications link with mobile terminal, in the terminal established a communications link with mobile terminal, determine target terminal.
In step 204, send file transfer requests, file transfer requests comprises the file destination to target terminal transmission.
In sum, the document transmission method that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Alternatively, step 201 can comprise:
Receive the default file transmission gesture for file destination;
According to default file transmission gesture spanned file transfer instruction.
The document transmission method that disclosure embodiment provides, mobile terminal is by receiving the default file transmission gesture for file destination, according to default file transmission gesture spanned file transfer instruction, and carry out file transfer, the transmission that gesture just can realize file is transmitted owing to only needing the default file of user, therefore, the beneficial effect of fast transport file is reached.
Alternatively, before step 201, this document transmission method can also comprise:
Receive file transfer pattern open command;
According to file transfer pattern open command display transport interface, in transport interface, show the mark of the file in mobile terminal;
Receive and triggered file selection instruction is operated to the mark of the file in mobile terminal;
Using the file selected by file selection instruction as file destination.
The document transmission method that disclosure embodiment provides, mobile terminal is by receiving file transfer pattern open command, according to file transfer pattern open command display transport interface, and in transport interface, receive file selection instruction, and then according to file selection instruction determination file destination, reach the beneficial effect determining file destination.
Alternatively, file destination is at least one, receives and operates triggered file selection instruction to the mark of the file in mobile terminal, comprising:
Receive and the first triggered file selection instruction is operated to the mark of the file in mobile terminal;
Using the file selected by file selection instruction as file destination, comprising:
Whether judge to receive in preset time period and operate the second triggered file selection instruction to the mark of the file in mobile terminal, the file selected by the second file selection instruction is different from the file selected by the first file selection instruction;
When receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination;
When not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination.
The document transmission method that disclosure embodiment provides, mobile terminal is by reception first file selection instruction, judge in preset time period, whether receive the second file selection instruction, when receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination, when not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination, by arranging preset time period, mobile terminal judges whether user's select File terminates, reach the beneficial effect that intelligence determines file destination.
Alternatively, in transport interface, also show ACK button, using the file selected by file selection instruction as file destination, comprising:
When receive triggered confirmation instruction is operated to ACK button time, using the file selected by file selection instruction as file destination.
The document transmission method that disclosure embodiment provides, when mobile terminal receive triggered confirmation instruction is operated to ACK button time, file selected by file selection instruction as file destination, is reached the beneficial effect determining file destination according to the operation of user by mobile terminal.
Alternatively, after step 204, this document transmission method can also comprise:
Reception file transfer responds, and file transfer response comprises the transmission state of file destination, and transmission state comprises: success status or status of fail;
Transmission information is generated according to transmission state;
Point out according to transmission information.
The document transmission method that disclosure embodiment provides, mobile terminal is by receiving file transfer response, generate transmission information according to the transmission state in file transfer response, and point out according to transmission information, reach the beneficial effect of the transmission state of pointing out file destination to user.
Alternatively, step 203 can comprise:
When the terminal established a communications link with mobile terminal is one, using the terminal that establishes a communications link with mobile terminal as target terminal;
When the terminal established a communications link with mobile terminal is at least two, the terminal established a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal.
The document transmission method that disclosure embodiment provides, when the terminal established a communications link with mobile terminal is one, mobile terminal using the terminal that establishes a communications link with mobile terminal as target terminal, when the terminal established a communications link with mobile terminal is at least two, the terminal that mobile terminal establishes a communications link according to preset rules pair and mobile terminal is screened, obtain target terminal, reach the beneficial effect determining target terminal.
Alternatively, the terminal established a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal, comprising:
Using any one terminal in the terminal that establishes a communications link with mobile terminal as target terminal; Or,
Using from the terminal different with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal; Or,
Using with the terminal identical with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal; Or,
Using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal; Or,
Display terminal select interface, using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal.
The document transmission method that disclosure embodiment provides, mobile terminal by any one terminal in the terminal that will establish a communications link with mobile terminal as target terminal, or, using the terminal different from the type of mobile terminal as target terminal, or, using the terminal identical with the type of mobile terminal as target terminal, or, using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal; Or, display terminal select interface, using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal, enrich the mode of mobile terminal determination target terminal.And when mobile terminal using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal time, disclosure embodiment can realize the effect mass-sending file.
Alternatively, file transfer requests also comprises: the fileinfo of file destination, and fileinfo comprises: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.
The document transmission method that disclosure embodiment provides, file transfer requests can also comprise the fileinfo of file destination, reaches and is convenient to the effect that target terminal knows the fileinfo of file destination.
In sum, the document transmission method that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Fig. 3 is the method flow diagram of a kind of document transmission method according to another exemplary embodiment, the present embodiment is applied to this document transmission method in the target terminal 140 in implementation environment shown in Fig. 1 and is illustrated, see Fig. 3, this document transmission method can comprise following several step:
In step 301, receive file transfer requests, file transfer requests comprises file destination.
In step 302, resolution file transmission request obtains file destination.
In step 303, file destination is stored to target terminal, target terminal is mobile terminal determined terminal in the terminal established a communications link with it.
In sum, the document transmission method that disclosure embodiment provides, target terminal is by receiving file transfer requests, file transfer requests comprises file destination, resolution file transmission request obtains file destination, file destination is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.Because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Alternatively, after step 303, this document transmission method can also comprise:
According to file transfer result spanned file transmission response, file transfer response comprises the transmission state of file destination, and transmission state comprises: success status or status of fail;
Transmission file transfer responds.
The document transmission method that disclosure embodiment provides, target terminal passes through according to file transfer result spanned file transmission response and sends file transfer response, because file transfer response comprises, the transmission state of file destination, therefore, the beneficial effect of the transmission state of informing mobile terminal file destination is reached.
Alternatively, step 303 can comprise:
Display stores information;
When receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal.
The document transmission method that disclosure embodiment provides, target terminal stores information by display, when receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal, owing to being store file destination according to the confirmation of user, therefore, target terminal can be avoided by assault.
Alternatively, file transfer requests also comprises: the fileinfo of file destination, and fileinfo comprises: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.
The document transmission method that disclosure embodiment provides, file transfer requests can also comprise the fileinfo of file destination, reaches and is convenient to the effect that target terminal knows the fileinfo of file destination.
In sum, the document transmission method that disclosure embodiment provides, target terminal is by receiving file transfer requests, file transfer requests comprises file destination, resolution file transmission request obtains file destination, file destination is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.Because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Fig. 4-1 is the method flow diagram of a kind of document transmission method Gen Ju an exemplary embodiment again, the present embodiment is applied in implementation environment shown in Fig. 1 with this document transmission method and is illustrated, see Fig. 4-1, this document transmission method can comprise following several step:
In step 401, mobile terminal determination file destination.
In the disclosed embodiments, mobile terminal, before carrying out file transfer, first can determine file destination, and this file destination can be the file that mobile terminal stores, and mobile terminal can determine file destination according to the operation of user.
Illustratively, please refer to Fig. 4-2, shown in it is the method flow diagram of a kind of mobile terminal determination file destination that Fig. 4-1 illustrated embodiment provides.See Fig. 4-2, the method flow process can comprise following several step:
In sub-step 4011, mobile terminal receives file transfer pattern open command.
Wherein, file transfer pattern is used for carrying out file transfer between mobile terminal and other-end.In the disclosed embodiments, mobile terminal can arrange file manager, can arrange file transfer pattern in this file manager.Illustratively, please refer to Fig. 4-3, shown in it is the surface chart of a kind of file manager that Fig. 4-1 illustrated embodiment provides, see Fig. 4-3, file management interface 420 is shown in the surface chart of this file manager, this file management interface comprises: sequence, new folder, display hidden file, refreshing, search and file transfer pattern, also shows X button 421 in this file management interface 420, and user can by clicking this X button 421 close file manager.Wherein, file transfer pattern in this Fig. 4-3 is for carrying out file transfer between mobile terminal and other-end, user can click this file transmission mode trigger file transmission mode open command, and mobile terminal can receive the file transfer pattern open command that user triggers.
It should be noted that, the description about sequence in Fig. 4-3, new folder, display hidden file, refreshing, search can with reference to correlation technique, and disclosure embodiment repeats no more again.
In step 4012, mobile terminal, according to file transfer pattern open command display transport interface, shows the mark of the file in mobile terminal in transport interface.
After mobile terminal receives the file transfer pattern open command of user's triggering, can according to this file transmission mode open command file opening transmission mode, and show transport interface, wherein, the mark of the file in mobile terminal is shown in this transport interface, wherein, file in this mobile terminal can comprise file or file, and this file can be document, also can be picture, disclosure embodiment limit this.
Illustratively, please refer to Fig. 4-4, shown in it is the transport interface figure of a kind of mobile terminal that Fig. 4-1 illustrated embodiment provides, see Fig. 4-4, transport interface 430 is shown in this transport interface figure, the mark of the file in mobile terminal is shown in this transport interface 430, illustratively, the mark of the file in mobile terminal and the mark of file is shown in this transport interface 430, wherein, the mark of file comprises: " DCIM photograph album ", " autohome ", " xiaomi " and " Movies ", the mark of file comprises: " document 1 " and " picture 1 ", folder identifier " DCIM photograph album " indicates file DCIM photograph album, folder identifier " autohome " indicates file autohome, folder identifier " xiaomi " indicates file xiaomi, folder identifier " Movies " indicates file Movies, file identification " document 1 " instruction file document 1, file identification " picture 1 " instruction file, picture 1.The mark one_to_one corresponding choice box 431 with the mark of each file and file is also shown in this transport interface 430, and when the file in mobile terminal is file, also show in transport interface 430 and launch button 432 one to one with each folder identifier, user can trigger file selection instruction to the file corresponding with this choice box 431 by this choice box 431, the mark of the file in the file that user can be indicated by click this expansion button 432 triggering mobile terminals display folder identifier corresponding with this expansion button 432, disclosure embodiment does not repeat them here.See Fig. 4-4, in this transport interface 430, also show ACK button and cancel button.
In step 4013, mobile terminal receives and operates triggered file selection instruction to the mark of the file in mobile terminal.
After mobile terminal shows civilian transport interface, user can carry out operation trigger file selection instruction to the mark of the file in this transport interface, and mobile terminal can receive this file selection instruction.
Illustratively, please refer to Fig. 4-5, shown in it is the surface chart of a kind of user's trigger file selection instruction that Fig. 4-1 illustrated embodiment provides.See Fig. 4-5, the surface chart of this trigger file selection instruction that is to say the transport interface figure shown in Fig. 4-4, that is to say, user can in transport interface 430 trigger file selection instruction.In the disclosed embodiments, user can carry out operating the first file selection instruction triggered the first file that the mark of the first file indicates to the mark of the first file in mobile terminal, mobile terminal can receive this first file selection instruction, user can also carry out operating the second file selection instruction triggered the second file that the mark of the second file indicates to the mark of the second file in mobile terminal, mobile terminal can receive this second file selection instruction, wherein, this first file can be the arbitrary file in mobile terminal, this second file is different from the first file, illustratively, as illustrated in figures 4-5, the file DCIM photograph album that this first file can indicate for the folder identifier " DCIM photograph album " shown in Fig. 4-5, the file autohome that this second file can indicate for the folder identifier " autohome " shown in Fig. 4-5, disclosure embodiment does not limit this.
In step 4014, mobile terminal using the file selected by file selection instruction as file destination.
After mobile terminal receives file selection instruction, can using the file selected by this file selection instruction as file destination.
Illustratively, please refer to Fig. 4-6, shown in it be a kind of mobile terminal of providing of Fig. 4-1 illustrated embodiment using the method flow diagram of the file selected by file selection instruction as file destination, see Fig. 4-6, the method flow process can comprise:
In sub-step 40141, mobile terminal receives and operates the first triggered file selection instruction to the mark of the file in mobile terminal.
Such as, mobile terminal receives user and operates triggered the first file selection instruction to file DCIM photograph album to folder identifier " DCIM photograph album ".
In sub-step 40142, whether mobile terminal judges to receive in preset time period and operates the second triggered file selection instruction to the mark of the file in mobile terminal, and the file selected by the second file selection instruction is different from the file selected by the first file selection instruction.
Wherein, preset time period can be arranged according to actual needs, and disclosure embodiment does not limit this.Mobile terminal receives the first file selection instruction, can judge in preset time period, whether receive the second file selection instruction, and this file selected by the second file selection instruction is different from the file selected by the first file selection instruction.Illustratively, mobile terminal judges that in preset time period, whether receive user operates the second triggered file selection instruction to folder identifier " autohome ".
It should be noted that, in the disclosed embodiments, first file selection instruction might not be the file selection instruction received for the first time after mobile terminal file opening transmission mode, second file selection instruction also might not be the file selection instruction that after mobile terminal file opening transmission mode, second time receives, in the disclosed embodiments, first file selection instruction and the second file selection instruction are only used for representing the file of user is selected whether to terminate, and disclosure embodiment does not limit this.
In sub-step 40143, when receiving the second file selection instruction in preset time period, mobile terminal using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination.
When in sub-step 40142, when mobile terminal is determined to receive the second file selection instruction in preset time period, mobile terminal using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination, illustratively, mobile terminal is using file DCIM photograph album and file autohome all as file destination, and disclosure embodiment does not limit this.
In sub-step 40144, when not receiving the second file selection instruction in preset time period, mobile terminal using the file selected by the first file selection instruction as file destination.
When in sub-step 40142, when mobile terminal is determined not receive the second file selection instruction in preset time period, mobile terminal using the file selected by the first file selection instruction as file destination, illustratively, mobile terminal is using file DCIM photograph album as file destination, and disclosure embodiment does not limit this.
The document transmission method that disclosure embodiment provides, mobile terminal is by reception first file selection instruction, judge in preset time period, whether receive the second file selection instruction, when receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination, when not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination, by arranging preset time period, mobile terminal judges whether user's select File terminates, reach the beneficial effect that intelligence determines file destination.
It should be noted that, whether this Fig. 4-6 terminates to be described according to the selection of preset time period intelligent decision user for mobile terminal, and in practical application, mobile terminal can also determine file destination according to the operation of user.Illustratively, please refer to Fig. 4-7, shown in it is that a kind of mobile terminal of providing of Fig. 4-1 illustrated embodiment is using the surface chart of the file selected by file selection instruction as file destination.See Fig. 4-7, the ACK button that user can click display in this Fig. 4-7 triggers confirmation instruction, and mobile terminal can receive the confirmation instruction that user triggers, and then using the file selected by file selection instruction as file destination.Known see Fig. 4-7, file destination can comprise: file DCIM photograph album, file autohome and file, picture 1, it should be noted that, user can also click cancel button and cancel current operation, and disclosure embodiment does not limit this.
The document transmission method that disclosure embodiment provides, when mobile terminal receive triggered confirmation instruction is operated to ACK button time, file selected by file selection instruction as file destination, is reached the beneficial effect determining file destination according to the operation of user by mobile terminal.
The document transmission method that disclosure embodiment provides, mobile terminal is by receiving file transfer pattern open command, according to file transfer pattern open command display transport interface, and in transport interface, receive file selection instruction, and then according to file selection instruction determination file destination, reach the beneficial effect determining file destination.
In step 402, mobile terminal receives the file transfer instruction for file destination.
After mobile terminal determination file destination, user can trigger the file transfer instruction for this file destination, and mobile terminal can receive this file transfer instruction.Illustratively, please refer to Fig. 4-8, shown in it is the method flow diagram that a kind of mobile terminal that Fig. 4-1 illustrated embodiment provides receives for the file transfer instruction of file destination.See Fig. 4-8, the method flow process can comprise:
In sub-step 4021, mobile terminal receives the default file transmission gesture for file destination.
Wherein, default file transmission gesture can be the slide relative to mobile terminal screen, such as, default file transmission gesture can be upper cunning, downslide, left cunning, right cunning, according to preset pattern slip (such as, mobile terminal screen draws " Z " figure etc.) etc., disclosure embodiment does not limit this.
User can operate according to default file transmission gesture on mobile terminal screen, and mobile terminal can receive this default file transmission gesture.
In sub-step 4022, mobile terminal is according to default file transmission gesture spanned file transfer instruction.
Mobile terminal can transmit gesture spanned file transfer instruction according to default file after receiving default file transmission gesture.It should be noted that, disclosure embodiment is described according to default file transmission gesture spanned file transfer instruction for mobile terminal, in practical application, user can also by presetting sound bite triggering mobile terminals spanned file transfer instruction, illustratively, this default sound bite can be " transfer files " etc., and disclosure embodiment does not repeat them here.
The document transmission method that disclosure embodiment provides, mobile terminal is by receiving the default file transmission gesture for file destination, according to default file transmission gesture spanned file transfer instruction, follow-uply carry out file transfer, the transmission that gesture just can realize file is transmitted owing to only needing the default file of user, therefore, the beneficial effect of fast transport file is reached.
In step 403, whether mobile terminal exists the terminal established a communications link with mobile terminal according to file transfer command detection.
After mobile terminal spanned file transfer instruction, whether can there is according to file transfer command detection the terminal established a communications link with mobile terminal.In the disclosed embodiments, mobile terminal, when establishing a communications link with other-end, can store the mark of other-end, therefore, mobile terminal can detect the mark whether self stores other-end, detects the terminal whether existing and establish a communications link with mobile terminal.
In step 404, when there is the terminal established a communications link with mobile terminal, mobile terminal determines target terminal in the terminal established a communications link with mobile terminal.
When in step 403, when mobile terminal determines to there is the terminal established a communications link with mobile terminal, mobile terminal can determine target terminal in the terminal established a communications link with mobile terminal.Illustratively, please refer to Fig. 4-9, the method flow diagram of to be a kind of mobile terminal of providing of Fig. 4-1 illustrated embodiment determine in the terminal established a communications link with the mobile terminal target terminal shown in it.See Fig. 4-9, the method flow process can comprise:
In sub-step 4041, when the terminal established a communications link with mobile terminal is one, mobile terminal using the terminal that establishes a communications link with mobile terminal as target terminal.
In the disclosed embodiments, the terminal established a communications link with mobile terminal can be one, also can be at least two, when in step 403, when mobile terminal detects that the terminal established a communications link with mobile terminal is one, mobile terminal using the terminal that establishes a communications link with mobile terminal as target terminal.
In sub-step 4042, when the terminal established a communications link with mobile terminal is at least two, the terminal that mobile terminal establishes a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal.
When in step 403, when mobile terminal detects that the terminal that establishes a communications link with mobile terminal is at least two, the terminal that mobile terminal can establish a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal.
Illustratively, in the disclosed embodiments, mobile terminal can according to can the terminal that establishes a communications link of any one mode below in five kinds of modes pair and mobile terminal screen.
First kind of way: mobile terminal using any one terminal in the terminal that establishes a communications link with mobile terminal as target terminal.
Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, then mobile terminal can using any one terminal in the computer of mobile phone 1, family and mobile phone 2 as target terminal.Illustratively, mobile terminal can using the computer of family as target terminal.
The second way: mobile terminal using from the terminal different with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal.
Mobile terminal can obtain the type of each terminal in the terminal established a communications link with mobile terminal, then using the terminal different from the type of mobile terminal as target terminal.Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, mobile terminal can obtain the type of each terminal in these 3 terminals, and illustratively, the type of mobile phone 1 and mobile phone 2 can be mobile type, the type of the computer of family can be fixed type, the type of mobile terminal can be mobile type, and therefore, mobile terminal can using the computer of family as target terminal.
The third mode: mobile terminal using with the terminal identical with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal.
Mobile terminal can obtain the type of each terminal in the terminal established a communications link with mobile terminal, then using the terminal identical with the type of mobile terminal as target terminal.Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, mobile terminal can obtain the type of each terminal in these 3 terminals, and illustratively, the type of mobile phone 1 and mobile phone 2 can be mobile type, the type of the computer of family can be fixed type, the type of mobile terminal can be mobile type, and therefore, mobile terminal can using mobile phone 1 and mobile phone 2 all as target terminal.
4th kind of mode: mobile terminal using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal.
Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, then mobile terminal can using the computer of mobile phone 1, family and mobile phone 2 all as target terminal.
5th kind of mode: mobile terminal display terminal select interface, using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal.
When mobile terminal detects the terminal established a communications link with mobile terminal at least two, mobile terminal can select interface by display terminal, this terminal selects the mark that can show all terminals established a communications link with mobile terminal in interface, user can by carrying out operation triggering terminal selection instruction to the mark of any terminal, and mobile terminal can using the terminal indicated by this terminal selection instruction as target terminal.
Illustratively, please refer to Fig. 4-10, shown in it is that a kind of terminal that Fig. 4-1 illustrated embodiment provides selects surface chart, see Fig. 4-10, this terminal is selected to show terminal in surface chart and is selected interface 440, this terminal selects the mark showing all terminals established a communications link with mobile terminal in interface 440, known see Fig. 4-10, the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, wherein, mobile phone 1 be designated ID-A1, the computer of family be designated ID-B, mobile phone 2 be designated ID-A2, user can click the mark of any terminal in the mark of this 3 terminal, trigger the terminal selection instruction to this any terminal, mobile terminal using this any terminal as target terminal.Illustratively, as shown in figs. 4 through 10, user can click the mark ID-B of the computer of family, triggers the selection instruction of the computer to family, mobile terminal using the computer of family as target terminal.
The document transmission method that disclosure embodiment provides, when the terminal established a communications link with mobile terminal is one, mobile terminal using the terminal that establishes a communications link with mobile terminal as target terminal, when the terminal established a communications link with mobile terminal is at least two, the terminal that mobile terminal establishes a communications link according to preset rules pair and mobile terminal is screened, obtain target terminal, reach the beneficial effect determining target terminal.
In step 405, mobile terminal sends file transfer requests, and file transfer requests comprises the file destination to target terminal transmission.
After mobile terminal determination target terminal, can send file transfer requests to target terminal, this file transfer requests comprises file destination.Wherein, this file destination can be file, also can be file, this file transfer requests can also comprise: the fileinfo of file destination, when this file destination is file, this fileinfo can comprise: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.When this file destination is file, this fileinfo can also comprise: each file in the bibliographic structure of file, file and the fileinfo of each file.Wherein, file destination storage directory on mobile terminals can be: E: xxx aaa 12311, and the name that expression file destination is stored under the E dish of mobile terminal is called that the name under the file of " xxx " is called that the name under the file of " aaa " is called in the file of " 12311 "; The physical address that file destination stores on mobile terminals is the hard disk address that file destination stores on mobile terminals, the bibliographic structure of file is the file that file and file comprise, illustratively, the bibliographic structure of file can be: AAA-ccc-11011, represent that name is called the file that the file of " AAA " comprises name and is called " ccc ", the file that name is called " ccc " comprises the file that name is called " 11011 ".
In the disclosed embodiments, mobile terminal can be asked in first spanned file transmission, and then sends file transfer requests to target terminal.Illustratively, mobile terminal generates and comprises file destination: file DCIM photograph album and file autohome, and the relevant information of file DCIM photograph album, the relevant information of file autohome file transfer requests, then send this file transfer requests to target terminal.
In a step 406, target terminal receives file transfer requests.
When mobile terminal sends file transfer requests to target terminal, target terminal can receive this file transfer requests.Illustratively, target terminal receive comprise file destination: file DCIM photograph album and file autohome, and the relevant information of file DCIM photograph album, the relevant information of file autohome file transfer requests.
In step 407, target terminal resolution file transmission request obtains file destination.
After target terminal receives file transfer requests, this file transfer requests can be resolved and obtain file destination.Because file transfer requests can also comprise the fileinfo of file destination, therefore, target terminal resolution file transmission request can also obtain the fileinfo of file destination, illustratively, target terminal is resolved and is comprised file destination: file DCIM photograph album and file autohome, and the relevant information of file DCIM photograph album, the relevant information of file autohome file transfer requests, obtain file destination: file DCIM photograph album and file autohome, and the relevant information of file DCIM photograph album, the relevant information of file autohome.
In a step 408, file destination is stored to target terminal by target terminal.
After target terminal obtains file destination, file destination can be stored to target terminal.Illustratively, please refer to Fig. 4-11, shown in it is a kind of method flow diagram file destination being stored to target terminal that Fig. 4-1 illustrated embodiment provides, and see Fig. 4-11, the method flow process can comprise:
In sub-step 4081, target terminal display stores information.
Target terminal can generate storage information, then shows and stores information, so that point out user.Illustratively, storing information can be: " receive two files, store? ", target terminal can display reminding frame, can show this storage information, and can also show ACK button and cancel button in prompting frame in prompting frame.Illustratively, please refer to Fig. 4-12, shown in it is the schematic diagram of the prompting frame of a kind of target terminal display that Fig. 4-1 illustrated embodiment provides, see Fig. 4-12, show storage information in this prompting frame and " receive two files, store? ", ACK button and cancel button.
It should be noted that; disclosure embodiment stores information for target terminal display and is described; in practical application; target terminal can also adopt the form of voice to report and store information; and in the disclosed embodiments, store information and " receive two files, store? " only exemplary; can not in order to limit the disclosure, any storage information can pointed out user is all the claimed storage information of the disclosure.
In sub-step 4082, when receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal by target terminal.
Wherein, target location can be the memory location of target terminal acquiescence, and also can be the memory location that user is arranged on a target terminal, user can modify to this target location.
Illustratively, please refer to Fig. 4-13, shown in it is the surface chart of a kind of user's Offered target position that Fig. 4-1 illustrated embodiment provides, wherein, this target location can be the download directory shown in Fig. 4-13, illustratively, this target location can be: D: xiaomi MiPhone Manager Download, also comprise in this surface chart: backup directory and upload catalogue, file can proceed in this backup directory by target terminal, from uploading transfer files etc. catalogue, disclosure embodiment does not limit this.See Fig. 4-13, also show with download directory, backup directory and upload catalogue and open button one to one and revise button in this surface chart, user can open button and opens corresponding catalogue by clicking, and clicks the catalogue that the amendment of amendment button is corresponding.
Illustratively, in the disclosed embodiments, when user clicks the ACK button shown in Fig. 4-12, file destination can be stored in the download directory shown in Fig. 4-13 by target terminal, and disclosure embodiment does not repeat them here.Certainly, user also can click the cancel button shown in Fig. 4-12, and now, target terminal does not store file destination.
The document transmission method that disclosure embodiment provides, target terminal stores information by display, when receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal, owing to being store file destination according to the confirmation of user, therefore, target terminal can be avoided by assault.
In step 409, target terminal is according to file transfer result spanned file transmission response, and file transfer response comprises the transmission state of file destination, and transmission state comprises: success status or status of fail.
Target terminal can according to file transfer result spanned file transmission response, and this file transmission response can comprise the transmission state of file destination, and this transmission state comprises: success status or status of fail.Illustratively, when target terminal is resolved to file destination and stores successfully, this transmission state is success status, when target terminal is not resolved to file destination, or target terminal is to the storage failure of file destination, or when target terminal does not store file destination, this transmission state is status of fail, such as when user clicks the cancel button shown in Fig. 4-12, this transmission state is status of fail.
In step 410, target terminal sends file transfer response.
After target terminal spanned file transmission response, file transfer response can be sent to mobile terminal.
In step 411, mobile terminal receives file transfer response.
When target terminal sends file transfer response to mobile terminal, mobile terminal can receive this file transmission response.
In step 412, mobile terminal generates transmission information according to transmission state.
After mobile terminal receives this file transmission response, can generate transmission information, suppose that this transmission state is success status according to the transmission state in file transfer response, then this transmission information could for " congratulating you, file transfer success! ", wherein, this transmission information can be voice messaging or text message, and disclosure embodiment does not limit this.
In step 413, mobile terminal is pointed out according to transmission information.
After mobile terminal generates transmission information according to transmission state, can point out according to transmission information, be described to transmit information for text message, then mobile terminal can show this transmission information.Illustratively, please refer to Fig. 4-14, shown in it is the surface chart that the mobile terminal that provides of Fig. 4-1 illustrated embodiment carries out according to transmission information pointing out, see Fig. 4-14, prompting interface 450 is shown in this surface chart, show prompting frame in this prompting interface 450, this prompting frame comprises transmission information: " congratulate you, file transfer success! ", ACK button and cancel button, user can click ACK button and confirm this transmission information.
The document transmission method that disclosure embodiment provides, mobile terminal is by receiving file transfer response, generate transmission information according to the transmission state in file transfer response, and point out according to transmission information, reach the beneficial effect of the transmission state of pointing out file destination to user.
It should be noted that, the sequencing of the step of the document transmission method that disclosure embodiment provides can suitably adjust, and step also according to circumstances can carry out corresponding increase and decrease, example, and step 4041 and step 4042 can select an execution.Anyly be familiar with those skilled in the art in the technical scope that the disclosure discloses, the method changed can be expected easily, all should be encompassed within protection range of the present disclosure, therefore repeat no more.
In sum, the document transmission method that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 5 is the block diagram of a kind of file transfer means 500 according to an exemplary embodiment, this file transfer means 500 can realize becoming the some or all of of the mobile terminal 120 in implementation environment shown in Fig. 1 by software, hardware or both combinations, see Fig. 5, this file transfer means 500 can comprise:
First receiver module 501, is configured to receive the file transfer instruction for file destination.
Detection module 502, whether the file transfer command detection being configured to receive according to the first receiver module 501 exists the terminal established a communications link with mobile terminal.
First determination module 503, is configured to when detection module 502 detects the terminal existing and establish a communications link with mobile terminal, in the terminal established a communications link with mobile terminal that detection module 502 detects, determine target terminal.
Sending module 504, is configured to send file transfer requests, and file transfer requests comprises the file destination of the target terminal transmission determined to the first determination module 503.
In sum, the file transfer means that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Fig. 6-1 is the block diagram of a kind of file transfer means 500 according to another exemplary embodiment, this file transfer means 500 can realize becoming the some or all of of the mobile terminal 120 in implementation environment shown in Fig. 1 by software, hardware or both combinations, see Fig. 6-1, this file transfer means 500 can include but not limited to:
First receiver module 501, is configured to receive the file transfer instruction for file destination;
Detection module 502, whether the file transfer command detection being configured to receive according to the first receiver module 501 exists the terminal established a communications link with mobile terminal;
First determination module 503, is configured to when detection module 502 detects the terminal existing and establish a communications link with mobile terminal, in the terminal established a communications link with mobile terminal that detection module 502 detects, determine target terminal;
Sending module 504, is configured to send file transfer requests, and file transfer requests comprises the file destination of the target terminal transmission determined to the first determination module 503.
In the disclosed embodiments, user can trigger the file transfer instruction for file destination, first receiver module 501 can receive this file transfer instruction, and whether the file transfer command detection that detection module 502 can receive according to the first receiver module 501 exists the terminal established a communications link with mobile terminal.In the disclosed embodiments, mobile terminal, when establishing a communications link with other-end, can store the mark of other-end, therefore, detection module 502 can detect the mark whether mobile terminal stores other-end, detects the terminal whether existing and establish a communications link with mobile terminal.
When detection module 502 determines to there is the terminal established a communications link with mobile terminal, first determination module 503 can determine target terminal in the terminal established a communications link with mobile terminal, after first determination module 503 determines target terminal, sending module 504 can send file transfer requests to target terminal, and this file transfer requests comprises file destination.Wherein, mobile terminal can be asked in first spanned file transmission, and then is sent this file transfer requests by sending module 504.Illustratively, file destination can be file DCIM photograph album and file autohome, therefore, mobile terminal can generate and comprise file destination: the file transfer requests of file DCIM photograph album and file autohome, then sends this file transfer requests to target terminal.
Alternatively, the first receiver module 501, is configured to:
Receive the default file transmission gesture for file destination;
According to default file transmission gesture spanned file transfer instruction.
Wherein, default file transmission gesture can be the slide relative to mobile terminal screen, such as, default file transmission gesture can be upper cunning, downslide, left cunning, right cunning, according to preset pattern slip (such as, mobile terminal screen draws " Z " figure etc.) etc., disclosure embodiment does not limit this.
User can operate according to default file transmission gesture on mobile terminal screen, and the first receiver module 501 can receive this default file transmission gesture, and then according to this default file transmission gesture spanned file transfer instruction.It should be noted that, disclosure embodiment is described according to default file transmission gesture spanned file transfer instruction for the first receiver module 501, in practical application, user can also by presetting sound bite triggering mobile terminals spanned file transfer instruction, illustratively, this default sound bite can be " transfer files " etc., and disclosure embodiment does not repeat them here.
The file transfer means that disclosure embodiment provides, mobile terminal is by receiving the default file transmission gesture for file destination, according to default file transmission gesture spanned file transfer instruction, follow-uply carry out file transfer, the transmission that gesture just can realize file is transmitted owing to only needing the default file of user, therefore, the beneficial effect of fast transport file is reached.
Alternatively, please continue to refer to Fig. 6-1, this file transfer means 500 also comprises:
Second receiver module 505, is configured to receive file transfer pattern open command;
Display module 506, is configured to the file transfer pattern open command display transport interface received according to the second receiver module 505, shows the mark of the file in mobile terminal in transport interface;
3rd receiver module 507, is configured to the mark received the file in the mobile terminal of display module 506 display and operates triggered file selection instruction;
Second determination module 508, the file selected by file selection instruction being configured to the 3rd receiver module 507 to receive is as file destination.
Wherein, file transfer pattern is used for carrying out file transfer between mobile terminal and other-end.In the disclosed embodiments, mobile terminal can arrange file manager, can arrange file transfer pattern in this file manager.Mobile terminal can show this file transmission mode, and user can click this file transmission mode trigger file transmission mode open command, and the second receiver module 505 can receive the file transfer pattern open command that user triggers.
After second receiver module 505 receives the file transfer pattern open command of user's triggering, the file transfer pattern open command file opening transmission mode that display module 506 can receive according to this second receiver module 505, and show transport interface, wherein, can comprise the file in mobile terminal in this transport interface, the file in this mobile terminal can comprise file or file, and this file can be document, also can be picture, disclosure embodiment limit this.
After display module 506 shows civilian transport interface, user can carry out operation trigger file selection instruction to the file in this transport interface, and the 3rd receiver module 507 can receive this file selection instruction.After 3rd receiver module 507 receives file selection instruction, the file selected by file selection instruction that the 3rd receiver module 507 can receive by the second determination module 508 is as file destination.
Alternatively, the file destination that the second determination module 508 is determined is at least one,
3rd receiver module 507, is configured to:
Receive and the first triggered file selection instruction is operated to the mark of the file in the mobile terminal of display module display;
Second determination module 508, is configured to:
Judge that the mark whether received in preset time period the file in the mobile terminal of display module display operates the second triggered file selection instruction, the file selected by the second file selection instruction is different from the file selected by the first file selection instruction;
When receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination;
When not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination.
In the disclosed embodiments, the first file in the transport interface that user can show display module 506 carries out operation triggering first file selection instruction, 3rd receiver module 507 can receive this first file selection instruction, the second file in the transport interface that user can also show display module 506 carries out operation triggering second file selection instruction, 3rd receiver module 507 can receive this second file selection instruction, wherein, this first file can be the arbitrary file in the transport interface of display module 506 display, and this second file is different from the first file.
Wherein, preset time period can be arranged according to actual needs, and disclosure embodiment does not limit this.After 3rd receiver module 507 receives the first file selection instruction, second determination module 508 can judge in preset time period, whether receive the second file selection instruction, and this file selected by the second file selection instruction is different from the file selected by the first file selection instruction.
When the second determination module 508 is determined to receive the second file selection instruction in preset time period, second determination module 508 using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination, when the second determination module 508 is determined not receive the second file selection instruction in preset time period, the second determination module 508 using the file selected by the first file selection instruction as file destination.
It should be noted that, in the disclosed embodiments, first file selection instruction might not be the file selection instruction received for the first time after mobile terminal file opening transmission mode, second file selection instruction also might not be the file selection instruction that after mobile terminal file opening transmission mode, second time receives, in the disclosed embodiments, first file selection instruction and the second file selection instruction are only used for representing the file of user is selected whether to terminate, and disclosure embodiment does not limit this.
The file transfer means that disclosure embodiment provides, mobile terminal is by reception first file selection instruction, judge in preset time period, whether receive the second file selection instruction, when receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination, when not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination, by arranging preset time period, mobile terminal judges whether user's select File terminates, reach the beneficial effect that intelligence determines file destination.
Alternatively, the transport interface that display module 506 shows also shows ACK button, and the second determination module 508, is configured to:
When receive to display module display ACK button operate triggered confirmation instruction time, using the file selected by file selection instruction as file destination.
The transport interface that display module 506 shows can also comprise ACK button and cancel button, user's ACK button can clicked in the transport interface of this display module 506 display triggers and confirms instruction, second determination module 508 can receive the confirmation instruction that user triggers, and then using the file selected by this file selection instruction as file destination.It should be noted that, user can also click cancel button and cancel current operation, and disclosure embodiment does not limit this.
Alternatively, please continue to refer to Fig. 6-1, this file transfer means 500 also comprises:
4th receiver module 509, be configured to receive file transfer response, file transfer response comprises the transmission state of the file destination that the second determination module 508 is determined, transmission state comprises: success status or status of fail;
Generation module 510, the transmission state being configured to receive according to the 4th receiver module 509 generates transmission information;
Reminding module 511, the transmission information being configured to generate according to generation module 510 is pointed out.
4th receiver module 509 can receiving target terminal send file transfer response.This file transmission response can comprise the transmission state of file destination, and this transmission state comprises: success status or status of fail.Illustratively, when target terminal is resolved to file destination and stores successfully, this transmission state is success status, when target terminal is not resolved to file destination, or target terminal is to the storage failure of file destination, or when target terminal does not store file destination, this transmission state is status of fail.
Generation module 510 could generate transmission information according to the transmission state in file transfer response, suppose that this transmission state is success status, then this transmission information can for " congratulating you, file transfer success! ", wherein, this transmission information can be voice messaging or text message, and disclosure embodiment does not limit this.
After generation module 510 generates transmission information, reminding module 511 can be pointed out according to transmission information, and be described to transmit information for text message, then reminding module 511 can show this transmission information.Illustratively, reminding module 511 could display reminding interface, and show prompting frame in this prompting interface, this prompting frame comprises transmission information: " congratulate you, file transfer success! ", ACK button and cancel button, user can click ACK button and confirm this transmission information.
The file transfer means that disclosure embodiment provides, mobile terminal is by receiving file transfer response, generate transmission information according to the transmission state in file transfer response, and point out according to transmission information, reach the beneficial effect of the transmission state of pointing out file destination to user.
Alternatively, please refer to Fig. 6-2, shown in it is the block diagram of a kind of first determination module 503 that Fig. 6-1 illustrated embodiment provides, and see Fig. 6-2, this first determination module 503 can comprise:
First determines submodule 5031, is configured to when detection module 502 detects that the terminal established a communications link with mobile terminal is one, and the terminal established a communications link with mobile terminal detected by detection module 502 is as target terminal;
Second determines submodule 5032, be configured to when detection module 502 detects the terminal established a communications link with mobile terminal at least two, that detect detection module 502 according to preset rules and that mobile terminal establishes a communications link terminal is screened, and obtains target terminal.
In the disclosed embodiments, the terminal established a communications link with mobile terminal can be one, also can be at least two, when detection module 502 detects that the terminal established a communications link with mobile terminal is one, the first determination module 503 using the terminal that establishes a communications link with mobile terminal as target terminal.When detection module 502 detects the terminal that establishes a communications link with mobile terminal at least two, second determines that the terminal that submodule 5032 establishes a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal.
Alternatively, second determines submodule 5032, is configured to:
Any one terminal in the terminal established a communications link with mobile terminal detected by detection module 502 is as target terminal; Or,
That detection module 502 is detected from the terminal different with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal; Or,
That detection module 502 is detected with the terminal identical with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal; Or,
All terminals in the terminal established a communications link with mobile terminal detected by detection module 502 are as target terminal; Or,
Display terminal select interface, using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal.
Illustratively, in the disclosed embodiments, second determines that the terminal that submodule 5032 can establish a communications link according to any one mode in following five kinds of modes pair and mobile terminal is screened.
First kind of way: second determines submodule 5032 using any one terminal in the terminal that establishes a communications link with mobile terminal as target terminal.
Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, then second determines that submodule 5032 can using any one terminal in the computer of mobile phone 1, family and mobile phone 2 as target terminal.Illustratively, second determines that submodule 5032 can using the computer of family as target terminal.
The second way: second determine submodule 5032 using from the terminal different with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal.
Second determines that submodule 5032 can obtain the type of each terminal in the terminal established a communications link with mobile terminal, then using the terminal different from the type of mobile terminal as target terminal.Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, second determines that submodule 5032 can obtain the type of each terminal in these 3 terminals, and illustratively, the type of mobile phone 1 and mobile phone 2 can be mobile type, the type of the computer of family can be fixed type, the type of mobile terminal can be mobile type, and therefore, second determines that submodule 5032 can using the computer of family as target terminal.
The third mode: second determine submodule 5032 using with the terminal identical with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal.
Second determines that submodule 5032 can obtain the type of each terminal in the terminal established a communications link with mobile terminal, then using the terminal identical with the type of mobile terminal as target terminal.Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, second determines that submodule 5032 can obtain the type of each terminal in these 3 terminals, and illustratively, the type of mobile phone 1 and mobile phone 2 can be mobile type, the type of the computer of family can be fixed type, the type of mobile terminal can be mobile type, and therefore, second determines that submodule 5032 can using mobile phone 1 and mobile phone 2 all as target terminal.
4th kind of mode: second determines submodule 5032 using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal.
Illustratively, suppose that the terminal established a communications link with mobile terminal has 3, these 3 terminals are respectively mobile phone 1, the computer of family and mobile phone 2, then second determines that submodule 5032 can using the computer of mobile phone 1, family and mobile phone 2 all as target terminal.
5th kind of mode: mobile terminal display terminal select interface, second determine submodule 5032 using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal.
When detection module 502 detects that the terminal established a communications link with mobile terminal is at least two, mobile terminal can select interface by display terminal, this terminal selects the mark that can show all terminals established a communications link with mobile terminal in interface, user can by carrying out operation triggering terminal selection instruction to the mark of any terminal, and second determines that submodule 5032 can using the terminal indicated by this terminal selection instruction as target terminal.
The file transfer means that disclosure embodiment provides, when the terminal established a communications link with mobile terminal is one, mobile terminal using the terminal that establishes a communications link with mobile terminal as target terminal, when the terminal established a communications link with mobile terminal is at least two, the terminal that mobile terminal establishes a communications link according to preset rules pair and mobile terminal is screened, obtain target terminal, reach the beneficial effect determining target terminal.
Alternatively, file transfer requests also comprises: the fileinfo of file destination, and fileinfo comprises: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.
Wherein, file destination can be file, also can be file, this file transfer requests can also comprise: the fileinfo of file destination, when this file destination is file, this fileinfo can comprise: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.When this file destination is file, this fileinfo can also comprise: each file in the bibliographic structure of file, file and the fileinfo of each file.Wherein, file destination storage directory on mobile terminals can be: E: xxx aaa 12311, and the name that expression file destination is stored under the E dish of mobile terminal is called that the name under the file of " xxx " is called that the name under the file of " aaa " is called in the file of " 12311 "; The physical address that file destination stores on mobile terminals is the hard disk address that file destination stores on mobile terminals, the bibliographic structure of file is the file that file and file comprise, illustratively, the bibliographic structure of file can be: AAA-ccc-11011, represent that name is called the file that the file of " AAA " comprises name and is called " ccc ", the file that name is called " ccc " comprises the file that name is called " 11011 ".
The file transfer means that disclosure embodiment provides, file transfer requests can also comprise the fileinfo of file destination, reaches and is convenient to the effect that target terminal knows the fileinfo of file destination.
In sum, the file transfer means that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Fig. 7 is the block diagram of a kind of file transfer means 600 Gen Ju an exemplary embodiment again, this file transfer means 600 can realize becoming the some or all of of the target terminal 140 in implementation environment shown in Fig. 1 by software, hardware or both combinations, see Fig. 7, this file transfer means 600 can comprise:
Receiver module 610, be configured to receive file transfer requests, file transfer requests comprises file destination.
Parsing module 620, is configured to resolve the file transfer requests that receives of receiver module 610 and obtains file destination.
Memory module 630, is configured to that parsing module 620 is resolved the file destination obtained and is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.
In sum, the file transfer means that disclosure embodiment provides, target terminal is by receiving file transfer requests, file transfer requests comprises file destination, resolution file transmission request obtains file destination, file destination is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.Because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Fig. 8 is the block diagram of a kind of file transfer means 600 according to another exemplary embodiment, this file transfer means 600 can realize becoming the some or all of of the target terminal 140 in implementation environment shown in Fig. 1 by software, hardware or both combinations, see Fig. 8, this file transfer means 600 can include but not limited to:
Receiver module 610, be configured to receive file transfer requests, file transfer requests comprises file destination;
Parsing module 620, is configured to resolve the file transfer requests that receives of receiver module 610 and obtains file destination;
Memory module 630, is configured to that parsing module 620 is resolved the file destination obtained and is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.
When mobile terminal sends file transfer requests to target terminal, receiver module 610 can receive this file transfer requests.Illustratively, receiver module 610 receives and comprises file destination: the file transfer requests of file DCIM photograph album and file autohome.
After receiver module 610 receives file transfer requests, parsing module 620 can be resolved this file transfer requests and be obtained file destination.Illustratively, parsing module 620 is resolved and is comprised file destination: the file transfer requests of file DCIM photograph album and file autohome, obtains file destination: file DCIM photograph album and file autohome.After parsing module 620 obtains file destination, file destination can be stored to target terminal by memory module 630.Illustratively, file DCIM photograph album and file autohome are stored to target terminal by memory module 630.
Alternatively, please continue to refer to Fig. 8, this file transfer means 600 also comprises:
Generation module 640, is configured to according to file transfer result spanned file transmission response, and file transfer response comprises the transmission state of file destination, and transmission state comprises: success status or status of fail;
Sending module 650, is configured to the file transfer response sending generation module 640 generation.
Generation module 640 can according to file transfer result spanned file transmission response, and this file transmission response can comprise the transmission state of file destination, and this transmission state comprises: success status or status of fail.Illustratively, when parsing module 620 is resolved to file destination and memory module 630 pairs of file destinations store successfully, this transmission state is success status, when parsing module 620 is not resolved to file destination, or the storage failure of memory module 630 pairs of file destinations, or when memory module 630 does not store file destination, this transmission state is status of fail.After generation module 640 spanned file transmission response, file transfer response can be sent to mobile terminal.
The file transfer means that disclosure embodiment provides, target terminal passes through according to file transfer result spanned file transmission response and sends file transfer response, because file transfer response comprises, the transmission state of file destination, therefore, the beneficial effect of the transmission state of informing mobile terminal file destination is reached.
Alternatively, memory module 630, is configured to:
Display stores information;
When receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal.
Memory module 630 can generate storage information, then shows and stores information, so that point out user.Illustratively, storing information can be: " receive two files, store? ", memory module 630 can display reminding frame, can show this storage information, and can also show ACK button and cancel button in prompting frame in prompting frame.
Wherein, target location can be the memory location of target terminal acquiescence, also can be the memory location that user is arranged on a target terminal, user and can modifying to this target location.Illustratively, in the disclosed embodiments, when user clicks ACK button, file destination can be stored in target location by memory module 630, and disclosure embodiment does not repeat them here.Certainly, user's cancel button, now, memory module 630 does not store file destination.
It should be noted that; disclosure embodiment stores information for target terminal display and is described; in practical application; target terminal can also adopt the form of voice to report and store information; and in the disclosed embodiments, store information and " receive two files, store? " only exemplary; can not in order to limit the disclosure, any storage information can pointed out user is all the claimed storage information of the disclosure.
The file transfer means that disclosure embodiment provides, target terminal stores information by display, when receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal, owing to being store file destination according to the confirmation of user, therefore, target terminal can be avoided by assault.
Alternatively, file transfer requests also comprises: the fileinfo of file destination, and fileinfo comprises: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.
Wherein, file destination can be file, also can be file, this file transfer requests can also comprise: the fileinfo of file destination, when this file destination is file, this fileinfo can comprise: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.When this file destination is file, this fileinfo can also comprise: each file in the bibliographic structure of file, file and the fileinfo of each file.Wherein, file destination storage directory on mobile terminals can be: E: xxx aaa 12311, and the name that expression file destination is stored under the E dish of mobile terminal is called that the name under the file of " xxx " is called that the name under the file of " aaa " is called in the file of " 12311 "; The physical address that file destination stores on mobile terminals is the hard disk address that file destination stores on mobile terminals, the bibliographic structure of file is the file that file and file comprise, illustratively, the bibliographic structure of file can be: AAA-ccc-11011, represent that name is called the file that the file of " AAA " comprises name and is called " ccc ", the file that name is called " ccc " comprises the file that name is called " 11011 ".
The file transfer means that disclosure embodiment provides, file transfer requests can also comprise the fileinfo of file destination, reaches and is convenient to the effect that target terminal knows the fileinfo of file destination.
In sum, the file transfer means that disclosure embodiment provides, target terminal is by receiving file transfer requests, file transfer requests comprises file destination, resolution file transmission request obtains file destination, file destination is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.Because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Fig. 9 is the block diagram of the file transfer means 900 according to an exemplary embodiment.Such as, device 900 can be mobile terminal, such as, can be smart mobile phone, panel computer, digital camera, MP4 player, MP3 player etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, memory 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, I/O (I/O) interface 912, sensor cluster 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing components 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Memory 904 is configured to store various types of data to be supported in the operation of device 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 906 is device 900 provide electric power.Power supply module 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loud speaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 914 comprises one or more transducer, for providing the state estimation of various aspects for device 900.Such as, sensor cluster 914 can detect the opening/closing state of device 900, the relative positioning of assembly, such as assembly is display and the keypad of device 900, the position of all right checkout gear 900 of sensor cluster 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the variations in temperature of device 900 orientation or acceleration/deceleration and device 900.Sensor cluster 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of device 900, make device 900 can perform a kind of document transmission method, the method comprises:
Receive the file transfer instruction for file destination;
The terminal established a communications link with mobile terminal whether is there is according to file transfer command detection;
When there is the terminal established a communications link with mobile terminal, in the terminal established a communications link with mobile terminal, determine target terminal;
Send file transfer requests, file transfer requests comprises the file destination to target terminal transmission.
Alternatively, receive the file transfer instruction for file destination, comprising:
Receive the default file transmission gesture for file destination;
According to default file transmission gesture spanned file transfer instruction.
Alternatively, the method also comprises:
Receive file transfer pattern open command;
According to file transfer pattern open command display transport interface, in transport interface, show the mark of the file in mobile terminal;
Receive and triggered file selection instruction is operated to the mark of the file in mobile terminal;
Using the file selected by file selection instruction as file destination.
Alternatively, file destination is at least one, receives and operates triggered file selection instruction to the mark of the file in mobile terminal, comprising:
Receive and the first triggered file selection instruction is operated to the mark of the file in mobile terminal;
Using the file selected by file selection instruction as file destination, comprising:
Whether judge to receive in preset time period and operate the second triggered file selection instruction to the mark of the file in mobile terminal, the file selected by the second file selection instruction is different from the file selected by the first file selection instruction;
When receiving the second file selection instruction in preset time period, using the file selected by the second file selection instruction and the file selected by the first file selection instruction all as file destination;
When not receiving the second file selection instruction in preset time period, using the file selected by the first file selection instruction as file destination.
Alternatively, transport interface also shows ACK button, using the file selected by file selection instruction as file destination, comprising:
When receive triggered confirmation instruction is operated to ACK button time, using the file selected by file selection instruction as file destination.
Alternatively, the method also comprises:
Reception file transfer responds, and file transfer response comprises the transmission state of file destination, and transmission state comprises: success status or status of fail;
Transmission information is generated according to transmission state;
Point out according to transmission information.
Alternatively, in the terminal established a communications link with mobile terminal, determine target terminal, comprising:
When the terminal established a communications link with mobile terminal is one, using the terminal that establishes a communications link with mobile terminal as target terminal;
When the terminal established a communications link with mobile terminal is at least two, the terminal established a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal.
Alternatively, the terminal established a communications link according to preset rules pair and mobile terminal is screened, and obtains target terminal, comprising:
Using any one terminal in the terminal that establishes a communications link with mobile terminal as target terminal; Or,
Using from the terminal different with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal; Or,
Using with the terminal identical with the type of mobile terminal in the terminal that mobile terminal establishes a communications link as target terminal; Or,
Using all terminals in the terminal that establishes a communications link with mobile terminal as target terminal; Or,
Display terminal select interface, using select interface to receive in terminal terminal selection instruction indicated by terminal as target terminal.
Alternatively, file transfer requests also comprises: the fileinfo of file destination, and fileinfo comprises: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.
In sum, the file transfer means that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Figure 10 is the block diagram of a kind of file transfer means 1000 according to another exemplary embodiment.Such as, device 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 10, device 1000 can comprise following one or more assembly: processing components 1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, I/O (I/O) interface 1012, sensor cluster 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing components 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Memory 1004 is configured to store various types of data to be supported in the operation of device 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When device 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loud speaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 1014 comprises one or more transducer, for providing the state estimation of various aspects for device 1000.Such as, sensor cluster 1014 can detect the opening/closing state of device 1000, the relative positioning of assembly, such as assembly is display and the keypad of device 1000, the position of all right checkout gear 1000 of sensor cluster 1014 or device 1000 assemblies changes, the presence or absence that user contacts with device 1000, the variations in temperature of device 1000 orientation or acceleration/deceleration and device 1000.Sensor cluster 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of device 1000, make device 1000 can perform a kind of document transmission method, the method comprises:
Receive file transfer requests, file transfer requests comprises file destination;
Resolution file transmission request obtains file destination;
File destination is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.
Alternatively, the method also comprises:
According to file transfer result spanned file transmission response, file transfer response comprises the transmission state of file destination, and transmission state comprises: success status or status of fail;
Transmission file transfer responds.
Alternatively, file destination is stored to target terminal, comprises:
Display stores information;
When receive to store information operate triggered confirmation store instruction time, file destination is stored to the target location of target terminal.
Alternatively, file transfer requests also comprises: the fileinfo of file destination, and fileinfo comprises: at least one in the physical address that filename, file size, file destination storage directory on mobile terminals and file destination store on mobile terminals.
In sum, the file transfer means that disclosure embodiment provides, target terminal is by receiving file transfer requests, file transfer requests comprises file destination, resolution file transmission request obtains file destination, file destination is stored to target terminal, and target terminal is mobile terminal determined terminal in the terminal established a communications link with it.Because mobile terminal just can carry out file transfer after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Figure 11 is the structural representation of a kind of document transmission system 1100 according to an exemplary embodiment.See Figure 11, this document transmission system can comprise: mobile terminal 1110 and target terminal 1120.
Can in implementation in one, mobile terminal 1110 comprises the file transfer means shown in Fig. 5, Fig. 6-1; Target terminal 1120 comprises the file transfer means shown in Fig. 7 or Fig. 8.
Can in implementation at another kind, mobile terminal 1110 comprises the file transfer means shown in Fig. 9; Target terminal 1120 comprises the file transfer means shown in Figure 10.
In sum, the document transmission system that disclosure embodiment provides, mobile terminal is by receiving the file transfer instruction for file destination, the terminal established a communications link with mobile terminal whether is there is according to file transfer command detection, when there is the terminal established a communications link with mobile terminal, target terminal is determined in the terminal established a communications link with mobile terminal, and send file transfer requests, file transfer requests comprises the file destination to target terminal transmission, due to just can file transfer be carried out after receiving file transfer instruction, without the need to user's multi-pass operation, therefore, solve the problem of correlation technique file transmitting procedure complexity, reach the beneficial effect of simplified-file transmitting procedure.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (30)

1. a document transmission method, is characterized in that, described method comprises:
Receive the file transfer instruction for file destination;
The terminal established a communications link with mobile terminal whether is there is according to described file transfer command detection;
When there is the terminal established a communications link with described mobile terminal, in the terminal established a communications link with described mobile terminal, determine target terminal;
Send file transfer requests, described file transfer requests comprises the described file destination transmitted to described target terminal.
2. method according to claim 1, is characterized in that, described reception, for the file transfer instruction of file destination, comprising:
Receive the default file transmission gesture for described file destination;
Described file transfer instruction is generated according to described default file transmission gesture.
3. method according to claim 1 and 2, is characterized in that, described method also comprises:
Receive file transfer pattern open command;
According to described file transfer pattern open command display transport interface, in described transport interface, show the mark of the file in described mobile terminal;
Receive and triggered file selection instruction is operated to the mark of the file in described mobile terminal;
Using the file selected by described file selection instruction as described file destination.
4. method according to claim 3, is characterized in that, described file destination is at least one, and the mark of described reception to the file in described mobile terminal operates triggered file selection instruction, comprising:
Receive and the first triggered file selection instruction is operated to the mark of the file in described mobile terminal;
Described using the file selected by described file selection instruction as described file destination, comprising:
Whether judge to receive in preset time period and operate the second triggered file selection instruction to the mark of the file in described mobile terminal, the file selected by described second file selection instruction is different from the file selected by described first file selection instruction;
When receiving described second file selection instruction in described preset time period, using the file selected by described second file selection instruction and the file selected by described first file selection instruction all as described file destination;
When not receiving described second file selection instruction in described preset time period, using the file selected by described first file selection instruction as described file destination.
5. method according to claim 3, is characterized in that, also shows ACK button in described transport interface, described using the file selected by described file selection instruction as described file destination, comprising:
When receive triggered confirmation instruction is operated to described ACK button time, using the file selected by described file selection instruction as described file destination.
6., according to the arbitrary described method of claim 1 to 5, it is characterized in that, described method also comprises:
Reception file transfer responds, and described file transfer response comprises the transmission state of described file destination, and described transmission state comprises: success status or status of fail;
Transmission information is generated according to described transmission state;
Point out according to described transmission information.
7. according to the arbitrary described method of claim 1 to 5, it is characterized in that, determining target terminal in the described terminal establishing a communications link with described mobile terminal, comprising:
When the terminal established a communications link with described mobile terminal is one, using the terminal that establishes a communications link with described mobile terminal as described target terminal;
When the terminal established a communications link with described mobile terminal is at least two, the terminal established a communications link according to preset rules pair and described mobile terminal is screened, and obtains described target terminal.
8. method according to claim 7, is characterized in that, the described terminal established a communications link according to preset rules pair and described mobile terminal is screened, and obtains described target terminal, comprising:
Using any one terminal in the terminal that establishes a communications link with described mobile terminal as described target terminal; Or,
Using from the terminal different with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
Using with the terminal identical with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
Using all terminals in the terminal that establishes a communications link with described mobile terminal as described target terminal; Or,
Interface selected by display terminal, using select interface to receive in described terminal terminal selection instruction indicated by terminal as described target terminal.
9., according to the arbitrary described method of claim 1 to 5, it is characterized in that,
Described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on the mobile terminal and described file destination store on the mobile terminal.
10. a document transmission method, is characterized in that, described method comprises:
Receive file transfer requests, described file transfer requests comprises file destination;
Resolve described file transfer requests and obtain described file destination;
Described file destination is stored to target terminal, and described target terminal is mobile terminal determined terminal in connected terminal.
11. methods according to claim 10, is characterized in that, described method also comprises:
According to file transfer result spanned file transmission response, described file transfer response comprises the transmission state of described file destination, and described transmission state comprises: success status or status of fail;
Send the response of described file transfer.
12. methods according to claim 10 or 11, is characterized in that, described described file destination are stored to target terminal, comprising:
Display stores information;
When receive to described storage information operate triggered confirmation store instruction time, described file destination is stored to the target location of described target terminal.
13., according to claim 10 to 12 arbitrary described methods, is characterized in that,
Described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on mobile terminals and described file destination store on the mobile terminal.
14. 1 kinds of file transfer means, is characterized in that, described device comprises:
First receiver module, is configured to receive the file transfer instruction for file destination;
Detection module, whether the described file transfer command detection being configured to receive according to described first receiver module exists the terminal established a communications link with mobile terminal;
First determination module, is configured to when described detection module detects the terminal existing and establish a communications link with described mobile terminal, in the terminal established a communications link with described mobile terminal that described detection module detects, determine target terminal;
Sending module, is configured to send file transfer requests, and described file transfer requests comprises the described file destination of the described target terminal transmission determined to described first determination module.
15. devices according to claim 14, is characterized in that,
Described first receiver module, is configured to:
Receive the default file transmission gesture for described file destination;
Described file transfer instruction is generated according to described default file transmission gesture.
16. devices according to claims 14 or 15, it is characterized in that, described device also comprises:
Second receiver module, is configured to receive file transfer pattern open command;
Display module, is configured to the described file transfer pattern open command display transport interface received according to described second receiver module, shows the mark of the file in described mobile terminal in described transport interface;
3rd receiver module, the mark being configured to receive the file in the described mobile terminal shown described display module operates triggered file selection instruction;
Second determination module, the file selected by described file selection instruction being configured to described 3rd receiver module to receive is as described file destination.
17. devices according to claim 16, is characterized in that, the described file destination that described second determination module is determined is at least one,
Described 3rd receiver module, is configured to:
The mark receiving the file in the described mobile terminal shown described display module operates the first triggered file selection instruction;
Described second determination module, is configured to:
The mark judging whether to receive the file in the described mobile terminal shown described display module in preset time period operates the second triggered file selection instruction, and the file selected by described second file selection instruction is different from the file selected by described first file selection instruction;
When receiving described second file selection instruction in described preset time period, using the file selected by described second file selection instruction and the file selected by described first file selection instruction all as described file destination;
When not receiving described second file selection instruction in described preset time period, using the file selected by described first file selection instruction as described file destination.
18. devices according to claim 16, is characterized in that, also show ACK button in the described transport interface of described display module display, described second determination module, is configured to:
When receiving the described ACK button shown described display module and operating triggered confirmation instruction, using the file selected by described file selection instruction as described file destination.
19. according to claim 14 to 18 arbitrary described devices, and it is characterized in that, described device also comprises:
4th receiver module, be configured to receive file transfer response, described file transfer response comprises the transmission state of the described file destination that described second determination module is determined, described transmission state comprises: success status or status of fail;
Generation module, the described transmission state being configured to receive according to described 4th receiver module generates transmission information;
Reminding module, the described transmission information being configured to generate according to described generation module is pointed out.
20. according to claim 14 to 18 arbitrary described devices, and it is characterized in that, described first determination module, comprising:
First determines submodule, is configured to when described detection module detects that the terminal established a communications link with described mobile terminal is one, and the terminal established a communications link with described mobile terminal detected by described detection module is as described target terminal;
Second determines submodule, be configured to when described detection module detects the terminal established a communications link with described mobile terminal at least two, the terminal established a communications link with described mobile terminal detected described detection module according to preset rules is screened, and obtains described target terminal.
21. devices according to claim 20, is characterized in that,
Described second determines submodule, is configured to:
Any one terminal in the terminal established a communications link with described mobile terminal detected by described detection module is as described target terminal; Or,
That described detection module is detected from the terminal different with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
That described detection module is detected with the terminal identical with the type of described mobile terminal in the terminal that described mobile terminal establishes a communications link as described target terminal; Or,
All terminals in the terminal established a communications link with described mobile terminal detected by described detection module are as described target terminal; Or,
Interface selected by display terminal, using select interface to receive in described terminal terminal selection instruction indicated by terminal as described target terminal.
22., according to claim 14 to 18 arbitrary described devices, is characterized in that,
Described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on the mobile terminal and described file destination store on the mobile terminal.
23. 1 kinds of file transfer means, is characterized in that, described device comprises:
Receiver module, be configured to receive file transfer requests, described file transfer requests comprises file destination;
Parsing module, the described file transfer requests being configured to resolve the reception of described receiver module obtains described file destination;
Memory module, be configured to that described parsing module is resolved the described file destination obtained and be stored to target terminal, described target terminal is mobile terminal determined terminal in connected terminal.
24. devices according to claim 23, is characterized in that, described device also comprises:
Generation module, is configured to according to file transfer result spanned file transmission response, and described file transfer response comprises the transmission state of described file destination, and described transmission state comprises: success status or status of fail;
Sending module, is configured to the described file transfer response sending the generation of described generation module.
25. devices according to claim 23 or 24, is characterized in that,
Described memory module, is configured to:
Display stores information;
When receive to described storage information operate triggered confirmation store instruction time, described file destination is stored to the target location of described target terminal.
26., according to the arbitrary described device of claim 23 to 25, is characterized in that,
Described file transfer requests also comprises: the fileinfo of described file destination, and described fileinfo comprises: at least one in the physical address that filename, file size, described file destination storage directory on mobile terminals and described file destination store on the mobile terminal.
27. 1 kinds of file transfer means, is characterized in that, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive the file transfer instruction for file destination;
The terminal established a communications link with mobile terminal whether is there is according to described file transfer command detection;
When there is the terminal established a communications link with described mobile terminal, in the terminal established a communications link with described mobile terminal, determine target terminal;
Send file transfer requests, described file transfer requests comprises the described file destination transmitted to described target terminal.
28. 1 kinds of file transfer means, is characterized in that, comprising:
Processor;
For storing the memory of the executable instruction of described processor;
Wherein, described processor is configured to:
Receive file transfer requests, described file transfer requests comprises file destination;
Resolve described file transfer requests and obtain described file destination;
Described file destination is stored to target terminal, and described target terminal is mobile terminal determined terminal in connected terminal.
29. 1 kinds of document transmission systems, is characterized in that, described system comprises: mobile terminal and target terminal,
Described mobile terminal comprises the arbitrary described file transfer means of claim 14 to 22;
Described target terminal comprises the arbitrary described file transfer means of claim 23 to 26.
30. 1 kinds of document transmission systems, is characterized in that, described system comprises: mobile terminal and target terminal,
Described mobile terminal comprises file transfer means according to claim 27;
Described target terminal comprises file transfer means according to claim 28.
CN201510814971.4A 2015-11-23 2015-11-23 File transmission method, device and system Pending CN105376318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510814971.4A CN105376318A (en) 2015-11-23 2015-11-23 File transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510814971.4A CN105376318A (en) 2015-11-23 2015-11-23 File transmission method, device and system

Publications (1)

Publication Number Publication Date
CN105376318A true CN105376318A (en) 2016-03-02

Family

ID=55378113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510814971.4A Pending CN105376318A (en) 2015-11-23 2015-11-23 File transmission method, device and system

Country Status (1)

Country Link
CN (1) CN105376318A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721709A (en) * 2016-03-25 2016-06-29 努比亚技术有限公司 File transmission device, file transmission method and file transmission system
WO2018059037A1 (en) * 2016-09-27 2018-04-05 中兴通讯股份有限公司 File uploading method and apparatus for mobile terminal
CN108306966A (en) * 2018-01-31 2018-07-20 腾讯科技(深圳)有限公司 Document processing method, device, system, terminal and server
CN109327534A (en) * 2018-11-07 2019-02-12 厦门美图移动科技有限公司 A kind of document transmission method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090140986A1 (en) * 2007-11-30 2009-06-04 Nokia Corporation Method, apparatus and computer program product for transferring files between devices via drag and drop
CN101729586A (en) * 2008-10-24 2010-06-09 中国移动通信集团广东有限公司 Data uploading method and device, data downloading method and device as well as data transmission method and device
CN101945499A (en) * 2010-09-06 2011-01-12 深圳市同洲电子股份有限公司 Method, terminal and system for transferring files
CN102063257A (en) * 2010-12-30 2011-05-18 鸿富锦精密工业(深圳)有限公司 Electronic device and data transmission method
CN102123522A (en) * 2010-01-12 2011-07-13 宏碁股份有限公司 Data transmission method and electronic devices thereof
CN102271179A (en) * 2010-06-02 2011-12-07 希姆通信息技术(上海)有限公司 Touch type mobile terminal and file sending and receiving method thereof
CN102325271A (en) * 2011-09-02 2012-01-18 深圳创维-Rgb电子有限公司 Method and device of sending document from mobile terminal to television for sharing and mobile terminal
CN102707880A (en) * 2012-04-24 2012-10-03 华为终端有限公司 File transmission method and terminal
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090140986A1 (en) * 2007-11-30 2009-06-04 Nokia Corporation Method, apparatus and computer program product for transferring files between devices via drag and drop
CN101729586A (en) * 2008-10-24 2010-06-09 中国移动通信集团广东有限公司 Data uploading method and device, data downloading method and device as well as data transmission method and device
CN102123522A (en) * 2010-01-12 2011-07-13 宏碁股份有限公司 Data transmission method and electronic devices thereof
CN102271179A (en) * 2010-06-02 2011-12-07 希姆通信息技术(上海)有限公司 Touch type mobile terminal and file sending and receiving method thereof
CN101945499A (en) * 2010-09-06 2011-01-12 深圳市同洲电子股份有限公司 Method, terminal and system for transferring files
CN102063257A (en) * 2010-12-30 2011-05-18 鸿富锦精密工业(深圳)有限公司 Electronic device and data transmission method
CN102325271A (en) * 2011-09-02 2012-01-18 深圳创维-Rgb电子有限公司 Method and device of sending document from mobile terminal to television for sharing and mobile terminal
CN102707880A (en) * 2012-04-24 2012-10-03 华为终端有限公司 File transmission method and terminal
CN102789492A (en) * 2012-07-05 2012-11-21 天津三星通信技术研究有限公司 File mobility management method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105721709A (en) * 2016-03-25 2016-06-29 努比亚技术有限公司 File transmission device, file transmission method and file transmission system
WO2018059037A1 (en) * 2016-09-27 2018-04-05 中兴通讯股份有限公司 File uploading method and apparatus for mobile terminal
CN108306966A (en) * 2018-01-31 2018-07-20 腾讯科技(深圳)有限公司 Document processing method, device, system, terminal and server
CN109327534A (en) * 2018-11-07 2019-02-12 厦门美图移动科技有限公司 A kind of document transmission method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104780155A (en) Method and device for binding equipment
CN104460365A (en) Equipment control method and device
CN105100829A (en) Method and device for intercepting video content
CN105159672A (en) Remote assistance method and client
CN105163366A (en) Wireless network connection method and device
CN105338083A (en) Interface display method and interface display device
CN105162668A (en) Connection releasing method and device
CN105159523A (en) Target function enabling method, apparatus and system
CN105491048A (en) Account management method and apparatus
CN104703252A (en) Terminal device accessing into wireless network method and device
CN105392169A (en) File transmission method, device and system
CN105100074A (en) Data operation processing method, device and terminal equipment
CN105162889A (en) Device finding method and apparatus
CN105515831A (en) Network state information display method and device
CN105704655A (en) Media data sharing method and media data sharing device between terminals
CN105224494A (en) Method for handover control and device
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN105376318A (en) File transmission method, device and system
CN104796460A (en) File transmission method and device
CN105763601A (en) File sharing method and device
CN105208089A (en) Information display method, apparatus and system
CN105227986A (en) Synchronization processing method and device
CN105141880A (en) Call answering method and call answering device
CN104881342A (en) Terminal testing method and device
CN104883385A (en) Rich media file transmission method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160302