CN113992662A - File transmission method, device and storage medium - Google Patents

File transmission method, device and storage medium Download PDF

Info

Publication number
CN113992662A
CN113992662A CN202111634234.8A CN202111634234A CN113992662A CN 113992662 A CN113992662 A CN 113992662A CN 202111634234 A CN202111634234 A CN 202111634234A CN 113992662 A CN113992662 A CN 113992662A
Authority
CN
China
Prior art keywords
file
client
target server
target
connection request
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
CN202111634234.8A
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.)
Shenzhen Bamboocloud Technology Co ltd
Original Assignee
Shenzhen Bamboocloud 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 Shenzhen Bamboocloud Technology Co ltd filed Critical Shenzhen Bamboocloud Technology Co ltd
Priority to CN202111634234.8A priority Critical patent/CN113992662A/en
Publication of CN113992662A publication Critical patent/CN113992662A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The embodiment of the application discloses a file transmission method, a file transmission device and a storage medium, which can realize efficient file transmission. The method comprises the following steps: receiving a connection request sent by a client, wherein the connection request is used for requesting to be connected with a target server; responding to the connection request, connecting the client to the target server, and displaying the local directory and the target server directory by the client; receiving a first operation instruction sent by a client, wherein the first operation instruction carries a target operation type; when the target operation type is file uploading, moving a first file data protocol packet from a local directory to a target server directory, and executing file retention operation on the first file data protocol packet; and when the target operation type is file downloading, moving the second file data protocol packet from the target server directory to the local directory, and executing file retention operation on the second file data protocol packet.

Description

File transmission method, device and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a file transmission method, apparatus, and storage medium.
Background
With the continuous development of science and technology, the whole economy and society increasingly depend on data and information. Today, where data is spread throughout the world, this important entity dealing with non-physical time becomes very sensitive. Over time, methods of developing data processing, storage and transmission technologies are evolving at increasingly rapid rates. File retention auditing is particularly important because transmitted data files may contain malicious data or programs that corrupt the target system.
In the prior art, most of the transmitted files are retained by adopting a file transfer station mode, namely, a client or a webpage management platform special for a practical intermediate platform of a user uploads the files to the file transfer station, and after the files are uploaded successfully, the files in the file transfer station are selected to be pushed to a required server system; secondly, the file transmission action of the user is divided into two steps, the action continuity is interrupted, and the user operation is complicated; moreover, since the file needs to be uploaded to the file transfer station first, the user can select to push the file to the required target server system, the intermediate time consumption is too long, and the user experience is poor.
Or when the file transmission request is initiated, the file is firstly stored in the intermediate storage, and then the file is pushed to the appointed target server system from the intermediate storage.
The user connects to the target server through an intermediate service (e.g., bastard) using a common file transfer tool (e.g., WinSCP, FileZilla, etc.). When the user selects to upload the file, the intermediate service stores the file to the intermediate storage. And after the intermediate storage and storage of the file are finished, the intermediate service reads the file content from the intermediate storage and pushes the file content to a target server system. Although the mode supports the user to operate by using a common file transmission tool, the use habit of the user is not changed, the whole file transmission process is not divided into a plurality of steps, the file transmission process is completed in one step for the user, and the user operation is simple. However, since the files are stored to be stored in the middle and then pushed to the target server system, the time consumption of the whole transmission process is too long, and especially when large files are transmitted, the user experience is poor.
Therefore, how to provide an efficient and convenient file transmission and retention method is a problem which needs to be solved urgently at present.
Disclosure of Invention
The embodiment of the application provides a file transmission method, a file transmission device and a storage medium, which can more efficiently and conveniently transmit files.
A first aspect of the present application provides a file transmission method, which may include: receiving a connection request sent by a client, wherein the connection request is used for requesting to be connected with a target server; connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory; receiving a first operation instruction sent by the client, wherein the first operation instruction carries a target operation type; when the target operation type is file uploading, moving a first file data protocol packet from the local directory to the target server directory, and executing file retention operation on the first file data protocol packet; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
In one possible design, the performing a file save operation on the first file data protocol packet includes: analyzing the first file data protocol packet to obtain first file content; and writing the first file content into an intermediate storage until a first file transmission end protocol packet corresponding to the first file data protocol packet is received.
In one possible design, the writing the first file content to an intermediate storage includes: determining a data size of the first file content; if the data size of the first file content is larger than the capacity value of a first partition, decomposing the data of the first file content to obtain first sub data and second sub data, wherein the size of the first sub data is smaller than the capacity value of the first partition; and writing the first sub data into the first partition, and writing the second sub data into other partitions.
In one possible design, the method further includes: receiving a second operation instruction sent by the client, wherein the second operation instruction is used for modifying the file in the target server directory; generating an operation log according to the second operation instruction, wherein the operation log comprises modification details and an identifier of a modifier; and naming and storing the operation log.
In one possible design, the method further includes: generating a corresponding retention log for each retained file, wherein the retention log comprises identification information and operation time of an operation user; comparing the files to be saved with the saved files, and judging whether the target saved files same as the files to be saved exist or not; and if the target saved file exists, canceling to save the file to be saved, and adding identification information and operation time of an operation user corresponding to the file to be saved in a saved log corresponding to the target saved file.
In one possible design, the connecting the client to the target server includes: sending a first connection request to the target server, wherein the first connection request is used for triggering the target server to be connected with the client, and the first connection request comprises identification information of the client; receiving a first random code sent by the target server in response to the first connection request; receiving a second random code sent by the client, wherein the second random code is sent by the target server according to the identification information of the client; and if the first random code is the same as the second random code, determining to connect the client to the target server.
A second aspect of the present application provides an intermediate transmission apparatus, including:
the system comprises a receiving and sending unit, a sending and receiving unit and a processing unit, wherein the receiving and sending unit is used for receiving a connection request sent by a client, and the connection request is used for requesting to be connected with a target server;
a connection unit for connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory;
the receiving and sending unit is used for receiving a first operation instruction sent by the client, and the first operation instruction carries a target operation type;
the mobile unit is used for moving a first file data protocol packet from the local directory to the target server directory and executing file retention operation on the first file data protocol packet when the target operation type is file uploading; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
In one possible design, the intermediate transmission device further includes:
the receiving and sending unit is further configured to receive a second operation instruction sent by the client, where the second operation instruction is used to modify a file in the target server directory;
the generating unit is used for generating an operation log according to the second operation instruction, and the operation log comprises modification details and an identifier of a modifier;
and the storage unit is used for naming and storing the operation log.
In one possible design, the adjusting unit is specifically configured to: judging whether a resource allocation adjusting condition is reached; and if so, carrying out capacity expansion or capacity reduction on the VNF according to the comparison result.
In one possible design, the adjusting unit is further configured to: collecting network management performance data corresponding to the VNFC after capacity expansion or capacity reduction; analyzing the network management performance data corresponding to the VNFC after capacity expansion or capacity reduction based on the relational model to obtain an analysis result; and executing corresponding operation according to the analysis result.
In one possible design, the intermediate transmission device specifically includes: the receiving and sending unit is specifically configured to send a first connection request to the target server, where the first connection request is used to trigger the target server to connect with the client, and the first connection request includes identification information of the client; receiving a first random code sent by the target server in response to the first connection request; receiving a second random code sent by the client, wherein the second random code is sent by the target server according to the identification information of the client; a determining unit, configured to determine to connect the client to the target server if the first random code is the same as the second random code.
A third aspect of the present application provides a computer-readable storage medium having stored therein at least one executable instruction, which when run on a computing device, causes the computing device to perform the file transfer method according to the first aspect of the present application.
A fourth aspect of the present application discloses a computer program product, which, when run on a computer, causes the computer to perform the file transfer method of the first aspect of the present application.
A fifth aspect of the present application discloses an application publishing platform, configured to publish a computer program product, wherein when the computer program product runs on a computer, the computer is caused to execute the file transfer method according to the first aspect of the present application.
According to the technical scheme, the embodiment of the application has the following advantages: receiving a connection request sent by a client, wherein the connection request is used for requesting to be connected with a target server; connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory; receiving a first operation instruction sent by the client, wherein the first operation instruction carries a target operation type; when the target operation type is file uploading, moving a first file data protocol packet from the local directory to the target server directory, and executing file retention operation on the first file data protocol packet; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet. The embodiment of the application supports a common file transmission tool, does not change the use habit of a user, enables the user to have an easier operation, can complete file transmission actions of the user in one step, does not need to manually split a plurality of steps, is efficient and convenient to transmit, has no obvious difference between the transmission speed and a user direct connection target server, and is good in user experience.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart of a method for optimizing network performance in an embodiment of the present application;
fig. 2 is a schematic view of a virtual structure of a network performance optimization apparatus in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a server in an embodiment of the present application.
Detailed Description
For a person skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. The embodiments in the present application shall fall within the protection scope of the present application.
For the sake of understanding, this application will briefly state the following terms:
protocol: the short term of network protocol is a group of conventions that two communication computers must follow together;
file transmission: refers to the transfer of a file or portion thereof from one computer system to another;
and (4) retention: in the file transmission process, the transmitted file is backed up to an intermediate server for subsequent auditing;
intermediate service: in the protocol transmission process, data analysis, data recording and operation control services are performed between the client and the target server;
intermediate storage: and the intermediate service corresponds to storage, including a database, a file and the like.
The following describes the file transfer method provided by the present application in detail from the perspective of the intermediate service apparatus.
Referring to fig. 1, fig. 1 is a schematic flow chart of a possible file transmission method according to an embodiment of the present application, including:
101. receiving a connection request sent by a client, wherein the connection request is used for requesting to be connected with a target server;
a user sends a connection request to an intermediate server through a common file transfer tool (such as WinSCP, FileZilla, and the like) installed on a client to connect to a target server, that is, the intermediate service device receives the connection request sent by the client, where the connection request is used to request connection with the target server, and the connection request at least includes identification information of the target server.
102. Connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory;
after the intermediate server receives the connection request, responding to the connection request, connecting the client to the target server so that the client displays a local directory and a target server directory. Specifically, the connecting the client to the target server includes: sending a first connection request to the target server, wherein the first connection request is used for triggering the target server to be connected with the client, and the first connection request comprises identification information of the client; receiving a first random code sent by the target server in response to the first connection request; receiving a second random code sent by the client, wherein the second random code is sent by the target server according to the identification information of the client; and if the first random code is the same as the second random code, determining to connect the client to the target server. For example, after receiving the first connection request sent by the intermediary service device, the target server responds to the first connection request, and sends a random code 4327 to both the intermediary service device and the client, the client sends the random code to the intermediary service device, the intermediary service device performs comparison, if the random code sent by the client is consistent with the random code sent by the target server, it is determined that the client is connected with the target server, otherwise, a prompt message is sent to the client to prompt that the client fails to verify, the client cannot be connected with the target server, and the connection security is improved.
103. Receiving a first operation instruction sent by the client, wherein the first operation instruction carries a target operation type;
after the target server and the client are successfully connected, a local directory and a target server directory are displayed on the client, the intermediate service device receives a first operation instruction sent by the client, and the first operation instruction carries a target operation type, wherein the operation type includes directory switching, directory reading, file uploading, file downloading and the like.
104. When the target operation type is file uploading, moving a first file data protocol packet from the local directory to the target server directory, and executing file retention operation on the first file data protocol packet;
105. and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
When the intermediate service device determines that the target operation type is file uploading, moving a first file data protocol packet from the local directory to the target server directory, and executing file retention operation on the first file data protocol packet; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
Wherein performing a file retention operation on the first file data protocol packet comprises: analyzing the first file data protocol packet to obtain first file content; and writing the first file content into an intermediate storage until a first file transmission end protocol packet corresponding to the first file data protocol packet is received. In this embodiment of the application, writing the content of the first file into the intermediate storage may specifically be: determining a data size of the first file content; if the data size of the first file content is larger than the capacity value of a first partition, decomposing the data of the first file content to obtain first sub data and second sub data, wherein the size of the first sub data is smaller than the capacity value of the first partition; and writing the first sub data into the first partition, and writing the second sub data into other partitions.
Optionally, the intermediate service apparatus may further receive a second operation instruction sent by the client, where the second operation instruction is used to modify a file in the target server directory; generating an operation log according to the second operation instruction, wherein the operation log comprises modification details and an identifier of a modifier; and naming and storing the operation log. For example, the operation log comprises a modifier "Zhang III", a modification time 2021, 12, month, 3, day 12:03:45, and a modification content "XXX" in the content source table A modifies "XXX". The operation log can be set more conveniently in the subsequent auditing process, and the modified file can be restored conveniently.
Optionally, in this embodiment of the application, a corresponding retention log is generated for each retained file, where the retention log includes identification information and operation time of an operation user; comparing the files to be saved with the saved files, and judging whether the target saved files same as the files to be saved exist or not; and if the target saved file exists, canceling to save the file to be saved, and adding identification information and operation time of an operation user corresponding to the file to be saved in a saved log corresponding to the target saved file.
In the embodiment of the application, a connection request sent by a client is received, wherein the connection request is used for requesting to be connected with a target server; connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory; receiving a first operation instruction sent by the client, wherein the first operation instruction carries a target operation type; when the target operation type is file uploading, moving a first file data protocol packet from the local directory to the target server directory, and executing file retention operation on the first file data protocol packet; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet. The file transmission method and the file transmission device support a common file transmission tool, do not change the use habit of a user, enable the user to have an easier hand, enable the file transmission action of the user to be completed in one step, do not need multiple steps of manual splitting, are efficient and convenient to transmit, have no obvious difference between the transmission speed and a user direct-connected target server, and are good in user experience.
The embodiments of the present application are described above with reference to a file transfer method, and the following description is made with reference to a network performance optimization apparatus:
referring to fig. 2, fig. 2 is a schematic diagram of an embodiment of an intermediary service apparatus 200 according to an embodiment of the present application, where the intermediary service apparatus includes:
a transceiving unit 201, configured to receive a connection request sent by a client, where the connection request is used to request a connection with a target server;
a connection unit 202, configured to connect the client to the target server in response to the connection request, where the client displays a local directory and a target server directory;
the transceiver unit 201 is configured to receive a first operation instruction sent by the client, where the first operation instruction carries a target operation type;
a moving unit 203, configured to, when the target operation type is file upload, move a first file data protocol packet from the local directory to the target server directory, and perform a file saving operation on the first file data protocol packet; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
In one possible design, the apparatus 200 further includes:
the transceiver unit 201 is further configured to receive a second operation instruction sent by the client, where the second operation instruction is used to modify a file in the target server directory;
a generating unit 204, configured to generate an operation log according to the second operation instruction, where the operation log includes a modification detail and an identifier of a modifier;
the storage unit 205 is configured to name and store the operation log.
In one possible design, the intermediate transmission apparatus 200 specifically includes:
the transceiver 201 is specifically configured to send a first connection request to the target server, where the first connection request is used to trigger the target server to connect with the client, and the first connection request includes identification information of the client; receiving a first random code sent by the target server in response to the first connection request; receiving a second random code sent by the client, wherein the second random code is sent by the target server according to the identification information of the client;
a determining unit 206, configured to determine to connect the client to the target server if the first random code is the same as the second random code.
The embodiment of the application also provides another intermediate service device, and the intermediate service device is deployed in the server. Referring to fig. 3, fig. 3 is a schematic structural diagram of a server according to an embodiment of the present disclosure, where the server 300 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 322 (e.g., one or more processors) and a memory 332, and one or more storage media 330 (e.g., one or more mass storage devices) storing an application 342 or data 344. Memory 332 and storage media 330 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 322 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.
The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and the like.
The steps performed by the intermediary service apparatus in the above embodiments may be based on the server structure shown in fig. 3.
The present application further provides a computer-readable storage medium, in which at least one executable instruction is stored, and when the executable instruction is run on a computing device, the computing device is caused to execute the file transmission method according to any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for file transfer, comprising:
receiving a connection request sent by a client, wherein the connection request is used for requesting to be connected with a target server;
connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory;
receiving a first operation instruction sent by the client, wherein the first operation instruction carries a target operation type;
when the target operation type is file uploading, moving a first file data protocol packet from the local directory to the target server directory, and executing file retention operation on the first file data protocol packet;
and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
2. The method according to claim 1, wherein said performing a file save operation on said first file data protocol packet comprises:
analyzing the first file data protocol packet to obtain first file content;
and writing the first file content into an intermediate storage until a first file transmission end protocol packet corresponding to the first file data protocol packet is received.
3. The file transfer method of claim 2, wherein said writing the first file content to an intermediate storage comprises:
determining a data size of the first file content;
if the data size of the first file content is larger than the capacity value of a first partition, decomposing the data of the first file content to obtain first sub data and second sub data, wherein the size of the first sub data is smaller than the capacity value of the first partition;
and writing the first sub data into the first partition, and writing the second sub data into other partitions.
4. The file transfer method according to claim 2, characterized in that the method further comprises:
receiving a second operation instruction sent by the client, wherein the second operation instruction is used for modifying the file in the target server directory;
generating an operation log according to the second operation instruction, wherein the operation log comprises modification details and an identifier of a modifier;
and naming and storing the operation log.
5. The file transfer method according to claim 1, characterized in that the method further comprises:
generating a corresponding retention log for each retained file, wherein the retention log comprises identification information and operation time of an operation user;
comparing the files to be saved with the saved files, and judging whether the target saved files same as the files to be saved exist or not;
and if the target saved file exists, canceling to save the file to be saved, and adding identification information and operation time of an operation user corresponding to the file to be saved in a saved log corresponding to the target saved file.
6. The file transfer method according to claim 1, wherein the connecting the client to the target server comprises:
sending a first connection request to the target server, wherein the first connection request is used for triggering the target server to be connected with the client, and the first connection request comprises identification information of the client;
receiving a first random code sent by the target server in response to the first connection request;
receiving a second random code sent by the client, wherein the second random code is sent by the target server according to the identification information of the client;
and if the first random code is the same as the second random code, determining to connect the client to the target server.
7. An intermediate transmission device, comprising:
the system comprises a receiving and sending unit, a sending and receiving unit and a processing unit, wherein the receiving and sending unit is used for receiving a connection request sent by a client, and the connection request is used for requesting to be connected with a target server;
a connection unit for connecting the client to the target server in response to the connection request, the client displaying a local directory and a target server directory;
the receiving and sending unit is used for receiving a first operation instruction sent by the client, and the first operation instruction carries a target operation type;
the mobile unit is used for moving a first file data protocol packet from the local directory to the target server directory and executing file retention operation on the first file data protocol packet when the target operation type is file uploading; and when the target operation type is file downloading, moving a second file data protocol packet from the target server directory to the local directory, and executing the file retention operation on the second file data protocol packet.
8. The intermediate transmission apparatus according to claim 7, characterized in that the intermediate transmission apparatus further comprises:
the receiving and sending unit is further configured to receive a second operation instruction sent by the client, where the second operation instruction is used to modify a file in the target server directory;
the generating unit is used for generating an operation log according to the second operation instruction, and the operation log comprises modification details and an identifier of a modifier;
and the storage unit is used for naming and storing the operation log.
9. The intermediate transmission device according to claim 7, wherein the intermediate transmission device specifically comprises:
the receiving and sending unit is specifically configured to send a first connection request to the target server, where the first connection request is used to trigger the target server to connect with the client, and the first connection request includes identification information of the client; receiving a first random code sent by the target server in response to the first connection request; receiving a second random code sent by the client, wherein the second random code is sent by the target server according to the identification information of the client;
a determining unit, configured to determine to connect the client to the target server if the first random code is the same as the second random code.
10. A computer-readable storage medium having stored therein at least one executable instruction which, when run on a computing device, causes the computing device to perform the file transfer method of any of claims 1 to 6.
CN202111634234.8A 2021-12-29 2021-12-29 File transmission method, device and storage medium Pending CN113992662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111634234.8A CN113992662A (en) 2021-12-29 2021-12-29 File transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111634234.8A CN113992662A (en) 2021-12-29 2021-12-29 File transmission method, device and storage medium

Publications (1)

Publication Number Publication Date
CN113992662A true CN113992662A (en) 2022-01-28

Family

ID=79734842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111634234.8A Pending CN113992662A (en) 2021-12-29 2021-12-29 File transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113992662A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610239A (en) * 2022-03-14 2022-06-10 深圳依时货拉拉科技有限公司 Method and device for operating file in portable memory by mobile terminal
CN114679469A (en) * 2022-05-26 2022-06-28 天津联想协同科技有限公司 Data processing method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627687A (en) * 2003-12-12 2005-06-15 鸿富锦精密工业(深圳)有限公司 File transmission proxy system and method
CN104253832A (en) * 2013-06-26 2014-12-31 北京神州泰岳软件股份有限公司 Remote file management method and system
CN107295040A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 Data uploading method, apparatus and system
CN108984560A (en) * 2017-06-01 2018-12-11 杭州海康威视数字技术股份有限公司 File memory method and device
CN113282358A (en) * 2020-02-19 2021-08-20 西安交大捷普网络科技有限公司 File transmission analysis method and device of bastion machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627687A (en) * 2003-12-12 2005-06-15 鸿富锦精密工业(深圳)有限公司 File transmission proxy system and method
CN104253832A (en) * 2013-06-26 2014-12-31 北京神州泰岳软件股份有限公司 Remote file management method and system
CN107295040A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 Data uploading method, apparatus and system
CN108984560A (en) * 2017-06-01 2018-12-11 杭州海康威视数字技术股份有限公司 File memory method and device
CN113282358A (en) * 2020-02-19 2021-08-20 西安交大捷普网络科技有限公司 File transmission analysis method and device of bastion machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610239A (en) * 2022-03-14 2022-06-10 深圳依时货拉拉科技有限公司 Method and device for operating file in portable memory by mobile terminal
CN114679469A (en) * 2022-05-26 2022-06-28 天津联想协同科技有限公司 Data processing method and device and computer readable storage medium
CN114679469B (en) * 2022-05-26 2022-09-02 天津联想协同科技有限公司 Data processing method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107590001B (en) Load balancing method and device, storage medium and electronic equipment
CN109976667B (en) Mirror image management method, device and system
US11296940B2 (en) Centralized configuration data in a distributed file system
RU2613531C2 (en) File sharing method, terminal and relay server
US11080143B2 (en) Systems and processes for data backup and recovery
CN110166523B (en) Content updating method, device, equipment and computer readable storage medium
CN113992662A (en) File transmission method, device and storage medium
CN109586969A (en) Content distributing network disaster recovery method, device, computer equipment and storage medium
US20170153909A1 (en) Methods and Devices for Acquiring Data Using Virtual Machine and Host Machine
CN102255866A (en) Method and device for downloading data
CN115344551A (en) Data migration method and data node
CN113411404A (en) File downloading method, device, server and storage medium
US11240288B2 (en) File transfer in a multi-node network
CN107347093B (en) Configuration method and device for distributed server system
CN112422604B (en) File uploading method, device and system and computer equipment
CN107045452B (en) Virtual machine scheduling method and device
EP3748493B1 (en) Method and device for downloading installation-free application
CN114422537B (en) Multi-cloud storage system, multi-cloud data reading and writing method and electronic equipment
CN114116655A (en) Parallel file storage method, device, equipment and storage medium based on virtual machine
US20170060935A1 (en) Distributed systems and methods for database management and management systems thereof
CN113076175A (en) Memory sharing method and device for virtual machine
CN112243258A (en) Method and device for determining user perception rate
CN112688980B (en) Resource distribution method and device, and computer equipment
CN112970009A (en) System and method for replicating storage representations in application orchestration
CN114071683B (en) Data transmission method and device and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220128

RJ01 Rejection of invention patent application after publication