CN113810477A - File uploading method, device, equipment and storage medium - Google Patents

File uploading method, device, equipment and storage medium Download PDF

Info

Publication number
CN113810477A
CN113810477A CN202111005463.3A CN202111005463A CN113810477A CN 113810477 A CN113810477 A CN 113810477A CN 202111005463 A CN202111005463 A CN 202111005463A CN 113810477 A CN113810477 A CN 113810477A
Authority
CN
China
Prior art keywords
file
uploaded
disk
data table
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111005463.3A
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.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202111005463.3A priority Critical patent/CN113810477A/en
Publication of CN113810477A publication Critical patent/CN113810477A/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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention relates to the field of artificial intelligence, and discloses a file uploading method, a file uploading device, file uploading equipment and a storage medium. The method comprises the following steps: when a file to be uploaded is received, determining a corresponding target data table in each pre-established data table according to the information abstract value of the file to be uploaded; judging whether the file to be uploaded is an uploaded file or not according to the target data table; if the file to be uploaded is not the uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded to a target data table. According to the embodiment of the invention, data such as storage position information of each file can be dispersed into different data tables according to the information abstract value of the file, and each file can be uploaded to different disks in a healthy state.

Description

File uploading method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of artificial intelligence, in particular to a file uploading method, a file uploading device, file uploading equipment and a storage medium.
Background
In a conventional file management system, a server is provided for other business systems to upload and download files. The server is arranged at the bottom layer and may provide content services such as uploading files and downloading files for a plurality of upper business systems.
In the related art, when a plurality of service systems upload files to a server, the server usually stores each file in a fixed disk, and then stores all data information such as a storage location corresponding to each file in a data table for query when downloading the file.
The related art has disadvantages in that: the server stores all data information such as storage positions corresponding to the files in one data table, so that concurrency problems are caused, data of the data table is huge after long-time accumulation, and query time is long. And each file is stored in a fixed disk, the disk occupied by the file is larger and larger along with the accumulation of time, a large amount of time is consumed when the file is searched in the disk, and the response speed is slow.
Disclosure of Invention
The embodiment of the invention provides a file uploading method, device, equipment and storage medium, which can upload each file to be uploaded to a corresponding disk for storage according to an information abstract value of the file to be uploaded and health state information of each disk, store data information corresponding to the file to be uploaded to a corresponding data table, disperse data such as storage position information of each file to be uploaded to different data tables according to the information abstract value of each file to be uploaded, and upload each file to be uploaded to different disks in a health state.
In a first aspect, an embodiment of the present invention provides a file uploading method, including:
when a file to be uploaded is received, determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables;
judging whether the file to be uploaded is an uploaded file or not according to the target data table;
if the file to be uploaded is not the uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded to the target data table.
In a second aspect, an embodiment of the present invention further provides a file uploading apparatus, including:
the data table determining module is used for determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded when the file to be uploaded is received; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables;
the file judging module is used for judging whether the file to be uploaded is an uploaded file or not according to the target data table;
and the file uploading module is used for determining a target disk corresponding to the file to be uploaded according to the current disk health information if the file to be uploaded is not the uploaded file, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded into the target data table.
In a third aspect, an embodiment of the present invention further provides a computer device, including:
a processor;
a storage device for storing a computer program;
when the computer program is executed by the processor, the processor executes the computer program to implement the file uploading method according to the embodiment of the invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the file uploading method according to the embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, when the file to be uploaded is received, a target data table corresponding to the file to be uploaded is determined in each pre-established data table according to the information abstract value of the file to be uploaded; each pre-established data table is used for storing the information abstract value and the storage position information of the file with the character sequence of the preset position in the information abstract value being the same as the character sequence in the data table name of each data table; then judging whether the file to be uploaded is an uploaded file or not according to the target data table; if the file to be uploaded is not an uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, storing the information abstract value and the storage location information of the file to be uploaded in the target data table, uploading each file to be uploaded to the corresponding disk for storage according to the information abstract value of the file to be uploaded and the health state information of each disk, storing the data information corresponding to the file to be uploaded in the corresponding data table, dispersing the data such as the storage location information of each file to be uploaded in different data tables according to the information abstract value of each file to be uploaded, avoiding the problems of huge data tables, long query time and slow response caused by long-time accumulation, reducing database pressure caused by concurrence, the method can detect whether the file to be uploaded is the uploaded file or not according to the information abstract value of each file to be uploaded and the information abstract value stored in the data table, so that repeated uploading of the uploaded file is avoided, resource waste is reduced, the files to be uploaded can be uploaded to different disks in a healthy state, and the phenomenon that the files are accumulated under the same disk for a long time to cause overlong disk track seeking time and incapability of quick response is avoided.
Drawings
Fig. 1 is a flowchart of a file uploading method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a file uploading method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a file uploading apparatus according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a file uploading method according to an embodiment of the present invention. The method can be executed by the file uploading device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode and can be generally integrated in a server for uploading and downloading files of a plurality of service systems. The server can provide content services such as file uploading and file downloading for a plurality of business systems.
The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
As shown in fig. 1, the method of the embodiment of the present invention specifically includes:
step 101, when a file to be uploaded is received, determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded.
The pre-established data tables are used for storing the information abstract values and the storage position information of the files with the character sequences of the preset positions in the information abstract values being the same as the character sequences in the data table names of the data tables.
Optionally, the method further includes: determining characters which can appear in the information abstract values of various files as the characters which can appear in the information abstract values of the files; arranging and combining the characters which can appear to obtain a plurality of character sequences; aiming at each character sequence, generating a data table name containing the character sequence, and establishing a data table corresponding to the data table name; the data table is used for storing the information abstract value and the storage position information of the file with the character sequence of the preset position in the information abstract value being the same as the character sequence in the data table name.
Optionally, the characters that may appear in the digest values of the various types of files are 16 characters that may appear in the digest values (MD5 values) of the various types of files: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, B, C, D, E, F.
Optionally, the arranging and combining the presentable characters to obtain a plurality of character sequences includes: arranging the characters which can appear according to a preset sequence; sequentially acquiring a character from the arrangement result as a current processing character; taking the currently processed character as a first character in a character sequence, and sequentially taking each character in an arrangement result as a second character in the character sequence to obtain a plurality of character sequences corresponding to the currently processed character, wherein each character sequence is composed of two-bit characters; and returning to execute the operation of sequentially acquiring one character from the arrangement result as the current processing character until the processing of each character in the arrangement result is completed.
Optionally, the preset sequence may be set according to a service requirement.
In one embodiment, the predetermined order is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, B, C, D, E, F. The method comprises the steps that a server arranges the characters which can appear according to a preset sequence, then one character is sequentially obtained from an arrangement result to serve as a current processing character, the current processing character serves as a first character in a character sequence, all characters in the arrangement result serve as second characters in the character sequence, a plurality of character sequences corresponding to the current processing character are obtained, and each character sequence is composed of two-bit characters. And after obtaining a plurality of character sequences corresponding to the currently processed characters, the server returns to execute the operation of sequentially obtaining one character from the arrangement result as the currently processed character until the processing of each character in the arrangement result is completed. The server obtains a plurality of character sequences as follows:
00,01,…,0E,0F,
10,11,…,1E,1F,
E0,E1,…,EE,EF,
F0,F1,…,FE,FF。
alternatively, the storage location information of each file may include a drive letter of a disk where the file is stored, and a storage location of the file in the disk.
Optionally, each of the character sequences is composed of two-bit characters, and the preset position in the message digest value may be the first two bits in the message digest value.
Optionally, the generating a data table name including the character sequence includes: combining preset fixed name information and a character sequence to obtain a data table name containing the character sequence; the preset fixed name information is information which is contained in each preset data table name and is used for indicating that the type of the name is the data table name. The preset fixed name information may be composed of letters, symbols, and/or numbers.
In one embodiment, the predetermined fixed name information is stds _ info _. Combining preset fixed name information with each character sequence obtained by the server in the previous specific example to obtain the following data table name containing the character sequences:
stds_info_00,stds_info_01,…,stds_info_0E,stds_info_0F,
stds_info_10,stds_info_11,…,stds_info_1E,stds_info_1F,
stds_info_E0,stds_info_E1,…,stds_info_EE,stds_info_EF,
stds_info_F0,stds_info_F1,…,stds_info_FE,stds_info_FF。
wherein, the data list name of each data list comprises a character sequence (00, 01, …, FF) composed of two-bit characters. Different data table names contain different character sequences. There are 256(16 × 16) character sequences, and accordingly a total of 256(16 × 16) data table names are generated. One data table name corresponds to one data table, so that 256 data tables are established. Each data table is used for storing the information abstract value and the storage position information of the file with the character sequence of the preset position in the information abstract value being the same as the character sequence of the name of the data table.
Optionally, the file to be uploaded is a file that needs to be uploaded to a disk mounted on the server for storage. Each business system can send the respective file to be uploaded to the server. When receiving a file to be uploaded, the server determines a target data table corresponding to the file to be uploaded according to the information abstract value of the file to be uploaded, and judges whether the file to be uploaded is the uploaded file or not according to the target data table.
Optionally, the business system includes, but is not limited to, a medical business processing system. Such as an intelligent medical system, a remote consultation system, a health management system, etc. The files to be uploaded include, but are not limited to, medical data files. Such as medical electronic record files, personal health record files, and the like.
Optionally, the determining, according to the information digest value of the file to be uploaded, a target data table corresponding to the file to be uploaded in each pre-established data table includes: calculating the information abstract value of the file to be uploaded by using an information abstract algorithm; intercepting a character sequence of a preset position in the information abstract value; and determining a data table with the character sequence in the data table name being the same as the character sequence at the preset position in the information abstract value as a target data table corresponding to the file to be uploaded.
Optionally, each of the character sequences is composed of two-bit characters, and the preset position in the message digest value may be the first two bits in the message digest value. And the server calculates the information abstract value of the file to be uploaded by using an information abstract algorithm and intercepts the character sequences of the first two bits in the information abstract value. And then the server determines a character sequence formed by two-bit characters in the name of the data table and the data table with the same character sequence of the first two bits in the information abstract value as a target data table corresponding to the file to be uploaded.
In one embodiment, the server calculates the digest value of the file to be uploaded by using a digest information algorithm, and the digest information value of the file to be uploaded is "9970D 2D0D57931165AB13152203F12B 9". And the server intercepts the first two bits 99 in the information abstract value of the file to be uploaded. And the server determines a data table 'stds _ info _ 99' with the same character sequence formed by two-digit characters in the data table name and the same character sequence '99' of the first two-digit characters in the information abstract value as a target data table corresponding to the file to be uploaded.
And 102, judging whether the file to be uploaded is an uploaded file or not according to the target data table.
Optionally, the determining, according to the target data table, whether the file to be uploaded is an uploaded file includes: inquiring the information abstract value of the file to be uploaded in all the information abstract values stored in the target data table; if the information abstract value of the file to be uploaded is inquired, determining that the file to be uploaded is an uploaded file; and if the information abstract value of the file to be uploaded is not inquired, determining that the file to be uploaded is not the uploaded file.
The uploaded files are files which have been uploaded to the corresponding disk by the server for storage. After uploading the file to the corresponding disk, the server stores the information digest value and the storage location information of the file into the data table corresponding to the file.
The target data table stores the information abstract values and the storage position information of each file with the character sequence of the preset position in the information abstract value being the same as the character sequence in the data table name of the target data table. And if the information abstract value of the file to be uploaded is inquired, the information abstract value and the storage position information of the file to be uploaded are stored in a target data table, and the server uploads the file to be uploaded to a corresponding disk for storage, the file to be uploaded is determined to be the uploaded file. And if the information abstract value of the file to be uploaded is not inquired, the information abstract value and the storage position information of the file to be uploaded are not stored in a target data table, and the server does not upload the file to be uploaded to a corresponding disk for storage, determining that the file to be uploaded is not an uploaded file.
Optionally, after determining that the file to be uploaded is an uploaded file, the method further includes: the server feeds back repeated uploading prompt information to a service system which sends the file to be uploaded; the repeated uploading prompt information is used for prompting that the file to be uploaded of the service system is uploaded, and repeated uploading is not needed.
The repeated uploading prompt information is used for prompting that the file to be uploaded of the service system is uploaded without repeated uploading. Therefore, the embodiment of the invention can avoid repeated uploading of the uploaded files and reduce resource waste.
Step 103, if the file to be uploaded is not an uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage location information of the file to be uploaded in the target data table.
Optionally, the current disk health information is health state information of all disks mounted to the server, and the health state information of each disk is in a health state or not in a health state.
Optionally, the file uploading method further includes: establishing a disk health detection process; detecting whether each disk is in an offline state or not and whether the disk health state parameters of each disk meet preset health disk conditions or not in a timed mode through the disk health detection process; if the first target disk is not in an offline state and the disk health state parameters of the first target disk meet the preset health disk conditions, updating the health state information of the first target disk to be in a health state; and if the second target disk is in an offline state or the disk health state parameters of the second target disk do not accord with the preset health disk conditions, updating the health state information of the second target disk to be in a healthy state.
Optionally, the server establishes a disk health detection process. The disk health detection process is a process for detecting whether each disk is in an offline state or not at regular time and whether the disk health state parameters of each disk meet preset health disk conditions or not.
Optionally, the disk health status parameters include read error rate, motor retry count, uncorrectable sector count, write error rate, and remaining space. The preset healthy disk conditions include: the read error rate of the magnetic disk is smaller than a preset read error rate threshold, the motor retry count of the magnetic disk is smaller than a preset motor retry count threshold, the uncorrectable sector count of the magnetic disk is smaller than a preset uncorrectable sector count threshold, the write error rate of the magnetic disk is smaller than a preset write error rate threshold, and the remaining space of the magnetic disk is larger than a preset space threshold.
Optionally, the server presets a read error rate threshold, a motor retry count threshold, an uncorrectable sector count threshold, a write error rate threshold, and a space threshold according to the service requirement and configuration parameters of each disk.
Optionally, the regularly detecting whether the disk health status parameter of each disk meets a preset healthy disk condition includes: according to a preset time interval, the following operations are executed for each disk at each detection moment: detecting whether the current reading error rate of the disk is smaller than a preset reading error rate threshold value or not; if the current read error rate of the disk is less than the preset read error rate threshold, detecting whether the current motor retry count of the disk is less than the preset motor retry count threshold; if the current motor retry count of the disk is smaller than a preset motor retry count threshold, detecting whether the uncorrectable sector count of the disk is smaller than a preset uncorrectable sector count threshold; if the uncorrectable sector count of the disk is smaller than a preset uncorrectable sector count threshold, detecting whether the write error rate of the disk is smaller than a preset write error rate threshold; if the write error rate of the disk is less than a preset write error rate threshold, detecting whether the residual space of the disk is greater than a preset space threshold; and if the residual space of the disk is larger than a preset space threshold value, determining that the disk health state parameter of the disk meets the preset health disk condition.
Optionally, if the current read error rate of the disk is greater than or equal to the preset read error rate threshold, determining that the disk health state parameter of the disk does not meet the preset health disk condition; if the current motor retry count of the disk is greater than or equal to a preset motor retry count threshold value, determining that the disk health state parameter of the disk does not accord with a preset healthy disk condition; if the uncorrectable sector count of the disk is greater than or equal to a preset uncorrectable sector count threshold, determining that the disk health state parameters of the disk do not accord with preset healthy disk conditions; if the write error rate of the disk is greater than or equal to a preset write error rate threshold, determining that the disk health state parameter of the disk does not accord with a preset healthy disk condition; if the residual space of the disk is less than or equal to a preset space threshold, determining that the disk health state parameter of the disk does not accord with a preset health disk condition;
therefore, the embodiment of the invention can detect the health condition of each disk at regular time and maintain the health state information of each disk, thereby ensuring that one disk in the health state is quickly and accurately selected from a plurality of disks mounted to a server in the file uploading process to be used as a target disk for storing the file to be uploaded.
Optionally, the determining, according to the current disk health information, a target disk corresponding to the file to be uploaded includes: and randomly acquiring a disk from the disks with the health state information in the health state as a target disk corresponding to the file to be uploaded.
Optionally, uploading the file to be uploaded to the target disk includes: establishing an uploading channel for uploading the file to be uploaded to the target disk; and uploading the file to be uploaded to the target disk through the uploading channel. The uploading channel is a data transmission channel between the server and the target disk and used for uploading the file to be uploaded to the target disk.
Optionally, storing the information digest value and the storage location information of the file to be uploaded in the target data table includes: after the file to be uploaded is uploaded to the target disk, determining storage position information of the file to be uploaded; wherein, the storage location information of the file to be uploaded comprises: storing the drive letter of the target disk of the file to be uploaded and the storage position of the file to be uploaded in the target disk; and correspondingly storing the information abstract value and the storage position information of the file to be uploaded into the target data table.
Optionally, the method further includes: if the target disk has a disk problem in the uploading process, updating the health state information of the target disk to be not in a health state; and determining a target disk corresponding to the file to be uploaded again according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded to the target data table.
Optionally, the disk problems include, but are not limited to, a disk failure prompt, a sudden failure to identify the disk, a disk response time exceeding a preset response time threshold (disk response time is long), and the like.
And the server updates the health state information of the target disk with the disk problem to be not in a health state, then determines the target disk corresponding to the file to be uploaded again according to the current disk health information, uploads the file to be uploaded to the target disk, and stores the information abstract value and the storage position information of the file to be uploaded into the target data table. Therefore, the embodiment of the invention can upload the file to another healthy disk in time under the condition that the disk has a problem, thereby ensuring the smooth file uploading process and improving the file uploading efficiency.
Optionally, the method further includes: when an information abstract value of a file to be downloaded is received, determining a target data table corresponding to the file to be downloaded in all data tables according to the information abstract value of the file to be downloaded; inquiring the storage position information of the file to be downloaded in all the storage position information stored in the target data table according to the information abstract value of the file to be downloaded; the storage location information of the file to be downloaded comprises a drive letter of a target disk for storing the file to be downloaded and a storage location of the file to be downloaded in the target disk; and downloading the file to be downloaded according to the storage position information, and feeding back the file to be downloaded to a service system which sends the information abstract value of the file to be downloaded.
Optionally, the file to be downloaded is a file that needs to be downloaded from a disk mounted to the server. Each service system can send the information abstract value of the file to be downloaded to the server. When receiving an information abstract value of a file to be downloaded, a server determines a target data table corresponding to the file to be downloaded in all data tables according to the information abstract value of the file to be downloaded, then inquires storage position information of the file to be downloaded in all storage position information stored in the target data table according to the information abstract value of the file to be downloaded, finally downloads the file to be downloaded according to the storage position information, and feeds the file to be downloaded back to a service system sending the information abstract value of the file to be downloaded.
Optionally, determining a target data table corresponding to the file to be downloaded in all data tables according to the information digest value of the file to be downloaded, including: intercepting a character sequence of a preset position in the information abstract value of the file to be downloaded; and determining the data table with the character sequence in the data table name being the same as the character sequence at the preset position in the information abstract value of the file to be downloaded as a target data table corresponding to the file to be downloaded.
Optionally, querying, according to the information digest value of the file to be downloaded, storage location information of the file to be downloaded among all storage location information stored in the target data table, including: and inquiring a target information abstract value which is the same as the information abstract value of the file to be downloaded from all the information abstract values stored in the target data table, and acquiring storage position information corresponding to the target information abstract value. And the storage position information corresponding to the target information abstract value is the storage position information of the file to be downloaded.
Optionally, downloading the file to be downloaded according to the storage location information includes: establishing a downloading channel for downloading the file to be downloaded from the target disk storing the file to be downloaded according to the drive letter of the target disk storing the file to be downloaded and the storage position of the file to be downloaded in the target disk; and downloading the file to be downloaded through the download channel. The download channel is a data transmission channel between a server and a target disk for storing the file to be downloaded, and is used for downloading the file to be downloaded to the server from the storage position of the file to be downloaded in the target disk.
Therefore, the embodiment of the invention can search the data table for storing the storage position information of the file to be downloaded in the preset data tables according to the information abstract value of the file to be downloaded, and quickly inquire the storage position information of the file to be downloaded in the data table, so that the inquiry efficiency is high.
The embodiment of the invention provides a file uploading method, which comprises the steps of determining a target data table corresponding to a file to be uploaded in each pre-established data table according to an information abstract value of the file to be uploaded when the file to be uploaded is received; the pre-established data tables are used for storing the information abstract values and the storage position information of the files with the character sequences of the preset positions in the information abstract values being the same as the character sequences in the data table names of the data tables; then judging whether the file to be uploaded is an uploaded file or not according to the target data table; if the file to be uploaded is not an uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, storing the information abstract value and the storage location information of the file to be uploaded in the target data table, uploading each file to be uploaded to the corresponding disk for storage according to the information abstract value of the file to be uploaded and the health state information of each disk, storing the data information corresponding to the file to be uploaded in the corresponding data table, dispersing the data such as the storage location information of each file to be uploaded in different data tables according to the information abstract value of each file to be uploaded, avoiding the problems of huge data tables, long query time and slow response caused by long-time accumulation, reducing database pressure caused by concurrence, the method can detect whether the file to be uploaded is the uploaded file or not according to the information abstract value of each file to be uploaded and the information abstract value stored in the data table, so that repeated uploading of the uploaded file is avoided, resource waste is reduced, the files to be uploaded can be uploaded to different disks in a healthy state, and the phenomenon that the files are accumulated under the same disk for a long time to cause overlong disk track seeking time and incapability of quick response is avoided.
Example two
Fig. 2 is a flowchart of a file uploading method according to a second embodiment of the present invention. In this embodiment of the present invention, determining, according to the digest information value of the file to be uploaded, a target data table corresponding to the file to be uploaded in each pre-established data table includes: calculating the information abstract value of the file to be uploaded by using an information abstract algorithm; intercepting a character sequence of a preset position in the information abstract value; and determining a data table with the character sequence in the data table name being the same as the character sequence at the preset position in the information abstract value as a target data table corresponding to the file to be uploaded.
And determining a target disk corresponding to the file to be uploaded according to the current disk health information, wherein the determining comprises the following steps: and randomly acquiring a disk from the disks with the health state information in the health state as a target disk corresponding to the file to be uploaded.
As shown in fig. 2, the method of the embodiment of the present invention specifically includes:
step 201, when a file to be uploaded is received, calculating an information abstract value of the file to be uploaded by using an information abstract algorithm.
Optionally, the Message Digest Algorithm (MD 5) is a hash technique, and is widely used in encryption, decryption, data signing, and data integrity checking. Any file, whether an executable program, an image file, a temporary file, or any other type of file, may be used to calculate a message digest value (MD5 value) using a message digest algorithm.
Step 202, intercepting a character sequence of a preset position in the information abstract value.
Optionally, each of the character sequences is composed of two-bit characters, and the preset position in the message digest value may be the first two bits in the message digest value. And the server intercepts the character sequences of the first two digits in the information abstract value.
Step 203, determining a data table with the same character sequence in the data table name and the character sequence at the preset position in the information abstract value as a target data table corresponding to the file to be uploaded.
Optionally, the server determines a data table in which a character sequence formed by two-bit characters in the data table name is the same as the character sequence of the first two bits in the information digest value as a target data table corresponding to the file to be uploaded.
In one embodiment, the server calculates the digest value of the file to be uploaded by using a digest information algorithm, and the digest information value of the file to be uploaded is "9970D 2D0D57931165AB13152203F12B 9". And the server intercepts the first two bits 99 in the information abstract value of the file to be uploaded. And the server determines a data table 'stds _ info _ 99' with the same character sequence formed by two-digit characters in the data table name and the same character sequence '99' of the first two-digit characters in the information abstract value as a target data table corresponding to the file to be uploaded.
And 204, judging whether the file to be uploaded is an uploaded file or not according to the target data table.
Step 205, if the file to be uploaded is not an uploaded file, randomly acquiring a disk as a target disk corresponding to the file to be uploaded from the disks with the health state information in the health state.
Optionally, the health status information of each disk is in a health status or not in a health status. And the server randomly acquires a disk from the disks with the health state information in the health state as a target disk corresponding to the file to be uploaded.
Optionally, the file uploading method further includes: establishing a disk health detection process; detecting whether each disk is in an offline state or not and whether the disk health state parameters of each disk meet preset health disk conditions or not in a timed mode through the disk health detection process; if the first target disk is not in an offline state and the disk health state parameters of the first target disk meet the preset health disk conditions, updating the health state information of the first target disk to be in a health state; and if the second target disk is in an offline state or the disk health state parameters of the second target disk do not accord with the preset health disk conditions, updating the health state information of the second target disk to be in a healthy state. Therefore, the embodiment of the invention can detect the health condition of each disk at regular time and maintain the health state information of each disk, thereby ensuring that one disk in the health state is quickly and accurately selected from a plurality of disks mounted to a server in the file uploading process to be used as a target disk for storing the file to be uploaded.
And step 206, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded in the target data table.
The embodiment of the invention provides a file uploading method, which comprises the steps of calculating an information abstract value of a file to be uploaded by using an information abstract algorithm, then intercepting a character sequence of a preset position in the information abstract value of the file to be uploaded, determining a data table with the character sequence in the name of the data table being the same as the character sequence of the preset position in the information abstract value as a target data table corresponding to the file to be uploaded, and determining a target data table for storing the information abstract value and storage position information of the file to be uploaded in all the data tables according to the information abstract value of the file to be uploaded, so that the storage position information and other data of each file to be uploaded are scattered into different data tables according to the information abstract value of each file to be uploaded, and the problems that the data of the data tables are huge and the query time is long due to long-time accumulation are avoided, the problem of slow response is solved by randomly acquiring a disk as a target disk corresponding to a file to be uploaded from the disk in which the health state information is in the health state, and randomly uploading the file to be uploaded to the disk in the health state at the current moment for storage, so that the files to be uploaded are uploaded to different disks in the health state, and the phenomenon that the seek time of the disk is too long and the response cannot be fast caused due to the fact that the files are accumulated under the same disk for a long time is avoided.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a file uploading apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a data table determining module 301, a file judging module 302 and a file uploading module 303.
The data table determining module 301 is configured to determine, when a file to be uploaded is received, a target data table corresponding to the file to be uploaded in each pre-established data table according to an information digest value of the file to be uploaded; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables; a file determining module 302, configured to determine whether the file to be uploaded is an uploaded file according to the target data table; the file uploading module 303 is configured to determine, according to current disk health information, a target disk corresponding to the file to be uploaded, upload the file to be uploaded to the target disk, and store the information digest value and the storage location information of the file to be uploaded in the target data table if the file to be uploaded is not an uploaded file.
The embodiment of the invention provides a file uploading device, which is characterized in that when a file to be uploaded is received, a target data table corresponding to the file to be uploaded is determined in each pre-established data table according to the information abstract value of the file to be uploaded; each pre-established data table is used for storing the information abstract value and the storage position information of the file with the character sequence of the preset position in the information abstract value being the same as the character sequence in the data table name of each data table; then judging whether the file to be uploaded is an uploaded file or not according to the target data table; if the file to be uploaded is not an uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, storing the information abstract value and the storage location information of the file to be uploaded in the target data table, uploading each file to be uploaded to the corresponding disk for storage according to the information abstract value of the file to be uploaded and the health state information of each disk, storing the data information corresponding to the file to be uploaded in the corresponding data table, dispersing the data such as the storage location information of each file to be uploaded in different data tables according to the information abstract value of each file to be uploaded, avoiding the problems of huge data tables, long query time and slow response caused by long-time accumulation, reducing database pressure caused by concurrence, the method can detect whether the file to be uploaded is the uploaded file or not according to the information abstract value of each file to be uploaded and the information abstract value stored in the data table, so that repeated uploading of the uploaded file is avoided, resource waste is reduced, the files to be uploaded can be uploaded to different disks in a healthy state, and the phenomenon that the files are accumulated under the same disk for a long time to cause overlong disk track seeking time and incapability of quick response is avoided.
In an optional implementation manner of the embodiment of the present invention, optionally, the file uploading apparatus further includes: the character determining module is used for determining characters which can appear in the information abstract values of various files as the characters which can appear in the information abstract values of the files; the character combination module is used for arranging and combining the appeared characters to obtain a plurality of character sequences; the data table establishing module is used for generating a data table name containing each character sequence and establishing a data table corresponding to the data table name; the data table is used for storing the information abstract value and the storage position information of the file with the character sequence of the preset position in the information abstract value being the same as the character sequence in the data table name.
In an optional implementation manner of the embodiment of the present invention, optionally, when the character combination module performs an operation of permutation and combination on the presentable characters to obtain a plurality of character sequences, the character combination module is specifically configured to: arranging the characters which can appear according to a preset sequence; sequentially acquiring a character from the arrangement result as a current processing character; taking the currently processed character as a first character in a character sequence, and sequentially taking each character in an arrangement result as a second character in the character sequence to obtain a plurality of character sequences corresponding to the currently processed character, wherein each character sequence is composed of two-bit characters; and returning to execute the operation of sequentially acquiring one character from the arrangement result as the current processing character until the processing of each character in the arrangement result is completed.
In an optional implementation manner of the embodiment of the present invention, optionally, when the data table creating module executes an operation of generating a data table name including the character sequence, the data table creating module is specifically configured to: combining preset fixed name information and a character sequence to obtain a data table name containing the character sequence; the preset fixed name information is information which is contained in each preset data table name and is used for indicating that the type of the name is the data table name.
In an optional implementation manner of the embodiment of the present invention, optionally, when the data table determining module 301 performs an operation of determining, according to the information digest value of the file to be uploaded, a target data table corresponding to the file to be uploaded in each pre-established data table, specifically, the data table determining module is configured to: calculating the information abstract value of the file to be uploaded by using an information abstract algorithm; intercepting a character sequence of a preset position in the information abstract value; and determining a data table with the character sequence in the data table name being the same as the character sequence at the preset position in the information abstract value as a target data table corresponding to the file to be uploaded.
In an optional implementation manner of the embodiment of the present invention, optionally, the file determining module 302 is specifically configured to: inquiring the information abstract value of the file to be uploaded in all the information abstract values stored in the target data table; if the information abstract value of the file to be uploaded is inquired, determining that the file to be uploaded is an uploaded file; and if the information abstract value of the file to be uploaded is not inquired, determining that the file to be uploaded is not the uploaded file.
In an optional implementation manner of the embodiment of the present invention, optionally, the current disk health information is health state information of all disks mounted to the server, and the health state information of each disk is in a health state or not in a health state; the file uploading device further comprises: the process establishing module is used for establishing a disk health detection process; the disk detection module is used for detecting whether each disk is in an offline state or not and whether the disk health state parameters of each disk meet the preset health disk conditions or not in a timing mode through the disk health detection process; the first state updating module is used for updating the health state information of the first target disk to be in a health state if the first target disk is not in an offline state and the disk health state parameter of the first target disk meets the preset health disk condition; and the second state updating module is used for updating the health state information of the second target disk to be not in a health state if the second target disk is in an offline state or the disk health state parameters of the second target disk do not accord with the preset health disk conditions.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The file uploading device can execute the file uploading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the file uploading method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 may be a server for uploading and downloading files by a plurality of business systems, and may also be other terminal devices providing content services such as uploading and downloading files for a plurality of business systems.
The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 connecting the various business system components (including the memory 28 and the processors 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, so as to implement the file uploading method provided by the embodiment of the present invention: when a file to be uploaded is received, determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables; judging whether the file to be uploaded is an uploaded file or not according to the target data table; if the file to be uploaded is not the uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded to the target data table.
EXAMPLE five
Fifth, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the file uploading method provided in the embodiment of the present invention is implemented: when a file to be uploaded is received, determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables; judging whether the file to be uploaded is an uploaded file or not according to the target data table; if the file to be uploaded is not the uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded to the target data table.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A file uploading method is characterized by comprising the following steps:
when a file to be uploaded is received, determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables;
judging whether the file to be uploaded is an uploaded file or not according to the target data table;
if the file to be uploaded is not the uploaded file, determining a target disk corresponding to the file to be uploaded according to the current disk health information, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded in the target data table.
2. The method of claim 1, further comprising:
determining characters which can appear in the information abstract values of various files as the characters which can appear in the information abstract values of the files;
arranging and combining the characters which can appear to obtain a plurality of character sequences;
aiming at each character sequence, generating a data table name containing the character sequence, and establishing a data table corresponding to the data table name; the data table is used for storing the information abstract value and the storage position information of the file with the character sequence of the preset position in the information abstract value being the same as the character sequence in the data table name.
3. The method of claim 2, wherein said arranging and combining said presentable characters to obtain a plurality of character sequences comprises:
arranging the characters which can appear according to a preset sequence;
sequentially acquiring a character from the arrangement result as a current processing character;
taking the currently processed character as a first character in a character sequence, and sequentially taking each character in an arrangement result as a second character in the character sequence to obtain a plurality of character sequences corresponding to the currently processed character, wherein each character sequence is composed of two-bit characters;
and returning to execute the operation of sequentially acquiring one character from the arrangement result as the current processing character until the processing of each character in the arrangement result is completed.
4. The method of claim 2, wherein generating the data table name containing the sequence of characters comprises:
combining preset fixed name information and a character sequence to obtain a data table name containing the character sequence;
the preset fixed name information is information which is contained in each preset data table name and is used for indicating that the type of the name is the data table name.
5. The method according to claim 2, wherein the determining, according to the information digest value of the file to be uploaded, a target data table corresponding to the file to be uploaded in each pre-established data table comprises:
calculating the information abstract value of the file to be uploaded by using an information abstract algorithm;
intercepting a character sequence of a preset position in the information abstract value;
and determining a data table with the character sequence in the data table name being the same as the character sequence at the preset position in the information abstract value as a target data table corresponding to the file to be uploaded.
6. The method according to claim 1, wherein the determining whether the file to be uploaded is an uploaded file according to the target data table comprises:
inquiring the information abstract value of the file to be uploaded in all the information abstract values stored in the target data table;
if the information abstract value of the file to be uploaded is inquired, determining that the file to be uploaded is an uploaded file;
and if the information abstract value of the file to be uploaded is not inquired, determining that the file to be uploaded is not the uploaded file.
7. The method according to claim 1, wherein the current disk health information is health state information of all disks mounted to a server, and the health state information of each disk is in a health state or not in a health state;
the file uploading method further comprises the following steps:
establishing a disk health detection process;
detecting whether each disk is in an offline state or not and whether the disk health state parameters of each disk meet preset health disk conditions or not in a timed mode through the disk health detection process;
if the first target disk is not in an offline state and the disk health state parameters of the first target disk meet the preset health disk conditions, updating the health state information of the first target disk to be in a health state;
and if the second target disk is in an offline state or the disk health state parameters of the second target disk do not accord with the preset health disk conditions, updating the health state information of the second target disk to be in a healthy state.
8. A file uploading apparatus, comprising:
the data table determining module is used for determining a target data table corresponding to the file to be uploaded in each pre-established data table according to the information abstract value of the file to be uploaded when the file to be uploaded is received; the pre-established data tables are used for storing the information abstract values and the storage position information of the files, wherein the character sequences of the preset positions in the information abstract values are the same as the character sequences in the data table names of the data tables;
the file judging module is used for judging whether the file to be uploaded is an uploaded file or not according to the target data table;
and the file uploading module is used for determining a target disk corresponding to the file to be uploaded according to the current disk health information if the file to be uploaded is not the uploaded file, uploading the file to be uploaded to the target disk, and storing the information abstract value and the storage position information of the file to be uploaded into the target data table.
9. A computer device, characterized in that the computer device comprises:
a processor;
a storage device for storing a computer program;
the file upload method according to any of claims 1-7, when said computer program is executed by said processor, causing said processor to execute said computer program.
10. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing a file upload method according to any one of claims 1 to 7.
CN202111005463.3A 2021-08-30 2021-08-30 File uploading method, device, equipment and storage medium Pending CN113810477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111005463.3A CN113810477A (en) 2021-08-30 2021-08-30 File uploading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111005463.3A CN113810477A (en) 2021-08-30 2021-08-30 File uploading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113810477A true CN113810477A (en) 2021-12-17

Family

ID=78894382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111005463.3A Pending CN113810477A (en) 2021-08-30 2021-08-30 File uploading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113810477A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115496046A (en) * 2022-05-30 2022-12-20 河北汉佳电子科技有限公司 Information digital input method, device, equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402394A (en) * 2010-09-13 2012-04-04 腾讯科技(深圳)有限公司 Hash algorithm-based data storage method and device
CN106406762A (en) * 2016-09-19 2017-02-15 郑州云海信息技术有限公司 A repeated data deleting method and device
US20170109364A1 (en) * 2015-10-16 2017-04-20 International Business Machines Corporation File Management in a Storage System
CN107329692A (en) * 2017-06-07 2017-11-07 杭州宏杉科技股份有限公司 Method and storage device that a kind of data are deleted again
CN107333248A (en) * 2017-06-29 2017-11-07 北京鸿联九五信息产业有限公司 A kind of real-time sending method of short message and system
CN107861829A (en) * 2017-11-06 2018-03-30 郑州云海信息技术有限公司 A kind of method, system, device and the storage medium of disk failure detection
CN109684141A (en) * 2018-12-19 2019-04-26 郑州云海信息技术有限公司 A kind of disk failure diagnostic method, device, terminal and readable storage medium storing program for executing
CN111258966A (en) * 2020-01-14 2020-06-09 软通动力信息技术有限公司 Data deduplication method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402394A (en) * 2010-09-13 2012-04-04 腾讯科技(深圳)有限公司 Hash algorithm-based data storage method and device
US20170109364A1 (en) * 2015-10-16 2017-04-20 International Business Machines Corporation File Management in a Storage System
CN106406762A (en) * 2016-09-19 2017-02-15 郑州云海信息技术有限公司 A repeated data deleting method and device
CN107329692A (en) * 2017-06-07 2017-11-07 杭州宏杉科技股份有限公司 Method and storage device that a kind of data are deleted again
CN107333248A (en) * 2017-06-29 2017-11-07 北京鸿联九五信息产业有限公司 A kind of real-time sending method of short message and system
CN107861829A (en) * 2017-11-06 2018-03-30 郑州云海信息技术有限公司 A kind of method, system, device and the storage medium of disk failure detection
CN109684141A (en) * 2018-12-19 2019-04-26 郑州云海信息技术有限公司 A kind of disk failure diagnostic method, device, terminal and readable storage medium storing program for executing
CN111258966A (en) * 2020-01-14 2020-06-09 软通动力信息技术有限公司 Data deduplication method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115496046A (en) * 2022-05-30 2022-12-20 河北汉佳电子科技有限公司 Information digital input method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US8627469B1 (en) Systems and methods for using acquisitional contexts to prevent false-positive malware classifications
US20140164391A1 (en) Data block saving system and method
US20140164487A1 (en) File saving system and method
EP2443549A2 (en) Catalog-based software component management
CN111382123B (en) File storage method, device, equipment and storage medium
WO2022142536A1 (en) Grayscale publishing method, system and apparatus, and device and storage medium
CN112769802B (en) Access verification method and device based on server, electronic equipment and storage medium
US11385823B2 (en) Method, electronic device and computer program product for rebuilding disk array
CN110941547B (en) Automatic test case library management method, device, medium and electronic equipment
CN111880967A (en) File backup method, device, medium and electronic equipment in cloud scene
CN104361034A (en) File management method and device based on cloud storage
CN110990346A (en) File data processing method, device, equipment and storage medium based on block chain
CN111818145B (en) File transmission method, device, system, equipment and storage medium
CN114329366A (en) Network disk file control method and device, network disk and storage medium
CN109542860B (en) Service data management method based on HDFS and terminal equipment
CN113810477A (en) File uploading method, device, equipment and storage medium
CN113918659A (en) Data operation method and device, storage medium and electronic equipment
CN112084114B (en) Method and apparatus for testing interfaces
US20120151005A1 (en) Image file download method
CN111046393B (en) Vulnerability information uploading method and device, terminal equipment and storage medium
US8561203B2 (en) Simultaneous mixed protection modes over a virtualized host adapter
CN115098297B (en) Consistent snapshot generation method and system for cloud primary storage data volume
CN113806416B (en) Method and device for realizing real-time data service and electronic equipment
CN111338642B (en) Method, device, terminal and storage medium for determining application download path
CN110413800B (en) Method and equipment for providing novel information

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