CN115051982A - Information processing method, system and storage medium based on FTP protocol - Google Patents

Information processing method, system and storage medium based on FTP protocol Download PDF

Info

Publication number
CN115051982A
CN115051982A CN202210670211.0A CN202210670211A CN115051982A CN 115051982 A CN115051982 A CN 115051982A CN 202210670211 A CN202210670211 A CN 202210670211A CN 115051982 A CN115051982 A CN 115051982A
Authority
CN
China
Prior art keywords
server
data transmission
ftp
transmission request
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210670211.0A
Other languages
Chinese (zh)
Other versions
CN115051982B (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 Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software 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 Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202210670211.0A priority Critical patent/CN115051982B/en
Publication of CN115051982A publication Critical patent/CN115051982A/en
Application granted granted Critical
Publication of CN115051982B publication Critical patent/CN115051982B/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1014Server selection for load balancing based on the content of a request
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The invention provides an information processing method, a system and a storage medium based on an FTP protocol, wherein the information processing method based on the FTP protocol comprises the following steps: allocating address information to each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server; configuring identification information for a flow forwarder connected with the server, wherein the identification information comprises an association relation between the server and address information corresponding to the server; when a flow repeater receives a data transmission request sent by a client, determining a server for receiving the data transmission request based on pre-configured identification information and the data transmission request; wherein the data transmission request includes at least determination information corresponding to the address information. The information processing method based on the FTP protocol can meet the requirement of high-quality data transmission on the basis of low cost.

Description

Information processing method, system and storage medium based on FTP protocol
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information processing method, system, and storage medium based on an FTP protocol.
Background
The FTP protocol is an english abbreviation of the file transfer protocol (FILE TRANSFER PROTOCO), which is a protocol for bidirectional transfer of control files over the Internet. A user may use a client supporting the FTP protocol to connect to a server supporting the FTP protocol (referred to as an FTP server) to access and use a variety of programs and information on the FTP server. The FTP protocol uses two connections to complete the service of requests to one client: namely a command interaction connection and a data transfer connection. However, currently, ports used for data transmission connection are temporarily allocated, and in a scenario where an FTP cluster requires a traffic forwarder to implement client-server communication, the traffic forwarder cannot determine a server that is to receive a data transmission connection request, thereby increasing difficulty in implementing the FTP cluster and causing a failure in accurately transmitting data.
Disclosure of Invention
In view of the above technical problems in the prior art, the present invention provides an information processing method, system and storage medium based on the FTP protocol, which can meet the requirement of high quality data transmission on the basis of low cost.
The embodiment of the invention provides an information processing method based on an FTP protocol, which comprises the following steps:
allocating address information to each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server;
configuring identification information for a flow forwarder connected with the server, wherein the identification information comprises an association relation between the server and address information corresponding to the server;
when a flow repeater receives a data transmission request sent by a client, determining a server for receiving the data transmission request based on pre-configured identification information and the data transmission request; wherein the data transmission request includes at least determination information corresponding to the address information.
In some embodiments, the information processing method further includes:
and when the address information is the port range, the port ranges corresponding to the servers in the FTP cluster are not overlapped.
In some embodiments, the information processing method further includes:
and under the condition that the address information is the IP address corresponding to the server, allocating different IP addresses to each server pair in the FTP cluster.
In some embodiments, before the traffic forwarder receives the data transmission request sent by the client, the information processing method further includes:
acquiring a command interaction request which is sent by a client and used for establishing a command interaction channel with a server;
forwarding the command interaction request to a server via a traffic forwarder.
In some embodiments, before the traffic forwarder receives the data transmission request sent by the client, the information processing method further includes:
under the condition that the server receives the command interaction request and is in an FTP passive mode, sending address information corresponding to the command interaction request to a client through the server; the address information is an address which can enable the server and the client to establish data transmission.
In some embodiments, the information processing method further includes:
generating the data transmission request containing the determination information based on the address information received by the client; wherein the determination information is used for determining a server which receives the data transmission request.
In some embodiments, after determining the server that receives the data transmission request, the information processing method further includes:
forwarding the data transmission request to the determined server via the traffic forwarder; wherein the data transmission request comprises at least a data packet.
In some embodiments, the forwarding the command interaction request to the server via the traffic forwarder specifically includes:
the flow forwarder acquires the command interaction request and configures one server in the FTP cluster connected with the client for the client based on a preset algorithm;
and after the server is configured, forwarding the command interaction request to the server.
An embodiment of the present invention further provides an information processing system based on the FTP protocol, including:
the distribution module is used for distributing address information for each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server;
the configuration module is used for configuring identification information for the traffic forwarder connected with the server, wherein the identification information comprises an incidence relation between the server and address information corresponding to the server;
the determining module is used for determining a server for receiving the data transmission request based on pre-configured identification information and the data transmission request when the traffic forwarder receives the data transmission request sent by a client; wherein the data transmission request includes at least determination information corresponding to the address information.
The embodiment of the invention also provides a storage medium, which stores a computer program, and the computer program realizes the steps of the information processing method based on the FTP protocol when being executed by a processor.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: according to the invention, the address information uniquely corresponding to the server is distributed to each server in the FTP cluster, and the identification information is configured for the flow forwarder connected with the server, so that the flow forwarder can determine the server for receiving the data transmission request based on the pre-configured identification information and the data transmission request, the data transmission request can be accurately transmitted to the negotiated server, the difficulty in realizing the FTP cluster is effectively reduced, and the high-quality data transmission requirement can be met on the basis of low cost.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having letter suffixes or different letter suffixes may represent different instances of similar components. The drawings illustrate various embodiments generally by way of example and not by way of limitation, and together with the description and claims serve to explain the disclosed embodiments. The same reference numbers will be used throughout the drawings to refer to the same or like parts, where appropriate. Such embodiments are illustrative, and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.
FIG. 1 is a flow chart of an information processing method based on FTP protocol according to an embodiment of the present invention;
fig. 2 is a first architecture diagram of a system employing an information processing method based on the FTP protocol according to an embodiment of the present invention;
fig. 3 is a second architecture diagram of a system employing an information processing method based on the FTP protocol according to an embodiment of the present invention;
fig. 4 is a communication architecture diagram of a system employing an information processing method based on the FTP protocol according to an embodiment of the present invention;
fig. 5 is a block diagram of an information processing system based on the FTP protocol according to an embodiment of the present invention.
The members denoted by reference numerals in the drawings:
100-an information processing system; 101-a distribution module; 102-a configuration module; 103-determination module.
Detailed Description
Various aspects and features of the present invention are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the invention herein. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Other modifications will occur to those skilled in the art which are within the scope and spirit of the invention.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with a general description of the invention given above, and the detailed description of the embodiments given below, serve to explain the principles of the invention.
These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It is also to be understood that although the invention has been described with reference to specific examples, those skilled in the art are able to ascertain many other equivalents to the practice of the invention.
The above and other aspects, features and advantages of the present invention will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present invention are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the invention in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the invention.
The embodiment of the invention provides an information processing method based on an FTP (file transfer protocol), which can be applied to an information processing system based on the FTP, wherein the information processing system comprises an FTP cluster, a client and a flow forwarder for enabling a server of the FTP cluster to be communicated with the client. The client and the server both support the FTP protocol, and before the data transmission connection between the client and the server is established, the client establishes a command interaction request with the server through the traffic forwarder. When the command interaction request is established, the client and one server in the FTP cluster already determine to establish a connection for subsequent data transmission, but when the traffic forwarder forwards the subsequent data transmission request, it is not clear that the data transmission request is forwarded to the specified server in the FTP cluster, so that there is a possibility of data loss, and for the above situation, as shown in fig. 1, the information processing method based on the FTP protocol according to the embodiment of the present application includes steps S101 to S103.
Step S101: and allocating address information to each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server.
It is understood that the address information may be configured as an identifier corresponding to a server or an identifier corresponding to each port of the server, and more specifically, the address information may be at least one of the following: an IP address corresponding to the server, and a port range corresponding to the server.
Specifically, the address information has uniqueness, that is, each address information can uniquely identify one server in the FTP cluster.
Step S102: and configuring identification information for the flow forwarder connected with the server, wherein the identification information comprises the association relationship between the server and the address information corresponding to the server.
Specifically, the identification information is used to enable the traffic forwarder to determine a data interaction channel negotiated between the client and the server during the command interaction request, so that after the traffic forwarder configures the identification information, the traffic forwarder can determine the unique server corresponding to the address information.
Step S103: when a flow repeater receives a data transmission request sent by a client, determining a server for receiving the data transmission request based on pre-configured identification information and the data transmission request; wherein the data transmission request includes at least determination information corresponding to the address information.
In some optional embodiments, the determination information may be directly address information, and after the traffic forwarder obtains the data transmission request, the traffic forwarder can determine, based on the address information and the identification information configured for the traffic forwarder in advance, a server that should receive the data transmission request, so as to avoid that the data transmission request is erroneously transmitted to another server, and data loss occurs. In some other embodiments, the determination information may also be information obtained by encrypting address information, in short, the determination information may be used to determine the address information, and then the traffic forwarder may determine the server by combining the address information and the identification information.
Through the information processing method based on the FTP protocol, the command interaction request and the data transmission request of the client can be sent to the same server, and the data transmission request can be forwarded to the appointed server through the flow forwarder without an additional monitoring means.
According to the invention, the address information uniquely corresponding to the server is distributed to each server in the FTP cluster, and the identification information is configured for the flow forwarder connected with the server, so that the flow forwarder can determine the server for receiving the data transmission request based on the pre-configured identification information and the data transmission request, the data transmission request can be accurately transmitted to the negotiated server, the difficulty in realizing the FTP cluster is effectively reduced, and the high-quality data transmission requirement can be met on the basis of low cost.
In some embodiments, the information processing method further includes: and when the address information is the port range, the port ranges corresponding to the servers in the FTP cluster are not overlapped.
Exemplarily, as shown in fig. 2, fig. 2 shows 4 servers in an FTP cluster, that is, a server No. 1, a server No. 2, a server No. 3, and a server No. 4, where the number of servers in the FTP cluster is merely an example, and it should be noted that the application does not specifically limit the number of servers in the FTP cluster. The port ranges corresponding to the 4 servers are all different, the port range corresponding to the server No. 1 is 2000-year-old, the port range corresponding to the server No. 2 is 2001-year-old 3000, the port range corresponding to the server No. 3 is 3001-year-old 4000, and the port range corresponding to the server No. 4 is 4001-year-old 5000.
And allocating port ranges for all servers in the FTP cluster, wherein the port ranges corresponding to all the servers are not overlapped, and configuring identification information corresponding to the port ranges for a traffic forwarder connected with the servers. When the traffic forwarder receives a data transmission request sent by the client, the traffic forwarder can determine a server which receives the data transmission request based on the pre-configured identification information and the data transmission request which contains the determination information corresponding to the port range. For example, if the data transfer request includes the determination information corresponding to the port 1001, it is determined that the server receiving the data transfer request is the server No. 1 in the FTP cluster.
Specifically, the forwarding port of the traffic forwarder is used for sending a data transmission request, a command interaction request and the like to the server.
In some embodiments, as shown in fig. 3, the information processing method further includes: and under the condition that the address information is the IP address corresponding to the server, allocating different IP addresses to each server pair in the FTP cluster.
Exemplarily, as shown in fig. 3, the IP addresses corresponding to the 4 servers shown in fig. 3 are all different, and the IP address corresponding to the server No. 1 is 10.1.1.2; the IP address corresponding to the server No. 2 is 10.1.1.3; the IP address corresponding to the server No. 3 is 10.1.1.4; server number 4 corresponds to an IP address of 10.1.1.5.
And allocating an IP address for each server in the FTP cluster, wherein the IP address corresponding to each server is unique, and configuring identification information corresponding to the IP address for a flow forwarder connected with the server. When the traffic forwarder receives the data transmission request sent by the client, the traffic forwarder can determine the server receiving the data transmission request based on the preset identification information and the data transmission request containing the determination information corresponding to the IP address. For example, if the data transfer request includes the specific information corresponding to the IP address 10.1.1.4, the server receiving the data transfer request is determined to be the server No. 3 in the FTP cluster.
In some embodiments, as shown in fig. 4, before the traffic forwarder receives the data transmission request transmitted by the client, the information processing method further includes steps S201 to S202.
Step S201: and acquiring a command interaction request which is sent by the client and used for establishing a command interaction channel with the server.
Step S202: forwarding the command interaction request to a server via a traffic forwarder.
Specifically, before establishing a data transmission channel between the client and the server, a command interaction channel between the client and the server is established. After the traffic forwarder receives the command interaction request sent by the client, determining a designated server in the FTP cluster to communicate with the client through the traffic forwarder.
In some embodiments, before the traffic forwarder receives the data transmission request transmitted by the client, the information processing method further includes step S301.
Step S301: under the condition that the server receives the command interaction request and is in an FTP passive mode, sending address information corresponding to the command interaction request to a client through the server; the address information is an address which can enable the server and the client to establish data transmission.
Specifically, as shown in fig. 4, step S301 may specifically include step S302 and step S303, step S302: the server sends the address information corresponding to the server to the flow forwarder; step S303: and the traffic forwarder sends the address information to the client.
Specifically, the FTP passive mode may be understood as that the client connects to a port of a server in the FTP cluster to send a command, and the server negotiates with the client about a service port connected to the client, so as to send data through the port.
Specifically, the server sends the address information to the client under the command interaction channel to prepare for subsequent data transmission.
In some embodiments, the information processing method further includes: generating the data transmission request containing the determination information based on the address information received by the client; wherein the determination information is used for determining a server that receives the data transmission request.
Specifically, after receiving the address information, the client generates a data transmission request containing determination information before sending the data transmission request, so that the traffic forwarder receiving the data transmission request can determine, in combination with the determination information, a server to receive the data transmission request, that is, a server of a communication negotiated before the client.
In some embodiments, as shown in fig. 4, the information processing method further includes step S401, step S401: the client sends a data transmission request to the traffic forwarder.
In some embodiments, as shown in fig. 4, after determining the server that receives the data transmission request, the information processing method further includes step S501.
Step S501: forwarding the data transmission request to the determined server via the traffic forwarder; wherein the data transmission request comprises at least a data packet.
In some embodiments, step S501: the forwarding the command interaction request to the server via the traffic forwarder specifically includes:
the flow forwarder acquires the command interaction request and configures one server in the FTP cluster connected with the client for the client based on a preset algorithm;
and after the server is configured, forwarding the command interaction request to the server.
Specifically, the preset algorithm may be at least one of a polling algorithm and a load balancing algorithm. The server can be reasonably allocated to the client through a preset algorithm.
An embodiment of the present invention further provides an information processing system 100 based on the FTP protocol, and as shown in fig. 5, the information processing system 100 based on the FTP protocol includes an allocating module 101, a configuring module 102, and a determining module 103. The allocating module 101 is configured to allocate address information to each server in the FTP cluster, where the address information is an address uniquely corresponding to the server. The configuration module 102 is configured to configure identification information for a traffic forwarder connected to the server, where the identification information includes an association relationship between the server and address information corresponding to the server. The determining module 103 is configured to determine, when the traffic forwarder receives a data transmission request sent by a client, a server that receives the data transmission request based on preconfigured identification information and the data transmission request; wherein the data transmission request includes at least determination information corresponding to the address information.
In some embodiments, the FTP protocol based information processing system 100 further comprises a processing module 104, where the processing module 104 is configured to, if the address information is a port range, not overlap the port ranges corresponding to the servers in the FTP cluster.
In some embodiments, the FTP-protocol-based information processing system 100 further comprises a processing module 104, where the processing module 104 is configured to assign different IP addresses to the respective server pairs in the FTP cluster if the address information is the IP address corresponding to the server.
In some embodiments, the processing module 104 is further configured to, before the traffic forwarder receives the data transmission request sent by the client, obtain a command interaction request sent by the client for establishing a command interaction channel with the server; forwarding the command interaction request to a server via a traffic forwarder.
In some embodiments, the processing module 104 is further configured to, before the traffic forwarder receives a data transmission request sent by the client, send, by the server, address information corresponding to the command interaction request to the client if the server receives the command interaction request and is in the FTP passive mode; the address information is an address which can enable the server and the client to establish data transmission.
In some embodiments, the FTP-based information processing system 100 further comprises a generating module 105, wherein the generating module 105 is configured to generate the data transmission request containing the specific information based on the address information received by the client; wherein the determination information is used for determining a server that receives the data transmission request.
In some embodiments, the processing module 104 is further configured to, after determining the server that receives the data transmission request, forward the data transmission request to the determined server via the traffic forwarder; wherein the data transmission request comprises at least a data packet.
In some embodiments, the processing module 104 is further configured to, by the traffic forwarder, obtain the command interaction request, and configure, for the client, one server in the FTP cluster connected to the client based on a preset algorithm; and after the server is configured, forwarding the command interaction request to the server.
The embodiment of the invention also provides a storage medium, which stores a computer program, and the computer program realizes the steps of the information processing method based on the FTP protocol when being executed by a processor.
Note that, according to various units in various embodiments of the present application, they may be implemented as computer-executable instructions stored on a memory, which when executed by a processor may implement corresponding steps; or may be implemented as hardware with corresponding logical computing capabilities; or as a combination of software and hardware (firmware). In some embodiments, the processor may be implemented as any of an FPGA, an ASIC, a DSP chip, an SOC (system on a chip), an MPU (e.g., without limitation, Cortex), and the like. The processor may be communicatively coupled to the memory and configured to execute computer-executable instructions stored therein. The memory may include Read Only Memory (ROM), flash memory, Random Access Memory (RAM), Dynamic Random Access Memory (DRAM) such as synchronous DRAM (sdram) or Rambus DRAM, static memory (e.g., flash memory, static random access memory), etc., on which computer-executable instructions are stored in any format. The computer executable instructions may be accessed by a processor, read from a ROM or any other suitable storage location, and loaded into RAM for execution by the processor to implement a wireless communication method according to various embodiments of the present application.
It should be noted that, in the respective components of the system of the present application, the components therein are logically divided according to the functions to be implemented, but the present application is not limited thereto, and the respective components may be re-divided or combined as needed, for example, some components may be combined into a single component, or some components may be further decomposed into more sub-components.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in a system according to embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form. Further, the application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Moreover, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., of various embodiments across), adaptations or alterations. The elements of the claims are to be interpreted broadly based on the language employed in the claims and not limited to examples described in the present specification or during the prosecution of the application, which examples are to be construed as non-exclusive. It is intended, therefore, that the specification and examples be considered as exemplary only, with a true scope and spirit being indicated by the following claims and their full scope of equivalents.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This should not be interpreted as an intention that a disclosed feature not claimed is essential to any claim. Rather, subject matter of the present application can lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with each other in various combinations or permutations. The scope of the application should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. An information processing method based on FTP protocol is characterized by comprising the following steps:
allocating address information to each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server;
configuring identification information for a flow forwarder connected with the server, wherein the identification information comprises an association relation between the server and address information corresponding to the server;
when a flow repeater receives a data transmission request sent by a client, determining a server for receiving the data transmission request based on pre-configured identification information and the data transmission request; wherein the data transmission request includes at least determination information corresponding to the address information.
2. The FTP protocol based information processing method of claim 1, further comprising:
and when the address information is the port range, the port ranges corresponding to the servers in the FTP cluster are not overlapped.
3. The FTP protocol based information processing method of claim 1, further comprising:
and under the condition that the address information is the IP address corresponding to the server, allocating different IP addresses to each server pair in the FTP cluster.
4. The FTP protocol based information processing method of claim 1, wherein before the traffic forwarder receives the data transfer request transmitted from the client, the information processing method further comprises:
acquiring a command interaction request which is sent by a client and used for establishing a command interaction channel with a server;
forwarding the command interaction request to a server via a traffic forwarder.
5. The FTP protocol based information processing method of claim 4, wherein before the traffic forwarder receives the data transfer request transmitted from the client, the information processing method further comprises:
under the condition that the server receives the command interaction request and is in an FTP passive mode, sending address information corresponding to the command interaction request to a client through the server; the address information is an address which can enable the server and the client to establish data transmission.
6. The FTP protocol based information processing method of claim 5, further comprising:
generating the data transmission request containing the determination information based on the address information received by the client; wherein the determination information is used for determining a server that receives the data transmission request.
7. The FTP protocol based information processing method of claim 1, wherein after determining a server to receive the data transfer request, the information processing method further comprises:
forwarding the data transmission request to the determined server via the traffic forwarder; wherein the data transmission request comprises at least a data packet.
8. The FTP protocol-based information processing method of claim 4, wherein forwarding the command interaction request to a server via a traffic forwarder specifically comprises:
the flow forwarder acquires the command interaction request and configures one server in the FTP cluster connected with the client for the client based on a preset algorithm;
and after the server is configured, forwarding the command interaction request to the server.
9. An information processing system based on the FTP protocol, comprising:
the distribution module is used for distributing address information for each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server;
the configuration module is used for configuring identification information for the traffic forwarder connected with the server, wherein the identification information comprises an incidence relation between the server and address information corresponding to the server;
the determining module is used for determining a server for receiving the data transmission request based on pre-configured identification information and the data transmission request when the traffic forwarder receives the data transmission request sent by a client; wherein the data transmission request includes at least determination information corresponding to the address information.
10. A storage medium storing a computer program characterized in that the computer program realizes the steps of the FTP protocol based information processing method of any one of claims 1 to 8 when executed by a processor.
CN202210670211.0A 2022-06-14 2022-06-14 Information processing method, system and storage medium based on FTP protocol Active CN115051982B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210670211.0A CN115051982B (en) 2022-06-14 2022-06-14 Information processing method, system and storage medium based on FTP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210670211.0A CN115051982B (en) 2022-06-14 2022-06-14 Information processing method, system and storage medium based on FTP protocol

Publications (2)

Publication Number Publication Date
CN115051982A true CN115051982A (en) 2022-09-13
CN115051982B CN115051982B (en) 2023-12-01

Family

ID=83162167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210670211.0A Active CN115051982B (en) 2022-06-14 2022-06-14 Information processing method, system and storage medium based on FTP protocol

Country Status (1)

Country Link
CN (1) CN115051982B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019493A1 (en) * 2007-07-12 2009-01-15 Utstarcom, Inc. Cache affiliation in iptv epg server clustering
CN105744004A (en) * 2016-04-29 2016-07-06 广东凯通软件开发有限公司 Distributed database file transmission method and system based on FTP
CN106059986A (en) * 2015-04-22 2016-10-26 阿里巴巴集团控股有限公司 Method and server for SSL (Secure Sockets Layer) session reuse
CN106844111A (en) * 2016-12-26 2017-06-13 创新科存储技术(深圳)有限公司 The access method of cloud storage NFS
CN108023953A (en) * 2017-12-04 2018-05-11 北京小度信息科技有限公司 The high availability implementation method and device of FTP service
CN109040243A (en) * 2018-08-02 2018-12-18 新华三信息安全技术有限公司 A kind of message processing method and device
CN112019627A (en) * 2020-08-31 2020-12-01 中国平安财产保险股份有限公司 Load balancing method and device, computer equipment and computer readable storage medium
WO2022002209A1 (en) * 2020-07-01 2022-01-06 中兴通讯股份有限公司 Data transmission method, proxy server, storage medium, and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019493A1 (en) * 2007-07-12 2009-01-15 Utstarcom, Inc. Cache affiliation in iptv epg server clustering
CN106059986A (en) * 2015-04-22 2016-10-26 阿里巴巴集团控股有限公司 Method and server for SSL (Secure Sockets Layer) session reuse
CN105744004A (en) * 2016-04-29 2016-07-06 广东凯通软件开发有限公司 Distributed database file transmission method and system based on FTP
CN106844111A (en) * 2016-12-26 2017-06-13 创新科存储技术(深圳)有限公司 The access method of cloud storage NFS
CN108023953A (en) * 2017-12-04 2018-05-11 北京小度信息科技有限公司 The high availability implementation method and device of FTP service
CN109040243A (en) * 2018-08-02 2018-12-18 新华三信息安全技术有限公司 A kind of message processing method and device
WO2022002209A1 (en) * 2020-07-01 2022-01-06 中兴通讯股份有限公司 Data transmission method, proxy server, storage medium, and electronic device
CN113965560A (en) * 2020-07-01 2022-01-21 中兴通讯股份有限公司 Data transmission method, proxy server, storage medium, and electronic device
CN112019627A (en) * 2020-08-31 2020-12-01 中国平安财产保险股份有限公司 Load balancing method and device, computer equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张锦祥, 石杭飙: "基于LVS集群服务器的设计与实现", 浙江教育学院学报, no. 05 *

Also Published As

Publication number Publication date
CN115051982B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN109889621B (en) Configuration method and device of virtual private cloud service
CN108449282B (en) Load balancing method and device
CN108307002B (en) DHCP message processing method and device
CN111460460B (en) Task access method, device, proxy server and machine-readable storage medium
US10320738B2 (en) Address allocation method, CGN device, and CGN dual-active system
EP2499787B1 (en) Smart client routing
CN110430275B (en) Data processing method, device, system, computing equipment and medium
RU2007148416A (en) UNITED ARCHITECTURE FOR REMOTE NETWORK ACCESS
US11856065B2 (en) Data transmission for service integration between a virtual private cloud and an intranet
CN114025021B (en) Communication method, system, medium and electronic equipment crossing Kubernetes cluster
CN111711705B (en) Method and device for realizing network connection based on bidirectional NAT (network Address translation) by proxy node
CN114501593A (en) Network slice access method, device, system and storage medium
CN112968965B (en) Metadata service method, server and storage medium for NFV network node
CN112702338B (en) IKE message acquisition method and device
CN113765801B (en) Message processing method and device applied to data center, electronic equipment and medium
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
EP3629559B1 (en) Method for configuring forwarding table for user equipment and apparatus
WO2023221708A1 (en) Pdn dialing method, system and apparatus, multi-pdn dialing configuration method, system and apparatus, and device and storage medium
CN115051982B (en) Information processing method, system and storage medium based on FTP protocol
US11863516B2 (en) Method, apparatus and system for realizing carrier grade network address translation
WO2022135132A1 (en) Service processing method and apparatus, electronic device, and storage medium
CN110377548B (en) Address space multiplexing method and device and multiplexer
US20160330614A1 (en) Wireless communication device, wireless communication network, and identification-number setting method
WO2016074179A1 (en) Data processing method and multi-core processor system
WO2023011361A1 (en) Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium

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