CN117424888A - File transmission method, file transmission system and computer storage medium - Google Patents

File transmission method, file transmission system and computer storage medium Download PDF

Info

Publication number
CN117424888A
CN117424888A CN202311262367.6A CN202311262367A CN117424888A CN 117424888 A CN117424888 A CN 117424888A CN 202311262367 A CN202311262367 A CN 202311262367A CN 117424888 A CN117424888 A CN 117424888A
Authority
CN
China
Prior art keywords
file
target
transmission
transmission channel
file transfer
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.)
Pending
Application number
CN202311262367.6A
Other languages
Chinese (zh)
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 Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN202311262367.6A priority Critical patent/CN117424888A/en
Publication of CN117424888A publication Critical patent/CN117424888A/en
Pending legal-status Critical Current

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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application provides a file transmission method, a file transmission system and a computer storage medium, which can solve the technical problem of low file transmission speed. The file transmission method comprises the following steps: in response to a file transfer request, linking a transfer node and a source device to form a first transfer channel; and linking the transmission node and the target device to form a second transmission channel; the file transfer request is used for indicating to transfer the target file from the source device to the target device; transmitting the target file from the source device to the transmission node through a first transmission channel, and transmitting the target file from the transmission node to the target device through a second transmission channel; and writing the target file into the target device. The target file has no writing operation in the transmission node, and the target file only passes through the memory of the transmission node, so that the flow is simplified, and the file transmission speed is improved. And huge storage space is not needed, so that resources are saved. And, the number of events recorded is small, so that the operation and maintenance of the file transfer system are simple.

Description

File transmission method, file transmission system and computer storage medium
Technical Field
The present disclosure relates to the field of data transmission technologies, and in particular, to a file transmission method, a file transmission system, and a computer storage medium.
Background
File transfer techniques may be used to transfer files from one device to another. The device that emits the file may be referred to as a source device. The device receiving the file may be referred to as a target device. When the source device and the target device are not communicated, a local device is needed to realize file transmission. The source device and the target device are respectively connected with a local device, and the local device becomes a data transfer center for file transmission.
In the process of transmitting the file, a first acquisition process is performed, the file is sent from the source device to the local device, and then the file is written into the local device. And then, a second acquisition process is carried out, the file is sent from the local equipment to the target equipment, and then the file is written into the target equipment. In this way, the transfer of the file from the source device to the target device is completed.
However, the local device acts as a data transfer center, and the file writing operation, the log collection of the local device for two collection processes, and other operations can slow down the file transmission speed.
Disclosure of Invention
The embodiment of the application provides a file transmission method, a file transmission system and a computer storage medium, which can solve the technical problem of low file transmission speed.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, a file transfer method is provided, the file transfer method including: in response to a file transfer request, linking a transfer node and a source device to form a first transfer channel; and linking the transmission node and the target device to form a second transmission channel; the file transfer request is used for indicating to transfer the target file from the source device to the target device; transmitting the target file from the source device to the transmission node through a first transmission channel, and transmitting the target file from the transmission node to the target device through a second transmission channel; and writing the target file into the target device.
Based on the above description of the file transmission method provided in the embodiments of the present application, it is known that the file transmission method includes establishing two transmission channels in response to a file transmission request, and transmitting a target file from a source device to a target device through a first transmission channel and a second transmission channel, and writing the target file into the target device. Thus, the transfer of the file is completed. The target file has no writing operation in the transmission node, and the target file only passes through the memory of the transmission node, namely, the target file only flows through the transmission node, so that the file transmission flow is simplified, and the file transmission speed is improved.
And the target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, the target file has no write operation at the transmission node, the transmission node does not need to buffer batch data, which means that the file transmission system does not need huge storage space, and resources are saved.
The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
In a possible implementation manner of the first aspect, the target file includes a plurality of data packets; when the step of transmitting the target file from the source device to the transmission node through the first transmission channel and then transmitting the target file from the transmission node to the target device through the second transmission channel is executed, the file transmission method further comprises: and transmitting each data packet of the target file to the target equipment through the first transmission channel and the second transmission channel in sequence.
In this way, multiple data packets may be sent from the source device to the destination device. And compared with the method that a plurality of data packets are simultaneously sent from the source device to the transmission node, the method comprises the steps of simultaneously sending the plurality of data packets from the transmission node to the target device. The file transmission method provided by the embodiment of the application can realize the flow transmission of a plurality of data packets and save the time of file transmission. The data packets are sequentially transmitted, so that the memory requirement of the file transmission data node is reduced, and the method is suitable for more file transmission scenes.
In a possible implementation manner of the first aspect, the plurality of data packets includes a first data packet and a second data packet, and the file transmission method further includes: transmitting the first data packet to target equipment through a first transmission channel and a second transmission channel; and writing the content of the first data packet into the target device.
In a possible implementation manner of the first aspect, after performing the step of writing the content of the first data packet to the target device, the file transfer method further includes: transmitting the second data packet to the target device through the first transmission channel and the second transmission channel; and writing the content of the second data packet into the target device.
And after the first data packet is written into the target equipment, the second data packet is transmitted, so that the accuracy of file transmission is ensured.
In a possible implementation manner of the first aspect, after performing the step of writing the target file to the target device, the file transfer method further includes: sending a first instruction to target equipment; the first instruction is to instruct the target device to move the target file from the temporary directory to the export directory.
In a possible implementation manner of the first aspect, after performing the step of writing the target file to the target device, the file transfer method further includes: sending a second instruction to the source device; the second instruction is for instructing the source device to delete or backup the target file.
In a possible implementation manner of the first aspect, the source device includes a file list, and the file list includes a target file; the file transmission method further comprises the following steps: any file in the file list is obtained, and whether the file is a target file is judged; if the file is the target file, the step of transmitting is executed.
In a possible implementation manner of the first aspect, the file transmission method further includes: and storing an acquisition log, wherein the acquisition log comprises file information and transmitted delay information.
In order to meet the requirements of system auditing and operation and maintenance, only collected logs are reserved, the requirement that a transmission node is used as a data operation center based on data operation and maintenance is met, and the storage space and the data maintenance work are saved.
In a second aspect, embodiments of the present application provide a file transfer system, including: at least one processor; a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method provided in the first aspect.
The file transmission system simplifies the flow of file transmission and improves the speed of file transmission by executing the file transmission method provided in the first aspect. The transmission nodes do not need to buffer batch data, which means that the file transmission system does not need huge storage space, and resources are saved. The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
In a third aspect, embodiments of the present application provide a computer readable medium having stored thereon computer program instructions executable by a processor to implement a method as provided in the first aspect.
The computer program instructions of the computer readable medium can be executed to implement the method as provided in the first aspect such that the flow of file transfer is simplified and the speed of file transfer is increased. The transmission nodes do not need to buffer batch data, which means that the file transmission system does not need huge storage space, and resources are saved. The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
Drawings
Fig. 1 is a schematic flow chart of an embodiment of a file transfer method provided in an embodiment of the present application;
FIG. 2 is a flow chart of an implementation form of a file transfer method according to an embodiment of the present application;
FIG. 3 is an interactive schematic diagram of an example of the file transfer method shown in FIG. 2;
FIG. 4 is an interactive schematic diagram of an example of the file transfer method shown in FIG. 2;
FIG. 5 is a flowchart illustrating an implementation form of a file transfer method according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating an implementation form of a file transfer method according to an embodiment of the present application;
fig. 7 is an interaction diagram of an example of the file transfer method shown in fig. 6.
Detailed Description
The principles and features of the present application are described below with examples given for the purpose of illustration only and are not intended to limit the scope of the present application.
The embodiment of the application provides a file transmission method which can be used for realizing file transmission between two non-communicated devices (or systems). For example, a device and a device B, which are not mutually communicated, transmit a file in the device a to the device B through the file transmission system provided by the embodiment of the application. The device a or the device B may be a user device, or a device formed by integrating the user device and a network device through a network, or may also be an application running on the device, where the user device includes, but is not limited to, various terminal devices such as a computer, a mobile phone, a tablet computer, an intelligent watch, a bracelet, and the network device includes, but is not limited to, a network host, a single network server, a plurality of network server sets, or a computer set based on cloud computing, where the network device is implemented, and may be used to implement a part of processing functions when setting an alarm clock. Here, the Cloud is composed of a large number of hosts or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual computer composed of a group of loosely coupled computer sets. The present application is not limited to a particular implementation of the device (or system).
The file transmission method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an embodiment of a file transfer method according to an embodiment of the present application. As shown in fig. 1, in some embodiments, the file transfer method includes the steps of:
step S1, in response to a file transmission request, a transmission node and a source device are linked to form a first transmission channel. And linking the transmission node and the target device to form a second transmission channel. The file transfer request is used to indicate that the target file is transferred from the source device to the target device.
The establishment of the first transmission channel and the second transmission channel may be based on FTP protocol and SFTP protocol. The link between the source device and the file transfer system is realized by a first transmission channel established between a transmission node of the file transfer system and the source device. Similarly, the link between the target device and the file transfer system is implemented by a second transfer channel established between the transfer node of the file transfer system and the target device. It will be appreciated that the file transfer system includes, in addition to the transfer node, a processor or the like, capable of completing the reception of the instruction, the transmission of the instruction, and the generation of the instruction.
In one implementation, a file transfer system may receive a user-triggered file transfer request. For example, file a is transferred from source device a to target device B. File a serves as the target file. In one example, a file transfer system generates a first connection command and a second connection command in response to a file transfer request. The first connection command is used for indicating a file transfer system to connect the source host and a transfer node of the file transfer system. The second connection command is used for indicating the file transmission system to connect the destination host and the transmission node of the file transmission system.
Step S2, the target file is transmitted from the source device to the transmission node through the first transmission channel, and then is transmitted to the target device through the second transmission channel from the transmission node.
The transmitting node does not cache the bulk data, only as part of the channel. I.e. the data simply passes through the memory and "flows" through the transmission node. The transmission node is used for completing the handover of the transmission data.
The target file is transmitted from the source device to the target device via the transmission node, and the entire transmission process is handled as one thing.
The file transmission system does not need to complete the writing operation of the target file, so that the reading and writing operation and maintenance corresponding to the reading and writing operation are not needed, the flow of file transmission can be reduced, and the resource is saved.
In some cases, the target file includes a plurality of data packets, and each data packet of the target file is sequentially transmitted to the target device through the first transmission channel and the second transmission channel.
Fig. 2 is a flow chart of an implementation form of a file transfer method according to an embodiment of the present application. Fig. 3 is an interaction diagram of an example of the file transfer method shown in fig. 2. As shown in fig. 2 and 3, in order to ensure the accuracy of file transfer, in one implementation, when step S2 is performed, the file transfer method includes the steps of:
step S21, the first data packet is transmitted to the target device through the first transmission channel and the second transmission channel.
Step S22, the content of the first data packet is written into the target device.
The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
Illustratively, by performing steps S21 and S22, the file transfer system obtains a packet a1 of the file a from the link with the source device a, and writes the content of a1 to the target device B via the link between the file transfer system and the target device B.
Step S23, the second data packet is transmitted to the target device through the first transmission channel and the second transmission channel.
Step S24, the content of the second data packet is written into the target device.
Illustratively, by performing step S23 and step S24, the file transfer system acquires another data packet a2 of the file a from the source device a, and writes the content of a2 to the target device B through the link between the file transfer system and the target device B. And after the first data packet is written into the target equipment, the second data packet is transmitted, so that the accuracy of file transmission is ensured.
It will be appreciated that when the number of packets of the target file is greater than two, steps S23 and S24 may be repeated until the contents of file a are written to the target device B.
And compared with the method that a plurality of data packets are simultaneously sent from the source device to the transmission node, the method comprises the steps of simultaneously sending the plurality of data packets from the transmission node to the target device. The file transmission method provided by the embodiment of the application can realize the flow transmission of a plurality of data packets and save the time of file transmission. The data packets are sequentially transmitted, so that the memory requirement of the file transmission data node is reduced, and the method is suitable for more file transmission scenes.
To ensure accuracy of file transfer, fig. 4 is an interactive schematic diagram of an example of the file transfer method shown in fig. 2. As shown in fig. 4, in some embodiments, after performing step S22, before performing step S23, the file transfer method further includes:
step S221, after executing step S22, the target device sends a write completion instruction to the file transfer system.
In step S222, the file transfer system generates a continuation instruction in response to the write completion instruction, and transmits the continuation instruction to the source device.
Step S223, the source device responds to the resume instruction and executes step S23.
That is, after one data packet is transmitted, the file transmission system needs to send a continue command to transmit the next data packet, so as to avoid transmission errors or congestion.
Fig. 5 is a flowchart of an implementation form of a file transfer method according to an embodiment of the present application. As shown in fig. 5, in some embodiments, the file transfer method further includes:
step S201, any file in the file list is acquired, and whether the file is a target file is judged.
In some embodiments, the source device includes a plurality of non-target files in addition to the target files. The target file and the plurality of non-target files are stored in the source device in the form of a file list. The file transfer system is capable of acquiring a file list in the source device and determining whether each file in the file list is a target file.
Step S202, if the file is the target file, executing the transmission step.
In one implementation, the transmitting step includes step S2. In one example, the transmitting step includes steps S21 to S24.
After executing step S202, determining whether there is any unprocessed file; if the file is the target file and is not processed, the size of the acquired file is acquired, and the transmission step is executed.
In one implementation, a determination is made as to whether the file is a target file by obtaining an unprocessed file name.
And step S3, writing the target file into the target equipment.
In one implementation, a file is written to a specified location of a target device. For example, a file is written to a specified address temporary directory of the target device.
Above, the target file has no writing operation in the transmission node, and the target file only passes through the memory of the transmission node, namely, the target file only flows through the transmission node, so that the file transmission flow is simplified, and the file transmission speed is improved. And the target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, the target file has no write operation at the transmission node, the transmission node does not need to buffer batch data, which means that the file transmission system does not need huge storage space, and resources are saved. The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
Fig. 6 is a flowchart of an implementation form of a file transfer method according to an embodiment of the present application. Fig. 7 is an interaction diagram of an example of the file transfer method shown in fig. 6. As shown in fig. 6 and 7, in some embodiments, the file transfer method further includes the steps of:
step S4, a first instruction is sent to the target equipment. The first instruction is to instruct the target device to move the target file from the temporary directory to the export directory.
Illustratively, the file transfer system sends a first instruction to target device B to transfer the a-file on target device B from the temporary directory to the export directory.
Step S5, a second instruction is sent to the source equipment. The second instruction is for instructing the source device to delete or backup the target file.
By executing step S5, in the source device, the archiving process or cleaning work of the target file is completed.
The file transfer system sends a second instruction to the source device a, and deletes or backs up the a file on the source device a.
And S6, storing an acquisition log, wherein the acquisition log comprises file information and transmitted delay information.
In order to meet the requirements of auditing and operation and maintenance of a file transmission system after file transmission work. In the process of file transmission, the file transmission system collects and stores the work log to complete the recording work of the information in the processing process. Information about the data transmission process is provided, such as transmitted file information, transmitted delay information time, file transmission time consumption, etc.
And the file transmission system only needs to collect and store logs and does not need to write in target files, so that the storage space can be saved on the basis of meeting the data maintenance work.
It will be appreciated that after step S3 is performed, any one of step S4, step S5 and step S6 may be performed, or any several of step S4, step S5 and step S6 may be performed. The sequence of step S4, step S5 and step S6 is not limited in this application. In some embodiments, step S4 and step S5 may be performed simultaneously.
Based on the same application conception, the embodiment of the application also provides a file transmission system, and the corresponding method of the file transmission system can be the file transmission method in the previous embodiment, and the principle of solving the problem is similar to that of the method. The file transmission system provided by the embodiment of the application comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods and/or aspects of the various embodiments of the present application described above.
The file transmission system simplifies the flow of file transmission and improves the speed of file transmission by executing the file transmission method provided by the embodiment. The transmission nodes do not need to buffer batch data, which means that the file transmission system does not need huge storage space, and resources are saved. The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
Another embodiment of the present application also provides a computer readable storage medium having stored thereon computer program instructions executable by a processor to implement the method and/or the technical solution of any one or more embodiments of the present application described above.
The computer program instructions of the computer readable medium can be executed to implement the method provided by the above embodiment, so that the flow of file transfer is simplified and the speed of file transfer is increased. The transmission nodes do not need to buffer batch data, which means that the file transmission system does not need huge storage space, and resources are saved. The target file is transmitted from the source device to the target device through the first transmission channel and the second transmission channel, so that the whole transmission process is used as a transaction, the transmission node provides the handover function of data transmission, the recorded event number is small, and the operation and maintenance of the file transmission system are simple.
In particular, the present embodiments may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowchart or block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of devices, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple elements or page components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.

Claims (10)

1. A file transfer method, comprising:
in response to a file transfer request, linking a transfer node and a source device to form a first transfer channel; and linking the transmission node and the target device to form a second transmission channel; the file transfer request is used for indicating to transfer a target file from the source device to the target device;
transmitting the target file from the source device to the transmission node via the first transmission channel, and then transmitting the target file from the transmission node to the target device via the second transmission channel;
and writing the target file into the target equipment.
2. The file transfer method according to claim 1, wherein the target file includes a plurality of data packets; in performing the step of transmitting the target file from the source device to the transmission node via the first transmission channel and then to the target device via the second transmission channel from the transmission node, the file transmission method further includes:
and transmitting each data packet of the target file to the target device through the first transmission channel and the second transmission channel in sequence.
3. The file transfer method of claim 2, wherein the plurality of data packets includes a first data packet and a second data packet, the file transfer method further comprising:
transmitting the first data packet to the target device through the first transmission channel and the second transmission channel;
and writing the content of the first data packet into the target equipment.
4. A file transfer method according to claim 3, wherein after the step of writing the content of the first data packet to the target device is performed, the file transfer method further comprises:
transmitting the second data packet to the target device through the first transmission channel and the second transmission channel;
and writing the content of the second data packet into the target equipment.
5. The file transfer method according to any one of claims 1 to 4, characterized in that, after the step of writing the target file to the target device is performed, the file transfer method further comprises:
sending a first instruction to the target equipment; the first instruction is to instruct the target device to move the target file from a temporary directory to an export directory.
6. The file transfer method according to any one of claims 1 to 4, characterized in that, after the step of writing the target file to the target device is performed, the file transfer method further comprises:
sending a second instruction to the source device; the second instruction is used for indicating the source device to delete or backup the target file.
7. The file transfer method according to any one of claims 1 to 4, wherein the source device includes a file list including the target file; the file transmission method further comprises the following steps:
any one file in the file list is obtained, and whether the file is the target file is judged;
and if the file is the target file, executing a transmission step.
8. The file transfer method according to any one of claims 1 to 4, characterized in that the file transfer method further comprises:
and storing an acquisition log, wherein the acquisition log comprises file information and transmitted delay information.
9. A file transfer system, comprising:
at least one processor;
a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 8.
10. A computer readable medium having stored thereon computer program instructions executable by a processor to implement the method of any of claims 1 to 8.
CN202311262367.6A 2023-09-27 2023-09-27 File transmission method, file transmission system and computer storage medium Pending CN117424888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311262367.6A CN117424888A (en) 2023-09-27 2023-09-27 File transmission method, file transmission system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311262367.6A CN117424888A (en) 2023-09-27 2023-09-27 File transmission method, file transmission system and computer storage medium

Publications (1)

Publication Number Publication Date
CN117424888A true CN117424888A (en) 2024-01-19

Family

ID=89531561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311262367.6A Pending CN117424888A (en) 2023-09-27 2023-09-27 File transmission method, file transmission system and computer storage medium

Country Status (1)

Country Link
CN (1) CN117424888A (en)

Similar Documents

Publication Publication Date Title
CN111338893B (en) Process log processing method, device, computer equipment and storage medium
CN104092717A (en) Message processing method and system, message destination end device and distributed message system
KR101983208B1 (en) Data management method, node and system for database cluster
CN110119304B (en) Interrupt processing method and device and server
CN101808127A (en) Data backup method, system and server
CN105141603A (en) Communication data transmission method and system
CN114363144B (en) Fault information association reporting method and related equipment for distributed system
US9641616B2 (en) Self-steering point-to-point storage protocol
CN113961139A (en) Method for processing data by using intermediate device, computer system and intermediate device
US8595452B1 (en) System and method for streaming data conversion and replication
CN113411363A (en) Uploading method of image file, related equipment and computer storage medium
CN113992662A (en) File transmission method, device and storage medium
CN110445826B (en) Session information acquisition method, device and server
CN103986771A (en) High-availability cluster management method independent of shared storage
US20160077743A1 (en) Shared-bandwidth multiple target remote copy
CN109067649B (en) Node processing method and device, storage medium and electronic equipment
CN117424888A (en) File transmission method, file transmission system and computer storage medium
CN103558995A (en) Memory control chip and disk message transmission method
CN113535477B (en) Method and equipment for data disaster recovery
CN115509440A (en) Storage system and data processing method
CN110309191B (en) Method, device and system for storing business data
CN110908886A (en) Data sending method and device, electronic equipment and storage medium
CN112187842A (en) Local area network data processing system and local area network data processing method
CN103970860A (en) Method, device and system for processing data
CN108694102A (en) A kind of data manipulation method, equipment, system and medium based on Nexus services

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