CN105262783A - Smart file transmission method and systems - Google Patents
Smart file transmission method and systems Download PDFInfo
- Publication number
- CN105262783A CN105262783A CN201510399986.9A CN201510399986A CN105262783A CN 105262783 A CN105262783 A CN 105262783A CN 201510399986 A CN201510399986 A CN 201510399986A CN 105262783 A CN105262783 A CN 105262783A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- file
- speed
- sends
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a smart file transmission method, being used between a first user terminal and a second user terminal. The first user terminal sends a file to the second user terminal, and the second user terminal receives the file content sent from the first user terminal. The method comprises following steps that the speed of the second user terminal receiving the file from the first user terminal is detected in real time; the second user terminal sends a parameter of the speed of the second user terminal receiving the file from the first user terminal to the first user terminal; the first user terminal receives the parameter of the speed of the second user terminal receiving the file from the second user terminal; and the speed of the first user terminal sending the file is limited, namely, the speed of the first user terminal sending the file is reduced gradually. Through adoption of the smart file transmission method, the problem of network congestion in file transmission by the user is solved, so that the efficiency of file transmission by the user is improved.
Description
Technical field
The present invention relates to a kind of transmission method of file, particularly relate to a kind of intelligent transmission method and system of file.
Background technology
Current, between men frequently by transfer files between mobile phone and mobile phone or between computer and computer or between computer and mobile phone, but transmission often can be slow, particularly larger file.User needs to spend the longer time.This often causes because of network blockage during transfer files.Because when our transfer files, the speed normally transmitted is greater than the speed receiving file.The content sent with regard to some file like this, on the road of transmission, causes network blockage, causes the speed of file reception more slow with this.How could does that make our inbound pacing improve? when other hardware and network condition immutable, can only be reduce the blocking of Internet Transmission.How could reducing network blockage is the difficult problem needing to solve.
Summary of the invention
For solving the problem, be necessary intelligent transmission method and system that a kind of file is provided.
An intelligent transmission method for file, is applied between first user terminal and the second user terminal, and first user terminal sends file to the second user terminal, and the second user terminal receives the file content that first user terminal sends, and comprises the following steps:
Detect the second user terminal constantly and receive the speed that first user terminal sends file; Second user terminal sends the second user terminal and receives first user terminal transmission file speed parameter to first user terminal;
First user terminal receives the second user terminal reception file speed parameter that the second user terminal sends;
Restriction first user terminal sends file speed, namely reduces the speed that first user terminal sends file gradually.
Preferably, further comprising the steps of:
Judge whether first user terminal transmission file speed is greater than the reception file speed of the second user terminal, if so, then perform restriction first user terminal and send file speed.
Preferably, judge whether first user terminal transmission file speed is greater than the reception file speed of the second user terminal, if not, then perform and cancel restriction first user terminal transmission file speed.
Preferably, further comprising the steps of:
Judge that file sends whether to complete, if not, then perform step: the second user terminal sends the second user terminal and receives first user terminal transmission file speed parameter to first user terminal.
Preferably, further comprising the steps of:
Show the speed parameter that the second user terminal receives the file that first user terminal sends, this speed parameter is presented on the display screen of first user terminal.
An Intelligent Transportation Systems for file, comprise first user terminal and the second user terminal, it is characterized in that, first user terminal comprises:
Judge module, for judging whether first user terminal transmission file speed is greater than the reception file speed of the second user terminal;
Control module, when judge module judges that first user terminal transmission file speed is greater than the second user terminal reception file speed, then control module restriction first user terminal sends the speed of file, namely reduces the speed of first user terminal transmission file gradually.
Preferably, the second user terminal comprises:
Second user terminal detecting module user detects the speed that the second user terminal receives the file that first user terminal sends.
Preferably, judge module is also for judging whether file is sent completely.
Preferably, control module also sends the speed of file for cancelling restriction first user terminal.
An Intelligent Transportation Systems for file, comprise first user terminal, the second user terminal and far-end server, it is characterized in that, far-end server comprises:
Far-end server communication module, for sending instruction to first user terminal and the second user terminal, receives information from first user terminal and the second user terminal simultaneously;
Far-end server judge module, user judges that first user terminal sends file speed and whether is greater than the speed that the second user terminal receives the file that first user terminal sends.
Useful effect of the present invention is: by intelligent transmission method and the system of a kind of file of the present invention, can reduce network congestion situation when sending file, improve the inbound pacing of file with this.
Accompanying drawing explanation
Fig. 1 is the application schematic diagram of the intelligent transmission method of a kind of file of the present invention.
Fig. 2 is the flow chart of the intelligent transmission method of a kind of file of the present invention.
Fig. 3 is the Intelligent Transportation Systems structural representation of a kind of file of the present invention.
Fig. 4 is another embodiment schematic diagram of the Intelligent Transportation Systems of a kind of file of the present invention.
Main element symbol description
First user terminal 100
First user terminal communication module 101
First user terminal detecting module 102
Judge module 103
Control module 104
Second user terminal 200
And user terminal communication module 201
Second user terminal detecting module 202
Far-end server 300
Far-end server communication module 301
Far-end server judge module 302.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing, the present invention is described in further detail.The example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining technical scheme of the present invention, and not should be understood to limitation of the present invention.
As Fig. 1, the intelligent transmission method of a kind of file of the present invention and system adjust transmission file speed by the speed detecting transmission and reception file respectively between two user terminals to solve network congestion thus the speed of raising user terminal reception file with this.Concrete, first user terminal 100 sends file to the second user terminal 200.The speed that the speed sending file when first user terminal 100 receives file faster than the second user terminal 200 will cause network congestion, and then the speed causing the second user terminal 200 to receive file declines.So just need to adjust the speed that first user terminal 100 sends file, make network smoothness improve with this speed that the second user terminal 200 receives file.Wherein first user terminal 100 and the second user terminal 200 can two terminals of mutual data transmission for being respectively mobile phone and mobile phone, computer and computer, mobile phone and computer etc.Below the intelligent transmission method of a kind of file of the present invention and the better embodiment of system.
As Fig. 2, the intelligent transmission method of a kind of file of the present invention comprises the following steps:
S11, first user terminal sends file to the second user terminal.The user of first user terminal chooses file to be sent, clicks transmission, then first user terminal sends file to the second user terminal.
S12, the second user terminal receives the file content that first user terminal sends.
S13, detects the second user terminal constantly and receives file speed.Concrete, after second user terminal starts to receive the file of first user terminal, second user terminal detects the speed that the second user terminal receives file constantly, and this second user terminal receives file speed to be changed constantly, and each like this reception file speed detected is different.
S14, sends the second user terminal and receives the speed parameter of first user terminal document to first user terminal.
S15, detects first user terminal constantly and sends file speed.After first user terminal starts to send file, first user terminal starts to detect the speed parameter that it sends file at once.In another embodiment, after detecting first user terminal sends file speed parameter, this speed parameter is sent to the second user terminal to show this speed parameter on the second user terminal.
S16, receives the second user terminal reception file speed parameter that the second user terminal sends.First user terminal receives the speed parameter that the second user terminal sends file.In another embodiment, after first user terminal have received the second user terminal transmission file speed parameter, further comprising the steps of: S21, show the speed parameter that the second user terminal receives the file that first user terminal sends.Concrete, first user terminal shows this speed parameter after receiving the speed parameter that the second user terminal sends on the display screen of first user terminal and checks for user.In addition, placement location can put together for sending file speed parameter with first user terminal.Can juxtaposition mode place up and down.The second same user terminal can copy the mode of first user terminal demonstration to show the speed parameter of first user terminal transmission file.
S17, judges whether first user terminal transmission file speed is greater than the file reception speed of the second user terminal, if not, then performs step S18, if so, then performs step S19.
S18, cancels restriction first user terminal and sends file speed.Concrete, when judging that first user terminal transmission file speed is not when being greater than the second user terminal file reception speed, (this step is under first user terminal sends file speed confined situation, wherein " sends file speed to be limited " to refer to: the speed that the actual transmission speed of first user terminal is limited that transmission speed is less than first user terminal can send file then can not to cause network congestion.Such as: the speed that first user terminal sends file can reach 5kb/s, after restriction, the actual transmission speed of possibility is 3kb/s).So, then do not need to limit the speed that first user terminal sends file.The transmission speed that first user terminal can be able to reach according to it sends file, promotes with this speed sending and receive file.If the speed that first user terminal sends file speed is not limited, then send after cancelling restriction first user terminal transmission file speed command, after performing, after step S18, transmission speed does not change.
S19, restriction first user terminal sends file speed.Concrete, when judging that first user terminal transmission speed is greater than the second user terminal reception file speed, the file content that first user terminal can be caused to send like this is deposited in the process of transmission, causes network congestion, affects the second user terminal inbound pacing.At this time, first user terminal limits its speed sending file to reduce network congestion, improves the second user terminal receive file speed with this.The speed that restriction first user wherein sends file refers to: control first user terminal transmission file speed and reduce gradually.
S20, judges whether file is sent completely.If so, then terminate.If not, then S14 is performed.Because the speed of step S13 detecting changes constantly, therefore the inbound pacing parameter of the file of the reception first user terminal of the second user terminal sent in step S17 also changes constantly.Continue to perform step below, until judge that file is sent completely after performing step S14.
In the present embodiment, can arranging each second user terminal, to detect time interval of speed that the second user terminal receives file be 0.1s, arranges each second user terminal and send the second user terminal to receive file speed to interval time of first user terminal be 0.11s.
As Fig. 3, the present invention also provides a kind of Intelligent Transportation Systems of file, and this system comprises: first user terminal 100 and the second user terminal 200.Wherein, first user terminal 100 and the second user terminal 200 can two terminals of transfer files data mutually for being respectively mobile phone and mobile phone, computer and computer, mobile phone and computer etc.First user terminal 100 comprises first user terminal communication module 101, first user terminal detecting module 102, judge module 103 and control module 104.Second user terminal 200 comprises the second user terminal communication module 201, second user terminal detecting module 202.
First user terminal communication module 101, for sending file to the second user terminal 200.
Second user terminal communication module 201, for receiving the file that first user terminal communication module 101 sends.
First user terminal detecting module 102, for detecting the transmission file speed of first user terminal detecting module 102.
Second user terminal detecting module 202, user detects the second user terminal 200 and receives file speed.Second user terminal communication module 201 also receives file speed to first user terminal 100 for sending the second user terminal 200.
Judge module 103, for judging that first user terminal sends file speed and whether is greater than the second user terminal reception file speed.
Control module 104, sends file speed for limiting first user terminal 100.Concrete, when first user terminal transmission file speed is greater than the second user terminal reception file speed, then control module 104 limits first user terminal 100 and sends file speed.Restriction first user terminal sends file speed and refers to that the transmission file speed that control module 104 controls first user terminal 100 reduces gradually.When the transmission file speed of first user terminal is not the inbound pacing being greater than the second user terminal, then control module 104 cancels control first user terminal communication module 101 being sent to the speed of file.
Judge module 103 is also for judging whether file is sent completely.If do not complete, then the second user terminal communication module 201 continues the speed parameter of transmission second user terminal reception first user terminal document to first user terminal 100.Until judge module 103 judges that file is sent completely.
As shown in Figure 4, in another embodiment, the Intelligent Transportation Systems of a kind of file of the present invention also comprises a far-end server 300, and in addition, first user terminal 100 does not have judge module 103.In the present embodiment, this system connects first user terminal 100 and the second user terminal 200 respectively by remote server 300.The reception file speed parameter of the second user terminal 200 is received and first user terminal 100 sends file speed parameter by this far-end server 300.Far-end server 300 comprises far-end server communication module 301 and far-end server judge module 302.
Far-end server communication module 301 is for sending instruction to first user terminal 100 and the second user terminal 200 and from first, second user terminal 100,200 reception information.
Far-end server judge module 302 is for judging that first user terminal 100 sends file speed and whether is greater than the second user terminal 200 and receives file speed.After judgement, remote server module 301 sends the instruction of " restriction " or " cancelling restriction " to first user terminal 100.
The intelligent transmission method of a kind of file of the present invention and system.Can coordinate when user sends file to send file or receive file speed to reduce the problem of network congestion by the method and system, promote with this speed receiving file.
Claims (10)
1. the intelligent transmission method of a file, be applied between first user terminal and the second user terminal, first user terminal sends file to the second user terminal, and the second user terminal receives the file content that first user terminal sends, it is characterized in that, comprise the following steps:
Detect the second user terminal constantly and receive the speed that first user terminal sends file; Second user terminal sends the second user terminal and receives first user terminal transmission file speed parameter to first user terminal;
First user terminal receives the second user terminal reception file speed parameter that the second user terminal sends;
Restriction first user terminal sends file speed, namely reduces the speed that first user terminal sends file gradually.
2. the intelligent transmission method of a kind of file as claimed in claim 1, is characterised in that, further comprising the steps of:
Judge whether first user terminal transmission file speed is greater than the reception file speed of the second user terminal, if so, then perform restriction first user terminal and send file speed.
3. the intelligent transmission method of a kind of file as claimed in claim 2, it is characterized in that, judge whether first user terminal transmission file speed is greater than the reception file speed of the second user terminal, if not, then perform and cancel restriction first user terminal transmission file speed.
4. the intelligent transmission method of a kind of file as claimed in claim 3, is characterized in that, further comprising the steps of:
Judge that file sends whether to complete, if not, then perform step: the second user terminal sends the second user terminal and receives first user terminal transmission file speed parameter to first user terminal.
5. the intelligent transportation mode of a kind of file as claimed in claim 4, is characterized in that, also comprise:
Show the speed parameter that the second user terminal receives the file that first user terminal sends, this speed parameter is presented on the display screen of first user terminal.
6. an Intelligent Transportation Systems for file, comprise first user terminal and the second user terminal, it is characterized in that, first user terminal comprises:
Judge module, for judging whether first user terminal transmission file speed is greater than the reception file speed of the second user terminal;
Control module, when judge module judges that first user terminal transmission file speed is greater than the second user terminal reception file speed, then control module restriction first user terminal sends the speed of file, namely reduces the speed of first user terminal transmission file gradually.
7. the Intelligent Transportation Systems of a kind of file as claimed in claim 6, is characterized in that, described second user terminal comprises:
Second user terminal detecting module user detects the speed that the second user terminal receives the file that first user terminal sends.
8. the Intelligent Transportation Systems of a kind of file as claimed in claim 7, is characterized in that, described judge module is also for judging whether file is sent completely.
9. the intelligent transmission method of a kind of file as claimed in claim 8 and system, is characterized in that, described control module also sends the speed of file for cancelling restriction first user terminal.
10. an Intelligent Transportation Systems for file, comprise first user terminal, the second user terminal and far-end server, it is characterized in that, far-end server comprises:
Far-end server communication module, for sending instruction to first user terminal and the second user terminal, receives information from first user terminal and the second user terminal simultaneously;
Far-end server judge module, user judges that first user terminal sends file speed and whether is greater than the speed that the second user terminal receives the file that first user terminal sends.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510399986.9A CN105262783A (en) | 2015-07-09 | 2015-07-09 | Smart file transmission method and systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510399986.9A CN105262783A (en) | 2015-07-09 | 2015-07-09 | Smart file transmission method and systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105262783A true CN105262783A (en) | 2016-01-20 |
Family
ID=55102287
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510399986.9A Pending CN105262783A (en) | 2015-07-09 | 2015-07-09 | Smart file transmission method and systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105262783A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040120256A1 (en) * | 2002-12-23 | 2004-06-24 | Korean Institute Of Science And Technology Information | System and method for controlling data transmission adapted for grid computing and computer readable recording medium of recording process thereof |
CN1581969A (en) * | 2003-08-13 | 2005-02-16 | 华为技术有限公司 | Rate adapting method |
CN101098301A (en) * | 2006-06-27 | 2008-01-02 | 华为技术有限公司 | A Layer 2 Congestion Control Method for Wireless Networks |
CN104159256A (en) * | 2014-08-29 | 2014-11-19 | 大连大学 | Congestion control method based on delay tolerant satellite network |
-
2015
- 2015-07-09 CN CN201510399986.9A patent/CN105262783A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040120256A1 (en) * | 2002-12-23 | 2004-06-24 | Korean Institute Of Science And Technology Information | System and method for controlling data transmission adapted for grid computing and computer readable recording medium of recording process thereof |
CN1581969A (en) * | 2003-08-13 | 2005-02-16 | 华为技术有限公司 | Rate adapting method |
CN101098301A (en) * | 2006-06-27 | 2008-01-02 | 华为技术有限公司 | A Layer 2 Congestion Control Method for Wireless Networks |
CN104159256A (en) * | 2014-08-29 | 2014-11-19 | 大连大学 | Congestion control method based on delay tolerant satellite network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150339261A1 (en) | System and method for data transfer among the devices | |
CN104219653A (en) | Method and device for controlling double-card Internet access | |
CN103220351A (en) | A mobile terminal and its file transmission method, system and network system | |
CN106339236A (en) | Software upgrading method, client, interphone and soft upgrading system | |
CN104660639B (en) | Cloud terminal upgrade processing method and device | |
CN103605798A (en) | Method for directly operating file stored at cloud end | |
CN104202370A (en) | Mobile terminal, remote control method, remote control system, server and remote control end thereof | |
CN103369056A (en) | Cooperating system and method of on-board system and portable terminal | |
CN102868819B (en) | A kind of process the method and device of communication service under common account | |
CN110913431A (en) | Data wireless transmission method and device, computer equipment and storage medium | |
CN102497441A (en) | Information synchronization method between mobile phone and computer and system thereof | |
WO2017050016A1 (en) | Multi-domain communications method and terminal | |
CN103514003A (en) | Program installation method and device | |
CN102469109B (en) | Display method of browser homepage in mobile terminal and apparatus thereof | |
CN107277896A (en) | WiFi hotspot management method, device and terminal equipment | |
CN105722244A (en) | Information processing method and electronic device | |
CN104077255A (en) | Method for terminal to communicate with computer through USB | |
CN110225106B (en) | Data transmission method, device and storage medium | |
CN105262783A (en) | Smart file transmission method and systems | |
CN104519128A (en) | Method and system for acquiring distributed data in multiple modes | |
CN105471718A (en) | Realization method of full duplex message queue | |
CN106331051A (en) | File transmission method and system, file receiving device and file transmission device | |
CN105718400A (en) | SPI based communication method | |
CN104462002A (en) | Information processing method and electronic equipment | |
CN106787236A (en) | Wireless charging method, equipment, terminal and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160120 |
|
WD01 | Invention patent application deemed withdrawn after publication |