CN106210065A - A kind of document transmission method, device and mobile terminal - Google Patents

A kind of document transmission method, device and mobile terminal Download PDF

Info

Publication number
CN106210065A
CN106210065A CN201610556306.4A CN201610556306A CN106210065A CN 106210065 A CN106210065 A CN 106210065A CN 201610556306 A CN201610556306 A CN 201610556306A CN 106210065 A CN106210065 A CN 106210065A
Authority
CN
China
Prior art keywords
terminal
file
sent
information
module
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.)
Granted
Application number
CN201610556306.4A
Other languages
Chinese (zh)
Other versions
CN106210065B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610556306.4A priority Critical patent/CN106210065B/en
Publication of CN106210065A publication Critical patent/CN106210065A/en
Application granted granted Critical
Publication of CN106210065B publication Critical patent/CN106210065B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1044Group management mechanisms 
    • 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

Abstract

The present invention provides a kind of document transmission method, device and mobile terminal, comprises the following steps: obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described intersection record concordance list includes the associated person information receiving described file to be sent;According to described associated person information, send the request message setting up interim group to the terminal that described associated person information is corresponding;The confirmation message adhereing to interim group returned according to described terminal, sets up interim group;In described interim group, determine that one of them terminal is as assisting terminal;The target terminal information of described file to be received is sent, so that the file described to be sent that its local terminal is preserved by described assistance terminal sends to described target terminal to described assistance terminal.The present invention both ensure that the transmission quality of file, also ensure that the transmission speed of file simultaneously, substantially increases the experience of user.

Description

A kind of document transmission method, device and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of document transmission method, device and mobile terminal.
Background technology
In daily life, the file (such as picture) of terminal room sends the pith occupying people's life, existing Scheme is usually and directly will send after picture compression, but, for network poor in the case of, can be by existing picture resampling After the picture that resolution is relatively low, then being compressed sending, these modes are limited to compression algorithm.
From the foregoing, it will be observed that existing scheme typically all has higher requirement to network condition, or to reduce Consumer's Experience it is Cost improves picture transmitting efficiency, is difficult to ensure speed and quality simultaneously, and when transmitting data volume and being bigger, this cakes with moulded designs is experienced Become apparent from.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
Summary of the invention
In view of this, it is an object of the invention to provide a kind of document transmission method, device and mobile terminal, it is intended to solve Prior art exist send file time, in the case of network is poor, the resolution of file can only be reduced, it is impossible to ensure simultaneously File transfer speed and quality, thus the problem reducing Consumer's Experience.
For solving above-mentioned technical problem, embodiments provide techniques below scheme:
Embodiments provide a kind of document transmission method, described document transmission method, comprise the following steps:
Obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described intersection record concordance list includes connecing Received the associated person information of described file to be sent;
According to described associated person information, the request sending the interim group of establishment to the terminal that described associated person information is corresponding disappears Breath;
The confirmation message adhereing to interim group returned according to described terminal, sets up interim group;
In described interim group, determine that one of them terminal is as assisting terminal;
The target terminal information of described file to be received is sent, so that described assistance terminal is by it to described assistance terminal The file described to be sent that end preserves sends to described target terminal.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides techniques below scheme:
The embodiment of the present invention additionally provides a kind of document transmission method, described document transmission method, comprises the following steps:
Receive and send the request message setting up interim group that terminal sends;
The confirmation message adhereing to interim group is returned, to set up interim group to described transmission terminal;
Receive the identification information of the file to be sent that described transmission terminal sends, and receive the target terminal of described file Information;
According to described identification information, search, at local terminal, the file that described identification information is corresponding;
By file corresponding for the described identification information found, send the target terminal that extremely described target terminal information is corresponding On.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides techniques below scheme:
The embodiment of the present invention additionally provides a kind of file transfer means, described file transfer means, including:
Concordance list acquisition module, for obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described mutual note Record concordance list includes the associated person information receiving described file to be sent;
Request message transmission module, for according to described associated person information, the terminal corresponding to described associated person information is sent out Send the request message setting up interim group;
Module is set up in interim group, for the confirmation message adhereing to interim group returned according to described terminal, group Build interim group;
Assist terminal deciding module, in described interim group, determine that one of them terminal is as assisting terminal;
Target terminal information sending module, for sending the target terminal letter of described file to be received to described assistance terminal Breath, so that the file described to be sent that its local terminal is preserved by described assistance terminal sends to described target terminal.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides techniques below scheme:
The embodiment of the present invention additionally provides a kind of file transfer means, described file transfer means, including:
Request message reception module, sends, for receiving, the request message setting up interim group that terminal sends;
Confirm that message returns module, for returning the confirmation message adhereing to interim group to described transmission terminal, with Set up interim group;
Information receiving module, for receiving the identification information of the file to be sent that described transmission terminal sends, and receives The target terminal information of described file;
Ff module, for according to described identification information, searching, at local terminal, the file that described identification information is corresponding;
File sending module, for by file corresponding for the described identification information that find, sends to described target terminal On the target terminal that information is corresponding.
For solving above-mentioned technical problem, the embodiment of the present invention additionally provides techniques below scheme:
The embodiment of the present invention additionally provides a kind of mobile terminal including file transfer means recited above.
Relative to prior art, document transmission method, device and the mobile terminal that the present invention provides, to be sent by obtaining The intersection record concordance list that file is corresponding, wherein, described intersection record concordance list includes receiving described file to be sent Associated person information;According to described associated person information, send to the terminal that described associated person information is corresponding and set up interim group Request message;The confirmation message adhereing to interim group returned according to described terminal, sets up interim group;Described temporarily In group, determine that one of them terminal is as assisting terminal;The target of described file to be received is sent eventually to described assistance terminal Client information, so that the file described to be sent that its local terminal is preserved by described assistance terminal sends to described target terminal.I.e. this Bright transmission terminal has mutual terminal, to set up interim group by inquiry and file to be sent;Described interim group selects Select one of them terminal preserving file to be sent as assist terminal, with help send terminal file to be sent is sent to Target terminal.Therefore, the present invention will not be affected by the network state sending terminal, sends terminal in the poor feelings of network state Under condition, select other-end to help it to complete the transmission of file, therefore, both ensure that the transmission quality of file, and also ensured simultaneously The transmission speed of file, substantially increases the experience of user.
Accompanying drawing explanation
Fig. 1 be the embodiment of the present invention one provide based on send terminal document transmission method realize schematic flow sheet;
Fig. 2 be the embodiment of the present invention two provide based on assist terminal document transmission method realize schematic flow sheet;
Fig. 3 is the module diagram based on the file transfer means sending terminal that the embodiment of the present invention three provides;
Fig. 4 is the module diagram based on the file transfer means assisting terminal that the embodiment of the present invention four provides.
Detailed description of the invention
Refer in accompanying drawing is graphic, and the most identical element numbers represents identical assembly, the principle of the present invention be with It is implemented in a suitable computing environment illustrating.The following description is based on the exemplified present invention being embodied as Example, it is not construed as limiting other specific embodiment that the present invention is the most detailed herein.
The principle of the invention illustrates with above-mentioned word, and it is not represented as a kind of restriction, and those skilled in the art can The plurality of step and the operation that solve the following stated also may be implemented in the middle of hardware.The principle of the present invention uses other wide usages many Or specific purpose computing, communication environment or configuration operate.
In the present invention, send terminal and have mutual terminal, to set up interim group by inquiry and file to be sent;? Selecting one of them terminal preserving file to be sent as assisting terminal in described interim group, sending terminal with help will File to be sent is sent to target terminal.Therefore, the present invention will not be affected by the network state sending terminal, sends terminal and exists In the case of network state is poor, selects other-end to help it to complete the transmission of file, therefore, both ensure that the transmission of file Quality, also ensure that the transmission speed of file simultaneously, substantially increases the experience of user.
Below in conjunction with specific embodiment, the realization of the present invention is described in detail:
Embodiment one
Refer to Fig. 1, show the document transmission method that the embodiment of the present invention provides.
Described document transmission method, is applied in sender mobile terminal, specifically includes following steps:
In step S101, obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described intersection record indexes Table includes the associated person information receiving described file to be sent;
In embodiments of the present invention, first sending terminal needs to set up intersection record concordance list in advance, is implemented as follows:
After being transmitted file, send terminal and obtain the identification information of described file and obtain the described file of reception Associated person information corresponding to terminal;
Identification information according to described file and receive the associated person information that the terminal of described file is corresponding, sets up described Intersection record concordance list.
As, send terminal A and give terminal B, C, D, E by identical file 1 transmission, then send the intersection record in terminal A In concordance list, just record has the corresponding relation of file 1 counterpart terminal B, C, D, E.
It is understood, however, that this document can be picture, voice data, video data, document data etc..
Wherein, before the step of intersection record concordance list corresponding to described acquisition file to be sent, also include:
When receiving file and sending instruction, detect current network state;
If current network state does not meets pre-conditioned, then obtain the intersection record concordance list that file to be sent is corresponding.
If current network state meets pre-conditioned, then directly transmit file to target terminal.
It is understood that this pre-conditioned can be according to user's request sets itself.Want to send file as sent terminal Time, detect currently without mobile network (WIFI network), or current network state be poor when affecting file transfer speed, then Just want to help its work completing to send file by other-end.Therefore, send terminal and search this literary composition to be sent at local terminal The intersection record concordance list that part is corresponding, so that select one of them to preserve file to be sent in this intersection record concordance list Terminal is as assisting terminal, to help transmission terminal that file to be sent is sent to target terminal.If be detected that currently there is shifting Dynamic network (WIFI network), and WIFI signal is strong, then send terminal and directly file to be sent is sent to target terminal.
Wherein, if described current network state does not meets pre-conditioned, then obtain the mutual note that file to be sent is corresponding The step of record concordance list, specifically includes:
If current network state does not meets pre-conditioned, then extract the identification information of described file to be sent;
According to described identification information, search the intersection record concordance list corresponding with described identification information.
As, when the identification information of the file to be sent extracted is file 1, then finding record has file 1 corresponding eventually The intersection record concordance list of the corresponding relation of end B, C, D, E.
In step s 102, according to described associated person information, send establishment to the terminal that described associated person information is corresponding and face Time group request message;
In step s 103, the confirmation message adhereing to interim group returned according to described terminal, set up interim group Group;
In step S104, in described interim group, determine that one of them terminal is as assisting terminal;
In the present embodiment, in described interim group, determine one of them terminal step as assistance terminal, specifically Including:
Obtain the current network state of each terminal in described interim group;
The current network state of described each terminal is ranked up;
In ranking results, select the optimal terminal of current network state as assisting terminal.
In step S105, send the target terminal information of described file to be received to described assistance terminal, so that described The file described to be sent assisting terminal to be preserved by its local terminal sends to described target terminal.
The document transmission method that the present embodiment provides is mainly used in by immediate communication tool (such as QQ, wechat, SKYPE Etc.) scene that communicates, it is understood, however, that can also apply under other interactive communication scenes, however it is not limited to Above-mentioned scene.
Below as a example by sending photo, describe the document transmission method based on transmission terminal that the present embodiment one provides in detail Realize flow process.
This programme, in view of there is sending out mutually of information in mutual circle of friends, therefore, sends terminal and sends its this locality Set up an intersection record concordance list with the photographic intelligence received, before sending terminal and sending photo, local network context detected Poor, then to send the intersection record concordance list of terminal inquiry this locality photo, obtain, with this photo, mutual all terminals occur Information, all end messages according to obtaining are set up interim group, are selected one of them terminal conduct in described interim group Assisting terminal, and send assistance transmission photo request to this assistance terminal, whether the terminal counsel user receiving request is ready Assisting to send, and whether there is this photo in terminal, if assisting terminal use to refuse to assist to send, not dealing with, as Fruit assists its local terminal of terminal have this photo and be ready to assist to send, then return request successful information is given and sent terminal, sends terminal Target terminal information is sent, so that the photo that its local terminal is preserved by described assistance terminal sends to described mesh to described assistance terminal Mark terminal.Idiographic flow is as follows:
11, send terminal and detect its current network state before sending photo, if current network state is normal, then Directly transmit photo to target terminal.
12: if sending terminal to detect that its current network state is poor, then extract the relevant information of this photo (such as mark Information), according to the relevant information of this photo, inquire about this photo intersection record concordance list with or without correspondence,
13: if the intersection record concordance list that inquiry is corresponding less than this photo, then send terminal and send according to normal mode This photo is to target terminal.
14: if inquiring the intersection record concordance list that this photo is corresponding, then in this intersection record concordance list, obtain Mutual information of terminal user was had with this photo;
15, there is mutual information of terminal user according to obtain with this photo, and sent to all terminals obtained and set up The request message of interim group, is all added without interim group for returning the terminal of terminal or reply time-out that refusal adds group Group, adheres to interim group for return and confirms that the terminal of message just adds interim group.
16, interim group has set up, and sends terminal and is ranked up the member in interim group according to its network state;
17, sending terminal to the member that in interim group, network state is optimal and send photo assistance transmission request, waiting should Member replys.
If the refuse information that this member sends is not replied or received to 18 these member's time-out, then ask group Middle next member (member that secondary network state is good) assists to send photo, if it is successful, send terminal to this network state Good member sends target terminal information, so that the photo that its local terminal is preserved by the good member of described network state sends to institute State target terminal.
It is understood, however, that travel through all members of interim group successively, if all failed, then abandon this and assist Transmission task, sends terminal and sends photo to target terminal by normal mode.
From the foregoing, it will be observed that the document transmission method that the present embodiment one provides, the mutual note corresponding by obtaining file to be sent Record concordance list, wherein, described intersection record concordance list includes the associated person information receiving described file to be sent;According to Described associated person information, sends the request message setting up interim group to the terminal that described associated person information is corresponding;According to described The confirmation message adhereing to interim group that terminal returns, sets up interim group;In described interim group, determine wherein one Individual terminal is as assisting terminal;The target terminal information of described file to be received is sent to described assistance terminal, so that described association The file described to be sent helping terminal to be preserved by its local terminal sends to described target terminal.The i.e. present invention sends terminal by inquiry Mutual terminal is had, to set up interim group with file to be sent;One of them preservation is selected to need in described interim group The terminal of transmission file is as assisting terminal, to help transmission terminal that file to be sent is sent to target terminal.Therefore, this Bright will not by send terminal network state affect, send terminal in the case of network state is poor, select other-end Help it to complete the transmission of file, therefore, both ensure that the transmission quality of file, and also ensure that the transmission speed of file simultaneously, Substantially increase the experience of user.
Embodiment two
Refer to Fig. 2, show the document transmission method that the embodiment of the present invention provides.
Described document transmission method, is applied in the side's of assistance mobile terminal, specifically includes following steps:
In step s 201, the request message of the interim group of establishment sending terminal transmission is received;
In embodiments of the present invention, terminal is assisted to receive the request message sending the interim group of establishment that terminal sends Afterwards, prompting frame can be ejected to prompt the user whether to be ready to add interim group, if after user clicks ACK button, can be from The confirmation message of interim group is adhereed in dynamic generation, and returns to described transmission terminal and adhere to the confirmation of interim group and disappear Breath, to set up interim group.
In step S202, return the confirmation message adhereing to interim group to described transmission terminal, interim to set up Group;
In embodiments of the present invention, in the described confirmation message adhereing to interim group to the return of described transmission terminal Before step, also include:
Obtain the network state that local terminal is current;
In the current network state encapsulation extremely described confirmation message that will get.
In step S203, receive the identification information of the file to be sent that described transmission terminal sends, and receive described The target terminal information of file;
In step S204, according to described identification information, search, at local terminal, the file that described identification information is corresponding;
In step S205, by file corresponding for the described identification information that finds, send to described target terminal information On corresponding target terminal.
In embodiments of the present invention, described by file corresponding for the described identification information found, send to described mesh After the step on target terminal that mark end message is corresponding, also include:
Obtain the identification information of described file and described target terminal information;
Identification information according to described file and described target terminal information, set up intersection record concordance list.
Below as a example by sending photo, describe the document transmission method based on assistance terminal that the present embodiment two provides in detail Realize flow process.
21, assist terminal to receive and send the request message setting up interim group that terminal sends;Assist terminal to described End of making arrangements for his funeral returns the confirmation message adhereing to interim group, to set up interim group.
22, the request of transmitting assisted by the photo assisting terminal to receive transmission terminal transmission, carries target picture in this request Identification code.
23, after assisting terminal to receive request, extract the identification code of target picture, and search the photo that this identification code is corresponding Whether there is this locality, assist request failure information to sending terminal if it does not exist, then return.
If 24 target picture exist assists terminal local, then assist terminal to eject prompting frame, prompt the user whether to accept This assistance request of transmission terminal, if agreed to, then to the net that transmission terminal return confirmation and assistance terminal are current Network state value, otherwise returns refusal information to sending terminal.
25, assist the confirmation of the terminal uses to be sent such as terminal, when exceeding appointment time interval, then discard this time Words.
26, when being at the appointed time spaced the confirmation receiving transmission terminal use, wherein, this confirmation is carried There is target terminal information, then assist terminal obtain target picture and be sent to target terminal, and return photo transmission success or not Information give send terminal.
27, terminal is assisted to update the interactive information of this photo in the intersection record concordance list of local photo.Will target eventually Corresponding relation set up by client information and this photo.
From the foregoing, it will be observed that the document transmission method that the present embodiment two provides, the mutual note corresponding by obtaining file to be sent Record concordance list, wherein, described intersection record concordance list includes the associated person information receiving described file to be sent;According to Described associated person information, sends the request message setting up interim group to the terminal that described associated person information is corresponding;According to described The confirmation message adhereing to interim group that terminal returns, sets up interim group;In described interim group, determine wherein one Individual terminal is as assisting terminal;The target terminal information of described file to be received is sent to described assistance terminal, so that described association The file described to be sent helping terminal to be preserved by its local terminal sends to described target terminal.The i.e. present invention sends terminal by inquiry Mutual terminal is had, to set up interim group with file to be sent;One of them preservation is selected to need in described interim group The terminal of transmission file is as assisting terminal, to help transmission terminal that file to be sent is sent to target terminal.Therefore, this Bright will not by send terminal network state affect, send terminal in the case of network state is poor, select other-end Help it to complete the transmission of file, therefore, both ensure that the transmission quality of file, and also ensure that the transmission speed of file simultaneously, Substantially increase the experience of user.
Embodiment three
Refer to Fig. 3, for the module diagram of the file transfer means that the embodiment of the present invention three provides;For the ease of saying Bright, illustrate only the part relevant to the embodiment of the present invention.Described file transfer means includes: concordance list acquisition module 101, please Message transmission module 102, interim group is asked to set up module 103, assist terminal deciding module 104, target terminal information to send mould Block 105.Described file transfer means can be software unit, hardware cell or the software and hardware knot being built in mobile terminal The unit closed.
Concordance list acquisition module 101, for obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described friendship Recording indexes table includes the associated person information receiving described file to be sent mutually;
Request message transmission module 102, for according to described associated person information, to the terminal that described associated person information is corresponding Send the request message setting up interim group;
Module 103 is set up in interim group, for the confirmation message adhereing to interim group returned according to described terminal, Set up interim group;
Assist terminal deciding module 104, in described interim group, determine that one of them terminal is as assisting eventually End;
Target terminal information sending module 105, for sending the target of described file to be received eventually to described assistance terminal Client information, so that the file described to be sent that its local terminal is preserved by described assistance terminal sends to described target terminal.
In embodiments of the present invention, described file transfer means, also include: network state detection module 106.
Network state detection module 106, for when receiving file and sending instruction, detecting current network state;
Described concordance list acquisition module 101, if not meeting specifically for current network state pre-conditioned, then obtains and treats Send the intersection record concordance list that file is corresponding.
Further, described file transfer means, also include:
Identification information extraction module 107, if not meeting pre-conditioned for current network state, then extracts described pending Send the identification information of file;
Module 108 searched by concordance list, for according to described identification information, searching the mutual note corresponding with described identification information Record concordance list.
As one embodiment of the invention, described file transfer means, also include:
Data obtaining module 109, for after being transmitted file, obtains the identification information of described file and obtains Receive the associated person information that the terminal of described file is corresponding;
Module 110 set up by concordance list, is used for the identification information according to described file and receives the terminal pair of described file The associated person information answered, sets up described intersection record concordance list.
Preferably, described file transfer means, also include: network state acquisition module 111, order module 112.
Network state acquisition module 111, for obtaining the current network state of each terminal in described interim group;
Order module 112, for being ranked up the current network state of described each terminal;
Assisting terminal deciding module 104, specifically in ranking results, the terminal selecting current network state optimal is made For assisting terminal.
From the foregoing, it will be observed that the file transfer means that the present embodiment three provides, the mutual note corresponding by obtaining file to be sent Record concordance list, wherein, described intersection record concordance list includes the associated person information receiving described file to be sent;According to Described associated person information, sends the request message setting up interim group to the terminal that described associated person information is corresponding;According to described The confirmation message adhereing to interim group that terminal returns, sets up interim group;In described interim group, determine wherein one Individual terminal is as assisting terminal;The target terminal information of described file to be received is sent to described assistance terminal, so that described association The file described to be sent helping terminal to be preserved by its local terminal sends to described target terminal.The i.e. present invention sends terminal by inquiry Mutual terminal is had, to set up interim group with file to be sent;One of them preservation is selected to need in described interim group The terminal of transmission file is as assisting terminal, to help transmission terminal that file to be sent is sent to target terminal.Therefore, this Bright will not by send terminal network state affect, send terminal in the case of network state is poor, select other-end Help it to complete the transmission of file, therefore, both ensure that the transmission quality of file, and also ensure that the transmission speed of file simultaneously, Substantially increase the experience of user.
Embodiment four
Refer to Fig. 4, for the module diagram of the file transfer means that the embodiment of the present invention four provides;For the ease of saying Bright, illustrate only the part relevant to the embodiment of the present invention.Described file transfer means includes: request message reception module 201, Confirm that message returns module 202, information receiving module 203, ff module 204, file sending module 205.Described file Transmitting device can be the unit of the software unit, hardware cell or the software and hardware combining that are built in mobile terminal.
Request message reception module 201, sends, for receiving, the request message setting up interim group that terminal sends;
Confirm that message returns module 202, for returning the confirmation message adhereing to interim group to described transmission terminal, To set up interim group;
Information receiving module 203, for receiving the identification information of the file to be sent that described transmission terminal sends, Yi Jijie Receive the target terminal information of described file;
Ff module 204, for according to described identification information, searching, at local terminal, the literary composition that described identification information is corresponding Part;
File sending module 205, for by file corresponding for the described identification information that find, sends to described target eventually On the target terminal that client information is corresponding.
In embodiments of the present invention, described file transfer means, also include:
Network state acquisition module 206, for obtaining the network state that local terminal is current;
Package module 207, in the current network state encapsulation extremely described confirmation message that will get.
As one embodiment of the invention, described file transfer means, also include:
Data obtaining module 208, for obtaining the identification information of described file and described target terminal information;
Module 209 set up by concordance list, for the identification information according to described file and described target terminal information, sets up and hands over Recording indexes table mutually.
From the foregoing, it will be observed that the file transfer means that the present embodiment four provides, the mutual note corresponding by obtaining file to be sent Record concordance list, wherein, described intersection record concordance list includes the associated person information receiving described file to be sent;According to Described associated person information, sends the request message setting up interim group to the terminal that described associated person information is corresponding;According to described The confirmation message adhereing to interim group that terminal returns, sets up interim group;In described interim group, determine wherein one Individual terminal is as assisting terminal;The target terminal information of described file to be received is sent to described assistance terminal, so that described association The file described to be sent helping terminal to be preserved by its local terminal sends to described target terminal.The i.e. present invention sends terminal by inquiry Mutual terminal is had, to set up interim group with file to be sent;One of them preservation is selected to need in described interim group The terminal of transmission file is as assisting terminal, to help transmission terminal that file to be sent is sent to target terminal.Therefore, this Bright will not by send terminal network state affect, send terminal in the case of network state is poor, select other-end Help it to complete the transmission of file, therefore, both ensure that the transmission quality of file, and also ensure that the transmission speed of file simultaneously, Substantially increase the experience of user.
Document transmission method, device and mobile terminal that the embodiment of the present invention provides belong to same design, and it implements Process refers to description in full, and here is omitted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In sum, although the present invention is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit The present invention processed, those of ordinary skill in the art, without departing from the spirit and scope of the present invention, all can make various change and profit Decorations, therefore protection scope of the present invention defines in the range of standard with claim.

Claims (17)

1. a document transmission method, it is characterised in that described document transmission method, comprises the following steps:
Obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described intersection record concordance list includes receiving The associated person information of described file to be sent;
According to described associated person information, send the request message setting up interim group to the terminal that described associated person information is corresponding;
The confirmation message adhereing to interim group returned according to described terminal, sets up interim group;
In described interim group, determine that one of them terminal is as assisting terminal;
The target terminal information of described file to be received is sent, so that its local terminal is protected by described assistance terminal to described assistance terminal The file described to be sent deposited sends to described target terminal.
2. document transmission method as claimed in claim 1, it is characterised in that at corresponding mutual of described acquisition file to be sent Before the step of recording indexes table, also include:
When receiving file and sending instruction, detect current network state;
If current network state does not meets pre-conditioned, then obtain the intersection record concordance list that file to be sent is corresponding.
3. document transmission method as claimed in claim 2, it is characterised in that if described current network state does not meets default Condition, then obtain the step of intersection record concordance list corresponding to file to be sent, specifically include:
If current network state does not meets pre-conditioned, then extract the identification information of described file to be sent;
According to described identification information, search the intersection record concordance list corresponding with described identification information.
4. document transmission method as claimed in claim 1, it is characterised in that the foundation of described intersection record concordance list, including Following steps:
After being transmitted file, send terminal and obtain the identification information of described file and obtain the end receiving described file The associated person information that end is corresponding;
Identification information according to described file and receive the associated person information that the terminal of described file is corresponding, set up described alternately Recording indexes table.
5. document transmission method as claimed in claim 1, it is characterised in that in described interim group, determine one of them Terminal, as the step of assistance terminal, specifically includes:
Obtain the current network state of each terminal in described interim group;
The current network state of described each terminal is ranked up;
In ranking results, select the optimal terminal of current network state as assisting terminal.
6. a document transmission method, it is characterised in that described document transmission method, comprises the following steps:
Receive and send the request message setting up interim group that terminal sends;
The confirmation message adhereing to interim group is returned, to set up interim group to described transmission terminal;
Receive the identification information of the file to be sent that described transmission terminal sends, and receive the target terminal letter of described file Breath;
According to described identification information, search, at local terminal, the file that described identification information is corresponding;
By file corresponding for the described identification information found, send on the target terminal that extremely described target terminal information is corresponding.
7. document transmission method as claimed in claim 6, it is characterised in that add to the return agreement of described transmission terminal described Before entering the step of confirmation message of interim group, also include:
Obtain the network state that local terminal is current;
In the current network state encapsulation extremely described confirmation message that will get.
8. document transmission method as claimed in claim 6, it is characterised in that at the described described identification information pair that will find The file answered, after sending the step on the target terminal that extremely described target terminal information is corresponding, also includes:
Obtain the identification information of described file and described target terminal information;
Identification information according to described file and described target terminal information, set up intersection record concordance list.
9. a file transfer means, it is characterised in that described file transfer means, including:
Concordance list acquisition module, for obtaining the intersection record concordance list that file to be sent is corresponding, wherein, described intersection record rope Draw table and include receiving the associated person information of described file to be sent;
Request message transmission module, for according to described associated person information, to the terminal transmission group that described associated person information is corresponding Build the request message of interim group;
Module is set up in interim group, and for the confirmation message adhereing to interim group returned according to described terminal, establishment is faced Time group;
Assist terminal deciding module, in described interim group, determine that one of them terminal is as assisting terminal;
Target terminal information sending module, for sending the target terminal information of described file to be received to described assistance terminal, So that the file described to be sent that its local terminal is preserved by described assistance terminal sends to described target terminal.
10. file transfer means as claimed in claim 9, it is characterised in that described file transfer means, also includes: network State detection module;
Network state detection module, for when receiving file and sending instruction, detecting current network state;
Described concordance list acquisition module, if do not meet pre-conditioned specifically for current network state, then obtains literary composition to be sent The intersection record concordance list that part is corresponding.
11. file transfer means as claimed in claim 10, it is characterised in that described file transfer means, also include:
Identification information extraction module, if not meeting pre-conditioned for current network state, then extracts described file to be sent Identification information;
Module searched by concordance list, for according to described identification information, searching the intersection record index corresponding with described identification information Table.
12. file transfer means as claimed in claim 9, it is characterised in that described file transfer means, also include:
Data obtaining module, for after being transmitted file, obtains the identification information of described file and obtains described in reception The associated person information that the terminal of file is corresponding;
Module set up by concordance list, for according to the identification information of described file and receive the contact that the terminal of described file is corresponding People's information, sets up described intersection record concordance list.
13. file transfer means as claimed in claim 9, it is characterised in that described file transfer means, also include: network State acquisition module, order module;
Network state acquisition module, for obtaining the current network state of each terminal in described interim group;
Order module, for being ranked up the current network state of described each terminal;
Assist terminal deciding module, specifically in ranking results, select the optimal terminal of current network state as assistance Terminal.
14. 1 kinds of file transfer means, it is characterised in that described file transfer means, including:
Request message reception module, sends, for receiving, the request message setting up interim group that terminal sends;
Confirm that message returns module, for returning the confirmation message adhereing to interim group to described transmission terminal, to set up Interim group;
Information receiving module, for receiving the identification information of the file to be sent that described transmission terminal sends, and receives described The target terminal information of file;
Ff module, for according to described identification information, searching, at local terminal, the file that described identification information is corresponding;
File sending module, for by file corresponding for the described identification information that find, sends to described target terminal information On corresponding target terminal.
15. file transfer means as claimed in claim 14, it is characterised in that described file transfer means, also include:
Network state acquisition module, for obtaining the network state that local terminal is current;
Package module, in the current network state encapsulation extremely described confirmation message that will get.
16. file transfer means as claimed in claim 14, it is characterised in that described file transfer means, also include:
Data obtaining module, for obtaining the identification information of described file and described target terminal information;
Module set up by concordance list, for the identification information according to described file and described target terminal information, sets up intersection record Concordance list.
The mobile end of 17. 1 kinds of file transfer means included described in claim 9 to 13 or any one of claim 14 to 16 End.
CN201610556306.4A 2016-07-13 2016-07-13 A kind of document transmission method, device and mobile terminal Active CN106210065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610556306.4A CN106210065B (en) 2016-07-13 2016-07-13 A kind of document transmission method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610556306.4A CN106210065B (en) 2016-07-13 2016-07-13 A kind of document transmission method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106210065A true CN106210065A (en) 2016-12-07
CN106210065B CN106210065B (en) 2018-07-03

Family

ID=57474827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610556306.4A Active CN106210065B (en) 2016-07-13 2016-07-13 A kind of document transmission method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106210065B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408109A (en) * 2018-10-23 2019-03-01 金蝶软件(中国)有限公司 A kind of software layout method and system
CN111050077A (en) * 2019-12-26 2020-04-21 维沃移动通信有限公司 Shooting method and electronic equipment
CN111770165A (en) * 2020-06-28 2020-10-13 百度在线网络技术(北京)有限公司 Method and device for uploading files, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494790A (en) * 2001-03-28 2004-05-05 Cooperation method of transferring divided file under network environment
CN101222299A (en) * 2006-11-20 2008-07-16 株式会社Ntt都科摩 Relay apparatus for relaying a data packet
CN102123011A (en) * 2011-04-01 2011-07-13 北京航空航天大学 Medium access control (MAC) method and device of multirate cooperation
CN102378390A (en) * 2011-10-14 2012-03-14 北京航空航天大学 Fast collaborative access control method and fast collaborative access control system
CN102438326A (en) * 2011-10-14 2012-05-02 北京航空航天大学 Multi-rate adaptive cooperative access method and system
CN102625250A (en) * 2012-03-09 2012-08-01 西安交通大学 Fountain code-based collaboration multicast method
CN102710778A (en) * 2012-06-05 2012-10-03 山东大学 Collaboration wireless display system and working method thereof
CN104053189A (en) * 2014-06-17 2014-09-17 北京航空航天大学 Cross-layer collaboration access method, access device and access system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494790A (en) * 2001-03-28 2004-05-05 Cooperation method of transferring divided file under network environment
CN101222299A (en) * 2006-11-20 2008-07-16 株式会社Ntt都科摩 Relay apparatus for relaying a data packet
CN102123011A (en) * 2011-04-01 2011-07-13 北京航空航天大学 Medium access control (MAC) method and device of multirate cooperation
CN102378390A (en) * 2011-10-14 2012-03-14 北京航空航天大学 Fast collaborative access control method and fast collaborative access control system
CN102438326A (en) * 2011-10-14 2012-05-02 北京航空航天大学 Multi-rate adaptive cooperative access method and system
CN102625250A (en) * 2012-03-09 2012-08-01 西安交通大学 Fountain code-based collaboration multicast method
CN102710778A (en) * 2012-06-05 2012-10-03 山东大学 Collaboration wireless display system and working method thereof
CN104053189A (en) * 2014-06-17 2014-09-17 北京航空航天大学 Cross-layer collaboration access method, access device and access system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408109A (en) * 2018-10-23 2019-03-01 金蝶软件(中国)有限公司 A kind of software layout method and system
CN111050077A (en) * 2019-12-26 2020-04-21 维沃移动通信有限公司 Shooting method and electronic equipment
CN111050077B (en) * 2019-12-26 2021-08-10 维沃移动通信有限公司 Shooting method and electronic equipment
CN111770165A (en) * 2020-06-28 2020-10-13 百度在线网络技术(北京)有限公司 Method and device for uploading files, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN106210065B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN102298533B (en) Method for activating application program and terminal equipment
CN103117914B (en) Friend recommendation method and system based on JICQ
CN102413112A (en) Method, association server and system for realizing association of equipment
CN103561086A (en) Method for presenting schedule prompting message, terminal device and cloud server
CN102984391B (en) Mobile terminal and reply processing method for message content in mobile terminal
CN106210065A (en) A kind of document transmission method, device and mobile terminal
US20160021487A1 (en) Near field communication method and device
CN101631165A (en) Method and device for searching contact person information in mobile communication terminal
CN106128478A (en) Voice broadcast method and device
US8774036B2 (en) Multi-mode mobile networking device
CN104935496B (en) Instant communicating method, system, device and instant communication terminal
CN106375531A (en) Picture sharing method and terminal
CN102917127A (en) Audio transmission method and system
CN105407034A (en) Social network system based on address list exchange
US20080263040A1 (en) System and method for making a face call
JP2005323262A (en) Contact center system, contact center server, and routing method in contact center server
CN104113465B (en) Realize the method and system of Message Processing in instant messaging open platform
CN102594964A (en) Intelligent contact adding method using mobile terminal
CN107295159A (en) A kind of incoming call reminding method, device, storage device and call reminding system
CN104283762A (en) Method, system, client-side and server for transmitting instant messaging conversation content
CN103051791A (en) Method and device for acquiring communication information
CN106330664A (en) Information interaction processing method, system and terminal
CN105376143A (en) Method and device for identifying sender identity
CN102264046A (en) Called terminal and method thereof for automatically replying information
KR101992770B1 (en) Apparatus and mathod for processing query in portable terminal for social network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder