Movatterモバイル変換


[0]ホーム

URL:


CN102833337A - FTP (File Transfer Protocol) file uploading, downloading method and device - Google Patents

FTP (File Transfer Protocol) file uploading, downloading method and device
Download PDF

Info

Publication number
CN102833337A
CN102833337ACN2012103165350ACN201210316535ACN102833337ACN 102833337 ACN102833337 ACN 102833337ACN 2012103165350 ACN2012103165350 ACN 2012103165350ACN 201210316535 ACN201210316535 ACN 201210316535ACN 102833337 ACN102833337 ACN 102833337A
Authority
CN
China
Prior art keywords
ftp
file
client
ftp file
side acceleration
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
CN2012103165350A
Other languages
Chinese (zh)
Other versions
CN102833337B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co 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 Beijing Star Net Ruijie Networks Co LtdfiledCriticalBeijing Star Net Ruijie Networks Co Ltd
Priority to CN201210316535.0ApriorityCriticalpatent/CN102833337B/en
Publication of CN102833337ApublicationCriticalpatent/CN102833337A/en
Application grantedgrantedCritical
Publication of CN102833337BpublicationCriticalpatent/CN102833337B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The embodiment of the invention provides an FTP (File Transfer Protocol) file uploading, downloading method and device. The FTP file uploading method comprises the following steps of: responding, by client side accelerating equipment which pretends to be an FTP server, to a first FTP file uploading request of an FTP client side monitored by the client side accelerating equipment; receiving and caching, by the client side accelerating equipment, the FTP file uploaded by the FTP client side; and pretending to be the FTP server, and informing the FTP client side of the reception of the FTP file after the FTP file is received by the client side, and uploading the FTP file to the FTP server by the client side accelerating equipment. Thus, uploading operation of the FTP client side is finished in a local area network environment, and the FTP file uploading speed is increased. Meanwhile, the client side accelerating equipment is indicated to download the FTP file from other client side accelerating equipment for uploading the FTP file to be downloaded in a downloading reorientation mode. Thus, the FTP file being uploaded can also be downloaded in real time, the FTP file downloading speed is increased, and the connection stress of FTP file downloading on the FTP server can be reduced.

Description

A kind of ftp file is uploaded, method for down loading and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of FTP (FTP, File TransferProtocol) file is uploaded, method for down loading and device.
Background technology
FTP is the agreement that transmits file on transmission control protocol/Internet protocol (TCP/IP) network between two computers, is one of agreement of use the earliest on TCP/IP network and the Internet (INTERNET), belongs to the application layer of network protocol suite.Ftp client can send request to ftp server, from the ftp server file in download, to the ftp server upload file, and can create or change the catalogue on the ftp server.
In the prior art, ftp server is used by a large amount of as the resource-sharing server, and ftp server can be striden wide area network with ftp client and is connected, and network design can be as shown in Figure 1.Therefore, ftp client need connect striding under the wan environment with ftp server, carries out uploading and associative operation such as download of ftp file.In order to quicken the transfer of data between ftp server and the ftp client; Can utilize the other deployment way that is hung on outlet device of acceleration equipment; At ftp server side and ftp client side difference deployment server side acceleration equipment and client-side acceleration equipment; Make the application access that under wan environment, can obtain approximate local area network (LAN) experience, being connected of ftp server and ftp client can be as shown in Figure 2.But ftp client stride ftp file under the wan environment upload and still there is following problem in associative operation such as download:
1, because File Transfer Protocol is based on the ICP/IP protocol stack and develops as transport layer protocol, and Transmission Control Protocol is to design of local area network, therefore, when running into the link of high time-delay, data transmission performance is understood hurried decline.Striding under the wide area network transmission situation, the wide area network retardation ratio is bigger, can reach 50-200ms usually, and packet loss possibly reach for about 1% (and local area network (LAN) postpones very little (less than 1ms) with respect to wide area network, does not have packet loss basically), causes the ftp file transmission to be slowed down.
If 2 ftp client quantity are more, also there is the stress problems of ftp server.If the request that ftp client is initiated to ftp server is too concentrated, can causes I/O (I/O) bottleneck of ftp server, thereby cause the ftp file speed of download slower.
In order to overcome the above problems, prior art mainly comprises following three kinds of solutions:
First kind, utilize tcp protocol optimization, data compression and data de-duplication to quicken the ftp file transmission.
Tcp protocol optimization mainly comprises: big initialization port, window expand, select re-transmission, senior congestion control algorithm etc. that traditional Transmission Control Protocol is expanded optimization, but limited for big file transfer acceleration effect.
Data compression is meant adopts compression algorithm that file is compressed the back transmission, and acceleration equipment carries out decompress(ion) again in the opposite end.Compression function here and software Compression and Transmission basically identical, the drawback that also exists software to compress.
The data de-duplication principle is that ftp client is during from ftp server file in download A; Server side acceleration equipment and client-side acceleration equipment be respectively with mode buffer memory (acceleration equipment preservation) this document A of deblocking, and each deblocking is generated the label of characteristics through coding.When ftp client passes through this client-side acceleration equipment to ftp server file in download A once more; Whether the deblocking of server side acceleration equipment comparison current file A is consistent with the file A deblocking of buffer memory before; If deblocking is all consistent; Replace the mode of True Data to be transferred to the client-side acceleration equipment with each data label; The client-side acceleration equipment is through label reduction True Data piecemeal and be delivered to relevant ftp client, thereby saves mass data in the time that the wide area network transmission takies, and promotes user experience.But data de-duplication only just has acceleration effect during (downloads) ftp file in non-transmission first, transmits (download) first and does not have acceleration effect.
Second kind, utilize ftp file to look ahead to quicken the ftp file transmission.
In FTP looked ahead scheme, the client-side acceleration equipment was according to the good strategy of administrator configurations, and section (being generally some morning to next day 6) is downloaded and specified under the FTP catalogue All Files to acceleration equipment FTP prefetch data storehouse on one's own time.Then need obtain when looking ahead file to ftp server when ftp client, the client-side acceleration equipment feeds back to ftp client with the fileinfo that keeps, and quickens, promotes user experience thereby realize downloading.But this FTP scheme of looking ahead can only be quickened to download directions, but the acceleration of uploading direction can't be provided.This be because:
The download behavior is that ftp client active request ftp server sends specified file, and to the ftp server and the file of appointment, the client-side acceleration equipment can replace ftp client to ftp server request specified file in advance in this process.When treating that ftp client needs this specified file, issue this ftp client again.And the behavior of uploading is that ftp client transmission specified file is to specifying ftp server; Data source has become ftp client in this process; And this data source cannot not be fixing and at random (ftp client all might upload file), and therefore, how the prefetch data source is a big problem.Moreover ftp server just carries out Data Receiving passively in upload procedure, ftp server can can't initiatively not remove to obtain specified file yet, even if the file that the ftp client of having looked ahead like this will be uploaded but still can't give ftp server synchronously.So, the FTP acceleration that scheme and can't realizing is uploaded FTP of looking ahead.
Simultaneously, because the FTP scheme of looking ahead is in certain period of time the ftp file in the specified file catalogue of the ftp server of appointment to be downloaded, also existing can't be in time with the problem of the file synchronization of upgrading to the client-side acceleration equipment.
The third, content-based distributing network (CDN, Content Delivery Network) carries out network design, quickens the ftp file transmission.
To under wan environment, ftp file is transmitted in the problem that direction can't be quickened of uploading, and some big ICPs (ICP) introduce CDN FTP solution.
CDN FTP solution needs the collaborative work of a plurality of assemblies such as redirected and Content Management of distributed storage, load balancing, network requests, could solve the acceleration problem that FTP uploads download.The network design of this complicacy generally is applicable to large-scale ISP or ICP, make the Internet insert the user can fast access their service and content of providing.
But there is following problem in CDN FTP solution:
(1), CDN FTP deployment needs to drop into a large amount of construction and maintenance cost;
(2), need can't guarantee the fail safe of ftp file with ftp file openly on the internet;
(3), CDN FTP deployment need utilize domain name mapping to carry out being redirected of FTP request; Therefore need build domain name system (DNS) server; Except increasing cost, because searching and being redirected of DNS itself also can bring certain data transfer delay.
In sum, also do not have a kind of scheme to solve preferably at present and striding under the wan environment, the ftp file transmission speed is slower, especially for ftp client, uploads the slow problem of ftp file.
Summary of the invention
The embodiment of the invention provides that a kind of ftp file is uploaded, method for down loading and device, is used for solving and is striding under the wan environment problem that the ftp file transmission speed is slower.
A kind of FTP ftp file method for uploading, said method comprises:
The client-side acceleration equipment is when listening to ftp client to the first ftp file upload request that ftp server sends; Carry the ftp file sign in the said first ftp file upload request; Tackle this first ftp file upload request; And sending first response message to said ftp client, first response message is used to notify said ftp client, can send data to said ftp server;
The ftp file of the said ftp file sign expression that the client-side acceleration equipment receives and the said ftp client of buffer memory sends; And after this ftp file reception finishes; Send second response message to said ftp client; Second response message is used to notify said ftp client, and said ftp server receives said ftp file and finishes.
A kind of FTP ftp file method for down loading, said method comprises:
The server side acceleration equipment is listening to the first client-side acceleration equipment when ftp server sends the second ftp file download request; Carry the ftp file sign in the said second ftp file download request; Tackle this second ftp file download request; Confirm whether to comprise in the local ftp caching concordance list this ftp file sign; Wherein, The said second ftp file download request is that the first client-side acceleration equipment is listening to ftp client to the first ftp file download request that said ftp server sends, and carries said ftp file sign in the said first ftp file download request, tackles this first ftp file download request; And when confirming self not have the said ftp file of buffer memory to identify the ftp file of representing, send; Said local ftp caching concordance list comprises the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn, the ftp file that carries in this of record second ftp file upload request sign, and upload the address that this ftp file identifies the client-side acceleration equipment of the ftp file of representing;
If confirm to comprise in the local ftp caching concordance list ftp file sign of carrying in the second ftp file download request; Confirm to upload the address that this ftp file identifies the second client-side acceleration equipment of the ftp file of representing according to local ftp caching concordance list; Send download redirect response message to the said first client-side acceleration equipment; The address of carrying the said second client-side acceleration equipment in the said download redirect response message indicates the first client-side acceleration equipment to download this ftp file from the said second client-side acceleration equipment.
A kind of FTP ftp file method for down loading, said method comprises:
The first client-side acceleration equipment is when listening to ftp client to the first ftp file download request that ftp server sends; Carry the ftp file sign in the said first ftp file download request; Tackle this first ftp file download request, confirm whether buffer memory has said ftp file to identify the ftp file of expression for self;
The first client-side acceleration equipment sends the second ftp file download request to said ftp server when confirming self not have the ftp file of the said ftp file sign of buffer memory expression, carry said ftp file sign in the said second ftp file download request;
The first client-side acceleration equipment is when receiving the download redirect response message of server side acceleration equipment transmission; The address of carrying the second client-side acceleration equipment of uploading or uploaded said ftp file in the said download redirect response message; Send the 4th ftp file download request to the said second client-side acceleration equipment; Carry said ftp file sign in said the 4th ftp file download request, the ftp file of said ftp file sign expression is downloaded in request.
A kind of FTP ftp file method for down loading, said method comprises:
The second client-side acceleration equipment receives the 4th ftp file download request that the first client-side acceleration equipment sends, and carries said ftp file sign in said the 4th ftp file download request;
The second client-side acceleration equipment sends to the said first client-side acceleration equipment with the ftp file of said ftp file sign expression.
A kind of FTP ftp file is uploaded device, and said device comprises:
Blocking module is used for when listening to ftp client to the first ftp file upload request that ftp server sends, carrying the ftp file sign in the said first ftp file upload request, tackles this first ftp file upload request;
Sending module is used for when blocking module is intercepted the said first ftp file upload request, sending first response message to said ftp client, and first response message is used to notify said ftp client, can send data to said ftp server;
Cache module is used to receive and the said ftp file of the said ftp client transmission of buffer memory identifies the ftp file of representing;
Said sending module also is used for receiving after said ftp file finishes at cache module, sends second response message to said ftp client, and second response message is used to notify said ftp client, and said ftp server receives said ftp file and finishes.
A kind of FTP ftp file download apparatus, said device comprises:
Blocking module; Be used for listening to the first client-side acceleration equipment when ftp server sends the second ftp file download request; Carry the ftp file sign in the said second ftp file download request, tackle this second ftp file download request, wherein; The said second ftp file download request is that the first client-side acceleration equipment is listening to the first ftp file download request that ftp client sends to said ftp server; Carry said ftp file sign in the said first ftp file download request, tackle this first ftp file download request, and when confirming self not have the said ftp file of buffer memory to identify the ftp file of representing, send;
Determination module; Be used for when blocking module is intercepted the said second ftp file download request; Confirm whether to comprise in the local ftp caching concordance list this ftp file sign; Said local ftp caching concordance list comprises the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn; The ftp file sign of carrying in this second ftp file upload request of record, and upload the address that this ftp file identifies the client-side acceleration equipment of the ftp file of representing;
Sending module; Be used for when determination module confirms that local ftp caching concordance list comprises the ftp file sign of carrying in the second ftp file download request; Confirm to upload the address that this ftp file identifies the second client-side acceleration equipment of the ftp file of representing according to local ftp caching concordance list; Send download redirect response message to the said first client-side acceleration equipment; The address of carrying the said second client-side acceleration equipment in the said download redirect response message indicates the first client-side acceleration equipment to download this ftp file from the said second client-side acceleration equipment.
A kind of FTP ftp file download apparatus, said device comprises:
Blocking module is used for when listening to ftp client to the first ftp file download request that ftp server sends, carrying the ftp file sign in the said first ftp file download request, tackles this first ftp file download request;
Determination module is used for confirming the said device ftp file whether buffer memory has said ftp file sign to represent;
Sending module; Be used for when determination module is determined said device and do not had the ftp file of the said ftp file of buffer memory sign expression; Send the second ftp file download request to said ftp server, carry said ftp file sign in the said second ftp file download request;
Receiver module is used for the download redirect response message that reception server side acceleration equipment sends;
Said sending module; Also be used for when receiver module receives the download redirect response message of server side acceleration equipment transmission; The address of carrying the second client-side acceleration equipment of uploading or uploaded said ftp file in the said download redirect response message; Send the 4th ftp file download request to the said second client-side acceleration equipment, carry said ftp file sign in said the 4th ftp file download request, the ftp file of said ftp file sign expression is downloaded in request.
A kind of FTP ftp file download apparatus, said device comprises:
Receiver module is used to receive the 4th ftp file download request that the first client-side acceleration equipment sends, and carries said ftp file sign in said the 4th ftp file download request;
Sending module is used for when receiver module receives said the 4th ftp file download request, and the ftp file of said ftp file sign expression is sent to the said first client-side acceleration equipment.
The scheme that provides according to the embodiment of the invention; Can pretend to be ftp server by the client-side acceleration equipment; Respond the first ftp file upload request of the ftp client that this client-side acceleration equipment listens to, receive and ftp file that the buffer memory ftp client is uploaded, and ftp file receive finish after; Pretend to be ftp server to notify said ftp client, said ftp file uploads to ftp server.Because the client-side acceleration equipment is positioned at same local area network (LAN) with the ftp client of uploading ftp file, makes the upload operation of ftp client under LAN environment, accomplish, thereby quicken the ftp file uploading speed of ftp client, promote user experience.
Simultaneously; The server side acceleration equipment is when listening to the second ftp file download request of first client-side acceleration equipment transmission; Tackle this ftp file download request; If comprise the ftp file sign of carrying in this second ftp file download request in the local ftp caching concordance list, can send to the said first client-side acceleration equipment and download the redirect response message, indicate the first client-side acceleration equipment to download this ftp file from the second client-side acceleration equipment of uploading this ftp file.Thereby utilize local ftp caching concordance list to realize ftp file synchronous in real time of buffer memory on ftp server and the client-side acceleration equipment; Can be so that the ftp file of uploading also can be downloaded in real time, need not to wait for that this ftp file uploads completion, accelerate the ftp file speed of download; And through download ftp file from the client-side acceleration equipment; Can also reduce ftp file and download connection pressure, alleviate the ftp server load, improve the ftp file transmission speed ftp server.
Description of drawings
The network design sketch map that Fig. 1 provides for prior art;
The ftp server that Fig. 2 provides for prior art and the sketch map that is connected of ftp client;
The step sketch map of the ftp file method for uploading that Fig. 3 provides for the embodiment of the invention one;
The step sketch map of the ftp file method for down loading that Fig. 4 provides for the embodiment of the invention two;
The step sketch map of the ftp file method for uploading that Fig. 5 provides for the embodiment of the invention three;
The step sketch map of the ftp file method for down loading that Fig. 6 provides for the embodiment of the invention four;
The ftp file that Fig. 7 provides for the embodiment of the invention five is uploaded the structural representation of device;
The structural representation of the ftp file download apparatus that Fig. 8 provides for the embodiment of the invention six;
The structural representation of the ftp file download apparatus that Fig. 9 provides for the embodiment of the invention seven;
The structural representation of the ftp file download apparatus that Figure 10 provides for the embodiment of the invention eight.
Embodiment
In prior art, striding under the wan environment, the problem that the ftp file transmission speed is slower, the embodiment of the invention proposes, and the ftp file that can utilize the client-side acceleration equipment that ftp client is uploaded carries out the Transparent Proxy buffer memory.Ftp file buffer memory to the client-side acceleration equipment that ftp client is uploaded, and forge the ftp server response message and reply ftp client, make ftp client finish the behavior of uploading.In this process,, promoted user's experience greatly because client-side acceleration equipment and ftp client in same local area network (LAN), have therefore farthest reduced the stand-by period that the ftp client file is uploaded.
After the ftp file that the client-side acceleration equipment is uploaded ftp client carries out the Transparent Proxy buffer memory, send the FTP upload request and carry out data sync for the server side acceleration equipment.After the server side acceleration equipment is monitored and is intercepted the upload request from this client-side acceleration equipment, extraction document information and upload state and record.After waiting to monitor and intercepting and capturing the FTP download request that produces on other client-side acceleration equipments, can be with to the download request of not uploading the ftp file of completion as yet, on the centralized indexes and the client-side acceleration equipment of ftp file that has been redirected to true buffer memory.Thereby solve to use the Transparent Proxy buffer memory to upload to quicken between the server side acceleration equipment that brings and the client-side acceleration equipment ftp file can't in real time synchronous problem in; Need not to wait for that ftp file uploads completion and can realize that ftp file downloads; Accelerate the ftp file speed of download; And can reduce ftp file and download the connection pressure to ftp server, further improve the ftp file speed of download.
The present invention program is described with each embodiment below in conjunction with Figure of description.
Embodiment one,
The embodiment of the invention one provides a kind of ftp file method for uploading, and the step of this method can be as shown in Figure 3, comprising:
Step 101, monitor and tackle the first ftp file upload request.
In order to realize that the client-side acceleration equipment need be uploaded to the buffer memory of the ftp file of ftp server to ftp client; The client-side acceleration equipment need be pretended to be said ftp server; Said ftp client is responded to the message that said ftp server sends, therefore, in this step; The client-side acceleration equipment need be monitored the FTP request that said ftp client sends to said ftp server; And when from the FTP request that listens to, identifying the first ftp file upload request, carry the ftp file sign in the said first ftp file upload request, tackle the first ftp file upload request; Stop said ftp server to receive this first ftp file upload request, thereby prevent that said ftp server from responding this first ftp file upload request.
Step 102, transmission first response message.
In this step; The client-side acceleration equipment can be pretended to be said ftp server, and the said first ftp file upload request is responded, and sends first response message to said ftp client; Notify said ftp client, can send data to said ftp server.
Step 103, reception and buffer memory ftp file.
In this step, the client-side acceleration equipment can receive the ftp file that ftp client sends, and this ftp file of buffer memory.
More excellent; The client-side acceleration equipment can be with the form of deblocking; Receive the also said ftp file of the said ftp client transmission of buffer memory, and when a data piecemeal reception finishes, send the 3rd response message to said ftp client; The 3rd response message is used to notify said ftp client to send next deblocking, thereby can obtain complete said ftp file.
Concrete, can said ftp file be buffered in the local cache database.More excellent; The client-side acceleration equipment can be after receiving complete said ftp file; Upgrade the local cache Database Lists; Local cache Database Lists after the renewal comprises that the said ftp file of expression is buffered in the information of local cache database, makes follow-uply can confirm whether the local cache database of this client-side acceleration equipment preserves said ftp file through searching the local cache Database Lists.
Step 104, transmission second response message.
The client-side acceleration equipment sends second response message to said ftp client after said ftp file reception finishes, pretend to be said ftp server, notifies said ftp client, and said ftp server receives said ftp file and finishes.
Throughstep 101 ~step 104; The client-side acceleration equipment pretends to be ftp server to accomplish the reception and the buffer memory of ftp file; Because the client-side acceleration equipment is positioned at same local area network (LAN) with the ftp client of uploading ftp file; Make ftp file upload under LAN environment and accomplish that with respect to uploading through wide area network realization ftp file, the ftp file uploading speed of ftp client is accelerated greatly.
Further, the client-side acceleration equipment can also upload to said ftp server with the said ftp file of self buffer memory, thereby realizes the preservation of said ftp server to said ftp file, and therefore, present embodiment can also may further comprise the steps:
Step 105, disconnection are connected with the FTP of said ftp client.
The client-side acceleration equipment uploads to said ftp server in order to realize with the said ftp file of buffer memory; In this step; Need to break off and be connected with the FTP of said ftp client; Be connected with the FTP of said ftp server thereby break off said ftp client, so that follow-uply set up self and be connected with the FTP of said ftp server.
Step 106, foundation are connected with the FTP of said ftp server.
Concrete; In order to realize that the client-side acceleration equipment is connected with the FTP of said ftp server; Beforestep 101, the log-on message imported when said ftp client is logined said ftp server can monitored and write down to the client-side acceleration equipment (because instep 101, said ftp client can send the first ftp file upload request to said ftp server; Therefore; Said ftp client is inevitable to have utilized log-on message to login said ftp server), then in this step, the client-side acceleration equipment can utilize said log-on message to login said ftp server.
Step 107, the transmission second ftp file upload request.
In this step; The client-side acceleration equipment sends the second ftp file upload request to said ftp server; The said second ftp file upload request is used to ask the said ftp file with self buffer memory to be sent to said ftp server; Thereby can when receiving the response message of said ftp server, said ftp file be uploaded to said ftp server.
Embodiment two,
The embodiment of the invention two provides a kind of ftp file method for down loading, and the step of this method can be as shown in Figure 4, comprising:
Step 201, monitor and tackle the second ftp file download request.
In the present embodiment; Can realize that the centralized indexes of ftp file is redirected with downloading by the server side acceleration equipment; Therefore in this step, the server side acceleration equipment can be monitored the FTP request, is listening to the first client-side acceleration equipment when ftp server sends the second ftp file download request; Carry the ftp file sign in the said second ftp file download request; Tackle this second ftp file download request, prevent that ftp server from receiving this second ftp file download request, thereby prevent that ftp server from making response to this second ftp file download request.
Wherein, The said second ftp file download request is that the first client-side acceleration equipment is listening to the first ftp file download request that ftp client sends to said ftp server; Carry said ftp file sign in the said first ftp file download request; Tackle this first ftp file download request, and when confirming self not have the said ftp file of buffer memory to identify the ftp file of representing, send.
Certainly, if when the first client-side acceleration equipment confirms that self buffer memory has the ftp file of said ftp file sign expression, can this ftp file of self buffer memory be sent to said ftp client.
Concrete; The first client-side acceleration equipment confirms whether buffer memory has the ftp file of said ftp file sign expression to realize through searching the local cache Database Lists for self; If the first client-side acceleration equipment is confirmed the local cache Database Lists and is not comprised that the said ftp file of expression is buffered in the information of local cache database that then can confirm self does not have the said ftp file of buffer memory; If the first client-side acceleration equipment confirms the local cache Database Lists and comprise that the said ftp file of expression is buffered in the information of local cache database, can confirm that then self buffer memory has said ftp file.
Whether step 202, the local ftp caching concordance list of inquiry comprise the ftp file sign of appointment.
In the present embodiment, the ftp caching concordance list can be set in the server side acceleration equipment.Said local ftp caching concordance list is appreciated that to said server side acceleration equipment is listening to the client-side acceleration equipment when said ftp server sends the second ftp file upload request at every turn, writes down that the relevant information of the ftp file of the ftp file sign expression of carrying in this second ftp file upload request obtains.Thereby the relevant information of the ftp file of uploading to said ftp server through local ftp caching concordance list record client-side acceleration equipment, ftp file synchronous in real time of realizing buffer memory on ftp server and the client-side acceleration equipment.
Said local ftp caching concordance list can comprise the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn; The ftp file sign of carrying in this second ftp file upload request of record, and upload the address that this ftp file identifies the client-side acceleration equipment of the ftp file of representing.
Intercepting the second ftp file download request; When confirming that a client-side acceleration equipment need be downloaded a ftp file; The server side acceleration equipment can be inquired about local ftp caching concordance list, confirms whether this ftp file is uploaded by other client-side acceleration equipments.If, then can execution in step 203, and finish in step 203 back that is finished, otherwise, can execution in step 204.
Concrete, in this step, can confirm whether to comprise in the local ftp caching concordance list ftp file sign of carrying in the second ftp file download request.
Step 203, send to the said first client-side acceleration equipment and to download the redirect response message.
If confirm to comprise in the local ftp caching concordance list ftp file sign of carrying in the second ftp file download request, can indicate the client-side acceleration equipment that needs to download this ftp file to download this ftp file from other client-side acceleration equipments.Thereby can shunt the download pressure of said ftp server; Alleviate the load of said ftp server; Thereby improve the transmission speed of ftp file, simultaneously, to a certain extent; Can realize ftp file between said ftp server and the client-side acceleration equipment synchronously in real time, and can guarantee that the ftp file that does not upload to said ftp server immediately also can be downloaded.
Concrete; In this step; Can confirm to upload the sign that this ftp file identifies the second client-side acceleration equipment of the ftp file of representing according to local ftp caching concordance list; Send download redirect response message to the said first client-side acceleration equipment, the address of carrying the said second client-side acceleration equipment in the said download redirect response message indicates the first client-side acceleration equipment to download this ftp file from the said second client-side acceleration equipment.
If the first client-side acceleration equipment receives the download redirect response message that the server side acceleration equipment sends; Can send the 4th ftp file download request to the said second client-side acceleration equipment; Carry said ftp file sign in said the 4th ftp file download request, the ftp file of said ftp file sign expression is downloaded in request.And the second client-side acceleration equipment receives the 4th ftp file download request that the first client-side acceleration equipment sends, and can the ftp file of said ftp file sign expression be sent to the said first client-side acceleration equipment.
Step 204, transmission the 3rd ftp file download request.
If confirm not comprise in the local ftp caching concordance list ftp file sign of carrying in the second ftp file download request, then can download the ftp file of this ftp file sign expression through ftp server, guarantee the normal downloading of this ftp file.
Concrete; In this step; Can send the 3rd ftp file download request to said ftp server, carry said ftp file sign in said the 3rd ftp file download request, ftp file to the said first client-side acceleration equipment of said ftp file sign expression is downloaded in request.
Need to prove; If confirm to comprise in the local ftp caching concordance list ftp file sign of carrying in the second ftp file download request; The ftp file of this ftp file sign expression possibly be uploaded to ftp server; Also possibly go up crossing, and the expression ftp file is uploaded state (upload accomplish or upload uncompleted information) and also can be kept in the said local ftp caching concordance list.In the present embodiment, can also confirm the state of uploading of the ftp file of this ftp file sign expression according to said local ftp caching concordance list, and can download uploading the different ftp file of state through different modes.
Therefore; In step 203; If confirm to comprise in the local ftp caching concordance list ftp file sign of carrying in the second ftp file download request; Can also confirm that the ftp file that carries in the second ftp file download request identifies the state of uploading of the ftp file of expression according to said local ftp caching concordance list; And upload state for uploading imperfect tense confirming this, and confirm that this ftp file temporarily can't download from said ftp server, can send download redirect response message to the said first client-side acceleration equipment; The address of carrying the said second client-side acceleration equipment in the said download redirect response message indicates the first client-side acceleration equipment to download this ftp file (promptly downloading this ftp file from the second client-side acceleration equipment of uploading this ftp file) from the said second client-side acceleration equipment.If upload state for uploading completion and confirm this; Also can download this ftp file (certainly from said ftp server this moment; Also can download this ftp file from uploading the second client-side acceleration equipment of accomplishing this ftp file; Promptly download this ftp file from the second client-side acceleration equipment of uploading this ftp file), can send the 3rd ftp file download request to said ftp server as step 204; Carry said ftp file sign in said the 3rd ftp file download request, ftp file to the said first client-side acceleration equipment of said ftp file sign expression is downloaded in request.
What need further specify is; Before step 201; The said ftp client that sends the first ftp file download request can send to said ftp server and obtain catalog request, and the server side acceleration equipment can be sent to said ftp client with up-to-date ftp file catalogue through following steps.
Step 201 ', monitor and catalog request is obtained in interception.
The server side acceleration equipment listen to said ftp client to said ftp server send obtain catalog request the time; The said catalog request of obtaining is used for asking obtaining the ftp file catalogue of preserving under the said ftp server specified path; Can tackle this and obtain catalog request; Stop said ftp server to receive that this obtains catalog request, make response thereby stop said ftp server that this is obtained catalog request.
Step 201 ", obtain the ftp file catalogue.
In this step, the server side acceleration equipment can connect with said ftp server, and obtains said ftp file catalogue from said ftp server.
Step 201 " ', determine whether need to upgrade the ftp file catalogue.
In this step; Whether the server side acceleration equipment can confirm to have in the local ftp caching concordance list state of uploading of the ftp file that need write said specified path not accomplish for uploading, if confirm to have in the local ftp caching concordance list state of uploading of the ftp file that need write said specified path not accomplish for uploading, because the appointed information of ftp file is after this ftp file is uploaded completion, to write the ftp file catalogue; If the state of uploading of ftp file is not accomplished for uploading; Then the appointed information of this ftp file does not write said ftp file catalogue as yet, therefore, will confirm to need to upgrade the ftp file catalogue; Execution in step 201 " "; Otherwise, confirm need not upgrade the ftp file catalogue, redirect execution in step 201 " " '.
Step 201 " ", upgrade the ftp file catalogue.
In this step, if confirm to have in the local ftp caching concordance list state of uploading of the ftp file that need write said specified path not accomplish for uploading, then the appointed information with this ftp file writes said ftp file catalogue, realizes the renewal of ftp file catalogue.
Step 201 " " ', send the ftp file catalogue.
In this step, the server side acceleration equipment can be sent to said ftp client with up-to-date ftp file catalogue, makes said ftp client to confirm the ftp file that needs are downloaded from said ftp server according to this ftp file catalogue.
Be elaborated through the scheme of a concrete instance below to the embodiment of the invention one.It is that example describes that first ftp client that present embodiment connects with the first client-side acceleration equipment carries out to ftp server that ftp file uploads.
Embodiment three,
The embodiment of the invention three provides a kind of ftp file method for uploading, and the step of this method can be as shown in Figure 5, comprising:
Step 301, first ftp client initiate to set up the request of FTP control connection.
In this step, first ftp client can initiate to set up the request of FTP control connection to ftp server, and request is set up FTP with said ftp server and is connected.
Step 302, first ftp client are set up FTP with ftp server and are connected.
In this step, first ftp client is imported the FTP log-on message after the response that receives said ftp server requirement input FTP log-on message, and this FTP log-on message can comprise user name and user cipher.
Step 303, the first client-side acceleration equipment write down said log-on message.
User name and user cipher in the FTP log-on message of monitoring of the first client-side acceleration equipment and record ftp client 1, and can remain to local FTP access list, FTP access list form is as shown in table 1.
ID FTP-Server USER PASS
01 172.16.10.2 test01 123456
Table 1
Wherein, id field content representation FTP access list entry sign, the FTP-Server field contents is represented the address of said ftp server, and the USER field contents is represented user name, and the PASS field contents is represented login password.
Step 304, first ftp client send the first ftp file upload request.
Concrete, first ftp client can send the first ftp file upload request with " STOR+ filename " message format, and the FTP message that said filename is represented is uploaded in request.
Step 305, the first client-side acceleration equipment receive ftp file.
The first client-side acceleration equipment is when listening to first ftp client to the first ftp file upload request that ftp server sends; Forge the first ftp file upload request of FTP response message (this message format can be Response:150) response first ftp client of ftp server; And the deblocking uploaded of buffer memory first ftp client; And forge the ACK message confirm data piecemeal of said FTP message (as; FTP-DATE1) receive finish with defraud of next deblocking section (as, FTP-DATE2).
Step 306, the first client-side acceleration equipment verification file consistency.
The client-side acceleration equipment sends second response message to first ftp client after the ftp file reception finishes.The message format of second response message can be notified first ftp client for " 226Transfer complete+ file data size ", and said ftp server receives said ftp file and finishes, and asks first ftp client that file consistence is carried out verification.Receiving first ftp client when sending out the message that the affirmation file consistence verification of feedback passes through, confirming that said ftp file receives to finish.
Step 307, the first client-side acceleration equipment upgrade the local cache Database Lists.
The first client-side acceleration equipment can be with the FTP packet buffer that receives at the local cache database, and can in this step, upgrade the local cache Database Lists.The cache database listings format can be as shown in table 2.
ID FTP-Server Dir File-Name File-Size Modtime
01 172.16.10.2 /a A.txt 1025 201204011405
Table 2
Wherein, The id field content representation is represented local cache database column table clause sign; The FTP-Server field contents is represented said ftp server address; The Dir field contents is represented the path that said ftp file need write in said ftp server, the File-Name field contents is represented the filename of said ftp file, and the File-Size field contents is represented the file size of said ftp file; Can be with bit (Byte) as unit, the Modtime field contents is represented the uplink time (201204011405 expressions 2012 year April 1day 14 o'clock 05 minute) of said ftp file to said ftp server.
Step 308, the first client-side acceleration equipment are closed with the FTP of first ftp client and are connected.
Step 309, the first client-side acceleration equipment are set up and are connected with the FTP of ftp server.
In this step; The first client-side acceleration equipment can be simulated said first ftp client and set up FTP with ftp server and be connected; Concrete; The first client-side acceleration equipment can extract the log-on message of importing when first ftp client is logined said ftp server from the FTP access list, utilize this log-on message to login said ftp server, thereby realizes being connected with the FTP of ftp server.
Step 310, the first client-side acceleration equipment are uploaded said ftp file.
In this step, the first client-side acceleration equipment can send the second ftp file upload request to said ftp server, and will receive from said first ftp client, and the said ftp file of buffer memory is uploaded to said ftp server.
Step 311, server side acceleration equipment recording-related information.
In this step; The server side acceleration equipment that said ftp server connects listens to the first client-side acceleration equipment can be when the second ftp file upload request that said ftp server sends, can be with the relevant information records of said ftp file to local ftp caching concordance list.Ftp caching concordance list form can be as shown in table 3.
?Peer-ID FTP-Server Dir File-Name File-Size Inpath-Address Synchronization?Status
01 172.16.10.2 /a A.txt 1025 192.168.4.1Do not accomplish
Table 3
Wherein, The Peer-ID field contents representes to upload the sign of the first client-side acceleration equipment of said ftp file; The FTP-Server field contents is represented said ftp server address; The Dir field contents is represented the path that said ftp file need write in said ftp server, the File-Name field contents is represented the file name of said ftp file, and the File-Size field contents is represented the file size of said ftp file; The Inpath-Address field contents representes to upload the address of the first client-side acceleration equipment of said ftp file, and Synchronization Status field contents representes to upload state.
Step 312, the first client-side acceleration equipment are closed with the FTP of said ftp server and are connected.
The first client-side acceleration equipment can cut out with the FTP of said ftp server and is connected after uploading said ftp file and finishing, and guarantees that said ftp client can set up FTP with said ftp server again and be connected.
Be elaborated through the scheme of a concrete instance below to the embodiment of the invention two.It is that example describes that second ftp client that present embodiment connects with the second client-side acceleration equipment carries out the ftp file download to ftp server.
Embodiment four,
The embodiment of the invention four provides a kind of ftp file method for down loading, and the step of this method can be as shown in Figure 6, comprising:
Step 401, second ftp client are set up FTP with ftp server and are connected.
Step 402, second ftp client send and obtain catalog request.
In this step, second ftp client can be to the catalog request of obtaining of said ftp server transmission, the ftp file catalogue that specified path is preserved down in the said ftp server of acquisition request.
Catalog request is obtained in step 403, the interception of server side acceleration equipment.
In this step, the server side acceleration equipment that is connected with said ftp server can be tackled and obtain catalog request.
Step 404, server side acceleration equipment obtain said ftp file catalogue.
The ftp file catalogue that the server side acceleration equipment obtains from said ftp server can be following form:
FTP-Data:-rw-rw-rw?1user?group?1024Mar?9?10:58test.txt\r\n
This ftp file catalogue representes only to have under the said ftp server specified path ftp file of file test.txt by name, and wherein ,-rw-rw-rw representes file attribute, and r representes that read right w representes write permission; 1 expression number of files; User representes file place user class authority; Group representes file place set of systems authority; 1024 expression file sizes; Mar 9 10:58 represent file update time; Test.txt representes filename; R be end mark.
Step 405, server side acceleration equipment upgrade the ftp file catalogue.
In this step, whether the server side acceleration equipment can confirm to have in the local ftp caching concordance list state of uploading of the ftp file that need write said specified path not accomplish for uploading.Promptly; The server side acceleration equipment can be that said ftp server address, Dir field contents are that said specified path and Synchronization Staus field contents are retrieved local ftp caching index table entries for not accomplishing with FTP Server field contents; And the appointed information in the clauses and subclauses of hitting write said ftp file catalogue, realize the renewal of ftp file catalogue.Certainly, if the clauses and subclauses of not hitting can think that then the ftp file catalogue after upgrading is the ftp file catalogue before upgrading.
Suppose that ftp caching concordance list content is as shown in table 4 at this moment:
?Peer-ID FTP-Server Dir File-Name File-Size Inpath-Address Synchronization?Status
01 172.16.10.2 /a A.txt 1025 192.168.4.1Do not accomplish
02 172.16.10.2 /b B.txt 256 192.168.4.11Do not accomplish
03 172.16.10.2 /c C.txt 2048 192.168.4.111Accomplish
Table 4
If said ftp server address is 172.16.10.2, said specified path be/a, then can the appointed information that table 4 file is called in the A.txt clauses and subclauses be write said ftp file catalogue, and the said ftp file catalogue after writing can be as follows:
FTP-Data:-rw-rw-rw 1user group 1024Mar 9 r 1user group 1025Mar 10 r, wherein, Mar 10 09:00 represent the current system time of server side acceleration equipment.
Step 406, server side acceleration equipment send the ftp file catalogue after upgrading.
In this step, the server side acceleration equipment can send to second ftp client with the ftp file catalogue after upgrading.
Step 407, second ftp client send the first ftp file download request.
In the present embodiment, the ftp file with second ftp client request file in download A.txt by name is that example describes.
Step 408, the second client-side acceleration equipment are tackled the first ftp file download request.
In this step, the second client-side acceleration equipment is tackled after the first ftp file download request, can retrieve the local cache Database Lists, confirms whether buffer memory has file to be called the ftp file of A.txt for self.Concrete, can retrieve with file keyword by name.
In the present embodiment, suppose that the second client-side acceleration equipment confirms self not have the ftp file of cache file A.txt by name, then can continue execution in step 409.
Step 409, the second client-side acceleration equipment send the second ftp file download request.
The second client-side acceleration equipment sends the second ftp file download request to ftp server, and request is from the ftp file of said ftp server file in download A.txt by name.
Step 410, server side acceleration equipment are tackled the second ftp file download request.
In this step, the server side acceleration equipment is tackled after the second ftp file download request, can retrieve local ftp caching concordance list, determines whether to be provided by other client-side acceleration equipments the download of the ftp file of file A.txt by name.
Suppose that the ftp caching concordance list content in server side acceleration equipment this moment is still as shown in table 4; The ftp file of finding file A.txt by name is uploaded by the first client-side acceleration equipment that the Peer-ID field contents is 01, the Inpath-address field contents is 192.168.4.1; And do not uploaded; Then can confirm and need the download of ftp file be redirected, continue execution in step 411, the download of the ftp file of file A.txt by name is provided by the first client-side acceleration equipment.
Certainly; If in the clauses and subclauses of table 4 file this moment A.txt by name; Synchronization Status field contents also can send the 3rd ftp file download request to said ftp server for accomplishing, and the download of the ftp file of file A.txt by name is provided by said ftp server.
Step 411, server side acceleration equipment send downloads the redirect response message.
In this step; The server side acceleration equipment can send to the second client-side acceleration equipment and download the redirect response message; This downloads the redirect response message format can be the Response:302NewFTP.Address message, and NewFTP.Address wherein is expressed as the address (can be the 192.168.4.1 that inquires through table 4) of the first client-side acceleration equipment.
This downloads the redirect response message content can be following:
302NewFTP.Address.\r\n
Response?code:redirect?to?NewFTP.Address?for?A(302)
Response?arg:redirect?to?NewFTP.Address?for?A
Wherein, A representes the filename of the ftp file that needs are downloaded.
Step 412, the second client-side acceleration equipment send the 4th ftp file download request.
The second client-side acceleration equipment is after receiving download redirect response message; The ftp file that can parse file A.txt by name is downloaded and can be provided by the first client-side acceleration equipment; Therefore, the second client-side acceleration equipment can be to the first client-side acceleration equipment request file in download A.
With the embodiment of the invention one ~ embodiment four based on same inventive concept, following device is provided.
Embodiment five,
The embodiment of the invention five provides a kind of ftp file to upload device, and the structure of this device can be as shown in Figure 7, comprising:
Blocking module 11 is used for when listening to ftp client to the first ftp file upload request that ftp server sends, carrying the ftp file sign in the said first ftp file upload request, tackles this first ftp file upload request; Sendingmodule 12 is used for when blocking module is intercepted the said first ftp file upload request, sending first response message to said ftp client, and first response message is used to notify said ftp client, can send data to said ftp server; The ftp file of the said ftp file sign expression thatcache module 13 is used to receive and the said ftp client of buffer memory sends; Said sendingmodule 12 also is used for receiving after said ftp file finishes at cache module, sends second response message to said ftp client, and second response message is used to notify said ftp client, and said ftp server receives said ftp file and finishes.
Said sendingmodule 12 also is used for after said ftp client sends second response message; Break off and being connected with the FTP of said ftp client; And foundation is connected with the FTP of said ftp server; Send the second ftp file upload request to said ftp server, the said second ftp file upload request is used to ask the said ftp file with said device buffer memory to be sent to said ftp server.
Said cache module 13 specifically is used to receive and the deblocking of the said ftp file that the said ftp client of buffer memory sends; And when a data piecemeal reception finishes; Send the 3rd response message to said ftp client, the 3rd response message is used to notify said ftp client to send next deblocking.
Said device also comprises logging modle 14:
Logging modle 14 is used to monitor and writes down the log-on message of importing when said ftp client is logined said ftp server;
Said sendingmodule 12 is used to set up with the FTP of said ftp server and is connected, and is specially, and utilizes said log-on message to login said ftp server.
Said device also comprises update module 15:
Update module 15 is used for receiving after said ftp file finishes at cache module, upgrades the local cache Database Lists, and the local cache Database Lists after the renewal comprises that the said ftp file of expression is buffered in the information of local cache database.
Embodiment six,
The embodiment of the invention six provides a kind of ftp file download apparatus, and the structure of this device can be as shown in Figure 8, comprising:
Blocking module 21 is used for listening to the first client-side acceleration equipment when ftp server sends the second ftp file download request; Carry the ftp file sign in the said second ftp file download request; Tackle this second ftp file download request; Wherein, the said second ftp file download request is that the first client-side acceleration equipment is listening to ftp client to the first ftp file download request that said ftp server sends, and carries said ftp file sign in the said first ftp file download request; Tackle this first ftp file download request, and when confirming self not have the said ftp file of buffer memory to identify the ftp file of representing, send; Determination module 22 is used for when blocking module is intercepted the said second ftp file download request; Confirm whether to comprise in the local ftp caching concordance list this ftp file sign; Said local ftp caching concordance list comprises the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn; The ftp file sign of carrying in this second ftp file upload request of record, and upload the address that this ftp file identifies the client-side acceleration equipment of the ftp file of representing; Sending module 23 is used for when determination module confirms that local ftp caching concordance list comprises the ftp file sign of carrying in the second ftp file download request; Confirm to upload the address that this ftp file identifies the second client-side acceleration equipment of the ftp file of representing according to local ftp caching concordance list; Send download redirect response message to the said first client-side acceleration equipment; The address of carrying the said second client-side acceleration equipment in the said download redirect response message indicates the first client-side acceleration equipment to download this ftp file from the said second client-side acceleration equipment.
Said determination module 22 also is used for confirming according to said local ftp caching concordance list the state of uploading of the ftp file of the ftp file sign expression that the second ftp file download request is carried; In the said local ftp caching concordance list; Also comprise the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn, the state of uploading of the ftp file of the ftp file that carries in this of record second ftp file upload request sign expression;
Said sendingmodule 23 is used for sending download redirect response message to the said first client-side acceleration equipment; Be specially; The state of uploading of the ftp file of the ftp file sign expression of in confirming the second ftp file download request, carrying sends download redirect response message for uploading imperfect tense to the said first client-side acceleration equipment.
Said blockingmodule 21 also be used for listen to said ftp client to said ftp server send obtain catalog request the time; The said catalog request of obtaining is used for asking obtaining the ftp file catalogue of preserving under the said ftp server specified path; Tackle this and obtain catalog request; And obtain said ftp file catalogue from said ftp server; In the said local ftp caching concordance list; Also comprise the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn, the path that the ftp file of the ftp file that carries in this of record second ftp file upload request sign expression need write;
Said sendingmodule 23 is used for also confirming whether local ftp caching concordance list has the state of uploading of the ftp file that need write said specified path not accomplish for uploading; If confirming to have in the local ftp caching concordance list state of uploading of the ftp file that need write said specified path does not accomplish for uploading; The appointed information of this ftp file is write said ftp file catalogue; And the ftp file catalogue that will write after the appointed information is sent to said ftp client; Otherwise, will be sent to said ftp client from the ftp file catalogue that said ftp server obtains.
Said sendingmodule 23 also is used for when determination module confirms that local ftp caching concordance list does not comprise the ftp file sign of carrying in the second ftp file download request; Send the 3rd ftp file download request to said ftp server; Carry said ftp file sign in said the 3rd ftp file download request, ftp file to the said first client-side acceleration equipment of said ftp file sign expression is downloaded in request.
Embodiment seven,
The embodiment of the invention seven provides a kind of ftp file download apparatus, and the structure of this device can be as shown in Figure 9, comprising:
Blocking module 31 is used for when listening to ftp client to the first ftp file download request that ftp server sends, carrying the ftp file sign in the said first ftp file download request, tackles this first ftp file download request;
Determination module 32 is used for confirming the said device ftp file whether buffer memory has said ftp file sign to represent;
Sending module 33 is used for when determination module is determined said device and do not had the ftp file of the said ftp file of buffer memory sign expression; Send the second ftp file download request to said ftp server, carry said ftp file sign in the said second ftp file download request;
Receiver module 34 is used for the download redirect response message that reception server side acceleration equipment sends;
Said sending module 33 also is used for when receiver module receives the download redirect response message of server side acceleration equipment transmission; The address of carrying the second client-side acceleration equipment of uploading or uploaded said ftp file in the said download redirect response message; Send the 4th ftp file download request to the said second client-side acceleration equipment; Carry said ftp file sign in said the 4th ftp file download request, the ftp file of said ftp file sign expression is downloaded in request.
Said determination module 32 specifically is used to search the local cache Database Lists, does not comprise that the said ftp file of expression is buffered in the information of local local cache database, confirms that then said device does not have the said ftp file of buffer memory if confirm the local cache Database Lists; Comprise that the said ftp file of expression is buffered in the information of local local cache database, confirms that then said device buffer memory has said ftp file if confirm the local cache Database Lists.
Said sending module 33 also is used for when determination module is determined said device buffer memory the ftp file of said ftp file sign expression is arranged, and this ftp file of said device buffer memory is sent to said ftp client.
Embodiment eight,
The embodiment of the invention eight provides a kind of ftp file download apparatus, and the structure of this device can be shown in figure 10, comprising:
Receiver module 41 is used to receive the 4th ftp file download request that the first client-side acceleration equipment sends, and carries said ftp file sign in said the 4th ftp file download request; Sendingmodule 42 is used for when receiver module receives said the 4th ftp file download request, and the ftp file of said ftp file sign expression is sent to the said first client-side acceleration equipment.
Those skilled in the art should understand that the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the application can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The application is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the application embodiment.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the application's preferred embodiment, in a single day those skilled in the art get the basic inventive concept could of cicada, then can make other change and modification to these embodiment.So accompanying claims is intended to be interpreted as all changes and the modification that comprises preferred embodiment and fall into the application's scope.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and the scope that do not break away from the application to the application.Like this, belong within the scope of the application's claim and equivalent technologies thereof if these of the application are revised with modification, then the application also is intended to comprise these changes and modification interior.

Claims (24)

The server side acceleration equipment is listening to the first client-side acceleration equipment when ftp server sends the second ftp file download request; Carry the ftp file sign in the said second ftp file download request; Tackle this second ftp file download request; Confirm whether to comprise in the local ftp caching concordance list this ftp file sign; Wherein, The said second ftp file download request is that the first client-side acceleration equipment is listening to ftp client to the first ftp file download request that said ftp server sends, and carries said ftp file sign in the said first ftp file download request, tackles this first ftp file download request; And when confirming self not have the said ftp file of buffer memory to identify the ftp file of representing, send; Said local ftp caching concordance list comprises the second ftp file upload request that said server side acceleration equipment sends to said ftp server to the client-side acceleration equipment that listens at every turn, the ftp file that carries in this of record second ftp file upload request sign, and upload the address that this ftp file identifies the client-side acceleration equipment of the ftp file of representing;
CN201210316535.0A2012-08-302012-08-30A kind of ftp file is uploaded, method for down loading and deviceActiveCN102833337B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201210316535.0ACN102833337B (en)2012-08-302012-08-30A kind of ftp file is uploaded, method for down loading and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201210316535.0ACN102833337B (en)2012-08-302012-08-30A kind of ftp file is uploaded, method for down loading and device

Publications (2)

Publication NumberPublication Date
CN102833337Atrue CN102833337A (en)2012-12-19
CN102833337B CN102833337B (en)2016-03-02

Family

ID=47336304

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201210316535.0AActiveCN102833337B (en)2012-08-302012-08-30A kind of ftp file is uploaded, method for down loading and device

Country Status (1)

CountryLink
CN (1)CN102833337B (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103391324A (en)*2013-07-292013-11-13武汉虹信通信技术有限责任公司Hot backup method based on TFTP (trivial file transfer protocol)
CN103401946A (en)*2013-08-192013-11-20网宿科技股份有限公司HTTP (hyper text transfer protocol) uploading acceleration method and system
CN103401892A (en)*2013-06-262013-11-20中国科学院声学研究所HTTP POST based data upload accelerating method and server
CN103547339A (en)*2013-05-082014-01-29华为技术有限公司 A file upload method, client and server
CN104168300A (en)*2013-05-172014-11-26中国电信股份有限公司Content acceleration method and system
CN104506592A (en)*2014-12-112015-04-08安徽师范大学Method for uploading and downloading data for FTP (file transfer protocol)
CN104754042A (en)*2015-03-132015-07-01网宿科技股份有限公司Picture releasing and uploading acceleration method and system using CDN (content distribution network)
CN106302661A (en)*2016-08-022017-01-04网宿科技股份有限公司P2P data accelerated method, device and system
WO2017080174A1 (en)*2015-11-132017-05-18乐视控股(北京)有限公司Video uploading method and system
CN106855874A (en)*2015-12-092017-06-16群晖科技股份有限公司File uploading method, file downloading method and related server
CN106888228A (en)*2015-12-152017-06-23中国电信股份有限公司Method, conversation controller and the system accelerated for content
CN108353083A (en)*2015-11-042018-07-31比特梵德知识产权管理有限公司The system and method for algorithm (DGA) Malware is generated for detecting domains
CN109039904A (en)*2018-08-012018-12-18武汉绿色网络信息服务有限责任公司A kind of application method for routing and device
CN109327546A (en)*2018-11-212019-02-12Oppo(重庆)智能科技有限公司A kind of method, client, MES and electronic equipment accessing ftp server
CN110166308A (en)*2019-07-022019-08-23深圳市友华通信技术有限公司Data transmission method in local area network based on ONU equipment
CN110198334A (en)*2018-04-192019-09-03腾讯科技(深圳)有限公司Access method, device and storage medium based on object storage service
CN110928839A (en)*2018-08-312020-03-27携程旅游网络技术(上海)有限公司Storage method and system of international freight rate data
CN111726401A (en)*2020-06-092020-09-29北京天空卫士网络安全技术有限公司File transmission method and device
CN112019623A (en)*2020-08-282020-12-01大医智诚健康管理有限公司Distributed storage system based on FTP protocol and implementation method thereof
CN112363980A (en)*2020-11-032021-02-12网宿科技股份有限公司Data processing method and device for distributed system
WO2021042744A1 (en)*2019-09-022021-03-11深圳壹账通智能科技有限公司File uploading method and system
CN112667579A (en)*2020-12-302021-04-16杭州趣链科技有限公司File storage method, device, equipment and storage medium
CN113364887A (en)*2021-06-302021-09-07北京天空卫士网络安全技术有限公司File downloading method based on FTP, proxy server and system
CN113590565A (en)*2021-08-122021-11-02湖南智领通信科技有限公司Method, system, equipment and medium for transmitting data of multiple terminals in series connection

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101699816A (en)*2009-11-172010-04-28上海华平信息技术股份有限公司System and method for document distribution based on internet
CN101841387A (en)*2009-03-192010-09-22中国移动通信集团江西有限公司Wide area network data speed acceleration method, device and system
CN102571951A (en)*2011-12-312012-07-11珠海金山办公软件有限公司System and method for transferring files

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101841387A (en)*2009-03-192010-09-22中国移动通信集团江西有限公司Wide area network data speed acceleration method, device and system
CN101699816A (en)*2009-11-172010-04-28上海华平信息技术股份有限公司System and method for document distribution based on internet
CN102571951A (en)*2011-12-312012-07-11珠海金山办公软件有限公司System and method for transferring files

Cited By (38)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103547339B (en)*2013-05-082017-01-25华为技术有限公司File uploading method, client side and server side
CN103547339A (en)*2013-05-082014-01-29华为技术有限公司 A file upload method, client and server
WO2014179950A1 (en)*2013-05-082014-11-13华为技术有限公司File uploading method, client, and server
CN104168300A (en)*2013-05-172014-11-26中国电信股份有限公司Content acceleration method and system
CN104168300B (en)*2013-05-172017-06-27中国电信股份有限公司Content accelerated method and system
CN103401892A (en)*2013-06-262013-11-20中国科学院声学研究所HTTP POST based data upload accelerating method and server
CN103391324A (en)*2013-07-292013-11-13武汉虹信通信技术有限责任公司Hot backup method based on TFTP (trivial file transfer protocol)
CN103391324B (en)*2013-07-292016-04-27武汉虹信通信技术有限责任公司A kind of heat backup method based on tftp agreement
CN103401946A (en)*2013-08-192013-11-20网宿科技股份有限公司HTTP (hyper text transfer protocol) uploading acceleration method and system
CN103401946B (en)*2013-08-192016-07-13网宿科技股份有限公司 HTTP upload acceleration method and system
CN104506592B (en)*2014-12-112018-10-16安徽师范大学The method of upload data and downloading data for File Transfer Protocol
CN104506592A (en)*2014-12-112015-04-08安徽师范大学Method for uploading and downloading data for FTP (file transfer protocol)
CN104754042A (en)*2015-03-132015-07-01网宿科技股份有限公司Picture releasing and uploading acceleration method and system using CDN (content distribution network)
CN108353083A (en)*2015-11-042018-07-31比特梵德知识产权管理有限公司The system and method for algorithm (DGA) Malware is generated for detecting domains
WO2017080174A1 (en)*2015-11-132017-05-18乐视控股(北京)有限公司Video uploading method and system
CN106855874A (en)*2015-12-092017-06-16群晖科技股份有限公司File uploading method, file downloading method and related server
CN106888228A (en)*2015-12-152017-06-23中国电信股份有限公司Method, conversation controller and the system accelerated for content
EP3477910A4 (en)*2016-08-022019-07-17Wangsu Science & Technology Co., Ltd. METHOD, DEVICE AND SYSTEM FOR ACCELERATION FOR P2P DATA
WO2018023858A1 (en)*2016-08-022018-02-08网宿科技股份有限公司Acceleration method, device, and system for p2p data
CN106302661A (en)*2016-08-022017-01-04网宿科技股份有限公司P2P data accelerated method, device and system
CN110198334A (en)*2018-04-192019-09-03腾讯科技(深圳)有限公司Access method, device and storage medium based on object storage service
CN110198334B (en)*2018-04-192022-03-25腾讯科技(深圳)有限公司Access method and device based on object storage service and storage medium
CN109039904A (en)*2018-08-012018-12-18武汉绿色网络信息服务有限责任公司A kind of application method for routing and device
CN109039904B (en)*2018-08-012020-12-22武汉绿色网络信息服务有限责任公司 Application routing method and device
CN110928839A (en)*2018-08-312020-03-27携程旅游网络技术(上海)有限公司Storage method and system of international freight rate data
CN110928839B (en)*2018-08-312023-05-12携程旅游网络技术(上海)有限公司International freight rate data storage method and system
CN109327546A (en)*2018-11-212019-02-12Oppo(重庆)智能科技有限公司A kind of method, client, MES and electronic equipment accessing ftp server
CN110166308A (en)*2019-07-022019-08-23深圳市友华通信技术有限公司Data transmission method in local area network based on ONU equipment
CN110166308B (en)*2019-07-022022-02-01深圳市友华通信技术有限公司Data transmission method in local area network based on ONU (optical network Unit) equipment
WO2021042744A1 (en)*2019-09-022021-03-11深圳壹账通智能科技有限公司File uploading method and system
CN111726401A (en)*2020-06-092020-09-29北京天空卫士网络安全技术有限公司File transmission method and device
CN112019623A (en)*2020-08-282020-12-01大医智诚健康管理有限公司Distributed storage system based on FTP protocol and implementation method thereof
CN112363980A (en)*2020-11-032021-02-12网宿科技股份有限公司Data processing method and device for distributed system
CN112363980B (en)*2020-11-032024-07-02网宿科技股份有限公司 A data processing method and device for a distributed system
CN112667579A (en)*2020-12-302021-04-16杭州趣链科技有限公司File storage method, device, equipment and storage medium
CN113364887A (en)*2021-06-302021-09-07北京天空卫士网络安全技术有限公司File downloading method based on FTP, proxy server and system
CN113590565A (en)*2021-08-122021-11-02湖南智领通信科技有限公司Method, system, equipment and medium for transmitting data of multiple terminals in series connection
CN113590565B (en)*2021-08-122023-12-22湖南智领通信科技有限公司Series multi-terminal data transmission method, system, equipment and medium

Also Published As

Publication numberPublication date
CN102833337B (en)2016-03-02

Similar Documents

PublicationPublication DateTitle
CN102833337A (en)FTP (File Transfer Protocol) file uploading, downloading method and device
US10411956B2 (en)Enabling planned upgrade/downgrade of network devices without impacting network sessions
US10491523B2 (en)Load distribution in data networks
CN114328618B (en) A cache data synchronization method, device, equipment and storage medium
CN104025521B (en)Content transmission system, optimize the method for network traffics in this system, central control unit and local cache device
US20130144984A1 (en)Systems and Methods for Connection Pooling for Video Streaming in Content Delivery Networks
CN104219329A (en)Method for deploying service through content distribution in cluster server
CN103581245A (en)Content delivery method and system of content delivery network
CN102667509A (en)System and method for providing faster and more efficient data communication
CN102868731A (en)Method and device for software online updating and downloading acceleration
CN110324406B (en) A method and cloud service system for acquiring business data
EP3063925A1 (en)Synchronizing event history for multiple clients
CN111225003B (en)NFS node configuration method and device
CN114979097B (en)Message pushing method and device based on MQTT and electronic equipment
US20150106468A1 (en)Storage system and data access method
JP2013257798A (en)Data collection system and data collection method
EP2916522A1 (en)File transmission method and system thereof
CN102420863B (en)Rapid file distribution system, method thereof and apparatus thereof
CN102984277B (en)Prevent the system and method that malice connects
US8676751B2 (en)High availability database systems and methods
CN102546776A (en)Method for realizing off-line reading files in SAN (Storage Area Networking) shared file system
JP5620881B2 (en) Transaction processing system, transaction processing method, and transaction processing program
CN105893429A (en)Method and system for optimizing WEB cache
CN102984276B (en)For the distributor distributed multiple socket server and distribution method
CN114827171A (en)Information synchronization method and device, computer equipment and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp