CN104519138A - Data transmission method and data transmission system based on distributed FTP - Google Patents

Data transmission method and data transmission system based on distributed FTP Download PDF

Info

Publication number
CN104519138A
CN104519138A CN201410855882.XA CN201410855882A CN104519138A CN 104519138 A CN104519138 A CN 104519138A CN 201410855882 A CN201410855882 A CN 201410855882A CN 104519138 A CN104519138 A CN 104519138A
Authority
CN
China
Prior art keywords
host computer
address
storage card
card
request
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
CN201410855882.XA
Other languages
Chinese (zh)
Other versions
CN104519138B (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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology 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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN201410855882.XA priority Critical patent/CN104519138B/en
Priority to PCT/CN2015/071526 priority patent/WO2016106907A1/en
Publication of CN104519138A publication Critical patent/CN104519138A/en
Application granted granted Critical
Publication of CN104519138B publication Critical patent/CN104519138B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data transmission method and a data transmission system based on distributed FTP, and is used for realizing that memory cards are accessed by an upper computer in a content-based mode. The data transmission method comprises the following steps: after a switch card receiving a request sent by the upper computer, allocating an idle IP address for the request, establishing virtual connection between the upper computer and each memory card when a connecting request is sent by the upper computer, receiving an operation request that a target address sent by the upper computer is the idle IP address, determining the memory card where a file is according to the message of the file carried in the operation request, and informing the corresponding memory card to carry out data transmission with the upper computer. In the embodiment of the invention, the request sent by the upper computer is received by the switch card, the idle IP address is allocated for the request, the virtual connection is established between the upper computer and each memory card, and the data transmission between the upper computer and the corresponding memory card is carried out when the operation request is received, so that the upper computer can obtain the corresponding file even if the memory address of the file cannot be obtained.

Description

A kind of data transmission method based on distributed FTP and system
Technical field
The present invention relates to data communication technology field, particularly relate to a kind of data transmission method based on distributed FTP and system.
Background technology
Fig. 1 is the syndeton schematic diagram of switching card and storage card in frame-type equipment, in frame-type equipment, switching card and storage card have self independently CPU, and switching card is connected with each storage card, as shown in Figure 1, switching card connect respectively storage card 1, storage card 2 ..., storage card n, storage card is all furnished with the IP belonging to self, and host computer only has the ability of access switching card, and the IP of storage card hides host computer.In order to realize the access of host computer to storage card, frame-type equipment all realizes based on FTP.
Comprise when realizing the access of host computer to storage card based on FTP:
Switching card sets up ftp server, storage card is mapped as the NFS of switching card, the data buffer storage on storage card, on switching card, provides data by switching card to host computer.Data all in the method all through the CPU of switching card, will cause the load pressure of switching card comparatively large, affect the efficiency of transfer of data.
Or, adopt the mode of distributed FTP, switching card set up Master ftp server, sets up Slave ftp server on a memory card, between host computer and switching card, set up control connection.When needs carry out transfer of data, host computer sends request to switching card, this request is handshake request, wherein carry the information of file, host computer is according to this request, determine the storage card at this file place, this request is sent to corresponding storage card, sets up data cube computation by corresponding storage card and host computer.The information of file is carried in the handshake request that in this process, host computer sends, this has certain requirement to host computer, when host computer do not have send handshake request carry the ability of the information of file time, switching card cannot know the storage card at this file place, cause host computer cannot obtain corresponding data.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of data transmission method based on distributed FTP solved the problem at least in part and system.
Embodiments provide a kind of data transmission method based on distributed FTP, described method comprises:
The request that switching card sends according to the host computer received, distributes the IP address of self free time for described request and notifies host computer;
Receive the connection request that described host computer sends, and described connection request is forwarded to each storage card be connected with self, set up the virtual connections of host computer and each storage card;
Receive the operation requests that described host computer sends, the destination address of wherein said operation requests is the IP address of described free time;
According to the fileinfo carried in described operation requests, determine the storage card at described file place, the described storage card that notice is determined and described host computer carry out transfer of data.
In order to ensure the transmission of data, distributing the IP address of self free time for described request in embodiments of the present invention and notifying that host computer comprises:
Described switching card selects idle IP address in the IP address field of self;
Return response message to described host computer, in wherein said response message, carry the IP address of described free time.
In order to ensure the transmission of data, describedly in embodiments of the present invention described connection request is forwarded to each storage card be connected with self, the virtual connections setting up host computer and each storage card also comprises:
Described switching card sends connection request to each storage card, and wherein said connection request carries the IP address of described free time;
Receive the reply message that each described storage card returns, set up the virtual connections of host computer and each storage card.
In order to improve the efficiency of transfer of data, can conduct interviews according to the content of file in embodiments of the present invention, the described storage card determining described file place, the described storage card that notice is determined and described host computer carry out transfer of data and comprise:
Described switching card is according to described fileinfo, and the map listing self preserved, and searches the storage card at this fileinfo place;
To the described storage card transmit operation request found, the object IP address of wherein said operation requests is the IP address of described free time.
In order to ensure the transmission of follow-up data, after transfer of data completes, described method also comprises:
The status indication of described IP address is idle condition by described switching card.
Embodiments provide a kind of data transmission system based on distributed FTP, described system comprises:
Host computer, for sending request to switching card, receives the response message that described switching card returns; Send connection request and operation requests to switching card, carry out transfer of data with storage card;
Switching card, for the request sent according to the host computer received, distribute the IP address of self free time for described request and notify host computer, and described connection request being forwarded to each storage card be connected with self, setting up the virtual connections of host computer and each storage card; Receive the operation requests that described host computer sends, the destination address of wherein said operation requests is the IP address of described free time; According to the fileinfo carried in described operation requests, determine the storage card at described file place, the described storage card that notice is determined and described host computer carry out transfer of data;
Multiple storage card, for carrying out transfer of data with described switching card.
In order to ensure the transmission of data, described switching card, specifically for selecting idle IP address in the IP address field of self; Return response message to described host computer, in wherein said response message, carry the IP address of described free time.
In order to ensure the transmission of data, described switching card, specifically for sending connection request to each storage card, wherein said connection request carries the IP address of described free time; Receive the reply message that each described storage card returns, set up the virtual connections of host computer and each storage card.
In order to improve the efficiency of transfer of data, can conduct interviews according to the content of file in embodiments of the present invention, described switching card, specifically for according to described fileinfo, and the map listing self preserved, search the storage card at this fileinfo place; To the described storage card transmit operation request found, the object IP address of wherein said operation requests is the IP address of described free time.
In order to ensure the transmission of follow-up data, the status indication of described IP address, after completing specifically for transfer of data, is idle condition by described switching card.
Embodiments provide a kind of data transmission method based on distributed FTP and system, after in the method, switching card receives the request of host computer transmission, for the IP address of this request dispatching free time, and when host computer sends connection request, set up the virtual connections of host computer and each storage card, the destination address receiving host computer transmission is after the operation requests of IP address of this free time, according to the information of the file carried in this operation requests, determine the storage card at this file place, and notify that corresponding storage card and host computer carry out transfer of data.Because switching card receives the request of host computer transmission in embodiments of the present invention, for the IP address of self free time of this request dispatching, host computer and storage card is made to set up virtual connections, and when receiving operation requests, host computer and corresponding storage card is made to carry out transfer of data, even if thus make host computer cannot know the memory address of file, also can obtain corresponding file.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the syndeton schematic diagram of switching card and storage card in frame-type equipment;
A kind of data transmission procedure based on distributed FTP that Fig. 2 provides for the embodiment of the present invention;
A kind of detailed data transmitting procedure based on distributed FTP that Fig. 3 provides for the embodiment of the present invention;
The syndeton schematic diagram of the switching card that Fig. 4 provides for the embodiment of the present invention, storage card and host computer;
A kind of data transmission system structural representation based on distributed FTP that Fig. 5 provides for the embodiment of the present invention.
Embodiment
In order to enable host computer obtain file content in storage card accurately, embodiments provide a kind of data transmission method based on distributed FTP and system.
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Below in conjunction with explanation accompanying drawing, the embodiment of the present invention is described.
A kind of data transmission procedure based on distributed FTP that Fig. 2 provides for the embodiment of the present invention, this process comprises the following steps:
S201: the request that switching card sends according to the host computer received, distributes the IP address of self free time for described request and notifies host computer.
When host computer needs to obtain file content, send request to switching card.After switching card receives the request of host computer transmission, in the IP address field of self, select idle IP address.
Concrete, the IP address field of self is preserved in the switching card of the embodiment of the present invention, and conveniently operate, whether used according to each IP address, the state of each IP address is preserved in this locality, common state comprises using state and idle condition, and switching card can select idle IP address according to the state of each IP address in the IP address field of self.
S202: receive the connection request that described host computer sends, and described connection request is forwarded to each storage card be connected with self, set up the virtual connections of host computer and each storage card.
After host computer obtains the IP address that switching card returns, send connection request to switching card, request and this IP address connect.Switching card itself may be connected with multiple storage card, switching card itself preserves the IP address of each storage card, therefore after switching card receives this connection request, address in this connection request is changed, destination address is revised as the IP address of each storage card, carry the IP address of this free time in this connection request after conversion, and this connection request is sent to each storage card, make each storage card and host computer set up virtual connections.
S203: receive the operation requests that described host computer sends, the destination address of wherein said operation requests is the IP address of described free time.
S204: according to the information of the file carried in described operation requests, determines the storage card at described file place, and the described storage card that notice is determined and described host computer carry out transfer of data.
After setting up virtual connections, host computer just can obtain the information of corresponding file.In switching card, preserve the storage address information of this file for each file, the concrete storage link for preserving this file, this concrete information is kept in the map listing in switching card.When after the operation requests receiving host computer transmission, according to the information of the file in this operation requests, and the stored position information of each file in map listing, the storage card storing this file can be determined, thus this storage card and host computer can be made to carry out transfer of data.
Concrete, in embodiments of the present invention when host computer needs the information obtaining a certain file, send request to switching card.After switching card receives this request, in the IP address field of self, select idle IP address, namely select the IP address of idle condition, switching card returns response message to host computer afterwards, the IP address of this free time is carried, to make host computer from the corresponding file of this IP address acquisition in this response message.Further, the request that switching card sends according to this host computer, changes the address in this request, this request is sent to each storage card be connected with self.In switching card, preserve the address of each storage card, after carrying out address transition, carry the IP address of this free time in this request, source address is the address of this switching card, and destination address is the address of each storage card.After each storage card receives this request, carry out the preparation carrying out data cube computation with host computer.
Host computer receives this request, and sends connection request to switching card.After switching card receives this connection request, change this connection request, the source address of this connection request is converted to the address of self, destination address is the address of each storage card, and the connection request after conversion is sent to each storage card by switching card.
After each storage card receives this connection request, return reply message to switching card, switching card returns reply message to host computer, sets up the virtual connections of each storage card and host computer after receiving the reply message that each storage card returns.
Host computer to switching card transmit operation request, carry the information of file to be visited in this operation requests, and the destination address of this operation requests is the IP address of this free time after receiving the reply message that switching card returns.Switching card is according to the information of the file carried in this operation requests, and the map listing self preserved, search the storage card at this file place, after finding corresponding storage card, this operation requests be sent to corresponding storage card thus set up the connection of storage card and host computer, realize the transfer of data of storage card and host computer, now for host computer, the address of this storage card is the IP address of this free time.
After switching card determines and carries out the storage card of transfer of data with host computer, now because other storage cards also and between host computer set up virtual connections, this virtual connections is follow-up without the need to carrying out transfer of data, needs this virtual connections to disconnect.In embodiments of the present invention when disconnecting the virtual connections between host computer and storage card, switching card sends the instruction disconnecting virtual connections to other storage cards, and notice storage card and host computer disconnect virtual connections; Or, when described storage card does not receive operation requests in the time span set, disconnect the virtual connections with described host computer.
After storage card and host computer complete transfer of data, to the announcement information that switching card transmission transfer of data completes, concrete can be the announcement information that host computer completes to switching card transmission transfer of data, also can be the announcement information that storage card completes to switching card transmission transfer of data.After switching card receives this announcement information, the IP address distributed before withdrawal, is idle condition by the status indication of described IP address, and removes the relevant configuration of this IP.
A kind of detailed data transmitting procedure based on distributed FTP that Fig. 3 provides for the embodiment of the present invention, this process comprises the following steps:
S301: host computer sends request to switching card, after switching card receives this request, is the IP address of self free time of this request dispatching.
S302: switching card returns response message to host computer, carries the IP address of this free time in this response message, and after this request carried out address transition by switching card, sends to each storage card be connected with self.
S303: after host computer receives this response message, send connection request to switching card, switching card carries out address transition to this connection request, and described connection request is forwarded to each storage card be connected with self.
S304: after each storage card receives this connection request, returns reply message to switching card, and switching card returns reply message to host computer, sets up the virtual connections of each storage card and host computer after receiving the reply message that each storage card returns.
S305: host computer is to switching card transmit operation request, the information of file to be visited is carried in this operation requests, and the destination address of this operation requests is the IP address of this free time, switching card is according to the information of the file carried in this operation requests, and the map listing self preserved, search the storage card at this file place.
S306: this operation requests is carried out change the storage card sending to this to find, set up the connection of storage card and host computer, realize the transfer of data of storage card and host computer.
S307: after storage card and host computer complete transfer of data, to the announcement information that switching card transmission transfer of data completes, after switching card receives this announcement information, the IP address distributed before withdrawal, be idle condition by the status indication of described IP address, and remove the relevant configuration of this IP.
The transmission of data can be carried out in embodiments of the present invention based on the content of file, therefore can store the link address information of this file for each file in switching card, when after the operation requests receiving host computer transmission, according to the map listing of this operation requests and preservation, search the storage card storing this file.When the storage card found comprises at least two, the described storage card that this notice is determined and described host computer carry out transfer of data and comprise:
Determine that described storage card and described host computer carry out the order of transfer of data;
According to the order determined, notify that each storage card and described host computer carry out transfer of data.
When determining the order of storage card, can based on the method for load balancing, the order that storage card described in concrete determination and described host computer carry out transfer of data comprises:
According to the residual memory space of storage card, determine that described storage card and described host computer carry out the order of transfer of data.
The transfer of data that address transition machine TCP transfer techniques realizes between host computer and storage card is utilized in the embodiment of the present invention, thus the access realized based on file content, subdirectory under the root of the map listing of switching card is according to content-defined logic subdirectory, file in each subdirectory is same type, in this map listing, preserve the particular location of this file, this list is administered and maintained by switching card.Therefore when a certain file of host computer request, can support to access the file on multiple storage card, as long as when often accessing this file on a storage card, provide the virtual connections of transfer of data.In addition, the embodiment of the present invention is owing to can support to access multiple storage card, therefore the strategy of load balancing can be adopted, according to the remaining order how much determining storage card of memory space, first remain more storage card to memory space to operate, thus be conducive to the speed and the efficiency that improve transfer of data.
In addition, file is provided to host computer in embodiments of the present invention in order to content-based, multiple virtual host computer can be provided with in switching card, each virtual host computer is connected with address conversion module, the syndeton schematic diagram of switching card as shown in Figure 4, storage card and host computer, each address conversion module is connected with storage card, is provided with ftp client in host computer.When specifically using, elect the virtual host computer of master in multiple virtual host computer, other virtual host computer is the virtual host computer of slave.Each storage card is provided with Master Ftp, or Slave Ftp.
When host computer sends request to switching card, master virtual switch in switching card receives this request, data cube computation listening port can be opened, and be the IP address of self free time of this request dispatching, and return response message to host computer, wherein carry the IP address of this free time in this response message, so that host computer is to the IP address transmit operation request of this free time.This request is changed through address conversion module by master virtual switch simultaneously, and in this request, carry the IP address of this free time, request after conversion is sent to each storage card, notifies that each storage card carries out the preparation carrying out transfer of data with ftp client.
In addition, in embodiments of the present invention when switching card and host computer are positioned at the same network segment (double layer network), the process of this transfer of data also needs with retaining Mac, and now switching card selects an idle Mac in the Mac address of self.The Mac of this free time is used for when data cube computation switches, and changes the forwarding-table item in switching card, but does not need to change the arp list item in host computer.
After ftp client in host computer receives the response message that switching card returns, send to switching card the connection request that tcp connects, this connection request is handshake message, and the destination address of this connection request is the address of switching card.The virtual host computer of master of switching card receives this connection request, and the address conversion module connected by the virtual host computer of this master is changed this connection request, and the connection request after conversion is sent to each storage card.After each storage card receives this connection request, return reply message to switching card, the source address of this reply message is the IP address of this free time.Now the reply message that each storage card returns is not sent to host computer by switching card, but self returns reply message to host computer, thus sets up the virtual connections of each storage card and host computer.The virtual upper computer module of master in switching card is responsible for safeguarding this tcp connection status, the state that some parameters comprising tcp are connected with this tcp in all virtual host computers.
After host computer receives the reply message of switching card, to switching card transmit operation request, the information of file to be visited is carried in this operation requests, and the destination address of this operation requests is the IP address of this free time, master virtual switch in switching card is according to the information of the file carried in this operation requests, and the map listing self preserved, search the storage card at this file place.According to the storage card found, after this operation requests being changed by address conversion module, this operation requests is sent to the storage card found, sets up the connection of storage card and host computer, realize the transfer of data of storage card and host computer.And master virtual switch sends the order of closing this virtual connections to other storage cards, other storage cards are ordered to close the virtual connections with this host computer.
In addition, the list item in master virtual host computer amendment switching card, makes data retransmission that this tcp from host computer connects on the storage card providing service.
After storage card and host computer complete transfer of data, to the announcement information that switching card transmission transfer of data completes, after master virtual switch receives this announcement information, the IP address distributed before withdrawal, be idle condition by the status indication of this IP address, and remove the relevant configuration of this IP.
In embodiments of the present invention when user needs by host computer download file, host computer will set up virtual connections with each storage card, only have in these virtual data link one be really carry out the data link of transfer of data with host computer, specifically carry out transfer of data by any bar virtual connections and host computer, determined by switching card.
A kind of data transmission system structural representation based on distributed FTP that Fig. 5 provides for the embodiment of the present invention, described system comprises:
Host computer 51, for sending request to switching card, receives the response message that described switching card returns; Send connection request and operation requests to switching card, carry out transfer of data with storage card;
Switching card 52, for the request sent according to the host computer received, distribute the IP address of self free time for described request and notify host computer, and described connection request being forwarded to each storage card be connected with self, setting up the virtual connections of host computer and each storage card; Receive the operation requests that described host computer sends, the destination address of wherein said operation requests is the IP address of described free time; According to the fileinfo carried in described operation requests, determine the storage card at described file place, the described storage card that notice is determined and described host computer carry out transfer of data;
Multiple storage card 53, for carrying out transfer of data with described switching card.
Described switching card 52, specifically for selecting idle IP address in the IP address field of self; Return response message to described host computer, in wherein said response message, carry the IP address of described free time.
Described switching card 52, specifically for sending connection request to each storage card, wherein said connection request carries the IP address of described free time; Receive the reply message that each described storage card returns, set up the virtual connections of host computer and each storage card.
Described switching card 52, specifically for according to described fileinfo, and the map listing self preserved, search the storage card at this fileinfo place; To the described storage card transmit operation request found, the object IP address of wherein said operation requests is the IP address of described free time.
Described switching card 52, specifically for determining that described storage card and described host computer carry out the order of transfer of data; According to the order determined, notify that each storage card and described host computer carry out transfer of data.
Described switching card 52, specifically for the residual memory space according to storage card, determines that described storage card and described host computer carry out the order of transfer of data.
The status indication of described IP address, after completing specifically for transfer of data, is idle condition by described switching card 52, and the described storage card that notice is determined disconnects the connection with described host computer.
Embodiments provide a kind of data transmission method based on distributed FTP and system, after in the method, switching card receives the request of host computer transmission, for the IP address of this request dispatching free time, and when host computer sends connection request, set up the virtual connections of host computer and each storage card, the destination address receiving host computer transmission is after the operation requests of IP address of this free time, according to the information of the file carried in this operation requests, determine the storage card at this file place, and notify that corresponding storage card and host computer carry out transfer of data.Because switching card receives the request of host computer transmission in embodiments of the present invention, for the IP address of self free time of this request dispatching, host computer and storage card is made to set up virtual connections, and when receiving operation requests, host computer and corresponding storage card is made to carry out transfer of data, even if thus make host computer cannot know the memory address of file, also can obtain corresponding file.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions based on the some or all parts in the data transmission system of distributed FTP that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. based on a data transmission method for distributed FTP, it is characterized in that, the method comprises:
The request that switching card sends according to the host computer received, distributes the IP address of self free time for described request and notifies host computer;
Receive the connection request that described host computer sends, and described connection request is forwarded to each storage card be connected with self, set up the virtual connections of host computer and each storage card;
Receive the operation requests that described host computer sends, the destination address of wherein said operation requests is the IP address of described free time;
According to the information of the file carried in described operation requests, determine the storage card at described file place, the described storage card that notice is determined and described host computer carry out transfer of data.
2. the method for claim 1, is characterized in that, the described IP address for described request self free time of distribution also notifies that host computer comprises:
Described switching card selects idle IP address in the IP address field of self;
Return response message to described host computer, in wherein said response message, carry the IP address of described free time.
3. the method for claim 1, is characterized in that, describedly described connection request is forwarded to each storage card be connected with self, and the virtual connections setting up host computer and each storage card also comprises:
Described switching card sends connection request to each storage card, and wherein said connection request carries the IP address of described free time;
Receive the reply message that each described storage card returns, set up the virtual connections of host computer and each storage card.
4. the method for claim 1, is characterized in that, the described storage card determining described file place, and the described storage card that notice is determined and described host computer carry out transfer of data and comprise:
Described switching card is according to the information of described file, and the map listing self preserved, and searches the storage card at this file place;
To the described storage card transmit operation request found, the object IP address of wherein said operation requests is the IP address of described free time.
5. the method for claim 1, is characterized in that, after transfer of data completes, described method also comprises:
The status indication of described IP address is idle condition by described switching card.
6. based on a data transmission system for distributed FTP, it is characterized in that, described system comprises:
Host computer, for sending request to switching card, receives the response message that described switching card returns; Send connection request and operation requests to switching card, carry out transfer of data with storage card;
Switching card, for the request sent according to the host computer received, distribute the IP address of self free time for described request and notify host computer, and described connection request being forwarded to each storage card be connected with self, setting up the virtual connections of host computer and each storage card; Receive the operation requests that described host computer sends, the destination address of wherein said operation requests is the IP address of described free time; According to the fileinfo carried in described operation requests, determine the storage card at described file place, the described storage card that notice is determined and described host computer carry out transfer of data;
Multiple storage card, for carrying out transfer of data with described switching card.
7. system as claimed in claim 6, is characterized in that, described switching card, specifically for selecting idle IP address in the IP address field of self; Return response message to described host computer, in wherein said response message, carry the IP address of described free time.
8. system as claimed in claim 6, is characterized in that, described switching card, and specifically for sending connection request to each storage card, wherein said connection request carries the IP address of described free time; Receive the reply message that each described storage card returns, set up the virtual connections of host computer and each storage card.
9. system as claimed in claim 6, is characterized in that, described switching card, specifically for according to described fileinfo, and the map listing self preserved, search the storage card at this fileinfo place; To the described storage card transmit operation request found, the object IP address of wherein said operation requests is the IP address of described free time.
10. system as claimed in claim 6, it is characterized in that, described switching card, after completing, is idle condition by the status indication of described IP address specifically for transfer of data.
CN201410855882.XA 2014-12-31 2014-12-31 A kind of data transmission method and system based on distributed FTP Active CN104519138B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410855882.XA CN104519138B (en) 2014-12-31 2014-12-31 A kind of data transmission method and system based on distributed FTP
PCT/CN2015/071526 WO2016106907A1 (en) 2014-12-31 2015-02-15 Method and system for transmitting data based on distributed ftp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410855882.XA CN104519138B (en) 2014-12-31 2014-12-31 A kind of data transmission method and system based on distributed FTP

Publications (2)

Publication Number Publication Date
CN104519138A true CN104519138A (en) 2015-04-15
CN104519138B CN104519138B (en) 2017-12-26

Family

ID=52793841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410855882.XA Active CN104519138B (en) 2014-12-31 2014-12-31 A kind of data transmission method and system based on distributed FTP

Country Status (2)

Country Link
CN (1) CN104519138B (en)
WO (1) WO2016106907A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744004A (en) * 2016-04-29 2016-07-06 广东凯通软件开发有限公司 Distributed database file transmission method and system based on FTP
CN106790348A (en) * 2016-11-11 2017-05-31 北京百卓网络技术有限公司 The files passe and method for down loading and system of distributed system
CN111866178A (en) * 2020-08-04 2020-10-30 蝉鸣科技(西安)有限公司 Distributed FTP/FTPS file transmission method and device and computer storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019623A (en) * 2020-08-28 2020-12-01 大医智诚健康管理有限公司 Distributed storage system based on FTP protocol and implementation method thereof
CN113691418A (en) * 2021-08-23 2021-11-23 北京天融信网络安全技术有限公司 Tunnel detection method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1480859A (en) * 2002-09-03 2004-03-10 鸿富锦精密工业(深圳)有限公司 Synchronous system in distributed files and method
CN1553341A (en) * 2003-06-08 2004-12-08 华为技术有限公司 Network address distributing method based on customer terminal
CN101159645A (en) * 2007-11-08 2008-04-09 中国传媒大学 Design method and network structure of mutual server facing to P2P application
US20090287832A1 (en) * 2008-04-10 2009-11-19 Wyse Technology Inc. Multiple client control system
CN101997924A (en) * 2010-11-22 2011-03-30 杨文军 Cloud storage file transfer protocol (CFTP)
CN104158868A (en) * 2014-08-06 2014-11-19 杭州华三通信技术有限公司 File transmission method and management server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1480859A (en) * 2002-09-03 2004-03-10 鸿富锦精密工业(深圳)有限公司 Synchronous system in distributed files and method
CN1553341A (en) * 2003-06-08 2004-12-08 华为技术有限公司 Network address distributing method based on customer terminal
CN101159645A (en) * 2007-11-08 2008-04-09 中国传媒大学 Design method and network structure of mutual server facing to P2P application
US20090287832A1 (en) * 2008-04-10 2009-11-19 Wyse Technology Inc. Multiple client control system
CN101997924A (en) * 2010-11-22 2011-03-30 杨文军 Cloud storage file transfer protocol (CFTP)
CN104158868A (en) * 2014-08-06 2014-11-19 杭州华三通信技术有限公司 File transmission method and management server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744004A (en) * 2016-04-29 2016-07-06 广东凯通软件开发有限公司 Distributed database file transmission method and system based on FTP
CN105744004B (en) * 2016-04-29 2019-08-16 凯通科技股份有限公司 A kind of transmission method and system of the distributed data library file based on FTP
CN106790348A (en) * 2016-11-11 2017-05-31 北京百卓网络技术有限公司 The files passe and method for down loading and system of distributed system
CN111866178A (en) * 2020-08-04 2020-10-30 蝉鸣科技(西安)有限公司 Distributed FTP/FTPS file transmission method and device and computer storage medium

Also Published As

Publication number Publication date
CN104519138B (en) 2017-12-26
WO2016106907A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN102647482B (en) Method and system for accessing website
CN104519138A (en) Data transmission method and data transmission system based on distributed FTP
US9069835B2 (en) Organizing data in a distributed storage system
CN102053982A (en) Method and equipment for managing database information
CN104462370A (en) Distributed task scheduling system and method
CN103095758B (en) A kind of method processing file data in distributed file system and this system
CN101860493A (en) Method, server and system for distributing application server address for clients
CN103313192A (en) Multiple-screen sharing method and system
CN102831223A (en) Management method and system of distributed databases
CN105791381A (en) Access control method and apparatus
CN105373420A (en) Data transmission method and apparatus
CN105187523A (en) Method and device for accessing directory
CN103533080A (en) Dispatching method and device for LVS (Linux virtual server)
CN109873855A (en) A kind of resource acquiring method and system based on block chain network
CN101963978B (en) Distributed database management method, device and system
CN105025458A (en) Resource notification method, equipment and system
CN105373563A (en) Database switching method and apparatus
CN104363177A (en) Rule table entry optimization method and device used for message processing
CN104580435A (en) Method and device for caching network connections
CN107547605B (en) message reading and writing method based on node queue and node equipment
CN105376147B (en) Instant communication information route addressing method, access server and system
CN110597808B (en) Distributed database table connection method, device, system, server and medium
CN107943615A (en) Data processing method and system based on distributed type assemblies
CN104536784B (en) Real-time system update method and device
CN109218371B (en) Method and equipment for calling data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant