CN112187948B - Approval file encryption batch uploading method and device based on SpringBoot framework - Google Patents

Approval file encryption batch uploading method and device based on SpringBoot framework Download PDF

Info

Publication number
CN112187948B
CN112187948B CN202011071941.6A CN202011071941A CN112187948B CN 112187948 B CN112187948 B CN 112187948B CN 202011071941 A CN202011071941 A CN 202011071941A CN 112187948 B CN112187948 B CN 112187948B
Authority
CN
China
Prior art keywords
file
files
approval
batch
encrypted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011071941.6A
Other languages
Chinese (zh)
Other versions
CN112187948A (en
Inventor
苏以鹏
何维
宋朝霞
高阳
李凯
苏芮
林海
周英
汤彪武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Agricultural Bank of China Sichuan Branch
Original Assignee
Agricultural Bank of China Sichuan Branch
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 Agricultural Bank of China Sichuan Branch filed Critical Agricultural Bank of China Sichuan Branch
Priority to CN202011071941.6A priority Critical patent/CN112187948B/en
Publication of CN112187948A publication Critical patent/CN112187948A/en
Application granted granted Critical
Publication of CN112187948B publication Critical patent/CN112187948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/137Hash-based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0478Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload applying multiple layers of encryption, e.g. nested tunnels or encrypting the content with a first key and then with at least a second key
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/067Network architectures or network communication protocols for network security for supporting key management in a packet data network using one-time keys

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses an approval file encryption batch uploading method based on a SpringBoot framework, which comprises the following steps: acquiring a single approval file, extracting the characteristic value of the acquired approval file, and generating the characteristic value of the single approval file; processing a single approval file to obtain a byte stream and performing exclusive-or encryption operation on the byte stream and the file characteristic value to generate a single encrypted approval file; comparing the first re-encrypted approval files, classifying and packaging the files according to the level to form batch files, and extracting characteristic values of the batch files; obtaining byte streams of batch files, performing exclusive or encryption on the byte streams of the batch files and file characteristic values of the batch files to obtain double-encrypted batch approval files, uploading the double-encrypted batch approval files to a server, and distributing the file characteristic values to a receiver; the receiving party downloads the encrypted file, decrypts the encrypted file according to the file characteristic value and stores the encrypted file in a database. The invention can safely transmit the approval files to the database in batches, ensures the integrity of the files and reduces the redundancy of the storage space of the system.

Description

Approval file encryption batch uploading method and device based on SpringBoot framework
Technical Field
The invention relates to the technical field of file uploading, in particular to a method and a device for uploading approval files in batches based on a SpringBoot frame.
Background
In the current internet environment, the main stream websites are developed by adopting a SpringBoot technical framework and realize the functions of remote transmission, storage and arrangement of files, and the electronic circulation of related files is often involved in the approval field, so that the purpose is to verify the integrity of the files and accept the uploaded files on the premise that the electronic files of the files are not stolen in the network transmission process, and process the files at a server end, and then store the complete related information into a relational database.
In the prior art, the existing file uploading technology has the following defects:
the current uploading analysis flow mainly adopts two modes, namely, a single file is sequentially uploaded through a request-response protocol, and a server side sequentially analyzes and processes; and secondly, packaging and compressing all files according to the hierarchical classification, uploading the files through a request-response protocol, carrying out batch processing on the server side, and analyzing and warehousing file information. In practice, since multiple documents and related documents are required to be uploaded in general approval, if a single document is adopted to upload in turn, the approval efficiency is low, and the related information of the documents is lost, if a method two uploading method is adopted, since the main current method is to record data in a two-dimensional table form by adopting a relational database, for tree objects with directory structures, it is difficult to keep complete information, and therefore, a server needs to perform directional processing on uploaded batch documents in a special design manner so as to keep the complete information in the database. Meanwhile, since the approval document generally has confidentiality requirement, a tamper-proof and anti-theft technology is necessary to be adopted in the transmission process.
The existing compressed file transmission mode mainly adopts a request-response protocol mode (http): and realizing the remote transmission of the file by the bandwidth of the server. The method is generally applicable, mature in technology and stable. But the transmission process is not encrypted, and the file transmission process is easy to steal and tamper.
The prior server processes the batch file to put in storage: and each time, uploading a new open space for local storage, sequentially acquiring file information and storing the file information into a database, and having simple logic and convenient operation. However, in the method, aiming at the situation that the original file content is wrong in batch uploading, the re-uploading correction function of the problem file and the full re-uploading replacement function of the batch file cannot be realized, so that the error file and the repeated file are redundant, and meanwhile, the directory structure, namely the file associated information, is not analyzed and put in storage, so that the information is lost.
Disclosure of Invention
Aiming at overcoming the defects of the prior art, the invention provides a batch uploading method and device for encrypting approval files based on a SpringBoot frame aiming at batch file uploading and processing in a financial field auditing process, which adopts an exclusive OR and one-time encryption parallel encryption mode to carry out byte double encryption processing on a full quantity of files and single files, optimizes the auditing process, uses file characteristic values as comparison objects to further realize the coverage of the single files and the replacement of the whole batch files, and saves the complete information of the batch files to a database.
The aim of the invention is realized by the following technical scheme:
an approval file encryption batch uploading method based on a SpringBoot framework comprises the following steps:
step one: extracting the file characteristic values, obtaining a single approval file, extracting the characteristic values of the obtained approval file, and generating the characteristic values of the single approval file.
Step two: and (3) carrying out file re-encryption, processing a single approval file to obtain a byte stream, and carrying out exclusive or encryption operation on the obtained file byte stream and the file characteristic value to generate a single re-encrypted approval file.
Step three: and (3) extracting the characteristics of the batch files, comparing the first re-encrypted approval files, classifying and packaging the processed files according to the level to obtain batch files, and extracting the characteristic values of the batch files by adopting the characteristic value extraction method in the step one.
Step four: double encryption of files is carried out, byte streams of batch files are obtained, the byte streams of the batch files and file characteristic values of the batch files are subjected to exclusive or encryption to obtain double-encrypted batch approval files, the double-encrypted batch approval files are uploaded to a server, and all the file characteristic values are uniformly transmitted to a file receiver;
step five, file downloading and decryption, wherein a file receiver firstly downloads and receives a complete double-encrypted file from a server through a request-response protocol, then decrypts the encrypted file with a hierarchy according to a file characteristic value, and then decrypts a single file for the second time according to the characteristic value to obtain decrypted batch files;
step six: and uploading and storing files, designing a Schema based on a tree structure, constructing a tree table structure in a relational database, and storing decrypted batch files into the relational database.
Specifically, the extracting process of the characteristic value of the single approval file in the first step specifically includes: firstly, extracting a file hash value of a single approval file by adopting a hash function, collecting file names containing time stamp and batch number information, combining the file hash value and the file names to form a character string, and generating a characteristic value of the single approval file.
Specifically, the file one-time encryption process in the second step specifically includes: and performing compression conversion on the single approval file to generate a corresponding compressed file, converting the compressed file into a byte binary group to generate an unencrypted byte stream, performing exclusive-or encryption operation on the generated file byte stream and a file characteristic value to obtain a first re-encrypted byte stream, and generating the first re-encrypted single approval file according to the first re-encrypted byte stream.
Specifically, in the third step, the comparing process for the multiple encrypted approval files specifically includes: acquiring a plurality of encrypted approval files, and comparing the approval files based on characteristic values of the approval files; if some files with the same characteristic value exist, performing coverage processing; if the characteristic values of the whole batch of files are the same, deleting the original encrypted approval file, and reserving a new encrypted approval file.
Specifically, the process of designing the Schema based on the tree structure and constructing the tree table structure in the relational database in the fifth step specifically includes: firstly, adding a part_id and a field attribute of a node_id into a two-dimensional data table of a relational database to represent the relevance of files, and modifying a two-dimensional table structure into a tree table structure; the node_id represents the number of the node_id and is used for positioning the number of the display file; the part_id represents the upper directory number thereof and is used for locating the information of the presentation file.
An approval file encryption batch uploading device based on a SpringBoot frame comprises
The feature extraction module is used for acquiring the related feature information of the approval file and extracting the feature value of the approval file;
the file encryption module is used for carrying out compression conversion on the trial file, generating byte streams of the compressed file, carrying out exclusive or encryption on the byte streams of the trial file and the characteristic values, generating an encrypted file and sending all the file characteristic values to the file uploading module;
the file integration module is used for comparing file characteristic values of the encrypted approval files and covering or deleting the approval files according to the comparison result;
and the file uploading module is used for downloading the double-encrypted file, decrypting the file according to the file characteristic value and storing the decrypted batch of files into the relational database.
The invention has the beneficial effects that:
1. the batch files and the single files are encrypted by adopting an exclusive or encryption mode, and based on the thought of one-time encryption, the characteristic values of the files are used as keys, so that the safety of the files is ensured, and the defects of a request-response protocol mode are overcome.
2. In order to reduce the redundancy of system storage, the approval process is optimized, and the file characteristic values are used as comparison objects so as to realize the functions of single file coverage and whole batch file replacement.
3. And storing the complete information of the batch files into a database, designing a Schema mode based on a tree structure, and successfully constructing a tree table structure in the relational database to store tree information objects of the batch files with directory characteristics.
Drawings
Fig. 1 is a flow chart of the method of the present invention.
Fig. 2 is a schematic diagram of the apparatus of the present invention.
Detailed Description
For a clearer understanding of technical features, objects, and effects of the present invention, a specific embodiment of the present invention will be described with reference to the accompanying drawings.
In this embodiment, as shown in fig. 1, an approval file encryption batch uploading method based on a SpringBoot frame includes the following steps:
step one: extracting the file characteristic values, obtaining a single approval file, extracting the characteristic values of the obtained approval file, and generating the characteristic values of the single approval file.
Step two: and (3) carrying out file re-encryption, processing a single approval file to obtain a byte stream, and carrying out exclusive or encryption operation on the obtained file byte stream and the file characteristic value to generate a single re-encrypted approval file.
Step three: and (3) extracting the characteristics of the batch files, comparing the first re-encrypted approval files, classifying and packaging the processed files according to the level to obtain batch files, and extracting the characteristic values of the batch files by adopting the characteristic value extraction method in the step one.
Step four: double encryption of files is carried out, byte streams of batch files are obtained, the byte streams of the batch files and file characteristic values of the batch files are subjected to exclusive or encryption to obtain double-encrypted batch approval files, the double-encrypted batch approval files are uploaded to a server, and all the file characteristic values are uniformly transmitted to a file receiver;
step five, file downloading and decryption, wherein a file receiver firstly downloads and receives a complete double-encrypted file from a server through a request-response protocol, then decrypts the encrypted file with a hierarchy according to a file characteristic value, and then decrypts a single file for the second time according to the characteristic value to obtain decrypted batch files;
step six: and uploading and storing files, designing a Schema based on a tree structure, constructing a tree table structure in a relational database, and storing decrypted batch files into the relational database.
Specifically, the feature value extraction process for the single approval file in the first step specifically includes: firstly, extracting a file hash value of a single approval file by adopting a hash function, collecting file names containing time stamp and batch number information, combining the file hash value and the file names to form a character string, and generating a characteristic value of the single approval file.
In order to solve the unsafe defect of the file batch transmission mode, the invention adopts an exclusive-or and one-time one-cipher parallel encryption mode to carry out byte double encryption processing on the full-quantity files and single files, wherein the agreed secret key is the characteristic value of the files. In view of the fact that the file is encrypted, even if an illegal person acquires the file in transmission, the file content cannot be known, and if the illegal person tries to tamper with the file, the server side fails to decrypt the file, so that the batch file uploading with problems at the time is refused, and the safety of the server is ensured.
Specifically, the file one-time encryption process in the second step specifically includes: and performing compression conversion on the single approval file to generate a corresponding compressed file, converting the compressed file into a byte binary group to generate an unencrypted byte stream, performing exclusive-or encryption operation on the generated file byte stream and a file characteristic value to obtain a first re-encrypted byte stream, and generating the first re-encrypted single approval file according to the first re-encrypted byte stream.
Specifically, in the third step, the comparing process for the multiple encrypted approval files specifically includes: acquiring a plurality of encrypted approval files, and comparing the approval files based on characteristic values of the approval files; if some files with the same characteristic value exist, performing coverage processing; if the characteristic values of the whole batch of files are the same, deleting the original encrypted approval file, and reserving a new encrypted approval file.
In order to solve the problem of saving the complete information of batch files to the database, the invention adopts a scheme based on a tree structure in the relational database, namely the design of database table objects to store the data objects with the tree structure. The scheme of the tree structure designed in this way has the characteristics of small redundancy and strong intuitiveness. The association of the file is represented by adding the field attributes of the part_id and the node_id in the data table, so that the two-dimensional table structure is modified into a tree table structure, wherein the node_id represents the number of the self, and the part_id represents the upper directory number of the self. Therefore, the directory structure information is displayed through the parent_id positioning, and the file information is displayed through the node_id positioning, so that the mutual connection of the file association information and the file information is successfully realized, and all information required by batch file approval is completely reserved.
In the invention, as shown in FIG. 2, an approval file encryption batch uploading device based on a SpringBoot frame comprises
The feature extraction module is used for acquiring the related feature information of the approval file and extracting the feature value of the approval file;
the file encryption module is used for carrying out compression conversion on the trial file, generating byte streams of the compressed file, carrying out exclusive or encryption on the byte streams of the trial file and the characteristic values, generating an encrypted file and sending all the file characteristic values to the file uploading module;
the file integration module is used for comparing file characteristic values of the encrypted approval files and covering or deleting the approval files according to the comparison result;
and the file uploading module is used for downloading the double-encrypted file, decrypting the file according to the file characteristic value and storing the decrypted batch of files into the relational database.
The working principle of the device of the invention comprises; firstly, inputting the approval file into a feature extraction module to extract the hash value of the file, simultaneously obtaining file name information to generate a file feature value, and then, sending the extracted file feature value to a file encryption module by the feature extraction module. The file encryption module firstly carries out compression conversion on the trial file to generate a byte stream, carries out exclusive OR operation on the byte stream and the received file characteristic value to generate a new byte stream, and outputs a re-encrypted trial file to the file integration module according to the new byte stream. The file integration module compares the received multiple encrypted approval files with the file characteristic values, performs overlay processing on the files with partial identical characteristic values, simultaneously deletes the original encrypted approval files, reserves the new encrypted approval files, forms the batch files by the compared encrypted approval files, inputs the batch files into the characteristic extraction module again to extract the file characteristic values of the batch files, and inputs the file characteristic values extracted secondarily into the file encryption module to perform double encryption. After the double encryption of the file encryption module is completed, the double-encrypted approval file is sent to the server, and all the file characteristic values are sent to the file uploading module, wherein the file characteristic values comprise the file characteristic value in the first encryption and the file characteristic value in the second encryption. And the file uploading module downloads the double-encrypted files from the server, adopts an inverse method of the encryption process, respectively carries out secondary decryption according to different file characteristic values, and uploads the batch files after secondary decryption to a tree-shaped storage structure in a relational database for corresponding storage, thereby completing uploading storage of batch approval files.
The foregoing has shown and described the basic principles and main features of the present invention and the advantages of the present invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and that the above embodiments and descriptions are merely illustrative of the principles of the present invention, and various changes and modifications may be made without departing from the spirit and scope of the invention, which is defined in the appended claims. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. The method for uploading the approval files in batches based on the SpringBoot framework is characterized by comprising the following steps of:
step one: extracting file characteristic values, namely acquiring a single approval file, extracting the characteristic values of the acquired approval file, and generating the characteristic values of the single approval file;
step two: the file is encrypted again, byte stream is obtained through processing of a single approval file, and exclusive or encryption operation is carried out on the obtained file byte stream and the file characteristic value to generate a single encrypted approval file; step three: the method comprises the steps of extracting characteristics of batch files, comparing a plurality of first re-encryption approval files, classifying and packaging the processed files according to levels to form batch files, and extracting characteristic values of the batch files by adopting a characteristic value extraction method in the first step;
step four: double encryption of files is carried out, byte streams of batch files are obtained, the byte streams of the batch files and file characteristic values of the batch files are subjected to exclusive or encryption to obtain double-encrypted batch approval files, the double-encrypted batch approval files are uploaded to a server, and all the file characteristic values are uniformly transmitted to a file receiver;
step five, file downloading and decrypting, wherein a file receiver firstly downloads and receives a complete double-encrypted file from a server through a request-response protocol, then decrypts the encrypted file with a hierarchy according to a file characteristic value, and then decrypts a single file for the second time according to the characteristic value to obtain decrypted batch files;
step six: and uploading and storing files, designing a Schema based on a tree structure, constructing a tree table structure in a relational database, and storing decrypted batch files into the relational database.
2. The method for encrypting and uploading the approval files in batches based on the SpringBoot framework according to claim 1, wherein the characteristic value extraction process for the single approval file in the first step specifically comprises the following steps: firstly, extracting a file hash value of a single approval file by adopting a hash function, collecting file names containing time stamp and batch number information, combining the file hash value and the file names to form a character string, and generating a characteristic value of the single approval file.
3. The method for uploading the approval file encryption batch based on the SpringBoot framework according to claim 1, wherein the file one-time encryption process in the step two specifically comprises the following steps: and performing compression conversion on the single approval file to generate a corresponding compressed file, converting the compressed file into a byte binary group to generate an unencrypted byte stream, performing exclusive-or encryption operation on the generated file byte stream and a file characteristic value to obtain a first re-encrypted byte stream, and generating the first re-encrypted single approval file according to the first re-encrypted byte stream.
4. The method for encrypting and uploading the approval files in batches based on the SpringBoot framework according to claim 1, wherein the comparing processing process of the multiple encrypted approval files in the third step specifically comprises the following steps: acquiring a plurality of encrypted approval files, and comparing the approval files based on characteristic values of the approval files; if some files with the same characteristic value exist, performing coverage processing; if the characteristic values of the whole batch of files are the same, deleting the original encrypted approval file, and reserving a new encrypted approval file.
5. The method for encrypting and uploading approval files based on the SpringBoot framework according to claim 1, wherein the process of designing a Schema based on a tree structure and constructing a tree table structure in a relational database in the fifth step specifically comprises the following steps: firstly, adding a part_id and a field attribute of a node_id into a two-dimensional data table of a relational database to represent the relevance of files, and modifying a two-dimensional table structure into a tree table structure; the node_id represents the number of the node_id and is used for positioning the number of the display file; the part_id represents the upper directory number thereof and is used for locating the information of the presentation file.
6. An approval file encryption batch uploading device based on a SpringBoot frame, which is used for realizing the approval file encryption batch uploading method based on the SpringBoot frame as set forth in any one of claims 1 to 5, and is characterized by comprising the following steps
The feature extraction module is used for acquiring the related feature information of the approval file and extracting the feature value of the approval file;
the file encryption module is used for carrying out compression conversion on the trial file, generating byte streams of the compressed file, carrying out exclusive or encryption on the byte streams of the trial file and the characteristic values, generating an encrypted file and sending all the file characteristic values to the file uploading module;
the file integration module is used for comparing file characteristic values of the encrypted approval files and covering or deleting the approval files according to the comparison result;
and the file uploading module is used for downloading the double-encrypted file, decrypting the file according to the file characteristic value and storing the decrypted batch of files into the relational database.
CN202011071941.6A 2020-10-09 2020-10-09 Approval file encryption batch uploading method and device based on SpringBoot framework Active CN112187948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011071941.6A CN112187948B (en) 2020-10-09 2020-10-09 Approval file encryption batch uploading method and device based on SpringBoot framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011071941.6A CN112187948B (en) 2020-10-09 2020-10-09 Approval file encryption batch uploading method and device based on SpringBoot framework

Publications (2)

Publication Number Publication Date
CN112187948A CN112187948A (en) 2021-01-05
CN112187948B true CN112187948B (en) 2023-04-25

Family

ID=73948965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011071941.6A Active CN112187948B (en) 2020-10-09 2020-10-09 Approval file encryption batch uploading method and device based on SpringBoot framework

Country Status (1)

Country Link
CN (1) CN112187948B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022318A (en) * 2013-07-16 2015-02-02 日本電気株式会社 Encryption device, decryption device, encryption method, and encryption program
CN104572891A (en) * 2014-12-24 2015-04-29 北京大学深圳研究生院 File updating method for separately storing network information
CN105162825A (en) * 2015-07-11 2015-12-16 深圳市美贝壳科技有限公司 Safe file transmission method
CN105320899A (en) * 2014-07-22 2016-02-10 北京大学 User-oriented cloud storage data integrity protection method
CN106446001A (en) * 2016-07-29 2017-02-22 北京北信源软件股份有限公司 Method and system for storing files in computer storage mediums
CN109787747A (en) * 2018-12-29 2019-05-21 如般量子科技有限公司 Anti- quantum calculation multi-enciphering cloud storage method and system based on multiple unsymmetrical key ponds
CN110278087A (en) * 2019-07-05 2019-09-24 深圳市九链科技有限公司 File encryption De-weight method based on secondary Hash and zero knowledge proof method
WO2020147383A1 (en) * 2019-01-17 2020-07-23 平安科技(深圳)有限公司 Process examination and approval method, device and system employing blockchain system, and non-volatile storage medium
CN111552938A (en) * 2020-04-29 2020-08-18 上海明略人工智能(集团)有限公司 File encryption method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022318A (en) * 2013-07-16 2015-02-02 日本電気株式会社 Encryption device, decryption device, encryption method, and encryption program
CN105320899A (en) * 2014-07-22 2016-02-10 北京大学 User-oriented cloud storage data integrity protection method
CN104572891A (en) * 2014-12-24 2015-04-29 北京大学深圳研究生院 File updating method for separately storing network information
CN105162825A (en) * 2015-07-11 2015-12-16 深圳市美贝壳科技有限公司 Safe file transmission method
CN106446001A (en) * 2016-07-29 2017-02-22 北京北信源软件股份有限公司 Method and system for storing files in computer storage mediums
CN109787747A (en) * 2018-12-29 2019-05-21 如般量子科技有限公司 Anti- quantum calculation multi-enciphering cloud storage method and system based on multiple unsymmetrical key ponds
WO2020147383A1 (en) * 2019-01-17 2020-07-23 平安科技(深圳)有限公司 Process examination and approval method, device and system employing blockchain system, and non-volatile storage medium
CN110278087A (en) * 2019-07-05 2019-09-24 深圳市九链科技有限公司 File encryption De-weight method based on secondary Hash and zero knowledge proof method
CN111552938A (en) * 2020-04-29 2020-08-18 上海明略人工智能(集团)有限公司 File encryption method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"云存储中数据确定性删除方法的研究与实现";陈宜洁;《中国优秀硕士学位论文全文数据库》;20181115;I138-20 *

Also Published As

Publication number Publication date
CN112187948A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US10114969B1 (en) Ultra-secure blockchain-based electronic information transfer system
US10721058B2 (en) Ultra-secure blockchain enabled analytics
CN103119594A (en) Searchable encryption processing system
JP2009099151A (en) User query processing system and method by query encryption transformation in database including encrypted column
Hamza et al. An efficient cryptosystem for video surveillance in the internet of things environment
CN112311865A (en) File encryption transmission method and device
US20220209945A1 (en) Method and device for storing encrypted data
KR101476039B1 (en) Method for encrypting database and method for real-time search thereof
US9332405B2 (en) Short message backup method, mobile terminal, and server
US8380983B2 (en) File encryption system and method
CN111147502A (en) Block chain file storage system and method thereof
Lucani et al. Secure generalized deduplication via multi-key revealing encryption
TW201317823A (en) Cloud secured storage system
CN112187948B (en) Approval file encryption batch uploading method and device based on SpringBoot framework
CN116070251B (en) Data processing system and method of data security monitoring platform
US20090103723A1 (en) System And Method For Secure Storage Of Data
CN111552988A (en) Monte Carlo sampling-based forward safety k neighbor retrieval method and system
CN115001688B (en) Data secure transmission method and system based on quantum encryption
CN109214198A (en) A kind of secure cloud document system encrypting search
Sun et al. Research of data security model in cloud computing platform for SMEs
US20180019977A1 (en) Multi-layered data security
CN111970207A (en) Safe real-time data transmission system and method based on video two-dimension code recognition
CN113179275B (en) Data transmission safety processing method
Chen et al. An improved privacy protection algorithm for multimodal data fusion
Wijaya Application of Gost Algorithm For The Safety of Data Sending of General Election

Legal Events

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