CN106210065B - 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
CN106210065B
CN106210065B CN201610556306.4A CN201610556306A CN106210065B CN 106210065 B CN106210065 B CN 106210065B CN 201610556306 A CN201610556306 A CN 201610556306A CN 106210065 B CN106210065 B CN 106210065B
Authority
CN
China
Prior art keywords
terminal
file
sent
network state
information
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.)
Active
Application number
CN201610556306.4A
Other languages
Chinese (zh)
Other versions
CN106210065A (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, includes the following steps:The corresponding intersection record concordance list of file to be sent is obtained, wherein, the intersection record concordance list includes the associated person information for having received the file to be sent;According to the associated person information, the request message for setting up interim group is sent to the corresponding terminal of the associated person information;According to the confirmation message for adhereing to interim group that the terminal returns, interim group is set up;In the interim group, determine one of terminal as assistance terminal;The target terminal information of the file to be received is sent to the assistance terminal, so that the file to be sent that its local terminal preserves is sent to the target terminal by the assistance terminal.The present invention both ensure that the transmission quality of file, while also ensure the transmission speed of file, substantially increase the experience of user.

Description

A kind of document transmission method, device and mobile terminal
Technical field
The present invention relates to a kind of field of communication technology more particularly to document transmission method, device and mobile terminals.
Background technology
In daily life, file (such as picture) transmission of terminal room occupies the pith of people's life, existing Scheme is usually that will directly be sent after picture compression, however, in the case of network is poor, can be by existing picture resampling After the relatively low picture of resolution ratio, then compression transmission is carried out, these modes are limited to compression algorithm.
From the foregoing, it will be observed that existing scheme generally all have to Network status higher requirement or using reduce user experience as Cost improves picture transmitting efficiency, it is difficult to ensure speed and quality simultaneously, when transmit data volume it is larger when, this cakes with moulded designs experience It is more obvious.
Therefore, it is necessary to a kind of new technical solution is proposed, to solve above-mentioned technical problem.
Invention content
In view of this, the purpose of the present invention is to provide a kind of document transmission method, device and mobile terminals, it is intended to solve It is of the existing technology when sending file, in the case of network is poor, the resolution ratio of file can only be reduced, it is impossible to ensure simultaneously File transfer speed and quality, the problem of so as to reduce user experience.
In order to solve the above technical problems, an embodiment of the present invention provides following technical schemes:
An embodiment of the present invention provides a kind of document transmission method, the document transmission method includes the following steps:
The corresponding intersection record concordance list of file to be sent is obtained, wherein, the intersection record concordance list includes having connect Received the associated person information of the file to be sent;
According to the associated person information, the request that the interim group of establishment is sent to the corresponding terminal of the associated person information disappears Breath;
According to the confirmation message for adhereing to interim group that the terminal returns, interim group is set up;
In the interim group, determine one of terminal as assistance terminal;
The target terminal information of the file to be received is sent to the assistance terminal so that the assistance terminal by its The file to be sent that end preserves is sent to the target terminal.
In order to solve the above technical problems, the embodiment of the present invention additionally provides following technical scheme:
The embodiment of the present invention additionally provides a kind of document transmission method, and the document transmission method includes the following steps:
It receives and sends the request message of the interim group of establishment that terminal is sent;
The confirmation message of interim group is adhereed to the transmission terminal return, to set up interim group;
It receives the identification information for the file to be sent that the transmission terminal is sent and receives the target terminal of the file Information;
According to the identification information, file corresponding to the identification information is searched in local terminal;
By file corresponding to the identification information found, it is sent to the corresponding target terminal of the target terminal information On.
In order to solve the above technical problems, the embodiment of the present invention additionally provides following technical scheme:
The embodiment of the present invention additionally provides a kind of file transfer means, the file transfer means, including:
Concordance list acquisition module, for obtaining the corresponding intersection record concordance list of file to be sent, wherein, the interaction note Record concordance list includes the associated person information for having received the file to be sent;
Request message sending module, for according to the associated person information, being sent out to the corresponding terminal of the associated person information Send the request message for setting up interim group;
Module is set up in interim group, for the confirmation message for adhereing to interim group returned according to the terminal, group Build interim group;
Terminal deciding module is assisted, in the interim group, determining one of terminal as assistance terminal;
Target terminal information sending module, the target terminal for sending the file to be received to the assistance terminal are believed Breath, so that the file to be sent that its local terminal preserves is sent to the target terminal by the assistance terminal.
In order to solve the above technical problems, the embodiment of the present invention additionally provides following technical scheme:
The embodiment of the present invention additionally provides a kind of file transfer means, the file transfer means, including:
Request message receiving module, for receiving the request message of the interim group of establishment for sending terminal and sending;
Confirmation message returns to module, for adhereing to the confirmation message of interim group to the transmission terminal return, with Set up interim group;
Information receiving module, for receiving the identification information for the file to be sent that the transmission terminal is sent and receiving The target terminal information of the file;
File search module, for according to the identification information, file corresponding to the identification information to be searched in local terminal;
File sending module, for by file corresponding to the identification information found, being sent to the target terminal On the corresponding target terminal of information.
In order to solve the above technical problems, the embodiment of the present invention additionally provides following technical scheme:
The embodiment of the present invention additionally provides a kind of mobile terminal for including file transfer means recited above.
Relative to the prior art, document transmission method provided by the invention, device and mobile terminal are to be sent by obtaining The corresponding intersection record concordance list of file, wherein, the intersection record concordance list includes having received the file to be sent Associated person information;According to the associated person information, sent to the corresponding terminal of the associated person information and set up interim group Request message;According to the confirmation message for adhereing to interim group that the terminal returns, interim group is set up;Described interim In group, determine one of terminal as assistance terminal;The target for sending the file to be received to the assistance terminal is whole Client information, so that the file to be sent that its local terminal preserves is sent to the target terminal by the assistance terminal.That is this hair Bright transmission terminal has the terminal interacted by inquiring with file to be sent, to set up interim group;It is selected in the interim group It selects one of them terminal for preserving file to be sent and is used as assistance terminal, sending terminal with help is sent to file to be sent Target terminal.Therefore, the present invention will not be influenced by the network state of transmission terminal, send terminal in the poor feelings of network state Under condition, select other-end that it is helped to complete the transmission of file, therefore, both ensure that the transmission quality of file, while also ensure The transmission speed of file, substantially increases the experience of user.
Description of the drawings
Fig. 1 is the realization flow diagram based on the document transmission method for sending terminal that the embodiment of the present invention one provides;
Fig. 2 is the realization flow diagram provided by Embodiment 2 of the present invention based on the document transmission method for assisting terminal;
Fig. 3 is the module diagram based on the file transfer means for sending terminal that the embodiment of the present invention three provides;
Fig. 4 is the module diagram based on the file transfer means for assisting terminal that the embodiment of the present invention four provides.
Specific embodiment
Please refer to the schema in attached drawing, wherein identical element numbers represent identical component, the principle of the present invention be with Implement to illustrate in an appropriate computing environment.The following description is the specific implementation based on the exemplified present invention Example is not construed as the limitation present invention other specific embodiments not detailed herein.
The principle of the invention illustrates that be not represented as a kind of limitation, those skilled in the art can with above-mentioned word It solves plurality of step as described below and operation also may be implemented in hardware.The principle of the present invention uses many other wide usages Or specific purpose operation, communication environment or configuration are operated.
In the present invention, send terminal has the terminal interacted by inquiring with file to be sent, to set up interim group; One of them is selected to preserve the terminal of file to be sent as terminal is assisted in the interim group, it will to help to send terminal File to be sent is sent to target terminal.Therefore, the present invention will not be influenced by the network state of transmission terminal, sent terminal and existed In the case that network state is poor, selects other-end that it is helped to complete the transmission of file, therefore, both ensure that the transmission of file Quality, while also ensure the transmission speed of file, substantially increase the experience of user.
The realization of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Referring to Fig. 1, it show document transmission method provided in an embodiment of the present invention.
The document transmission method applied in sender mobile terminal, specifically comprises the following steps:
In step S101, the corresponding intersection record concordance list of file to be sent is obtained, wherein, the intersection record index Table includes the associated person information for having received the file to be sent;
In embodiments of the present invention, send terminal first needs to establish intersection record concordance list in advance, is implemented as follows:
After file is transmitted, sends terminal and obtain the identification information of the file and obtain the reception file The corresponding associated person information of terminal;
According to the identification information of the file and the corresponding associated person information of terminal of the file is received, described in foundation Intersection record concordance list.
Such as, it sends terminal A and identical file 1 has been sent to terminal B, C, D, E, then send the intersection record in terminal A Just record has the correspondence of 1 counterpart terminal B, C, D, E of file in concordance list.
It is understood, however, that this document can be picture, audio data, video data, document data etc..
Wherein, it before the step of acquisition file to be sent corresponding intersection record concordance list, further includes:
When receiving file transmission instruction, current network state is detected;
If current network state does not meet preset condition, the corresponding intersection record concordance list of file to be sent is obtained.
If current network state meets preset condition, file is directly transmitted to target terminal.
It is understood that the preset condition can be according to user demand sets itself.Terminal is such as sent to want to send file When, when detecting influence file transfer speed poor currently without mobile network's (WIFI network) or current network state, then Just want to help it by other-end to complete the work of transmission file.Therefore, it sends terminal and searches the text to be sent in local terminal The corresponding intersection record concordance list of part, so as to one of them be selected to preserve file to be sent in the intersection record concordance list Terminal sends terminal as terminal is assisted, with help and file to be sent is sent to target terminal.If detect currently there is shifting Dynamic network (WIFI network), and WIFI signal is strong, then it sends terminal and file to be sent is directly sent to target terminal.
Wherein, if the current network state does not meet preset condition, the corresponding interaction note of file to be sent is obtained The step of recording concordance list, specifically includes:
If current network state does not meet preset condition, the identification information of the file to be sent is extracted;
According to the identification information, the intersection record concordance list corresponding with the identification information is searched.
Such as, when the identification information of file to be sent extracted is file 1, then finding record has file 1 to correspond to end Hold the intersection record concordance list of the correspondence of B, C, D, E.
In step s 102, it according to the associated person information, sends to set up to the corresponding terminal of the associated person information and face When group request message;
In step s 103, the confirmation message for adhereing to interim group returned according to the terminal, sets up interim group Group;
In step S104, in the interim group, determine one of terminal as assistance terminal;
In the present embodiment, in the interim group, the step of one of terminal is as terminal is assisted is determined, specifically Including:
Obtain the current network state of each terminal in the interim group;
The current network state of each terminal is ranked up;
In ranking results, the terminal for selecting current network state best is as assistance terminal.
In step S105, the target terminal information of the file to be received is sent to the assistance terminal, so that described Assist terminal that the file to be sent that its local terminal preserves is sent to the target terminal.
Document transmission method provided in this embodiment is mainly used in through 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 for sending photo, the document transmission method based on transmission terminal of the detailed description offer of the present embodiment one Realization flow.
This programme considers the mutual hair of existence information in the circle of friends of interaction, and therefore, sending terminal-pair, it has locally sent An intersection record concordance list is established with the photographic intelligence of reception, local network context is detected before sending terminal and sending photo It is poor, then to send the intersection record concordance list of terminal inquiry local photo, obtain all terminals interacted with the photo Information establishes interim group according to all end messages of acquisition, selected in the interim group one of terminal as Terminal is assisted, and is sent to the assistance terminal and assists to send photo request, whether the terminal counsel user for receiving request is ready It assists to send and in terminal with the presence or absence of the photo, if terminal user is assisted to refuse to assist to send, not deal with, such as Fruit assists its local terminal of terminal to have the photo and is ready to assist to send, then returns to request successful information to terminal is sent, send terminal Target terminal information is sent to the assistance terminal, so that the photo that its local terminal preserves is sent to the mesh by the assistance terminal Mark terminal.Idiographic flow is as follows:
11st, it sends terminal and its current network state is detected before photo is sent, if current network state is normal, It directly transmits on photo to target terminal.
12:If sending terminal detects that its current network state is poor, the relevant information of the photo is extracted (as identified Information), according to the relevant information of the photo, inquire the photo whether there is corresponding intersection record concordance list,
13:If inquiry intersection record concordance list corresponding less than the photo, sends terminal and is sent according to normal mode The photo is to target terminal.
14:If having inquired the corresponding intersection record concordance list of the photo, in the intersection record concordance list, obtain There is the information of terminal user interacted with the photo;
15th, the information of terminal user interacted was had with the photo according to acquisition, and sent and set up to all terminals of acquisition The request message of interim group is added without interim group for returning to the terminal for refusing to add in group or replying the terminal of time-out Group, the terminal of confirmation message for adhereing to interim group for return just add in interim group.
16th, interim group, which establishes, completes, and the member sent in the interim group of terminal-pair is ranked up according to its network state;
17th, it sends terminal to the member that network state is best in interim group and sends photo assistance transmission request, waiting for should Member replys.
If the 18, member's time-out either receives the refuse information of member transmission without replying, group is asked In next member (the good member of secondary network state) assist to send photo, if it is successful, sending terminal to the secondary network state Good member sends target terminal information, so that the photo that its local terminal preserves is sent to institute by the good member of the secondary network state State target terminal.
It is understood, however, that traversing all members of interim group successively, if all failed, this assistance is abandoned 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, is remembered by obtaining the corresponding interaction of file to be sent Concordance list is recorded, wherein, the intersection record concordance list includes the associated person information for having received the file to be sent;According to The associated person information sends the request message for setting up interim group to the corresponding terminal of the associated person information;According to described The confirmation message for adhereing to interim group that terminal returns, sets up interim group;In the interim group, wherein one is determined A terminal is as assistance terminal;The target terminal information of the file to be received is sent to the assistance terminal, so that the association Help terminal that the file to be sent that its local terminal preserves is sent to the target terminal.That is present invention transmission terminal passes through inquiry There is the terminal interacted with file to be sent, to set up interim group;One of preserve is selected to need in the interim group The terminal of file is sent as terminal is assisted, terminal is sent with help, file to be sent is sent to target terminal.Therefore, this hair It is bright to be influenced by the network state of transmission terminal, terminal is sent in the case where network state is poor, selects other-end It is helped to complete the transmission of file, therefore, both ensure that the transmission quality of file, while also ensure the transmission speed of file, Substantially increase the experience of user.
Embodiment two
Referring to Fig. 2, it show document transmission method provided in an embodiment of the present invention.
The document transmission method applied in assistance side's mobile terminal, specifically comprises the following steps:
In step s 201, it receives and sends the request message of the interim group of establishment that terminal is sent;
In embodiments of the present invention, terminal is assisted in the request message for the interim group of establishment for receiving transmission terminal transmission Later, prompting frame can be popped up to prompt the user whether to be ready to add in interim group, if after user clicks ACK button, it can be certainly It is dynamic to generate the confirmation message for adhereing to interim group, and the confirmation for adhereing to interim group to the transmission terminal return disappears Breath, to set up interim group.
In step S202, the confirmation message of interim group is adhereed to the transmission terminal return, it is interim to set up Group;
In embodiments of the present invention, in the confirmation message that interim group is adhereed to the transmission terminal return Before step, further include:
Obtain the current network state of local terminal;
The current network state got is encapsulated into the confirmation message.
In step S203, receive described in the identification information for sending the file to be sent that terminal is sent and reception The target terminal information of file;
In step S204, according to the identification information, file corresponding to the identification information is searched in local terminal;
In step S205, by file corresponding to the identification information found, it is sent to the target terminal information On corresponding target terminal.
In embodiments of the present invention, in the file that the identification information found is corresponding, it is sent to the mesh After marking the step on the corresponding target terminal of end message, further include:
Obtain the identification information of the file and the target terminal information;
According to the identification information of the file and the target terminal information, intersection record concordance list is established.
Below for sending photo, the document transmission method based on assistance terminal of the detailed description offer of the present embodiment two Realization flow.
21st, terminal is assisted to receive and sends the request message of the interim group of establishment that terminal is sent;Terminal is assisted to the hair The confirmation message of interim group is adhereed in end return of making arrangements for his funeral, to set up interim group.
22nd, terminal is assisted to receive and sends the photo assistance transmission request that terminal is sent, target picture is carried in the request Identification code.
23rd, after terminal being assisted to receive request, the identification code of target picture is extracted, and search the corresponding photo of the identification code With the presence or absence of local, request failure information is assisted to give transmission terminal if it does not exist, then returning.
If the 24, target picture, which exists, assists terminal local, terminal is assisted to pop up prompting frame, prompts the user whether to receive This of transmission terminal assists request, if agreed to, to the net for sending terminal return confirmation message and assisting terminal current Otherwise network state value returns to refusal information and gives transmission terminal.
25th, the confirmation message of the terminal users to be sent such as terminal is assisted, when more than specified time interval, then this discarded time Words.
26th, when at the appointed time interval receive send terminal user confirmation message, wherein, carried in the confirmation message There is target terminal information, then terminal is assisted to obtain target picture and be sent to target terminal, and return to photo and send success or not Information to send terminal.
27th, the interactive information of the photo in the intersection record concordance list of the local photo of terminal update is assisted.I.e. by target end Client information establishes correspondence with the photo.
From the foregoing, it will be observed that the document transmission method that the present embodiment two provides, is remembered by obtaining the corresponding interaction of file to be sent Concordance list is recorded, wherein, the intersection record concordance list includes the associated person information for having received the file to be sent;According to The associated person information sends the request message for setting up interim group to the corresponding terminal of the associated person information;According to described The confirmation message for adhereing to interim group that terminal returns, sets up interim group;In the interim group, wherein one is determined A terminal is as assistance terminal;The target terminal information of the file to be received is sent to the assistance terminal, so that the association Help terminal that the file to be sent that its local terminal preserves is sent to the target terminal.That is present invention transmission terminal passes through inquiry There is the terminal interacted with file to be sent, to set up interim group;One of preserve is selected to need in the interim group The terminal of file is sent as terminal is assisted, terminal is sent with help, file to be sent is sent to target terminal.Therefore, this hair It is bright to be influenced by the network state of transmission terminal, terminal is sent in the case where network state is poor, selects other-end It is helped to complete the transmission of file, therefore, both ensure that the transmission quality of file, while also ensure the transmission speed of file, Substantially increase the experience of user.
Embodiment three
Referring to Fig. 3, the module diagram of the file transfer means provided for the embodiment of the present invention three;For the ease of saying It is bright, it illustrates only and the relevant part of the embodiment of the present invention.The file transfer means include:Concordance list acquisition module 101 is asked Message transmission module 102, interim group is asked to set up module 103, terminal deciding module 104, target terminal information is assisted to send mould Block 105.The file transfer means can be the software unit being built in mobile terminal, hardware cell either software and hardware knot The unit of conjunction.
Concordance list acquisition module 101, for obtaining the corresponding intersection record concordance list of file to be sent, wherein, the friendship Mutual recording indexes table includes the associated person information for having received the file to be sent;
Request message sending module 102, for according to the associated person information, to the corresponding terminal of the associated person information Send the request message for setting up interim group;
Module 103 is set up in interim group, for the confirmation message for adhereing to interim group returned according to the terminal, Set up interim group;
Terminal deciding module 104 is assisted, in the interim group, determining that one of terminal is whole as assisting End;
Target terminal information sending module 105, for sending the target end of the file to be received to the assistance terminal Client information, so that the file to be sent that its local terminal preserves is sent to the target terminal by the assistance terminal.
In embodiments of the present invention, the file transfer means, further include:Network state detection module 106.
Network state detection module 106, for when receiving file transmission instruction, detecting current network state;
The concordance list acquisition module 101, if not meeting preset condition specifically for current network state, acquisition is treated Send the corresponding intersection record concordance list of file.
Further, the file transfer means, further include:
Identification information extraction module 107 if not meeting preset condition for current network state, extracts described pending Send the identification information of file;
Concordance list searching module 108, for according to the identification information, searching the interaction note corresponding with the identification information Record concordance list.
As an embodiment of the present invention, the file transfer means, further include:
Data obtaining module 109, for after file is transmitted, obtaining the identification information of the file and obtaining Receive the corresponding associated person information of terminal of the file;
Concordance list establishes module 110, for the terminal-pair of the identification information according to the file and the reception file The associated person information answered establishes the intersection record concordance list.
Preferably, the file transfer means, further include:Network state acquisition module 111, sorting module 112.
Network state acquisition module 111, for obtaining the current network state of each terminal in the interim group;
Sorting module 112 is ranked up for the current network state to each terminal;
Terminal deciding module 104 is assisted, is made specifically for the terminal in ranking results, selecting current network state best To assist terminal.
From the foregoing, it will be observed that the file transfer means that the present embodiment three provides, are remembered by obtaining the corresponding interaction of file to be sent Concordance list is recorded, wherein, the intersection record concordance list includes the associated person information for having received the file to be sent;According to The associated person information sends the request message for setting up interim group to the corresponding terminal of the associated person information;According to described The confirmation message for adhereing to interim group that terminal returns, sets up interim group;In the interim group, wherein one is determined A terminal is as assistance terminal;The target terminal information of the file to be received is sent to the assistance terminal, so that the association Help terminal that the file to be sent that its local terminal preserves is sent to the target terminal.That is present invention transmission terminal passes through inquiry There is the terminal interacted with file to be sent, to set up interim group;One of preserve is selected to need in the interim group The terminal of file is sent as terminal is assisted, terminal is sent with help, file to be sent is sent to target terminal.Therefore, this hair It is bright to be influenced by the network state of transmission terminal, terminal is sent in the case where network state is poor, selects other-end It is helped to complete the transmission of file, therefore, both ensure that the transmission quality of file, while also ensure the transmission speed of file, Substantially increase the experience of user.
Example IV
Referring to Fig. 4, the module diagram of the file transfer means provided for the embodiment of the present invention four;For the ease of saying It is bright, it illustrates only and the relevant part of the embodiment of the present invention.The file transfer means include:Request message receiving module 201, Confirmation message returns to module 202, information receiving module 203, file search module 204, file sending module 205.The file Transmitting device can be the unit of the software unit being built in mobile terminal, hardware cell either software and hardware combining.
Request message receiving module 201, for receiving the request message of the interim group of establishment for sending terminal and sending;
Confirmation message returns to module 202, for adhereing to the confirmation message of interim group to the transmission terminal return, To set up interim group;
Information receiving module 203, for receiving the identification information of file to be sent that the transmission terminal is sent, Yi Jijie Receive the target terminal information of the file;
File search module 204, for according to the identification information, text corresponding to the identification information to be searched in local terminal Part;
File sending module 205, it is whole for by file corresponding to the identification information found, being sent to the target On the corresponding target terminal of client information.
In embodiments of the present invention, the file transfer means, further include:
Network state acquisition module 206, for obtaining the current network state of local terminal;
Package module 207, for encapsulating the current network state got into the confirmation message.
As an embodiment of the present invention, the file transfer means, further include:
Data obtaining module 208, for obtaining the identification information of the file and the target terminal information;
Concordance list establishes module 209, for the identification information according to the file and the target terminal information, establishes and hands over Mutual recording indexes table.
From the foregoing, it will be observed that the file transfer means that the present embodiment four provides, are remembered by obtaining the corresponding interaction of file to be sent Concordance list is recorded, wherein, the intersection record concordance list includes the associated person information for having received the file to be sent;According to The associated person information sends the request message for setting up interim group to the corresponding terminal of the associated person information;According to described The confirmation message for adhereing to interim group that terminal returns, sets up interim group;In the interim group, wherein one is determined A terminal is as assistance terminal;The target terminal information of the file to be received is sent to the assistance terminal, so that the association Help terminal that the file to be sent that its local terminal preserves is sent to the target terminal.That is present invention transmission terminal passes through inquiry There is the terminal interacted with file to be sent, to set up interim group;One of preserve is selected to need in the interim group The terminal of file is sent as terminal is assisted, terminal is sent with help, file to be sent is sent to target terminal.Therefore, this hair It is bright to be influenced by the network state of transmission terminal, terminal is sent in the case where network state is poor, selects other-end It is helped to complete the transmission of file, therefore, both ensure that the transmission quality of file, while also ensure the transmission speed of file, Substantially increase the experience of user.
Document transmission method provided in an embodiment of the present invention, device and mobile terminal belong to same design, implement Process refers to specification full text, and details are not described herein again.
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 It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium can include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In conclusion although the present invention is disclosed above with preferred embodiment, above preferred embodiment is not to limit The system present invention, those of ordinary skill in the art without departing from the spirit and scope of the present invention, can make various changes and profit Decorations, therefore protection scope of the present invention is subject to the range that claim defines.

Claims (9)

1. a kind of document transmission method, which is characterized in that the document transmission method includes the following steps:
When receiving file transmission instruction, current network state is detected;
The corresponding intersection record concordance list of file to be sent is obtained if current network state does not meet preset condition, wherein, The intersection record concordance list includes the associated person information for having received the file to be sent, and the current network state is not Meet preset condition to refer to currently without WIFI network;
According to the associated person information, the request message for setting up interim group is sent to the corresponding terminal of the associated person information;
According to the confirmation message for adhereing to interim group that the terminal returns, interim group is set up;
The current network state of each terminal in the interim group is obtained, the current network state of each terminal is carried out Sequence, in ranking results, the terminal that select current network state best as assistance terminal, wherein, in the interim group In, it sends terminal to the best terminal of network state and sends file assistance transmission request, so that receiving file assists transmission The terminal of request is searched file to be sent and be whether there is locally, if in the presence of the terminal bullet that file assists transmission request is received Go out prompting frame to prompt the user whether that this assistance for receiving to send terminal is asked, if receiving, confirm to terminal replies are sent Information, transmission terminal receive file according to determining the confirmation message received and assist the terminal of transmission request as assistance Terminal;
The target terminal information of the file to be received is sent to the assistance terminal, so that the assistance terminal protects its local terminal The file to be sent deposited is sent to the target terminal, wherein, after file is transmitted, sends terminal and obtain the text The identification information of part and the corresponding associated person information of terminal for obtaining the reception file, and according to the mark of the file Information and the corresponding associated person information of terminal for receiving the file, establish the intersection record concordance list.
2. document transmission method as described in claim 1, which is characterized in that if the current network state do not meet it is default Condition, specifically includes the step of then obtaining file to be sent corresponding intersection record concordance list:
If current network state does not meet preset condition, the identification information of the file to be sent is extracted;
According to the identification information, the intersection record concordance list corresponding with the identification information is searched.
3. a kind of document transmission method, which is characterized in that the document transmission method includes the following steps:
It receives and sends the request message of the interim group of establishment that terminal is sent, the request message is sends terminal in network state The associated person information for the having received file to be sent corresponding end in intersection record concordance list under preset condition is not met The transmitted solicited message in end, the current network state do not meet preset condition and refer to currently without WIFI network;
The confirmation message of interim group is adhereed to the transmission terminal return, to set up interim group;
It receives the identification information for the file to be sent that the transmission terminal is sent and receives the target terminal letter of the file Breath;
According to the identification information, file corresponding to the identification information is searched in local terminal, if there are identification information correspondences File, then pop up prompting frame with prompt the user whether receive send terminal this assist ask, if receive, to send eventually Reply confirmation message in end;
File corresponding to the identification information found is sent on the corresponding target terminal of the target terminal information;
Obtain the identification information of the file and the target terminal information;
According to the identification information of the file and the target terminal information, intersection record concordance list is established.
4. document transmission method as claimed in claim 3, which is characterized in that agree to add in described return to the transmission terminal Before the step of entering the confirmation message of interim group, further include:
Obtain the current network state of local terminal;
The current network state got is encapsulated into the confirmation message.
5. a kind of file transfer means, which is characterized in that the file transfer means, including:
Network state detection module, for when receiving file transmission instruction, detecting current network state;
If not meeting preset condition for current network state, it is corresponding to obtain file to be sent for concordance list acquisition module Intersection record concordance list, wherein, the intersection record concordance list includes the contact person's letter for having received the file to be sent Breath, the current network state do not meet preset condition and refer to currently without WIFI network;
Request message sending module, for according to the associated person information, to the corresponding terminal transmission group of the associated person information Build the request message of interim group;
Module is set up in interim group, and for the confirmation message for adhereing to interim group returned according to the terminal, establishment is faced When group;
Network state acquisition module, for obtaining the current network state of each terminal in the interim group;
Sorting module is ranked up for the current network state to each terminal;
Terminal deciding module is assisted, for the terminal that in ranking results, select current network state best as assistance terminal, Wherein, in the interim group, the terminal best to network state sends file and assists transmission request, so that receiving text It is local that part assists the terminal lookup file to be sent of transmission request whether there is, if in the presence of receiving file and transmission being assisted to ask The terminal pop-up prompting frame asked is whole to sending if receiving to prompt the user whether that this assistance for receiving transmission terminal is asked Confirmation message is replied at end, and file is received according to determining the confirmation message received and assists the terminal of transmission request as association Help terminal;
Target terminal information sending module, for sending the target terminal information of the file to be received to the assistance terminal, So that the file to be sent that its local terminal preserves is sent to the target terminal by the assistance terminal;
Data obtaining module, for after file is transmitted, obtaining the identification information of the file and obtaining described in reception The corresponding associated person information of terminal of file;
Concordance list establishes module, for the corresponding contact of terminal of the identification information according to the file and the reception file People's information establishes the intersection record concordance list.
6. file transfer means as claimed in claim 5, which is characterized in that the file transfer means further include:
Identification information extraction module if not meeting preset condition for current network state, extracts the file to be sent Identification information;
Concordance list searching module, for according to the identification information, searching the intersection record index corresponding with the identification information Table.
7. a kind of file transfer means, which is characterized in that the file transfer means, including:
Request message receiving module, for receiving the request message of the interim group of establishment for sending terminal and sending, the request disappears It ceases and in intersection record concordance list had received text to be sent in the case where network state does not meet preset condition to send terminal Solicited message transmitted by the corresponding terminal of associated person information of part, the current network state do not meet preset condition and refer to work as Preceding no WIFI network;
Confirmation message returns to module, for adhereing to the confirmation message of interim group to the transmission terminal return, to set up Interim group;
Information receiving module, for receiving described in the identification information for the file to be sent that the transmission terminal is sent and reception The target terminal information of file;
File search module, for according to the identification information, file corresponding to the identification information to be searched in local terminal, if in the presence of File corresponding to the identification information then pops up prompting frame to prompt the user whether that this assistance for receiving to send terminal is asked, If receiving, to transmission terminal replies confirmation message;
File sending module, for by file corresponding to the identification information found, being sent to the target terminal information On corresponding target terminal;
Data obtaining module, for obtaining the identification information of the file and the target terminal information;
Concordance list establishes module, for the identification information according to the file and the target terminal information, establishes intersection record Concordance list.
8. file transfer means as claimed in claim 7, which is characterized in that the file transfer means further include:
Network state acquisition module, for obtaining the current network state of local terminal;
Package module, for encapsulating the current network state got into the confirmation message.
9. a kind of mobile terminal including claim 5 to 6 or claim 7 to 8 any one of them file transfer means.
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 CN106210065A (en) 2016-12-07
CN106210065B true 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)

Families Citing this family (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
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

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093846A1 (en) * 2001-03-28 2002-11-21 Park, Young-Chan Method of transferring a divided file
DE602006006917D1 (en) * 2006-11-20 2009-07-02 Ntt Docomo Inc Relay for forwarding a data packet sent from a first transmitter / receiver to a second transmitter / receiver.
CN102123011B (en) * 2011-04-01 2014-04-02 北京航空航天大学 Medium access control (MAC) method and device of multirate cooperation
CN102378390B (en) * 2011-10-14 2014-05-07 北京航空航天大学 Fast collaborative access control method and fast collaborative access control system
CN102438326B (en) * 2011-10-14 2014-05-07 北京航空航天大学 Multi-rate adaptive cooperative access method and system
CN102625250B (en) * 2012-03-09 2014-08-06 西安交通大学 Fountain code-based collaboration multicast method
CN102710778B (en) * 2012-06-05 2014-12-31 山东大学 Collaboration wireless display system and working method thereof
CN104053189B (en) * 2014-06-17 2017-04-05 北京航空航天大学 Cross-layer cooperation cut-in method, device and access system

Also Published As

Publication number Publication date
CN106210065A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN102413112B (en) Method, association server and system for realizing association of equipment
US9729482B2 (en) Media streaming over peer to peer network
CN102821109B (en) Method, associated equipment and system for realizing data sharing in instant communication application
CN102298533B (en) Method for activating application program and terminal equipment
JP5990275B2 (en) Method for transmitting data between terminals and terminal
CN103905474B (en) A kind of information sharing method, terminal, server and system
CN106303102A (en) Automatization's calling-out method, Apparatus and system
KR20190025018A (en) Two-dimensional code information query method, server, client and system
CN106210065B (en) A kind of document transmission method, device and mobile terminal
CN103117914B (en) Friend recommendation method and system based on JICQ
CN105407316A (en) Implementation method for intelligent camera system, intelligent camera system, and network camera
CN104320327A (en) Method and system for enabling multiple roles of one account of social network to be online simultaneously
CN102917127B (en) Audio transmission method and system
CN106375531A (en) Picture sharing method and terminal
CN107103515A (en) A kind of friendly relation recognition method of meal ordered based on dynamic two-dimension code
CN106131317A (en) Automatically the method and system with return information is play
CN111880887A (en) Message interaction method and device, storage medium and electronic equipment
CN104636460A (en) Article information pushing method and device
CN104935496A (en) Instant messaging method, system, device and instant messaging terminal
WO2008123967A1 (en) System and method for making a face call
CN104135569A (en) Method for seeking for help, method for processing help-seeking behavior and smart mobile apparatus for seeking for help
CN109784942A (en) More service side's online customer service information processing units and its information processing method
CN107241446A (en) Document transmission method, device and the terminal device and storage medium of application program
CN104113465A (en) Method for realizing message handling in instant messaging open platform, and system for realizing message handling in instant messaging open platform
CN105450507A (en) Method and device for sharing information in 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
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.