CN111245831B - FTP data transmission method and device, and information interaction system of server and client - Google Patents

FTP data transmission method and device, and information interaction system of server and client Download PDF

Info

Publication number
CN111245831B
CN111245831B CN202010027603.6A CN202010027603A CN111245831B CN 111245831 B CN111245831 B CN 111245831B CN 202010027603 A CN202010027603 A CN 202010027603A CN 111245831 B CN111245831 B CN 111245831B
Authority
CN
China
Prior art keywords
proxy
ftp
client
active mode
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010027603.6A
Other languages
Chinese (zh)
Other versions
CN111245831A (en
Inventor
王刚
谷永国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Likong Huacon Technology Co ltd
Original Assignee
Beijing Likong Huacon 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 Beijing Likong Huacon Technology Co ltd filed Critical Beijing Likong Huacon Technology Co ltd
Priority to CN202010027603.6A priority Critical patent/CN111245831B/en
Publication of CN111245831A publication Critical patent/CN111245831A/en
Application granted granted Critical
Publication of CN111245831B publication Critical patent/CN111245831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for transmitting FTP data, and an information interaction system of a server side and a client side, wherein the method for transmitting the FTP data comprises the following steps: receiving an active mode command data packet sent by an FTP client, and sending the active mode command data packet to a proxy FTP client, wherein the active mode command data packet comprises active mode IP address information and active mode dynamic port information; receiving active mode link establishment notification information sent by the proxy FTP client, and establishing a temporary proxy TCP client according to the active mode link establishment notification information; and receiving active mode link connection notification information sent by the proxy FTP client, and establishing connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.

Description

FTP data transmission method and device, and information interaction system of server and client
Technical Field
The invention relates to the technical field of file transmission, in particular to an FTP data transmission method and device, a server side and an information interaction system of a client side.
Background
The FTP protocol is designed based on a "client/server" model, with connections established between clients and servers via TCP. Unlike other "client/server" models, FTP has dual connections between the client and server, one control connection and one data connection. The control connection is responsible for the transfer of control information, in particular client commands (such as file transfer commands, etc.), with which the client can make multiple requests (one request being a client command) to the server. Each time a client makes a request, the server establishes a data connection with the client for actual data (e.g., file) transfer.
In the related technology, the FTP protocol command part is transmitted through a fixed communication port, the communication of the fixed port part is realized between the two networks, and the FTP data part is transmitted through a variable port which is required to be dynamically interacted through an FTP command, so that the FTP data part cannot be transmitted through the fixed port, and the FTP server side and the FTP client side cannot be normally interacted.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect in the prior art that the simple port proxy mode FTP data part cannot be transmitted, so as to provide an FTP data transmission method and apparatus, a server, and an information interaction system of a client.
According to a first aspect, an embodiment of the present invention discloses an FTP data transmission method, which is applied to a proxy FTP server, and includes the following steps: receiving an active mode command data packet sent by an FTP client, and sending the active mode command data packet to a proxy FTP client; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; receiving active mode link establishment notification information sent by the proxy FTP client, and establishing a temporary proxy TCP client according to the active mode link establishment notification information; and receiving active mode link connection notification information sent by the proxy FTP client, and establishing connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.
According to a second aspect, the embodiment of the present invention further discloses an FTP data transmission method, which is applied to a proxy FTP client, and includes the following steps: receiving an active mode command data packet sent by a proxy FTP server; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; analyzing the active mode command data packet, and determining an active mode dynamic port according to the active mode dynamic port information; creating a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, sending active mode link creation notification information to the proxy FTP server, and notifying the proxy FTP server to create a temporary proxy TCP client; modifying the active mode IP address information of the active mode command data packet into self IP address information, and sending the modified active mode command data packet to the FTP server; and receiving a third connection request sent by the FTP server to the monitoring port, responding to the third connection request, establishing connection between the FTP server and a proxy FTP client through the temporary proxy TCP server, sending active mode link connection notification information to the temporary proxy TCP client, and notifying the temporary proxy TCP client and the FTP client to initiate a fourth connection request.
With reference to the first aspect, in a first implementation manner of the first aspect, the method further includes: receiving a fifth connection request sent by the FTP client, sending passive mode command link connection notification information to the proxy FTP client, and notifying the proxy FTP client to establish connection with the FTP server; and responding to the fifth connection request, and enabling the FTP client to establish connection with a proxy FTP server through a first port.
With reference to the second aspect, in a first embodiment of the second aspect, the method further comprises: receiving active mode command link connection notification information sent by the FTP client, and sending a sixth connection request to the FTP server according to the active mode command link connection notification information; and establishing connection with the FTP server through a second port.
With reference to any one of the first aspect to the second aspect, in a second implementation manner of any one of the first aspect to the second aspect, when the connection of the temporary proxy TCP server is disconnected or the communication of the temporary proxy TCP client or the temporary proxy TCP server is timed out, the proxy link between the temporary proxy TCP client and the temporary proxy TCP server is deleted.
According to the third aspect, an embodiment of the present invention further discloses an FTP data transmission device, which is applied to a proxy FTP server, and includes: the fifth receiving module is used for receiving an active mode command data packet sent by the FTP client and sending the active mode command data packet to the proxy FTP client; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; a third creating module, configured to receive active mode link creation notification information sent by the proxy FTP client, and create a temporary proxy TCP client according to the active mode link creation notification information; and the third connection module is used for receiving active mode link connection notification information sent by the proxy FTP client and establishing connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.
According to a fourth aspect, an embodiment of the present invention further discloses an FTP data transmission apparatus, applied to a proxy FTP client, including: the sixth receiving module is used for receiving an active mode command data packet sent by the proxy FTP server; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; the second analysis module is used for analyzing the active mode command data packet and determining an active mode dynamic port according to the active mode dynamic port information; a fourth creating module, configured to create a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, send active mode link creation notification information to the proxy FTP server, and notify the proxy FTP server of creating a temporary proxy TCP client; the second modification module is used for modifying the active mode IP address information of the active mode command data packet into own IP address information and sending the modified active mode command data packet to the FTP server; and the fourth connection module is used for receiving a third connection request from the FTP server to the monitoring port, responding to the third connection request, establishing connection between the FTP server and the proxy FTP client through the temporary proxy TCP server, sending active mode link connection notification information to the temporary proxy TCP client, and notifying the temporary proxy TCP client and the FTP client to initiate a fourth connection request.
According to a fifth aspect, an embodiment of the present invention further discloses an information interaction system between a server and a client, including: FTP customer end, FTP server and isolation device, isolation device includes: the proxy FTP server receives a passive mode command instruction sent by the FTP client and sends the passive mode command instruction to the proxy FTP client; the proxy FTP client sends the passive mode command instruction to an FTP server; the proxy FTP client receives a passive mode response data packet fed back by the FTP server according to the passive mode command instruction, and sends the passive mode response data packet to the proxy FTP server; the passive mode response data packet comprises passive mode IP address information and passive mode dynamic port information; the proxy FTP server analyzes the passive mode response data packet and determines a passive mode dynamic port according to the passive mode dynamic port information; the proxy FTP server establishes a temporary proxy TCP server and a monitoring port thereof according to the passive mode dynamic port, sends passive mode link establishment notification information to the proxy FTP client and notifies the proxy FTP client to establish a temporary proxy TCP client; the proxy FTP client receives passive mode link establishment notification information sent by the proxy FTP server, and a temporary proxy TCP client is established according to the passive mode link establishment notification information; the proxy FTP server modifies the passive mode IP address information in the passive mode response data packet into own IP address information and sends the modified passive mode response data packet to the FTP client; the agent FTP server receives a first connection request sent by the FTP client to the monitoring port, responds to the first connection request, enables the FTP client to establish connection with the agent FTP server through the temporary agent TCP server, sends passive mode link connection notification information to the temporary agent TCP client, and notifies the temporary agent TCP client to send a second connection request to the FTP server; the proxy FTP client receives passive mode link establishment notification information sent by the proxy FTP server, and a temporary proxy TCP client is established according to the passive mode link establishment notification information; and the proxy FTP client receives the passive mode link connection notification information sent by the proxy FTP server, and establishes connection with the FTP server through the temporary proxy TCP client according to the passive mode link connection notification information.
According to a sixth aspect, an embodiment of the present invention further discloses an information interaction system between a server and a client, including: FTP customer end, FTP server and isolation device, isolation device includes: the proxy FTP server receives an active mode command data packet sent by the FTP client and sends the active mode command data packet to the proxy FTP client; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; the proxy FTP client receives an active mode command data packet sent by the proxy FTP server, analyzes the active mode command data packet, and determines an active mode dynamic port according to the active mode dynamic port information; the proxy FTP client establishes a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, and sends active mode link establishment notification information to the proxy FTP server to notify the proxy FTP server of establishing the temporary proxy TCP client; the proxy FTP server receives active mode link establishment notification information sent by the proxy FTP client, and establishes a temporary proxy TCP client according to the active mode link establishment notification information; the proxy FTP client modifies the active mode IP address information of the active mode command data packet into self IP address information and sends the modified active mode command data packet to the FTP server; the agent FTP client receives a third connection request from the FTP server to the monitoring port, responds to the third connection request, enables the FTP server to establish connection with the agent FTP client through the temporary agent TCP server, and sends active mode link connection notification information to the temporary agent TCP client to notify the temporary agent TCP client and the FTP client to initiate a fourth connection request; and the proxy FTP server receives active mode link connection notification information sent by the proxy FTP client, and establishes connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.
According to a seventh aspect, an embodiment of the present invention further discloses a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the FTP data transfer method according to any one of the first to second aspects or any of the above embodiments.
According to an eighth aspect, an embodiment of the present invention further discloses a computer-readable storage medium, on which computer instructions are stored, and the instructions, when executed by a processor, implement the FTP data transmission method according to any one of the first to second aspects or any one of the above embodiments.
The technical scheme of the invention has the following advantages:
1. the information interaction system of the server and the client obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided. By dynamically modifying the IP address information in the FTP data packet into the IP address information of the proxy FTP client or the IP address information of the proxy FTP server, the proxy FTP client does not need to be consistent with the IP address information of the FTP client or the proxy FTP server does not need to be consistent with the IP address information of the FTP server, and the network adaptability is enhanced.
2. The FTP data transmission method disclosed by the invention obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided. By dynamically modifying the IP address information in the FTP data packet into the IP address information of the proxy FTP client or the IP address information of the proxy FTP server, the proxy FTP client does not need to be consistent with the IP address information of the FTP client or the proxy FTP server does not need to be consistent with the IP address information of the FTP server, and the network adaptability is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a diagram of a specific example of an information interaction system between a server and a client in embodiment 1 of the present invention;
fig. 2 is a diagram of a specific example of an information interaction system between a server and a client in embodiment 2 of the present invention;
fig. 3 is a flowchart of a specific example of an FTP data transmission method in embodiment 3 of the present invention;
fig. 4 is a flowchart of a specific example of an FTP data transmission method in embodiment 4 of the present invention;
fig. 5 is a schematic block diagram of a specific example of an FTP data transmission apparatus in embodiment 5 of the present invention;
fig. 6 is a schematic block diagram of a specific example of an FTP data transmission apparatus in embodiment 6 of the present invention;
fig. 7 is a schematic block diagram of a specific example of a computer device in embodiment 7 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment provides an information interaction system between a server and a client, which is applied to a passive transmission mode of an FTP protocol, and the system includes an FTP client 10, an FTP server 40, and an isolation device 30, where the isolation device 30 includes: as shown in fig. 1, the IP address information of the FTP client 10 includes: 192.168.0.101, the IP address information of the proxy FTP server 31 is: 192.168.0.102, the IP address information of the proxy FTP client 32 is: the IP address information of 192.168.1.101 and FTP server 40 is: 192.168.1.102, comprising the steps of:
the proxy FTP server 31 receives the fifth connection request sent by the FTP client 10, and sends passive mode command link connection notification information to the proxy FTP client 32, notifying the proxy FTP client 32 to establish a connection with the FTP server 40.
The proxy FTP server 31 responds to the fifth connection request, so that the FTP client 10 establishes connection with the proxy FTP server 31 through the first port, and the proxy FTP client 32 establishes connection with the FTP server 40 through the second port.
Illustratively, after receiving the fifth connection request of the FTP client 10, the proxy FTP server 31 notifies the proxy FTP client 32 to establish a connection with the FTP server 40, where the FTP client 10 establishes a connection with the proxy FTP server 31 through a first port, the first port may be a 21 port of the proxy FTP server 31, the proxy FTP client 32 establishes a connection with the FTP server 40 through a second port, the second port may be a 21 port of the FTP server 40, and thus, the FTP command links are communicated.
The proxy FTP server 31 receives the passive mode command instruction sent by the FTP client 10 and sends the passive mode command instruction to the proxy FTP client 32.
The proxy FTP client 32 sends passive mode command instructions to the FTP server 40.
Illustratively, the FTP client 10 sends a passive mode command instruction to the proxy FTP server 31 through the 21-port link of the proxy FTP server 31, and the proxy FTP server 31 receives the passive mode command instruction sent by the FTP client 10 and sends the passive mode command instruction to the proxy FTP client 32 through the 21-port link of the FTP server 40.
The proxy FTP client 32 receives a passive mode response data packet fed back by the FTP server 40 according to the passive mode command instruction, and sends the passive mode response data packet to the proxy FTP server 31; the passive mode response packet includes passive mode IP address information and passive mode dynamic port information.
Illustratively, the FTP server 40 sends a packet (i.e. a Passive Mode response packet) including a dynamic port through a 21-port link, in this embodiment of the present invention, the packet may be 227 ending Passive Mode (192.168.1.102, 8.88), where 192.168.1.102 is IP address information (i.e. Passive Mode IP address information) of the FTP server 40, 8.88 is first port information, ending Passive Mode indicates Entering the Passive Mode, the FTP server 40 sends the Passive Mode response packet to the proxy FTP client 32, and the proxy FTP client 32 sends the Passive Mode response packet to the proxy FTP server 31.
The proxy FTP server 31 analyzes the passive mode response packet and determines the passive mode dynamic port according to the passive mode dynamic port information.
Illustratively, the proxy FTP server 31 parses the Passive Mode response packet 227 ending Passive Mode (192.168.1.102, 8.88), and in this embodiment of the present invention, the Passive Mode dynamic port may be 2136, which may be determined according to the formula (8 × 256+ 88).
The proxy FTP server 31 creates a temporary proxy TCP server and its listening port according to the passive mode dynamic port, and sends a passive mode link creation notification message to the proxy FTP client 32, notifying the proxy FTP client 32 of creating the temporary proxy TCP client.
The proxy FTP client 32 receives the passive mode link creation notification information sent by the proxy FTP server 40, and creates a temporary proxy TCP client according to the passive mode link creation notification information.
Illustratively, the proxy FTP server 31 creates a temporary proxy TCP server listening 2136 port according to the passive mode dynamic port 2136, and sends passive mode link creation notification information to the proxy FTP client 32, notifying the proxy FTP client 32 to create a temporary proxy TCP client with target IP address information of 192.168.1.102 and target port of 2136.
The proxy FTP server 31 modifies the passive mode IP address information in the passive mode response packet into its own IP address information, and sends the modified passive mode response packet to the FTP client 10.
Exemplarily, in the embodiment of the present application, the proxy FTP server 31 modifies the IP address information 192.168.1.102 in the Passive Mode response packet to its own IP address information 192.168.0.102, obtains a modified Passive Mode response packet 227 ending Passive Mode (192.168.0, 102, 8.88), and sends the modified Passive Mode response packet to the FTP client 10.
The proxy FTP server 31 receives a first connection request sent by the FTP client 10 to the monitor port, responds to the first connection request, establishes a connection between the FTP client 10 and the proxy FTP server 31 through the temporary proxy TCP server, sends a passive mode link connection notification message to the temporary proxy TCP client, and notifies the temporary proxy TCP client to initiate a second connection request to the FTP server 40.
Exemplarily, in the embodiment of the present invention, after receiving the passive mode response packet, the FTP client 10 parses the passive mode response packet to obtain the target IP address information 192.168.0.102, the target port is 2136, the FTP client 10 initiates a first connection request to the 192.168.0.102,2136 port, the proxy FTP server 31 receives the first connection request sent by the FTP client 10 to the monitor port, the FTP client 10 establishes a connection with the proxy FTP server 31 through the 2136 port of the temporary proxy TCP server, the temporary proxy TCP server of the proxy FTP server 31 sends passive mode link connection notification information to the temporary proxy TCP client 32, and notifies the temporary proxy TCP client to initiate a second connection request to the FTP server 40.
The proxy FTP client 32 receives the passive mode link connection notification information sent by the proxy FTP server 31, and establishes a connection with the FTP server 40 through the temporary proxy TCP client according to the passive mode link connection notification information.
The IP address information and the dynamic port are only examples in this embodiment, and the IP address information and the dynamic port are not limited in this embodiment of the present invention.
The information interaction system of the server and the client obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided. By dynamically modifying the IP address information in the FTP data packet into the IP address information of the proxy FTP server, the proxy FTP server does not need to be consistent with the IP address information of the FTP server, and the network adaptability is enhanced.
Optionally, when the connection of the temporary proxy TCP server is disconnected or the communication of the temporary proxy TCP client or the temporary proxy TCP server is timed out, the proxy link between the temporary proxy TCP client and the temporary proxy TCP server is deleted.
Illustratively, when the connection of the temporary proxy TCP server is disconnected or the communication between the temporary proxy TCP client and the temporary proxy TCP server is timed out, the proxy link between the temporary proxy TCP client and the temporary proxy TCP server is destroyed.
Example 2
The embodiment of the invention provides an information interaction system of a server and a client, which is applied to an active transmission mode of an FTP protocol, and comprises an FTP client 10, an FTP server 40 and an isolation device 30, wherein the isolation device 30 comprises: as shown in fig. 2, the IP address information of the FTP client 10 includes: 192.168.0.101, the IP address information of the proxy FTP server 31 is: 192.168.0.102, the IP address information of the proxy FTP client 32 is: the IP address information of 192.168.1.101 and FTP server 40 is: 192.168.1.102, comprising the steps of:
the proxy FTP server 31 receives the active mode command link connection notification information sent by the FTP client 10, and sends a sixth connection request to the FTP server 40 according to the active mode command link connection notification information.
The proxy FTP server 31 responds to the fifth connection request, so that the FTP client 10 is connected with the proxy FTP server 31 through the first port, and the proxy FTP client 32 is connected with the FTP server 40 through the second port; the specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
The proxy FTP server 31 receives an active mode command data packet sent by the FTP client 10 and sends the active mode command data packet to the proxy FTP client 32; the active mode command data packet comprises active mode IP address information and active mode dynamic port information;
illustratively, the proxy FTP server 31 sends a packet (i.e. an active mode command packet) including a dynamic PORT to the proxy FTP server 31 through a 21-PORT link of the proxy FTP server 31, in an embodiment of the present invention, the active mode command packet may be PORTs 192.168.0.101 and 8.77, where a PORT is an active mode command, 192.168.0.101 is IP address information (i.e. active mode IP address information) of the FTP client 10, and 8.77 is active mode dynamic PORT information, and the proxy FTP server 31 sends the active mode command packet to the proxy FTP client 32.
The proxy FTP client 32 receives the active mode command packet sent by the proxy FTP server 31, analyzes the active mode command packet, and determines an active mode dynamic port according to the active mode dynamic port information.
Illustratively, the proxy FTP client 32 parses the active mode command packet PORT192.168.0.101,8.77, and in this embodiment of the present invention, the active mode dynamic port may be 2125, which may be determined according to the formula (8 × 256+ 77).
The proxy FTP client 32 creates a temporary proxy TCP server and its listening port according to the active mode dynamic port, and sends an active mode link creation notification message to the proxy FTP server 31 to notify the proxy FTP server 31 to create the temporary proxy TCP client.
The proxy FTP server 31 receives the active mode link creation notification information sent by the proxy FTP client 32, and creates a temporary proxy TCP client according to the active mode link creation notification information.
Illustratively, the proxy FTP client 32 creates a temporary proxy TCP server snooping 2125 port according to the active mode dynamic port 2125, and sends an active mode link creation notification message to the proxy FTP server 31, and notifies the proxy FTP server 31 to create a temporary proxy TCP client having a destination IP address information of 192.168.0.101, a destination port of 2125, and a source port of 20.
The proxy FTP client 32 modifies the active mode IP address information of the active mode command packet into its own IP address information and sends the modified active mode command packet to the FTP server 40.
Illustratively, in the embodiment of the present application, the proxy FTP client 32 modifies the IP address information 192.168.0.101 in the active mode command packet to its own IP address information 192.168.1.101, obtains modified active mode command packets PORT192.168.1.101,8.77, and sends the modified active mode command packets to the FTP server 40.
The proxy FTP client 32 receives a third connection request from the FTP server 40 to the monitor port, responds to the third connection request, establishes a connection between the FTP server 40 and the proxy FTP client 32 through the temporary proxy TCP server, and sends an active mode link connection notification message to the temporary proxy TCP client to notify the temporary proxy TCP client and the FTP client 10 to initiate a fourth connection request.
Exemplarily, in the embodiment of the present invention, after receiving the active mode command packet, the FTP server 40 parses the active mode command packet to obtain the destination IP address information 192.168.1.101, the destination port is 2125, the FTP server 40 initiates a third connection request to the port192.168.1.101,2125 through the source port 20, the proxy FTP client 32 receives the third connection request, establishes a connection with the FTP server 40 through the port 2125 of the temporary proxy TCP server, and the proxy FTP client 32 sends the active mode link connection notification information to the temporary proxy TCP client to notify the temporary proxy TCP client and the FTP client 10 to initiate a fourth connection request.
The proxy FTP server 31 receives the active mode link connection notification information sent by the proxy FTP client 32, and establishes a connection with the FTP client 10 through the temporary proxy TCP client according to the active mode link connection notification information.
The information interaction system of the server and the client obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided. By dynamically modifying the IP address information in the FTP data packet into the IP address information of the proxy FTP client, the proxy FTP client does not need to be consistent with the IP address information of the FTP client 10, and the network adaptability is enhanced.
The IP address information and the dynamic port are only examples in this embodiment, and the IP address information and the dynamic port are not limited in this embodiment of the present invention.
Optionally, when the connection of the temporary proxy TCP server is disconnected or the communication of the temporary proxy TCP client or the temporary proxy TCP server is timed out, the proxy link between the temporary proxy TCP client and the temporary proxy TCP server is deleted. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
Example 3
The embodiment of the invention discloses an FTP data transmission method, which is applied to a proxy FTP server and comprises the following steps as shown in figure 3:
s31: receiving an active mode command data packet sent by the FTP client, and sending the active mode command data packet to the proxy FTP client; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
S32: receiving active mode link establishment notification information sent by a proxy FTP client, and establishing a temporary proxy TCP client according to the active mode link establishment notification information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
S33: and receiving active mode link connection notification information sent by the proxy FTP client, and establishing connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information. The specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
The FTP data transmission method disclosed by the invention obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided.
As an optional embodiment of the present application, the FTP data transmission method further includes:
receiving a fifth connection request sent by the FTP client, sending passive mode command link connection notification information to the proxy FTP client, and notifying the proxy FTP client to establish connection with the FTP server; the specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
And responding to the fifth connection request, and enabling the FTP client to establish connection with the proxy FTP server through the first port. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
As an optional embodiment of the present application, the FTP data transmission method further includes:
and when the connection of the temporary proxy TCP server is disconnected or the communication of the temporary proxy TCP client or the temporary proxy TCP server is over time, deleting the proxy link between the temporary proxy TCP client and the temporary proxy TCP server. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
Example 4
The embodiment of the invention discloses an FTP data transmission method, which is applied to a proxy FTP client, and comprises the following steps as shown in figure 4:
s41: receiving an active mode command data packet sent by a proxy FTP server; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
S42: analyzing the active mode command data packet, and determining an active mode dynamic port according to the active mode dynamic port information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
S43: creating a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, sending active mode link creation notification information to the proxy FTP server, and notifying the proxy FTP server to create a temporary proxy TCP client; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
S44: modifying the active mode IP address information of the active mode command data packet into self IP address information, and sending the modified active mode command data packet to an FTP server; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
S45: and receiving a third connection request sent by the FTP server to the monitoring port, responding to the third connection request, establishing connection between the FTP server and the proxy FTP client through the temporary proxy TCP server, sending active mode link connection notification information to the temporary proxy TCP client, and notifying the temporary proxy TCP client and the FTP client to initiate a fourth connection request. The specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
The FTP data transmission method disclosed by the invention obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided. By dynamically modifying the IP address information in the FTP data packet into the IP address information of the proxy FTP client, the proxy FTP client does not need to be consistent with the IP address information of the FTP client, and the network adaptability is enhanced.
As an optional embodiment of the present application, the FTP data transmission method further includes:
receiving active mode command link connection notification information sent by the FTP client, and sending a sixth connection request to the FTP server according to the active mode command link connection notification information; the specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
And establishing connection with the FTP server through the second port. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
As an optional embodiment of the present application, the FTP data transmission method further includes:
and when the connection of the temporary proxy TCP server is disconnected or the communication of the temporary proxy TCP client or the temporary proxy TCP server is over time, deleting the proxy link between the temporary proxy TCP client and the temporary proxy TCP server. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
Example 5
The embodiment of the invention discloses an FTP data transmission device, which is applied to a proxy FTP server and comprises the following components as shown in figure 5:
a fifth receiving module 71, configured to receive an active mode command packet sent by the FTP client, and send the active mode command packet to the proxy FTP client; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
A third creating module 72, configured to receive active mode link creation notification information sent by the proxy FTP client, and create a temporary proxy TCP client according to the active mode link creation notification information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
And the third connection module 73 is configured to receive active mode link connection notification information sent by the proxy FTP client, and establish connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information. The specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
The FTP data transmission device disclosed by the invention obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided.
As an optional embodiment of the present application, the FTP data transmission device further comprises:
the second receiving notification module is used for receiving a fifth connection request sent by the FTP client, sending passive mode command link connection notification information to the proxy FTP client and notifying the proxy FTP client to establish connection with the FTP server; the specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
And the third establishing module is used for responding to the fifth connection request and enabling the FTP client to establish connection with the proxy FTP server through the first port. The specific implementation manner is shown in the corresponding steps in embodiment 1, and details are not described herein.
As an optional embodiment of the present application, the FTP data transmission device further comprises:
and the third deleting module is used for deleting the proxy link between the temporary proxy TCP client and the temporary proxy TCP server when the temporary proxy TCP server is disconnected or the communication between the temporary proxy TCP client and the temporary proxy TCP server is over time. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
Example 6
The embodiment of the invention discloses an FTP data transmission device, which is applied to a proxy FTP client, and as shown in figure 6, the device comprises:
a sixth receiving module 81, configured to receive an active mode command packet sent by the proxy FTP server; the active mode command data packet comprises active mode IP address information and active mode dynamic port information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
The second analysis module 82 is configured to analyze the active mode command packet, and determine an active mode dynamic port according to the active mode dynamic port information; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
A fourth creating module 83, configured to create a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, send active mode link creation notification information to the proxy FTP server, and notify the proxy FTP server of creating a temporary proxy TCP client; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
A second modification module 84, configured to modify the active mode IP address information of the active mode command packet into its own IP address information, and send the modified active mode command packet to the FTP server; the specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
And the fourth connection module 85 is configured to receive a third connection request from the FTP server to the monitor port, respond to the third connection request, enable the FTP server to establish a connection with the proxy FTP client through the temporary proxy TCP server, send active mode link connection notification information to the temporary proxy TCP client, and notify the temporary proxy TCP client and the FTP client to initiate a fourth connection request. The specific implementation manner is shown in the corresponding steps in embodiment 2, and is not described herein again.
The FTP data transmission device disclosed by the invention obtains the dynamic port in the FTP protocol by analyzing the data content of the FTP protocol, opens the proxy link required by the communication of the dynamic port, transmits the FTP command part through the proxy link with the static rule, and transmits the FTP data part through the dynamic proxy link, so as to achieve the proxy transmission of the complete FTP communication. And meanwhile, only ports required in the FTP protocol are opened, and unsafe factors brought by redundant port agents are avoided. By dynamically modifying the IP address information in the FTP data packet into the IP address information of the proxy FTP client, the proxy FTP client does not need to be consistent with the IP address information of the FTP client, and the network adaptability is enhanced.
As an optional embodiment of the present application, the FTP data transmission device further comprises:
the second sending module is used for receiving the active mode command link connection notification information sent by the FTP client and sending a sixth connection request to the FTP server according to the active mode command link connection notification information; the specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
And the fourth establishing module is used for establishing connection with the FTP server through the second port. The specific implementation manner is shown in the corresponding steps in embodiment 1, and is not described herein again.
As an optional embodiment of the present application, the FTP data transmission device further comprises:
and the fourth deleting module is used for deleting the proxy link between the temporary proxy TCP client and the temporary proxy TCP server when the temporary proxy TCP server is disconnected or the communication between the temporary proxy TCP client and the temporary proxy TCP server is over time. The specific implementation manner is shown in the corresponding steps in embodiment 1, and details are not described herein.
Example 7
An embodiment of the present invention further provides a computer device, as shown in fig. 7, the computer device may include a processor 91 and a memory 92, where the processor 91 and the memory 92 may be connected by a bus or in another manner, and fig. 7 takes the example of being connected by a bus as an example.
The processor 91 may be a Central Processing Unit (CPU). The Processor 91 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or any combination thereof.
The memory 92, as a non-transitory computer readable storage medium, can be used for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the FTP data transmission method in the embodiment of the present invention (for example, the fifth receiving module 71, the third creating module 72, and the third connecting module 73 shown in fig. 5 or the sixth receiving module 81, the second parsing module 82, the fourth creating module 83, the second modifying module 84, and the fourth connecting module 85 shown in fig. 6). The processor 91 executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory 92, that is, implements the FTP data transmission method in the above-described method embodiments.
The memory 92 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 91, and the like. Further, memory 92 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 92 may optionally include memory located remotely from the processor 91, and such remote memory may be connected to the processor 91 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 92, and when executed by the processor 91, perform the FTP data transfer method as in the embodiments shown in fig. 3 to 4.
The details of the electronic device may be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 3 to fig. 4, which are not described herein again.
Example 8
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the FTP data transmission method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (11)

1. A FTP data transmission method is applied to a proxy FTP server and is characterized by comprising the following steps:
receiving an active mode command data packet sent by an FTP client, and sending the active mode command data packet to a proxy FTP client, wherein the active mode command data packet comprises active mode IP address information and active mode dynamic port information;
receiving active mode link establishment notification information sent by the proxy FTP client, and establishing a temporary proxy TCP client according to the active mode link establishment notification information;
and receiving active mode link connection notification information sent by the proxy FTP client, and establishing connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.
2. The method of claim 1, further comprising:
receiving a fifth connection request sent by the FTP client, sending passive mode command link connection notification information to the proxy FTP client, and notifying the proxy FTP client to establish connection with the FTP server;
and responding to the fifth connection request, and enabling the FTP client to establish connection with a proxy FTP server through a first port.
3. A FTP data transmission method is applied to a proxy FTP client, and is characterized by comprising the following steps:
receiving an active mode command data packet sent by a proxy FTP server, wherein the active mode command data packet comprises active mode IP address information and active mode dynamic port information;
analyzing the active mode command data packet, and determining an active mode dynamic port according to the active mode dynamic port information;
creating a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, sending active mode link creation notification information to the proxy FTP server, and notifying the proxy FTP server to create a temporary proxy TCP client;
modifying the active mode IP address information of the active mode command data packet into self IP address information, and sending the modified active mode command data packet to the FTP server;
and receiving a third connection request sent by the FTP server to the monitoring port, responding to the third connection request, establishing connection between the FTP server and a proxy FTP client through the temporary proxy TCP server, sending active mode link connection notification information to the temporary proxy TCP client, and notifying the temporary proxy TCP client and the FTP client to initiate a fourth connection request.
4. The method of claim 3, further comprising:
receiving active mode command link connection notification information sent by the FTP client, and sending a sixth connection request to the FTP server according to the active mode command link connection notification information;
and establishing connection with the FTP server through a second port.
5. The method according to claim 1 or 3, wherein when the temporary proxy TCP server is disconnected or the communication between the temporary proxy TCP client and the temporary proxy TCP server is timed out, the proxy link between the temporary proxy TCP client and the temporary proxy TCP server is deleted.
6. An FTP data transmission device is applied to a proxy FTP server side, and is characterized by comprising:
the fifth receiving module is used for receiving an active mode command data packet sent by the FTP client and sending the active mode command data packet to the proxy FTP client; the active mode command data packet comprises active mode IP address information and active mode dynamic port information;
a third creating module, configured to receive active mode link creation notification information sent by the proxy FTP client, and create a temporary proxy TCP client according to the active mode link creation notification information;
and the third connection module is used for receiving active mode link connection notification information sent by the proxy FTP client and establishing connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.
7. An FTP data transmission device is applied to a proxy FTP client, and is characterized by comprising:
the sixth receiving module is used for receiving an active mode command data packet sent by the proxy FTP server; the active mode command data packet comprises active mode IP address information and active mode dynamic port information;
the second analysis module is used for analyzing the active mode command data packet and determining an active mode dynamic port according to the active mode dynamic port information;
a fourth creating module, configured to create a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, send active mode link creation notification information to the proxy FTP server, and notify the proxy FTP server of creating a temporary proxy TCP client;
the second modification module is used for modifying the active mode IP address information of the active mode command data packet into own IP address information and sending the modified active mode command data packet to the FTP server;
and the fourth connection module is used for receiving a third connection request from the FTP server to the monitoring port, responding to the third connection request, establishing connection between the FTP server and the proxy FTP client through the temporary proxy TCP server, sending active mode link connection notification information to the temporary proxy TCP client, and notifying the temporary proxy TCP client and the FTP client to initiate a fourth connection request.
8. An information interaction system of a server and a client is characterized by comprising: FTP customer end, FTP server and isolation device, isolation device includes: a proxy FTP server and a proxy FTP client,
the proxy FTP server receives a passive mode command instruction sent by the FTP client and sends the passive mode command instruction to the proxy FTP client;
the proxy FTP client sends the passive mode command instruction to an FTP server;
the proxy FTP client receives a passive mode response data packet fed back by the FTP server according to the passive mode command instruction, and sends the passive mode response data packet to the proxy FTP server; the passive mode response data packet comprises passive mode IP address information and passive mode dynamic port information;
the proxy FTP server analyzes the passive mode response data packet and determines a passive mode dynamic port according to the passive mode dynamic port information;
the proxy FTP server establishes a temporary proxy TCP server and a monitoring port thereof according to the passive mode dynamic port, sends passive mode link establishment notification information to the proxy FTP client and notifies the proxy FTP client to establish a temporary proxy TCP client;
the proxy FTP client receives passive mode link establishment notification information sent by the proxy FTP server, and a temporary proxy TCP client is established according to the passive mode link establishment notification information;
the proxy FTP server modifies the passive mode IP address information in the passive mode response data packet into the IP address information of the proxy FTP server, and sends the modified passive mode response data packet to the FTP client;
the agent FTP server receives a first connection request sent by the FTP client to the monitoring port, responds to the first connection request, enables the FTP client to establish connection with the agent FTP server through the temporary agent TCP server, sends passive mode link connection notification information to the temporary agent TCP client, and notifies the temporary agent TCP client to send a second connection request to the FTP server;
and the proxy FTP client receives the passive mode link connection notification information sent by the proxy FTP server, and establishes connection with the FTP server through the temporary proxy TCP client according to the passive mode link connection notification information.
9. An information interaction system of a server and a client is characterized by comprising: FTP customer end, FTP server and isolation device, isolation device includes: a proxy FTP server and a proxy FTP client,
the proxy FTP server receives an active mode command data packet sent by the FTP client and sends the active mode command data packet to the proxy FTP client, wherein the active mode command data packet comprises active mode IP address information and active mode dynamic port information;
the proxy FTP client receives an active mode command data packet sent by the proxy FTP server, analyzes the active mode command data packet, and determines an active mode dynamic port according to the active mode dynamic port information;
the proxy FTP client establishes a temporary proxy TCP server and a monitoring port thereof according to the active mode dynamic port, and sends active mode link establishment notification information to the proxy FTP server to notify the proxy FTP server of establishing the temporary proxy TCP client;
the proxy FTP server receives active mode link establishment notification information sent by the proxy FTP client, and establishes a temporary proxy TCP client according to the active mode link establishment notification information;
the proxy FTP client modifies the active mode IP address information of the active mode command data packet into self IP address information and sends the modified active mode command data packet to the FTP server;
the agent FTP client receives a third connection request from the FTP server to the monitoring port, responds to the third connection request, enables the FTP server to establish connection with the agent FTP client through the temporary agent TCP server, and sends active mode link connection notification information to the temporary agent TCP client to notify the temporary agent TCP client and the FTP client to initiate a fourth connection request;
and the proxy FTP server receives active mode link connection notification information sent by the proxy FTP client, and establishes connection with the FTP client through the temporary proxy TCP client according to the active mode link connection notification information.
10. A computer device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the FTP data transfer method according to any one of claims 1 to 5.
11. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the FTP data transfer method of any one of claims 1 to 5.
CN202010027603.6A 2020-01-10 2020-01-10 FTP data transmission method and device, and information interaction system of server and client Active CN111245831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010027603.6A CN111245831B (en) 2020-01-10 2020-01-10 FTP data transmission method and device, and information interaction system of server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010027603.6A CN111245831B (en) 2020-01-10 2020-01-10 FTP data transmission method and device, and information interaction system of server and client

Publications (2)

Publication Number Publication Date
CN111245831A CN111245831A (en) 2020-06-05
CN111245831B true CN111245831B (en) 2022-05-03

Family

ID=70874443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010027603.6A Active CN111245831B (en) 2020-01-10 2020-01-10 FTP data transmission method and device, and information interaction system of server and client

Country Status (1)

Country Link
CN (1) CN111245831B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726401B (en) * 2020-06-09 2023-05-26 北京天空卫士网络安全技术有限公司 File transmission method and device
CN113505166A (en) * 2021-07-13 2021-10-15 中国联合网络通信集团有限公司 Multi-type data access method and device, electronic equipment and readable storage medium
CN114124935A (en) * 2021-11-18 2022-03-01 北京明朝万达科技股份有限公司 Method, system, equipment and storage medium for realizing FTP service

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1180885A1 (en) * 2000-08-17 2002-02-20 Sun Microsystems, Inc. User access system using proxies for accessing a network
CN102148845A (en) * 2010-02-08 2011-08-10 中兴通讯股份有限公司 File transfer protocol (FTP) data transmission method and system
CN102447630A (en) * 2011-12-28 2012-05-09 中兴通讯股份有限公司 Protocol message transmission method, home gateway and CGN (carrier grade network switch) device
CN105450585A (en) * 2014-07-24 2016-03-30 阿里巴巴集团控股有限公司 Information transmission method and device
CN107079057A (en) * 2016-12-14 2017-08-18 深圳前海达闼云端智能科技有限公司 Data transmission method, device, system, electronic equipment and computer program product
CN107094183A (en) * 2017-06-02 2017-08-25 中国石油大学(华东) A kind of ftp file method for reliable transmission based on port-hopping

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7308710B2 (en) * 2001-09-28 2007-12-11 Jp Morgan Chase Bank Secured FTP architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1180885A1 (en) * 2000-08-17 2002-02-20 Sun Microsystems, Inc. User access system using proxies for accessing a network
CN102148845A (en) * 2010-02-08 2011-08-10 中兴通讯股份有限公司 File transfer protocol (FTP) data transmission method and system
CN102447630A (en) * 2011-12-28 2012-05-09 中兴通讯股份有限公司 Protocol message transmission method, home gateway and CGN (carrier grade network switch) device
CN105450585A (en) * 2014-07-24 2016-03-30 阿里巴巴集团控股有限公司 Information transmission method and device
CN107079057A (en) * 2016-12-14 2017-08-18 深圳前海达闼云端智能科技有限公司 Data transmission method, device, system, electronic equipment and computer program product
CN107094183A (en) * 2017-06-02 2017-08-25 中国石油大学(华东) A kind of ftp file method for reliable transmission based on port-hopping

Also Published As

Publication number Publication date
CN111245831A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN111245831B (en) FTP data transmission method and device, and information interaction system of server and client
EP1892929A1 (en) A method, an apparatus and a system for message transmission
CN112631788B (en) Data transmission method and data transmission server
US20230031062A1 (en) Data processing method and apparatus, related device, and storage medium
CN106101297B (en) A kind of message answer method and device
US9344363B2 (en) Information processing system, relay device, information processing device, and information processing method
CN111726400A (en) Reverse connection method, device and server-side system
CN105991442B (en) Message forwarding method and device
JP2007157148A (en) Method for maintaining telnet session, telnet agency, and computer network system
JP2007157148A6 (en) Telnet session, telnet agency, and method of maintaining a computer network system
CN115297098A (en) Edge service acquisition method and device, edge computing system, medium and equipment
CN103685398A (en) Communication connection establishment method and communication system
CN116633993B (en) Cross-network micro-service calling method, device, equipment and storage medium
WO2024002390A1 (en) Pcb device message response method and apparatus, and computer device and storage medium
US20130226984A1 (en) Method and apparatus of providing optimized web browser communications
CN107766066B (en) Method for updating slave module firmware
JP6690959B2 (en) Device and method for reforming TCP handshake
CN111416851A (en) Method for session synchronization among multiple load balancers and load balancer
KR101432326B1 (en) Host posing network device and method thereof
CN113411228B (en) Network condition determining method and server
CN114205149B (en) Network communication method and device
CN113746851B (en) Proxy system and method supporting real-time analysis of GRPC request
CN114390095A (en) Remote equipment control method and Internet of things equipment management platform and system
CN111107166B (en) Session synchronization method, device, electronic equipment and medium
CN111756873A (en) Intranet penetration method, device, equipment and storage medium for environmental protection monitoring

Legal Events

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