CN104519138B - A kind of data transmission method and system based on distributed FTP - Google Patents
A kind of data transmission method and system based on distributed FTP Download PDFInfo
- Publication number
- CN104519138B CN104519138B CN201410855882.XA CN201410855882A CN104519138B CN 104519138 B CN104519138 B CN 104519138B CN 201410855882 A CN201410855882 A CN 201410855882A CN 104519138 B CN104519138 B CN 104519138B
- Authority
- CN
- China
- Prior art keywords
- address
- host computer
- storage card
- card
- idle
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 71
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000003860 storage Methods 0.000 claims abstract description 191
- 238000012546 transfer Methods 0.000 claims description 22
- 230000004044 response Effects 0.000 claims description 21
- 230000004048 modification Effects 0.000 claims description 7
- 238000012986 modification Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000000151 deposition Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of data transmission method and system based on distributed FTP, to realize that host computer is based on access to content storage card, after switching card receives the request of host computer transmission in this method, for the idle IP address of request distribution, and when host computer sends connection request, establish the virtual connections of host computer and each storage card, receive host computer transmission destination address for the idle IP address operation requests after, according to the information of the file carried in the operation requests, determine the storage card where this document, and corresponding storage card is notified to carry out data transmission with host computer.Because switching card receives the request of host computer transmission in embodiments of the present invention, itself idle IP address is distributed for the request, host computer is set to establish virtual connections with storage card, and when receiving operation requests, host computer is set to carry out data transmission with corresponding storage card, so that even if host computer can not know the storage address of file, corresponding file can be also obtained.
Description
Technical field
The present invention relates to data communication technology field, more particularly to a kind of data transmission method based on distributed FTP and
System.
Background technology
Fig. 1 is the attachment structure schematic diagram of switching card and storage card in frame-type equipment, the switching card in frame-type equipment
There is itself independent CPU with storage card, and switching card is connected with each storage card, as shown in figure 1, switching card connects respectively
Storage card 1, storage card 2 ..., storage card n, storage card is equipped with belonging to the IP of itself, and host computer only accesses switching card
Ability, the IP of storage card hides to host computer.In order to realize access of the host computer to storage card, frame-type equipment is all based on
FTP is realized.
Include when realizing access of the host computer to storage card based on FTP:
Ftp server is established on switching card, storage card is mapped as to the NFS of switching card, on storage card
Data buffer storage provides data on switching card, by switching card to host computer.All data will pass through and exchange in this method
The CPU of card, cause the load pressure of switching card larger, influence the efficiency of data transfer.
Or by the way of distributed FTP, Master ftp servers are established on switching card, are built on a memory card
Vertical Slave ftp servers, control connection is established between host computer and switching card.When needing to carry out data transmission, host computer
Send and ask to switching card, the request is handshake request, wherein carrying the information of file, host computer is according to the request, it is determined that should
Storage card where file, corresponding storage card is sent the request to, establishing data by corresponding storage card and host computer connects
Connect.The information of file is carried in the handshake request that host computer is sent during this, this has certain requirement to host computer, when upper
When position machine is without the ability for sending the information that handshake request carries file, switching card will be unable to know the storage where this document
Card, causes host computer can not obtain corresponding data.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State a kind of data transmission method and system based on distributed FTP of problem.
The embodiments of the invention provide a kind of data transmission method based on distributed FTP, methods described includes:
The request that switching card is sent according to the host computer received, distribute itself idle IP address for the request and lead to
Know host computer;
The connection request that the host computer is sent is received, and the connection request is forwarded to each depositing of be connected with itself
Card storage, establish the virtual connections of host computer and each storage card;
The operation requests that the host computer is sent are received, wherein the destination address of the operation requests is the idle IP
Address;
According to the fileinfo carried in the operation requests, the storage card where the file is determined, notifies what is determined
The storage card carries out data transmission with the host computer.
It is described in embodiments of the present invention to distribute itself idle IP address for the request in order to ensure the transmission of data
And host computer is notified to include:
The switching card selects the IP address of free time in the IP address section of itself;
Response message is returned to the host computer, wherein carrying the idle IP address in the response message.
In order to ensure the transmission of data, described be forwarded to the connection request is connected with itself in embodiments of the present invention
Each storage card, establishing the virtual connections of host computer and each storage card also includes:
The switching card sends connection request to each storage card, wherein the connection request is with carrying the idle IP
Location;
The reply message that each storage card returns is received, establishes the virtual connections of host computer and each storage card.
In order to improve the efficiency of data transfer, can be conducted interviews in embodiments of the present invention according to the content of file, institute
The storage card where the determination file is stated, the storage card for notifying to determine carries out data transmission including with the host computer:
The switching card is according to the fileinfo, and the map listing itself preserved, where lookup this document information
Storage card;
Operation requests are sent to the storage card found, wherein the purpose IP address of the operation requests is the sky
Not busy IP address.
In order to ensure the transmission of follow-up data, after the completion of data transfer, methods described also includes:
The status indication of the IP address is idle condition by the switching card.
The embodiments of the invention provide a kind of data transmission system based on distributed FTP, the system includes:
Host computer, asked for being sent to switching card, receive the response message that the switching card returns;Sent to switching card
Connection request and operation requests, carry out data transmission with storage card;
Switching card, for the request sent according to the host computer received, asked with distributing itself idle IP to be described
Location simultaneously notifies host computer, and the connection request is forwarded to each storage card being connected with itself, establish host computer with it is each
The virtual connections of storage card;The operation requests that the host computer is sent are received, wherein the destination address of the operation requests is described
Idle IP address;According to the fileinfo carried in the operation requests, the storage card where the file is determined, notice is really
The fixed storage card carries out data transmission with the host computer;
Multiple storage cards, for carrying out data transmission with the switching card.
In order to ensure the transmission of data, the switching card, the IP specifically for selecting the free time in the IP address section of itself
Address;Response message is returned to the host computer, wherein carrying the idle IP address in the response message.
In order to ensure the transmission of data, the switching card, specifically for sending connection request, wherein institute to each storage card
State connection request and carry the idle IP address;Receive the reply message that each storage card returns, establish host computer with
The virtual connections of each storage card.
In order to improve the efficiency of data transfer, can be conducted interviews in embodiments of the present invention according to the content of file, institute
Switching card is stated, specifically for according to the fileinfo, and the map listing itself preserved, searches depositing where this document information
Card storage;Operation requests are sent to the storage card found, wherein the purpose IP address of the operation requests is the free time
IP address.
In order to ensure the transmission of follow-up data, the switching card, after the completion of data transfer, by the IP address
Status indication be idle condition.
The embodiments of the invention provide a kind of data transmission method and system based on distributed FTP, exchanged in this method
After clamping receives the request of host computer transmission, idle IP address is distributed for the request, and when host computer sends connection request,
The virtual connections of host computer and each storage card are established, the destination address for receiving host computer transmission is the behaviour of the idle IP address
After asking, according to the information of the file carried in the operation requests, the storage card where this document is determined, and notify corresponding
Storage card carries out data transmission with host computer.Because switching card receives the request of host computer transmission in embodiments of the present invention,
Itself idle IP address is distributed for the request, host computer is established virtual connections with storage card, and when receiving operation requests,
Host computer is set to carry out data transmission with corresponding storage card, even if so that host computer can not know the storage address of file,
Corresponding file can be obtained.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is the attachment structure schematic diagram of switching card and storage card in frame-type equipment;
Fig. 2 is a kind of data transmission procedure based on distributed FTP provided in an embodiment of the present invention;
Fig. 3 is a kind of detailed data transmitting procedure based on distributed FTP provided in an embodiment of the present invention;
Fig. 4 is the attachment structure schematic diagram of switching card provided in an embodiment of the present invention, storage card and host computer;
Fig. 5 is a kind of data transmission system structural representation based on distributed FTP provided in an embodiment of the present invention.
Embodiment
In order that host computer can accurately obtain the file content in storage card, the embodiments of the invention provide one kind to be based on
The data transmission method and system of distributed FTP.
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
With reference to explanation accompanying drawing, the embodiment of the present invention is illustrated.
Fig. 2 is a kind of data transmission procedure based on distributed FTP provided in an embodiment of the present invention, and the process includes following
Step:
S201:The request that switching card is sent according to the host computer received, for the request with distributing itself idle IP
Location simultaneously notifies host computer.
When host computer needs to obtain file content, send and ask to switching card.Switching card receives host computer transmission
After request, the IP address of free time is selected in the IP address section of itself.
Specifically, preserving the IP address section of itself in the switching card of the embodiment of the present invention, and operate for convenience,
Whether used according to each IP address, locally preserving the state of each IP address, common state is including the use of state
And idle condition, switching card with can selecting the IP of free time according to the state of each IP address in the IP address section of itself
Location.
S202:The connection request that the host computer is sent is received, and the connection request is forwarded to what is be connected with itself
Each storage card, establish the virtual connections of host computer and each storage card.
After host computer obtains the IP address of switching card return, connection request, request and the IP address are sent to switching card
Establish connection.Switching card may be connected with multiple storage cards in itself, and switching card preserves the IP address of each storage card in itself, because
Address in the connection request is changed after switching card receives the connection request, destination address is revised as often by this
The IP address of individual storage card, the idle IP address is carried in the connection request after conversion, and the connection request is sent
To each storage card, each storage card is set to establish virtual connections with host computer.
S203:The operation requests that the host computer is sent are received, wherein the destination address of the operation requests is the sky
Not busy IP address.
S204:According to the information of the file carried in the operation requests, the storage card where the file is determined, is notified
The storage card determined carries out data transmission with the host computer.
After virtual connections are established, host computer can obtains the information of corresponding file.For each in switching card
File preserves the storage address information of this document, and specific is the storage link for preserving this document, and the specific information is protected
Exist in the map listing in switching card.After the operation requests of host computer transmission are received, according to the text in the operation requests
The information of part, and in map listing each file storage location information, you can it is determined that storage this document storage card, so as to
So that the storage card carries out data transmission with host computer.
Specifically, in embodiments of the present invention when host computer needs to obtain the information of a certain file, sent to switching card
Request.After switching card receives the request, the IP address of free time is selected in the IP address section of itself, that is, selects idle condition
IP address, afterwards switching card return to response message to host computer, the idle IP address is carried in the response message, on making
Position machine obtains corresponding file from the IP address.Also, the request that switching card is sent according to the host computer, to the ground in the request
Location is changed, and sends the request to each storage card being connected with itself.Each storage card is preserved in switching card
Address, after address conversion is carried out, carry the idle IP address in the request, source address is the address of the switching card, purpose
Address is the address of each storage card.After each storage card receives the request, the standard for carrying out data with host computer and being connected is carried out
It is standby.
Host computer receives the request, and sends connection request to switching card.After switching card receives the connection request, to this
Connection request is changed, and the source address of the connection request is converted to the address of itself, and destination address is each storage card
Connection request after conversion is sent to each storage card by address, switching card.
After each storage card receives the connection request, returned to switching card and reply message, switching card receives each deposit
After the reply message that card storage returns, returned to host computer and reply message, establish the virtual connections of each storage card and host computer.
After host computer receives the reply message of switching card return, operation requests are sent to switching card, in the operation requests
The information of file to be visited is carried, and the destination address of the operation requests is the idle IP address.Switching card is according to the behaviour
The information of the file carried in asking, and the map listing itself preserved, search the storage card where this document, when finding
After corresponding storage card, the operation requests are sent to corresponding storage card so as to establish the connection of storage card and host computer, it is real
Existing card storage and the data transfer of host computer, the address at this point for the storage card for host computer are the idle IP address.
After switching card determines the storage card carried out data transmission with host computer, now due to other storage cards also with it is upper
Being established between machine has virtual connections, and the virtual connections need not subsequently carry out data transmission, it is necessary to which the virtual connections are disconnected.Of the invention real
Apply in example when disconnecting the virtual connections between host computer and storage card, switching card sends the finger for disconnecting virtual connections to other storage cards
Order, notice storage card disconnect virtual connections with host computer;Or, the storage card does not receive operation in the time span of setting and asked
When asking, the virtual connections with the host computer are disconnected.
After storage card and host computer complete data transfer, the announcement information of data transfer completion, tool are sent to switching card
Body can be that host computer sends the announcement information of data transfer completion to switching card or storage card is sent to switching card
The announcement information that data transfer is completed.After switching card receives the announcement information, the IP address distributed before is withdrawn, by the IP
The status indication of address is idle condition, and removes the relevant configuration of the IP.
Fig. 3 is a kind of detailed data transmitting procedure based on distributed FTP provided in an embodiment of the present invention, and the process includes
Following steps:
S301:Host computer sends to switching card and asked, and after switching card receives the request, it is idle to distribute itself for the request
IP address.
S302:Switching card returns to response message to host computer, carries the idle IP address in the response message, and hand over
Card is changed by after request progress address conversion, is sent to each storage card being connected with itself.
S303:After host computer receives the response message, connection request is sent to switching card, switching card is to the connection request
Address conversion is carried out, and the connection request is forwarded to each storage card being connected with itself.
S304:After each storage card receives the connection request, returned to switching card and reply message, switching card receives often
After the reply message that individual storage card returns, returned to host computer and reply message, establish the virtual connections of each storage card and host computer.
S305:Host computer sends operation requests to switching card, and the information of file to be visited is carried in the operation requests, and
The destination address of the operation requests is the idle IP address, switching card according to the information of the file carried in the operation requests,
And the map listing itself preserved, search the storage card where this document.
S306:The operation requests are subjected to conversion and are sent to the storage card found, establish storage card and host computer
Connection, realize the data transfer of storage card and host computer.
S307:After storage card completes data transfer with host computer, the announcement information of data transfer completion is sent to switching card,
After switching card receives the announcement information, the IP address distributed before is withdrawn, is idle shape by the status indication of the IP address
State, and remove the relevant configuration of the IP.
The transmission of content progress data that in embodiments of the present invention can be based on file, therefore can be with pin in switching card
The link address information of this document is stored to each file, after the operation requests of host computer transmission are received, according to the operation
Request and the map listing preserved, search the storage card of storage this document., should when the storage card found includes at least two
The storage card that notice determines carries out data transmission including with the host computer:
Determine the order that the storage card carries out data transmission with the host computer;
According to the order of determination, each storage card is notified to carry out data transmission with the host computer.
It is determined that storage card order when, can the method based on load balancing, specifically determine the storage card and institute
Stating the order that host computer carries out data transmission includes:
According to the residual memory space of storage card, it is suitable to determine that the storage card carries out data transmission with the host computer
Sequence.
Realize that the data between host computer and storage card pass using address conversion machine TCP transfer techniques in the embodiment of the present invention
Defeated, so as to realize the access based on file content, the subdirectory under the root of the map listing of switching card is according to content
The logic subdirectory of definition, the file in each subdirectory is same type of, and this document is preserved in the map listing
Particular location, the list is by switching card management and maintenance.Therefore when host computer asks a certain file, can support to access multiple
File on storage card, as long as in this document on one storage card of every access, there is provided the virtual connections of data transfer.Separately
Outside, the embodiment of the present invention accesses multiple storage cards due to that can support, therefore can use the strategy of load balancing, according to storage
Spatial Residual number determine the order of storage card, first the remaining more storage card of memory space is operated, so as to having
Beneficial to the speed and efficiency for improving data transfer.
In addition, it can be set in switching card to provide file to host computer based on content in embodiments of the present invention
Have multiple virtual host computers, each virtual host computer is connected with address conversion module, switching card as shown in Figure 4, storage card with
The attachment structure schematic diagram of host computer, each address conversion module are connected with storage card, and ftp clients are provided with host computer.
When specifically used, the virtual host computers of master are elected in multiple virtual host computers, other virtual host computers are slave
Virtual host computer.Master Ftp, or Slave Ftp are installed on each storage card.
When host computer is sent to switching card asks, the master virtual switches in switching card receive the request, meeting
Data connection listening port is opened, and itself idle IP address is distributed for the request, and response message is returned to host computer, its
In carry the idle IP address in the response message, so that host computer sends operation requests to the idle IP address.Simultaneously
Master virtual switches are changed the request through address conversion module, and in the request with carrying the idle IP
Location, the request after conversion is sent to each storage card, notifies each storage card to carry out what is carried out data transmission with ftp clients
Prepare.
In addition, in embodiments of the present invention when switching card and host computer are located at the same network segment (double layer network), the data
The process of transmission is also needed to Mac is retained, and now switching card selects an idle Mac in the Mac addresses of itself.The free time
Mac be used to, when data are connected and switched, change the forwarding-table item in switching card, but and the arp in host computer need not be changed
List item.
After ftp clients in host computer receive the response message of switching card return, tcp connections are sent to switching card
Connection request, the connection request are handshake message, and the destination address of the connection request is the address of switching card.Switching card
The virtual host computers of master receive the connection request, by the address conversion module of the virtual host computer connections of the master to the company
Connect request to be changed, the connection request after conversion is sent to each storage card.Each storage card receives the connection request
Afterwards, returned to switching card and reply message, the source address of the reply message is the idle IP address.Now switching card will not be every
The reply message that individual storage card returns is sent to host computer, but itself is returned to host computer and reply message, each so as to establish
The virtual connections of storage card and host computer.The virtual upper computer modules of master in switching card are responsible for safeguarding this tcp connection status,
The state that some parameters including tcp connect with the tcp in all virtual host computers.
After host computer receives the reply message of switching card, operation requests are sent to switching card, are carried in the operation requests
The information of file to be visited, and the destination address of the operation requests is the idle IP address, the master in switching card is empty
Intend information of the interchanger according to the file carried in the operation requests, and the map listing itself preserved, search this document place
Storage card.According to the storage card found, after the operation requests are changed by address conversion module, the operation requests are sent out
The storage card found is sent to, establishes the connection of storage card and host computer, realizes the data transfer of storage card and host computer.And
Master virtual switches send the order for closing this virtual connections to other storage cards, order in the closing of other storage cards and this
The virtual connections of position machine.
In addition, the virtual host computers of master change the list item in switching card, make the data of the tcp connections from host computer
It is forwarded on the storage card of the service of offer.
After storage card completes data transfer with host computer, the announcement information of data transfer completion is sent to switching card,
After master virtual switches receive the announcement information, the IP address distributed before is withdrawn, by the status indication of the IP address
For idle condition, and remove the relevant configuration of the IP.
In embodiments of the present invention when user needs to download file by host computer, host computer will be with each storage card
Virtual connections are established, only one is the Data-Link carried out data transmission with host computer really in these virtual data link
Road, specifically carried out data transmission by any bar virtual connections with host computer, determined by switching card.
Fig. 5 is a kind of data transmission system structural representation based on distributed FTP provided in an embodiment of the present invention, described
System includes:
Host computer 51, asked for being sent to switching card, receive the response message that the switching card returns;Sent out to switching card
Connection request and operation requests are sent, are carried out data transmission with storage card;
Switching card 52, for the request sent according to the host computer received, itself idle IP is distributed for the request
Address simultaneously notifies host computer, and the connection request is forwarded to each storage card being connected with itself, establish host computer with it is every
The virtual connections of individual storage card;The operation requests that the host computer is sent are received, wherein the destination address of the operation requests is institute
State the IP address of free time;According to the fileinfo carried in the operation requests, the storage card where the file is determined, is notified
The storage card determined carries out data transmission with the host computer;
Multiple storage cards 53, for carrying out data transmission with the switching card.
The switching card 52, the IP address specifically for selecting the free time in the IP address section of itself;To the host computer
Response message is returned to, wherein carrying the idle IP address in the response message.
The switching card 52, specifically for sending connection request to each storage card, wherein the connection request carries institute
State the IP address of free time;The reply message that each storage card returns is received, establishes virtually connecting for host computer and each storage card
Connect.
The switching card 52, specifically for according to the fileinfo, and the map listing itself preserved, search this document
Storage card where information;Operation requests are sent to the storage card found, wherein the purpose IP of the operation requests
Location is the idle IP address.
The switching card 52, the order carried out data transmission specifically for determining the storage card and the host computer;Press
According to the order of determination, each storage card is notified to carry out data transmission with the host computer.
The switching card 52, specifically for the residual memory space according to storage card, determine the storage card with it is described on
The order that position machine carries out data transmission.
The switching card 52, it is idle condition by the status indication of the IP address after the completion of data transfer,
And the storage card for notifying to determine disconnects the connection with the host computer.
The embodiments of the invention provide a kind of data transmission method and system based on distributed FTP, exchanged in this method
After clamping receives the request of host computer transmission, idle IP address is distributed for the request, and when host computer sends connection request,
The virtual connections of host computer and each storage card are established, the destination address for receiving host computer transmission is the behaviour of the idle IP address
After asking, according to the information of the file carried in the operation requests, the storage card where this document is determined, and notify corresponding
Storage card carries out data transmission with host computer.Because switching card receives the request of host computer transmission in embodiments of the present invention,
Itself idle IP address is distributed for the request, host computer is established virtual connections with storage card, and when receiving operation requests,
Host computer is set to carry out data transmission with corresponding storage card, even if so that host computer can not know the storage address of file,
Corresponding file can be obtained.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize that the data according to embodiments of the present invention based on distributed FTP pass
The some or all functions of some or all parts in defeated system.The present invention is also implemented as being used to perform institute here
The some or all equipment or program of device of the method for description are (for example, computer program and computer program production
Product).Such program for realizing the present invention can store on a computer-readable medium, or can have one or more
The form of signal.Such signal can be downloaded from internet website and obtained, and either be provided or on carrier signal to appoint
What other forms provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of data transmission method based on distributed FTP, it is characterised in that this method includes:
The request that switching card is sent according to the host computer received, distributed for the request in itself idle IP address and notice
Position machine;
The connection request that the host computer is sent is received, and by the source address modification of the connection request for the idle IP
Location, destination address are respectively modified as the IP address for each storage card being connected with itself, and amended connection request is distinguished
The each storage card being connected with itself is forwarded to, establishes the virtual connections of host computer and each storage card;
The operation requests that the host computer is sent are received, wherein the destination address of the operation requests is for the idle IP
Location;
According to the information of the file carried in the operation requests, the storage card where the file is determined, notifies the institute determined
Storage card is stated with the host computer to carry out data transmission.
2. the method as described in claim 1, it is characterised in that described to distribute itself idle IP address for the request and lead to
Know that host computer includes:
The switching card selects the IP address of free time in the IP address section of itself;
Response message is returned to the host computer, wherein carrying the idle IP address in the response message.
3. the method as described in claim 1, it is characterised in that it is described the connection request is forwarded to be connected with itself it is every
Individual storage card, establishing the virtual connections of host computer and each storage card also includes:
The switching card sends connection request to each storage card, wherein the connection request carries the idle IP address;
The reply message that each storage card returns is received, establishes the virtual connections of host computer and each storage card.
4. the method as described in claim 1, it is characterised in that the storage card determined where the file, notice determine
The storage card carry out data transmission including with the host computer:
The switching card is according to the information of the file, and the map listing itself preserved, searches the storage card where this document;
It is the storage card that the idle IP address, destination address are revised as finding by the source address modification of the operation requests
IP address, and amended operation requests are sent to the storage card found.
5. the method as described in claim 1, it is characterised in that after the completion of data transfer, methods described also includes:
The status indication of the IP address is idle condition by the switching card.
6. a kind of data transmission system based on distributed FTP, it is characterised in that the system includes:
Host computer, asked for being sent to switching card, receive the response message that the switching card returns;Send and connect to switching card
Request and operation requests, carry out data transmission with storage card;
Switching card, for the request sent according to the host computer received, itself idle IP address is distributed simultaneously for the request
Host computer is notified, and is that the idle IP address, destination address are respectively modified as by the source address modification of the connection request
The IP address for each storage card being connected with itself, and amended connection request is forwarded to respectively be connected with itself it is each
Storage card, establish the virtual connections of host computer and each storage card;The operation requests that the host computer is sent are received, wherein the behaviour
The destination address for making to ask is the idle IP address;According to the fileinfo carried in the operation requests, it is determined that described
Storage card where file, the storage card for notifying to determine carry out data transmission with the host computer;
Multiple storage cards, for carrying out data transmission with the switching card.
7. system as claimed in claim 6, it is characterised in that the switching card, specifically in the IP address section of itself
Select idle IP address;Response message is returned to the host computer, wherein carrying the idle IP in the response message
Address.
8. system as claimed in claim 6, it is characterised in that the switching card, connect specifically for being sent to each storage card
Request is connect, wherein the connection request carries the idle IP address;The reply message that each storage card returns is received,
Establish the virtual connections of host computer and each storage card.
9. system as claimed in claim 6, it is characterised in that the switching card, specifically for according to the fileinfo, and
The map listing that itself is preserved, search the storage card where this document information;It is institute by the source address modification of the operation requests
State the IP address of free time, destination address is revised as the IP address of storage card that finds, and amended operation requests are sent
To the storage card found.
10. system as claimed in claim 6, it is characterised in that the switching card, will after the completion of data transfer
The status indication of the IP address is idle condition.
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 CN104519138A (en) | 2015-04-15 |
CN104519138B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
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 |
CN117478669B (en) * | 2023-11-10 | 2024-10-29 | 公安部交通管理科学研究所 | Method for efficiently exchanging data under cross-physical network environment |
Citations (5)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090287832A1 (en) * | 2008-04-10 | 2009-11-19 | Wyse Technology Inc. | Multiple client control system |
-
2014
- 2014-12-31 CN CN201410855882.XA patent/CN104519138B/en active Active
-
2015
- 2015-02-15 WO PCT/CN2015/071526 patent/WO2016106907A1/en active Application Filing
Patent Citations (5)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
WO2016106907A1 (en) | 2016-07-07 |
CN104519138A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104519138B (en) | A kind of data transmission method and system based on distributed FTP | |
CN102143068B (en) | Method, device and system for learning MAC (Media Access Control) address | |
CN103502042B (en) | Method and apparatus for providing electric energy | |
CN103391233B (en) | Cross-domain virtual network mapping method | |
CN109871224A (en) | A kind of gray scale dissemination method, system, medium and equipment based on user identifier | |
CN105915650B (en) | Load-balancing method and device | |
CN107547661B (en) | Container load balancing implementation method | |
US11122108B2 (en) | End-to-end file transmission method and system thereof | |
CN105103128A (en) | Optimizing handling of virtual machine mobility in data center environments | |
CN107222545B (en) | Data transmission method and device | |
WO2019210580A1 (en) | Access request processing method, apparatus, computer device, and storage medium | |
CN110830374B (en) | Method and device for gray level release based on SDK | |
CN113014611B (en) | Load balancing method and related equipment | |
CN104618255A (en) | Front acquiring service system and data processing method | |
CN104812021A (en) | Method and device for accessing AC (access controller) by AP (access point) | |
CN104954321B (en) | A kind of connection switching method, apparatus and system | |
FI3624499T3 (en) | Communication control method and communication system | |
CN106605213A (en) | System for support in event of intermittent connectivity, corresponding local device, and corresponding cloud computing platform | |
CN105450494A (en) | Virtual network and method for implementing same | |
US10516759B2 (en) | System and method for centralized management of software services | |
CN103634298B (en) | A kind of data base's connection processing method and device | |
CN110012111B (en) | Data service cluster system and data processing method | |
CN105373563A (en) | Database switching method and apparatus | |
CN104267985A (en) | Software loading method and device | |
CN110365508A (en) | The method and network function of virtual network function instantiation virtualize composer |
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 |