CN115051982B - 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
CN115051982B
CN115051982B CN202210670211.0A CN202210670211A CN115051982B CN 115051982 B CN115051982 B CN 115051982B CN 202210670211 A CN202210670211 A CN 202210670211A CN 115051982 B CN115051982 B CN 115051982B
Authority
CN
China
Prior art keywords
server
data transmission
transmission request
ftp
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.)
Active
Application number
CN202210670211.0A
Other languages
Chinese (zh)
Other versions
CN115051982A (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

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

Landscapes

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

Abstract

The application 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: distributing address information for each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server; configuring identification information for a flow transponder connected with the server, wherein the identification information comprises an association relationship between the server and address information corresponding to the server; when a traffic forwarder receives a data transmission request sent by a client, determining a server for receiving 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. 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 application 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 acronym for file transfer protocol (FILE TRANSFER procos), which is a protocol used for controlling the bi-directional transfer of 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 large amount of programs and information on the FTP server. The FTP protocol uses two connections to complete the service of a request to a client: namely a command interactive connection and a data transmission connection. However, in the case that the port used in the data transmission connection is temporarily allocated, and the FTP cluster needs to implement communication between the client and the server through the traffic forwarder, the traffic forwarder cannot determine the server to receive the data transmission connection request, so that the difficulty in implementing the FTP cluster is increased, and data cannot be accurately transmitted.
Disclosure of Invention
The application provides an information processing method, an information processing system and a storage medium based on an FTP protocol, which can meet the requirement of high-quality data transmission on the basis of low cost.
The embodiment of the application provides an information processing method based on an FTP protocol, which comprises the following steps:
distributing address information for each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server;
configuring identification information for a flow transponder connected with the server, wherein the identification information comprises an association relationship between the server and address information corresponding to the server;
when a traffic forwarder receives a data transmission request sent by a client, determining a server for receiving 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 information processing method further comprises:
if the address information is a port range, the port ranges corresponding to the servers in the FTP cluster do not overlap.
In some embodiments, the information processing method further comprises:
and when the address information is the IP address corresponding to the server, allocating different IP addresses for 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 comprises:
acquiring a command interaction request sent by a client for establishing a command interaction channel with a server;
the command interaction request is forwarded 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 comprises:
under the condition that the server receives the command interaction request and is in the FTP passive mode, address information corresponding to the command interaction request is sent to a client through the server; the address information is an address capable of enabling the server to establish data transmission with the client.
In some embodiments, the information processing method further comprises:
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.
In some embodiments, after determining the server that received the data transmission 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.
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 a server in the FTP cluster connected with 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 application also provides an information processing system based on the FTP protocol, which comprises the following steps:
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;
a configuration module, 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;
a determining module, configured to determine, when a 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.
The embodiment of the application 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 application has the beneficial effects that: the application distributes the address information uniquely corresponding to the server for each server in the FTP cluster, and configures the identification information for the traffic forwarder connected with the server, so that the traffic forwarder can determine the server receiving the data transmission request based on the preconfigured identification information and the data transmission request, the data transmission request can be accurately transmitted to the negotiated server, the difficulty of 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 numerals may describe similar components in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar components. The accompanying drawings illustrate various embodiments by way of example in general and not by way of limitation, and together with the description and claims serve to explain the disclosed embodiments. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. Such embodiments are illustrative and not intended to be exhaustive or exclusive of the present apparatus or method.
FIG. 1 is a flow chart of an information processing method based on the FTP protocol according to an embodiment of the present application;
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 application;
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 application;
FIG. 4 is a diagram of a communication architecture of a system employing an information processing method based on the FTP protocol according to an embodiment of the present application;
fig. 5 is a block diagram of an information processing system based on the FTP protocol according to an embodiment of the present application.
The reference numerals in the drawings denote components:
100-an information processing system; 101-an allocation module; 102-configuring a module; 103-determination module.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It should be understood that various modifications may be made to the embodiments of the application herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of the application will occur to persons of ordinary skill in the art.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with a general description of the application given above, and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the application 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 application has been described with reference to some specific examples, those skilled in the art can certainly realize many other equivalent forms of the application.
The above and other aspects, features and advantages of the present application will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it is to be understood that the inventive embodiments are merely examples of the application, which may be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not intended to be 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 application in virtually any appropriately detailed structure.
The specification may use the word "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 application.
The embodiment of the application provides an information processing method based on an FTP protocol, which can be applied to an information processing system based on the FTP protocol, wherein the information processing system comprises an FTP cluster, a client and a flow transponder for enabling a server and the client of the FTP cluster to communicate. The client and the server both support the FTP protocol, and before establishing a data transmission connection between the client and the server, the client establishes a command interaction request with the server through the traffic forwarder. When a command interaction request is established, the client and one server in the FTP cluster have determined to establish a connection to perform 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 a designated 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 distributing address information for 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 the server one by one, or an identifier corresponding to each port of the server one by one, 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 determine one server in the FTP cluster.
Step S102: and configuring identification information for the traffic forwarder connected with the server, wherein the identification information comprises an association relation between the server and address information corresponding to the server.
Specifically, the identification information is used for enabling the traffic forwarder to determine a data interaction channel negotiated by the client and the server when the client and the server command interaction requests, so that the traffic forwarder can determine a unique server corresponding to the address information after configuring the identification information.
Step S103: when a traffic forwarder receives a data transmission request sent by a client, determining a server for receiving 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 alternative embodiments, the determining information may be address information directly, and after the traffic forwarder obtains the data transmission request, the traffic forwarder may determine, based on the address information and the identification information configured for the traffic forwarder in advance, a server that should accept the data transmission request, so as to avoid situations such as data loss caused by the data transmission request being erroneously transmitted to other servers. In some other embodiments, the determination information may be information obtained by encrypting the address information, and in any case, the address information may be determined by the determination information, and the traffic forwarder may determine the server by combining the address information and the identification information.
By 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 designated server through the flow transponder without additional monitoring means.
The application distributes the address information uniquely corresponding to the server for each server in the FTP cluster, and configures the identification information for the traffic forwarder connected with the server, so that the traffic forwarder can determine the server receiving the data transmission request based on the preconfigured identification information and the data transmission request, the data transmission request can be accurately transmitted to the negotiated server, the difficulty of 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 comprises: if the address information is a port range, the port ranges corresponding to the servers in the FTP cluster do not overlap.
As shown in fig. 2, the number of servers in the FTP cluster, that is, the number 1 server, the number 2 server, the number 3 server, and the number 4 server, is shown in fig. 2, and the number of servers in the FTP cluster is merely an example, and it should be noted that the number of servers in the FTP cluster is not specifically limited by the present application. The port ranges corresponding to the 4 servers are all different, the port range corresponding to the No. 1 server is 1000-2000,2, the port range corresponding to the No. 2001-3000,3 server is 3001-4000,4, and the port range corresponding to the No. 4001-5000.
Port ranges are allocated to each server in the FTP cluster, the port ranges corresponding to the servers are not overlapped, and identification information corresponding to the port ranges is configured for traffic forwarders connected with the servers. When the traffic forwarder receives a data transmission request sent from the client, the traffic forwarder can determine a server that receives the data transmission request based on the preconfigured identification information and the data transmission request including determination information corresponding to the port range. For example, if the data transmission request includes the determination information corresponding to the port 1001, it is determined that the server that receives the data transmission request is server No. 1 in the FTP cluster.
Specifically, the forwarding port of the traffic forwarder is used to send a data transmission request, a command interaction request, etc. to the server.
In some embodiments, as shown in fig. 3, the information processing method further includes: and when the address information is the IP address corresponding to the server, allocating different IP addresses for each server pair in the FTP cluster.
As shown in fig. 3, the IP addresses corresponding to the 4 servers shown in fig. 3 are different, and the IP address corresponding to the server No. 1 is 10.1.1.2; the IP address corresponding to the No. 2 server is 10.1.1.3; the IP address corresponding to the server No. 3 is 10.1.1.4; the IP address corresponding to server No. 4 is 10.1.1.5.
And distributing IP addresses to all servers in the FTP cluster, wherein the IP addresses corresponding to the servers are unique, and configuring identification information corresponding to the IP addresses for traffic forwarders connected with the servers. When the traffic forwarder receives the data transmission request sent from the client, the traffic forwarder can determine the server receiving the data transmission request based on the preconfigured identification information and the data transmission request containing the determination information corresponding to the IP address. For example, if the data transmission request includes the determination information corresponding to the IP address 10.1.1.4, it is determined that the server that receives the data transmission request is server No. 3 in the FTP cluster.
In some embodiments, as shown in fig. 4, before the traffic forwarder receives the data transmission request sent by the client, the information processing method further includes steps S201 to S202.
Step S201: and acquiring a command interaction request sent by the client for establishing a command interaction channel with the server.
Step S202: the command interaction request is forwarded to a server via a traffic forwarder.
Specifically, a command interaction channel between the client and the server is established before a data transmission channel between the client and the server is established. After the traffic forwarder receives the command interaction request sent by the client, the traffic forwarder determines that the client is communicated with a designated server in the FTP cluster.
In some embodiments, the information processing method further includes step S301 before the traffic forwarder receives the data transmission request sent by the client.
Step S301: under the condition that the server receives the command interaction request and is in the FTP passive mode, address information corresponding to the command interaction request is sent to a client through the server; the address information is an address capable of enabling the server to establish data transmission with the client.
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 transponder; step S303: the traffic forwarder then sends the address information to the client.
Specifically, the above-mentioned FTP passive mode may be understood as a port transmission command of a client to connect to a server in the FTP cluster, and the server will negotiate a service port to connect to the client to transmit data through the port.
Specifically, the server sends address information to the client under the command interaction channel to prepare for subsequent data transmission.
In some embodiments, the information processing method further comprises: 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 including 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 for which the client has previously negotiated communication.
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 a server via a traffic forwarder specifically includes:
the flow forwarder acquires the command interaction request and configures a server in the FTP cluster connected with 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 distributed to the client through a preset algorithm.
The embodiment of the application also provides an information processing system 100 based on the FTP protocol, as shown in fig. 5, the information processing system 100 based on the FTP protocol includes a distribution module 101, a configuration module 102 and a determination module 103. The allocation 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 the client, a server that receives the data transmission request based on the 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 information processing system 100 based on the FTP protocol further includes a processing module 104, where the processing module 104 is configured to, in a case where the address information is a port range, not overlap a port range corresponding to each server in the FTP cluster.
In some embodiments, the information processing system 100 based on the FTP protocol further includes a processing module 104, where the processing module 104 is configured to allocate different IP addresses to each server pair in the FTP cluster if the address information is an IP address corresponding to the server.
In some embodiments, the processing module 104 is further configured to obtain, before the traffic forwarder receives the data transmission request sent by the client, a command interaction request sent by the client for establishing a command interaction channel with the server; the command interaction request is forwarded to a server via a traffic forwarder.
In some embodiments, the processing module 104 is further configured to, before the traffic forwarder receives the data transmission request sent by the client, send, to the client, address information corresponding to the command interaction request through the server when the server receives the command interaction request and is in the FTP passive mode; the address information is an address capable of enabling the server to establish data transmission with the client.
In some embodiments, the information processing system 100 based on the FTP protocol further includes a generating module 105, where the generating module 105 is configured to generate the data transmission request including 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.
In some embodiments, the processing module 104 is further configured to, after determining the server that received 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 obtain the command interaction request by the traffic forwarder, and configure, for the client, a server in the FTP cluster connected thereto based on a preset algorithm; and after the server is configured, forwarding the command interaction request to the server.
The embodiment of the application 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 application, the respective units may be implemented as computer-executable instructions stored on a memory, which when executed by a processor may implement the respective steps; may also be implemented as hardware having corresponding logic computing capabilities; and may also be implemented as a combination of software and hardware (firmware). In some embodiments, the processor may be implemented as any one of FPGA, ASIC, DSP chip, SOC (system on a chip), MPU (e.g., without limitation, cortex), etc. 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., upon which computer-executable instructions are stored in any format. Computer-executable instructions may be accessed by the processor, read from ROM or any other suitable memory location, and loaded into RAM for execution by the processor to implement a wireless communication method in accordance with various embodiments of the application.
It should be noted that, among the components of the system of the present application, the components thereof are logically divided according to functions to be implemented, but the present application is not limited thereto, and the 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.
Various component embodiments of the 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 some or all of the functions of some or all of the components in a system according to embodiments of the present application may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present application can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form. Furthermore, 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 use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.
Furthermore, although exemplary embodiments have been described herein, the scope thereof includes any and all embodiments having equivalent elements, modifications, omissions, combinations (e.g., of the various embodiments across), adaptations or alterations as pertains to the present application. The elements in the claims are to be construed broadly based on the language employed in the claims and are not limited to examples described in the present specification or during the practice 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 aspects 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 is not to be interpreted as an intention that the disclosed features not being claimed are essential to any claim. Rather, inventive subject matter may 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 one another 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, the scope of which is defined by the claims. Various modifications and equivalent arrangements of this application will occur to those skilled in the art, and are intended to be within the spirit and scope of the application.

Claims (10)

1. An information processing method based on FTP protocol, comprising:
distributing address information for each server in the FTP cluster, wherein the address information is an address uniquely corresponding to the server;
configuring identification information for a flow transponder connected with the server, wherein the identification information comprises an association relationship between the server and address information corresponding to the server; the identification information is used for enabling the flow transponder to determine a data interaction channel negotiated by the client and the server when the client and the server command interaction requests, so that the flow transponder can determine a unique server corresponding to the address information after the flow transponder configures the identification information;
when a traffic forwarder receives a data transmission request sent by a client, determining a server for receiving the data transmission request based on preconfigured identification information and the data transmission request, and forwarding the data transmission request to a designated server through the traffic forwarder; the data transmission request at least comprises a data packet and determination information corresponding to the address information.
2. The FTP protocol-based information processing method according to claim 1, further comprising:
if the address information is a port range, the port ranges corresponding to the servers in the FTP cluster do not overlap.
3. The FTP protocol-based information processing method according to claim 1, further comprising:
and when the address information is the IP address corresponding to the server, allocating different IP addresses for each server pair in the FTP cluster.
4. The FTP protocol-based information processing method according to claim 1, wherein before the traffic forwarder receives the data transmission request sent from the client, the information processing method further comprises:
acquiring a command interaction request sent by a client for establishing a command interaction channel with a server;
the command interaction request is forwarded to a server via a traffic forwarder.
5. The FTP protocol-based information processing method according to claim 4, wherein the information processing method further comprises, before the traffic forwarder receives the data transmission request sent from the client:
under the condition that the server receives the command interaction request and is in the FTP passive mode, address information corresponding to the command interaction request is sent to a client through the server; the address information is an address capable of enabling the server to establish data transmission with the client.
6. The FTP-protocol-based information processing method as set forth in 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 according to claim 1, wherein after determining the server that receives the data transmission 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 according to claim 4, wherein the forwarding the command interactive request to the server via the traffic forwarder comprises:
the flow forwarder acquires the command interaction request and configures a server in the FTP cluster connected with 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 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;
a configuration module, 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 identification information is used for enabling the flow transponder to determine a data interaction channel negotiated by the client and the server when the client and the server command interaction requests, so that the flow transponder can determine a unique server corresponding to the address information after the flow transponder configures the identification information;
a determining module, configured to determine, when a 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, and forward the data transmission request to a specified server via the traffic forwarder; the data transmission request at least comprises a data packet and determination information corresponding to the address information.
10. A storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the FTP protocol-based information processing method according to any one of claims 1 to 8.
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 CN115051982A (en) 2022-09-13
CN115051982B true 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744004A (en) * 2016-04-29 2016-07-06 广东凯通软件开发有限公司 Distributed database file transmission method and system based on FTP
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

Family Cites Families (1)

* 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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (2)

* Cited by examiner, † Cited by third party
Title
基于LVS集群服务器的设计与实现;张锦祥,石杭飙;浙江教育学院学报(第05期);全文 *
张锦祥,石杭飙.基于LVS集群服务器的设计与实现.浙江教育学院学报.2005,(第05期),全文. *

Also Published As

Publication number Publication date
CN115051982A (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN111460460B (en) Task access method, device, proxy server and machine-readable storage medium
US11811899B2 (en) IPv4/IPv6 bridge
CN113590364B (en) Data processing method and device based on distributed shared memory system
RU2007148416A (en) UNITED ARCHITECTURE FOR REMOTE NETWORK ACCESS
US20120240184A1 (en) System and method for on the fly protocol conversion in obtaining policy enforcement information
US20100174806A1 (en) Data Processing Method, Apparatus And System
CN114364031B (en) Service providing method, device and storage medium
CN107105013B (en) File processing method, server, terminal and system
CN109151025B (en) Load balancing method and device based on URL, computer storage medium and equipment
CN112968965B (en) Metadata service method, server and storage medium for NFV network node
CN108737591B (en) Service configuration method and device
CN111131470B (en) Terminal device, data processing method thereof and data processing system
CN111541799A (en) Domain name resolution method, system, terminal and storage medium
CN115051982B (en) Information processing method, system and storage medium based on FTP protocol
CN113765801B (en) Message processing method and device applied to data center, electronic equipment and medium
CN111786989B (en) Communication processing method and device and electronic equipment
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
CN114866854B (en) Video access mode dynamic allocation method, system, electronic equipment and storage medium
EP4216510A1 (en) Method for acquiring address, apparatus and system
EP4117251A1 (en) Method, apparatus and system for realizing carrier grade network address translation
CN115914389A (en) Cloud service control system, method and device, electronic equipment and storage medium
WO2023011361A1 (en) Data connection establishment method, terminal, application server, network side device, electronic device, and computer readable storage medium
CN114095470B (en) Block chain node uplink method and device and block chain link point
CN114221946B (en) Method, device, equipment and storage medium for managing files based on object gateway
CN109005253B (en) Network load balancing system

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