CN115883540A - File transmission method and system based on distributed file storage system - Google Patents

File transmission method and system based on distributed file storage system Download PDF

Info

Publication number
CN115883540A
CN115883540A CN202211534152.0A CN202211534152A CN115883540A CN 115883540 A CN115883540 A CN 115883540A CN 202211534152 A CN202211534152 A CN 202211534152A CN 115883540 A CN115883540 A CN 115883540A
Authority
CN
China
Prior art keywords
file
client
storage system
distributed
downloaded
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
CN202211534152.0A
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 Ruian Technology Co Ltd
Original Assignee
Beijing Ruian 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 Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN202211534152.0A priority Critical patent/CN115883540A/en
Publication of CN115883540A publication Critical patent/CN115883540A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a file transmission method and a file transmission system based on a distributed file storage system, which relate to the technical field of network file transmission and comprise the following steps: configuring an integrity check code for a pre-read file directory and a corresponding initial file through a first client to generate a target file; the second client receives the target file through the distributed file storage system and stores the downloaded target file in a file directory to be downloaded; the second client checks the integrity of the downloaded target file according to the integrity check code, the technical problems of low efficiency and high management difficulty in the prior art are solved, and the technical effect of improving the integrity and stability of file transmission is achieved.

Description

File transmission method and system based on distributed file storage system
Technical Field
The invention relates to the technical field of network file transmission, in particular to a file transmission method and a file transmission system based on a distributed file storage system.
Background
At present, files are transmitted on the internet in a mode of mail boxes, instant messaging software, cloud disks and the like, and when a user transmits the files in a large batch, various file formats and file integrity, monitors downloaded files in real time and can transmit the files more than 1TB, the file transmission modes can not meet the requirements of the user. In some existing file interaction modes, one client needs to interact with a plurality of different servers, the permissions and file types of a plurality of sets of login users need to be maintained, the complexity of client management is increased, and the requirements of a distributed system cannot be met. That is to say, the prior art has the problems of low efficiency and great management difficulty.
Disclosure of Invention
The invention aims to provide a file transmission method and a file transmission system based on a distributed file storage system, which are used for solving the technical problems of low efficiency and high management difficulty in the prior art.
In a first aspect, an embodiment of the present invention provides a file transmission method based on a distributed file storage system, where the file transmission method is applied to a file transmission system, and the file transmission system includes: a first client and a second client; the method comprises the following steps:
the first client configures an integrity check code for a pre-read file directory and a corresponding initial file to generate a target file;
the second client receives the target file through a distributed file storage system and stores the downloaded target file in a file directory to be downloaded;
and the second client checks the integrity of the downloaded target file according to the integrity check code.
In some possible embodiments, before the first client configures an integrity check code for a file directory read in advance and a corresponding initial file, and generates a target file, the method further includes:
performing initial configuration on the first client to generate a first client configuration file; wherein the first client configuration file comprises: the first authorization code, the user login information and the second end container name; the first authorization code is used for verifying the starting authority of the first client; the user login information is used for connecting with a distributed file storage system; and the second end container name corresponds to the storage position of the target file in the distributed file storage system.
In some possible embodiments, the method further comprises: performing initial configuration on the second client to generate a second client configuration file; wherein the second client configuration file comprises: the second authorization code, the user login information and the first end container name; the second authorization code is used for verifying the starting authority of the second client; the user login information is used for connecting with a distributed file storage system; and the first end container name corresponds to the storage position of the target file in the distributed file storage system.
In some possible embodiments, the method further comprises: and the first client monitors a file directory to be read in real time, and reads the file directory and the corresponding initial file when the file directory is updated.
In some possible embodiments, before the second client receives the target file through the distributed file storage system, the method further includes: and the first client sends the target file to a distributed file storage system through a system interface.
In a second aspect, an embodiment of the present invention provides a file transmission method based on a distributed file storage system, which is applied to a distributed file storage system on a server, where the method includes:
receiving and storing a target file uploaded by a first client authorized to log in for downloading by a second client; the first client accesses the distributed file storage system by calling a system interface; the target file comprises an integrity check code;
and receiving a download completion notification sent by the second client, and deleting the downloaded file according to the download completion notification.
In a third aspect, an embodiment of the present invention provides a file transfer system based on a distributed file storage system, where the file transfer system includes: a first client and a second client;
the first client is used for configuring an integrity check code for a pre-read file directory and a corresponding initial file to generate a target file;
the second client is used for receiving the target file through a distributed file storage system and storing the downloaded target file in a file directory to be downloaded;
and the second client is used for verifying the integrity of the downloaded target file according to the integrity check code.
In a fourth aspect, an embodiment of the present invention provides a file transmission system based on a distributed file storage system, where the file transmission system includes the distributed file storage system; the distributed file storage system includes:
the storage module is used for receiving and storing a target file uploaded by a first client authorized to log in so as to be downloaded by a second client; the first client accesses the distributed file storage system by calling a system interface; the target file comprises an integrity check code;
and the deleting module is used for receiving the download completion notification sent by the second client and deleting the downloaded file according to the download completion notification.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps of the method in any one of the first aspect or the second aspect when executing the computer program.
In a sixth aspect, embodiments of the present invention provide a computer-readable storage medium storing machine executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any one of the first or second aspects.
The invention provides a file transmission method and a file transmission system based on a distributed file storage system, wherein the method comprises the following steps: configuring an integrity check code for a pre-read file directory and a corresponding initial file through a first client to generate a target file; the second client receives the target file through the distributed file storage system and stores the downloaded target file in a file directory to be downloaded; the second client checks the integrity of the downloaded target file according to the integrity check code, the technical problems of low efficiency and high management difficulty in the prior art are solved, and the technical effect of improving the integrity and stability of file transmission is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a file transmission method based on a distributed file storage system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another file transmission method based on a distributed file storage system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a file transmission method and apparatus based on a distributed file storage system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
At present, files are transmitted on the internet in a mode of mail boxes, instant messaging software, cloud disks and the like, and when a user transmits the files in a large batch, various file formats and file integrity, monitors downloaded files in real time and can transmit the files more than 1TB, the file transmission modes can not meet the requirements of the user. The distributed file storage system is an object storage service based on the Apache License v2.0 open source protocol, is very suitable for storing large-capacity unstructured data such as pictures, videos, log files, backup data, container/virtualized images and the like, and an object file can be of any size from several kb to maximum 5T. In some existing file interaction modes, one client needs to interact with a plurality of different servers, the permissions and file types of a plurality of sets of login users need to be maintained, the complexity of client management is increased, and the requirements of a distributed system cannot be met. That is to say, the prior art has the problems of low efficiency and great management difficulty.
Based on this, the embodiment of the invention provides a file transmission method and a file transmission system based on a distributed file storage system, so as to solve the technical problems of low efficiency and high management difficulty in the prior art.
To facilitate understanding of the present embodiment, first, a detailed description is given to a file transmission method based on a distributed file storage system, which is disclosed in the embodiment of the present invention and is applied to a file transmission system, referring to a schematic structural diagram of a file transmission system based on a distributed file storage system shown in fig. 1, where the file transmission system includes: a first client and a second client. The first client may be a file sending end for sending a file to the distributed file storage system, and the second client may be a file receiving end for receiving the file by the distributed file storage system. The distributed file storage system can be deployed at a server side, communicates with a first client side and a second client side through an https encryption protocol, and is started after user login authorization is needed.
Referring to fig. 2, a schematic flow chart of a file transmission method based on a distributed file storage system, where the file transmission method based on the distributed file storage system may be executed by an electronic device, and mainly includes the following steps S110 to S130:
s110: the first client configures an integrity check code for a pre-read file directory and a corresponding initial file to generate a target file;
s120: the second client receives the target file through the distributed file storage system and stores the downloaded target file in a file directory to be downloaded;
s130: and the second client checks the integrity of the downloaded target file according to the integrity check code.
In an embodiment, before the first client configures an integrity check code for the pre-read file directory and the corresponding initial file and generates the target file in step S110, the method further includes, instead of the first client and the second client, specifically:
(S21) carrying out initial configuration on the first client to generate a first client configuration file; wherein the first client configuration file comprises: the first authorization code, the user login information and the second end container name; the first authorization code is used for verifying the starting authority of the first client; the user login information is used for connecting with the distributed file storage system; the second end container name corresponds to a storage location of the target file within the distributed file storage system.
As a specific example, the client deployment at the file sender includes the following processes:
(1) Configuring client software starting authorization, writing a License authorization code into a client configuration file, and if the client software cannot be started without the authorization code; (2) The method comprises the following steps of configuring file system connection authorization, writing a user name and a password of a connection distributed file storage system into a configuration file, and if the user name and the password are not correct, the distributed file storage system cannot be connected; (3) Configuring a sending end container name, wherein the container name is sent to a storage position of a file server; (4) Configuring a file directory of a file to be read at a sending end, monitoring the directory file in real time by a client, and automatically reading the file by a system when a new file exists in the directory; (5) The file to be sent is endowed with an integrity check code, and all file systems to be sent are automatically endowed with the file integrity check code; (6) Configuring the concurrency quantity, wherein the concurrency quantity refers to the condition that a plurality of files can be processed at the same time to be transmitted in parallel, and the file transmission efficiency is improved; and (7) starting the file sending end software.
(S22) carrying out initial configuration on the second client to generate a second client configuration file; wherein the second client profile comprises: the second authorization code, the user login information and the first end container name; the second authorization code is used for verifying the starting authority of the second client; the user login information is used for connecting with the distributed file storage system; the first end container name corresponds to a storage location of the target file within the distributed file storage system.
As a specific example, the client deployment at the file receiving end includes the following processes:
(1) Configuring client software starting authorization, writing a License authorization code into a client configuration file, and if the client software cannot be started without the authorization code; (2) The method comprises the following steps of configuring file system connection authorization, writing a user name and a password of a connection distributed file storage system into a configuration file, and if the user name and the password are not correct, the distributed file storage system cannot be connected; (3) Configuring a receiving end container name, wherein the container name is used for receiving a file of a storage position of a file server; (4) Configuring a receiving end to-be-read downloaded file directory, automatically moving the downloaded file to the directory by a client, and storing the downloaded file in a temporary directory; (5) Verifying the integrity check code of the downloaded file, and automatically checking the integrity of the downloaded file by the system after the downloaded file is downloaded; (6) Configuring the concurrency quantity, wherein the concurrency quantity refers to the condition that a plurality of files can be downloaded simultaneously, and the file downloading efficiency is improved; and (7) starting the file receiving end software.
In an embodiment, before step S110, the method further includes: the first client monitors a file directory to be read in real time, and reads the file directory and a corresponding initial file when the file directory is updated.
In one embodiment, before the second client receives the target file through the distributed file storage system in step S120, the method further includes: and the first client sends the target file to the distributed file storage system through the system interface.
In addition, an embodiment of the present invention further provides a file transmission method based on a distributed file storage system, which is applied to a distributed file storage system on a server, and as shown in fig. 3, the method includes:
s31: receiving and storing a target file uploaded by a first client authorized to log in for downloading by a second client; a first client accesses the distributed file storage system by calling a system interface; the target file comprises an integrity check code;
the system interface may be an Amazon S3 interface, that is, an object storage service provided by AWS (Amazon Web Services), and is used to store and protect a large amount of data of individuals and industries. Amazon simple storage service may provide high performance, speed, security, scalability, and data availability through a web services interface.
S32: and receiving a download completion notification sent by the second client, and deleting the downloaded file according to the download completion notification.
That is to say, in the method provided in the above embodiment, the file sending client monitors the file directory in real time, uploads the file to the distributed file storage system container in parallel, and assigns the file to the integrity check code; the file receiving client monitors the file change of the container of the distributed file storage system in real time, the downloaded file has a file check code to check the integrity of the file, and the distributed file storage system is informed to delete the successfully downloaded file after the file is downloaded.
As a specific example, an embodiment of the present application provides a file transmission method based on a distributed file storage system, which specifically includes:
respectively carrying out initial configuration on a first client and a second client;
the method comprises the steps that a first client monitors a file directory to be read in real time, and reads the file directory and a corresponding file when the file directory is updated;
the first client configures an integrity check code for the file directory and the corresponding file, generates a target file and sends the target file to the distributed file storage system;
the distributed file storage system receives and stores a target file uploaded by a first client authorized to log in for downloading by a second client;
the second client receives the target file and stores the downloaded target file in a file directory to be downloaded;
the second client checks the integrity of the downloaded target file according to the integrity check code;
and the distributed file storage system receives a download completion notification sent by the second client, and deletes the downloaded file according to the download completion notification.
In the file transmission method based on the distributed file storage system provided by the embodiment, the clients on the two sides realize the file uploading and downloading functions by calling the system interface, the system is simple to deploy and high in stability, and the transmission of massive and large files can be safely realized. The distributed file storage system provides an authorized login function, the client can only access the distributed file storage system through an effective user name and a password, and meanwhile, an https encryption protocol is adopted for file data transmission in order to guarantee the network transmission security characteristics of the files. The method utilizes the distributed file storage system to ensure that the file transmission is efficient and safe, the large file transmission is reliable, and the file integrity check code is added to ensure the integrity of the file transmission.
The embodiment of the invention also provides a file transmission system based on the distributed file storage system, and the file transmission system comprises: a first client and a second client;
the first client is used for configuring an integrity check code for the pre-read file directory and the corresponding initial file to generate a target file;
the second client is used for receiving the target file through the distributed file storage system and storing the downloaded target file in a file directory to be downloaded;
and the second client is used for verifying the integrity of the downloaded target file according to the integrity check code.
The embodiment of the invention also provides a file transmission system based on the distributed file storage system, which comprises the distributed file storage system; the distributed file storage system includes:
the storage module is used for receiving and storing a target file uploaded by a first client authorized to log in so as to be downloaded by a second client; a first client accesses the distributed file storage system by calling a system interface; the target file comprises an integrity check code;
and the deleting module is used for receiving the downloading completion notification sent by the second client and deleting the downloaded file according to the downloading completion notification.
The file transmission method and the file transmission system based on the distributed file storage system have the following effects: (1) The deployment is simple, and the distributed file storage system is a single binary file and can support various platforms; the client software is developed by Java language and has the characteristic of compiling at one place and running at all places across platforms; (2) The mass storage can be expanded according to the zone, and the maximum 5TB file transmission of a single object is supported; (3) Low redundancy and high tolerance to disk damage, the standard and highest data redundancy system is 2 (i.e. storing one 1M data object, actually occupying 2M disk space). Data can still be read out in case of damage to any n/2 block disk (n is the number of disks in an Erasure Coding Set). And such corruption recovery is based on a single object rather than an entire storage volume. (4) The security is high, and the https encryption protocol mode is adopted for encrypted data transmission. (5) The integrity of the file, because the transmission file is endowed with the integrity check code, the problem that the transmission file cannot be opened due to the damage of the file caused by network jitter and the like is ensured; (6) High concurrency, and the client software supports multithreading to send and download files simultaneously, so that the file transmission efficiency is greatly improved. (7) And monitoring the downloaded file in real time, wherein the client software can monitor file change in a distributed file storage system container in real time, and when a new file exists, the file can be immediately downloaded by a downloading program.
The file transmission system based on the distributed file storage system provided by the embodiment of the application has the same technical characteristics as the file transmission method based on the distributed file storage system provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment of the application further provides an electronic device, and specifically, the electronic device comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 400 includes: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with hardware thereof.
Corresponding to the method, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores machine executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the method.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, 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 provided in 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 functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. 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.
It should be noted that: like reference numbers and letters indicate like items in the figures, and thus once an item is defined in a figure, it need not be further defined or explained in subsequent figures, and moreover, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A file transmission method based on a distributed file storage system is characterized in that the file transmission method is applied to a file transmission system, and the system comprises the following steps: a first client and a second client; the method comprises the following steps:
the first client configures an integrity check code for a pre-read file directory and a corresponding initial file to generate a target file;
the second client receives the target file through a distributed file storage system and stores the downloaded target file in a file directory to be downloaded;
and the second client checks the integrity of the downloaded target file according to the integrity check code.
2. The file transmission method based on the distributed file storage system according to claim 1, wherein before the first client configures an integrity check code for the pre-read file directory and the corresponding initial file, and generates the target file, the method further comprises:
performing initial configuration on the first client to generate a first client configuration file;
wherein the first client profile comprises: the first authorization code, the user login information and the second end container name; the first authorization code is used for verifying the starting authority of the first client; the user login information is used for connecting with the distributed file storage system; and the second end container name corresponds to the storage position of the target file in the distributed file storage system.
3. The method for file transfer based on distributed file storage system according to claim 2, wherein the method further comprises:
performing initial configuration on the second client to generate a second client configuration file;
wherein the second client profile comprises: the second authorization code, the user login information and the first end container name; the second authorization code is used for verifying the starting authority of the second client; the user login information is used for connecting with the distributed file storage system; and the first end container name corresponds to the storage position of the target file in the distributed file storage system.
4. The file transmission method based on the distributed file storage system according to any one of claims 1 to 3, wherein the method further comprises:
the first client monitors a file directory to be read in real time, and reads the file directory and a corresponding initial file when the file directory is updated.
5. The method of claim 4, wherein before the second client receives the target file through the distributed file storage system, the method further comprises:
and the first client sends the target file to a distributed file storage system through a system interface.
6. A file transmission method based on a distributed file storage system is characterized in that the method is applied to the distributed file storage system on a server, and comprises the following steps:
receiving and storing a target file uploaded by a first client authorized to log in for downloading by a second client; the first client accesses the distributed file storage system by calling a system interface; the target file comprises an integrity check code;
and receiving a download completion notification sent by the second client, and deleting the downloaded file according to the download completion notification.
7. A file transfer system based on a distributed file storage system, the file transfer system comprising: a first client and a second client;
the first client is used for configuring an integrity check code for a pre-read file directory and a corresponding initial file to generate a target file;
the second client is used for receiving the target file through the distributed file storage system and storing the downloaded target file in a file directory to be downloaded;
and the second client is used for verifying the integrity of the downloaded target file according to the integrity check code.
8. A file transmission system based on a distributed file storage system is characterized in that the system comprises the distributed file storage system; the distributed file storage system includes:
the storage module is used for receiving and storing a target file uploaded by a first client authorized to log in so as to be downloaded by a second client; the first client accesses the distributed file storage system by calling a system interface; the target file comprises an integrity check code;
and the deleting module is used for receiving the downloading completion notification sent by the second client and deleting the downloaded file according to the downloading completion notification.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 6.
CN202211534152.0A 2022-12-01 2022-12-01 File transmission method and system based on distributed file storage system Pending CN115883540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211534152.0A CN115883540A (en) 2022-12-01 2022-12-01 File transmission method and system based on distributed file storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211534152.0A CN115883540A (en) 2022-12-01 2022-12-01 File transmission method and system based on distributed file storage system

Publications (1)

Publication Number Publication Date
CN115883540A true CN115883540A (en) 2023-03-31

Family

ID=85765438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211534152.0A Pending CN115883540A (en) 2022-12-01 2022-12-01 File transmission method and system based on distributed file storage system

Country Status (1)

Country Link
CN (1) CN115883540A (en)

Similar Documents

Publication Publication Date Title
CN106302337B (en) Vulnerability detection method and device
CN109274722B (en) Data sharing method and device and electronic equipment
CN109597717B (en) Data backup and recovery method and device, electronic equipment and storage medium
US9477517B2 (en) Service broker systems, methods, and apparatus
US10516526B2 (en) Data transmitting method, server and client
US10474831B1 (en) Large network attached storage encryption
CN102035815B (en) Data acquisition method, access node and system
WO2014106489A1 (en) Method and system for processing browser crash information
CN113535648A (en) Distributed cloud storage method, equipment and storage medium based on IPFS
WO2017215646A1 (en) Data transmission method and apparatus
CN112565393B (en) File uploading method, downloading method, device, computer equipment and storage medium
US11943260B2 (en) Synthetic request injection to retrieve metadata for cloud policy enforcement
CN108833443B (en) Message transmission method and system and computer equipment
CN111245897B (en) Data processing method, device, system, storage medium and processor
US10218659B1 (en) Persistent connections for email web applications
CN110442601B (en) Openstack mirror image data parallel acceleration method and device
CN109560893B (en) Data verification method and device and server
CN113835642A (en) Distributed storage network construction method based on IPFS and distributed storage network
CN105184559B (en) A kind of payment system and method
CN112528181A (en) Two-dimensional code management method and device, computer equipment and readable storage medium
CN115883540A (en) File transmission method and system based on distributed file storage system
CN108133034B (en) Shared storage access method and related device
US10348705B1 (en) Autonomous communication protocol for large network attached storage
CN112769863B (en) Method and device for processing service request message data, electronic equipment and readable storage medium
CN114003342A (en) Distributed storage method and device, electronic equipment and storage medium

Legal Events

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