CN112711563A - Method and system for detecting electronic file tetragonality - Google Patents

Method and system for detecting electronic file tetragonality Download PDF

Info

Publication number
CN112711563A
CN112711563A CN202011642674.3A CN202011642674A CN112711563A CN 112711563 A CN112711563 A CN 112711563A CN 202011642674 A CN202011642674 A CN 202011642674A CN 112711563 A CN112711563 A CN 112711563A
Authority
CN
China
Prior art keywords
file
metadata
electronic file
electronic
detection
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
CN202011642674.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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN202011642674.3A priority Critical patent/CN112711563A/en
Publication of CN112711563A publication Critical patent/CN112711563A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • 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/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a system for detecting the quadriversal of an electronic file, belonging to the technical field of data detection. The method comprises the following steps: storing the file header, the metadata and the detection mode of the file header and the metadata into a database; determining an electronic file to be detected, checking whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining a file header and metadata of the electronic file in the electronic file to be detected; the method comprises the steps of taking a file header and metadata of an electronic file in an electronic file to be detected as query data to query a database, determining the file header and the metadata of the electronic file in the database and the electronic file to be detected, selecting a file header and metadata similar to the file header and metadata in a preset range, selecting a detection mode of the queried file header and metadata, and carrying out four-property detection on the file header and the metadata of the electronic file in the electronic file to be detected. Compared with the prior art, the method is simpler and safer, and the detection efficiency of the electronic archive file is improved.

Description

Method and system for detecting electronic file tetragonality
Technical Field
The present invention relates to the field of data detection technologies, and more particularly, to a method and a system for detecting the tetrad of an electronic file.
Background
In the patent with application number 201711358945.0, a comprehensive management system for integrating paper files and electronic files is provided, which mainly comprises three parts: the system comprises a paper archive management system, a paper archive digital processing system and an electronic archive management system; the paper archive management system is mainly responsible for keeping and monitoring the safety of paper archives; the digital processing system of the paper archives mainly has the function of digital processing of the paper archives; the electronic archive management system comprises the management, inquiry and protection functions of the electronic archive, the whole life cycle of the archive is covered by the system, the integrated service is provided for the archive, the working speed and the working efficiency of an archive department are greatly improved, the flexibility and the reliability are remarkably improved, and the problems of management and storage of the data of the archive which is increased in a large amount are solved.
In the patent with application number 201911417062.1, a method, a device, a system and a storage medium for file management are provided, the method comprises: acquiring one or more archiving request files; determining a filing standard according to the service type, packaging one or more filing request files according to the filing standard, and determining packaged files and statistical information; performing quadriversal detection on the packaged file, and recording the result of the quadriversal detection in statistical information; the technical scheme realizes the automatic file and file management in the whole process, can be butted with various business systems and can be filed so as to solve the problems of the automatic file and file management in the whole process and guarantee the authenticity, integrity, availability and safety of filed files.
The above two patents are both systems and methods for electronic file management, and the first patent is an integrated comprehensive management system for paper files and electronic files, which is divided into three parts: paper archives management system, the digital system of processing of paper archives, electronic archives management system, paper archives management system is connected with the digital system of processing of paper archives, electronic archives management system is connected with the digital system of processing of paper archives, if paper archives management system and electronic archives management system do not go up the digital system of processing of paper archives, just can't carry out keeping and the safety monitoring of paper archives, there is very big security this moment, can't carry out follow-up operation.
The second patent is an archive management method, device, system and storage medium, which is used for acquiring one or more archive request files; determining a filing standard according to the service type, packaging one or more filing request files according to the filing standard, and determining packaged files and statistical information; performing quadriversal detection on the packaged file, and recording the result of the quadriversal detection in statistical information; and in response to the result of the four-property detection being passed, the statistical information and the packaged file are filed, the method only performs four-property detection and verification on the filed file, and is relatively single, and the four-property detection rule cannot be set, such as setting of a verification rule of a file header and metadata.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for detecting the tetrad of an electronic file, comprising:
acquiring file headers and metadata of electronic files in batches of electronic files which finish the quadric detection and detecting modes of the file headers and the metadata, and storing the file headers and the metadata and the detecting modes of the file headers and the metadata in a database;
determining an electronic file to be detected, checking whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining a file header and metadata of the electronic file in the electronic file to be detected;
calling a database, taking the file header and the metadata of the electronic file in the electronic file to be detected as query data to query the database, determining the file header and the metadata of the electronic file in the database and the electronic file to be detected, selecting a file header and metadata approximate to the file header and metadata in a preset range, and performing four-property detection on the file header and the metadata of the electronic file to be detected in the electronic file to be detected.
Optionally, if the four-property detection fails, returning the detected error information, and using the error information to correct the electronic file to be detected.
Optionally, the four-property detection of the file header includes four-property detection of the file extension, the file description, and the file header data.
Optionally, the metadata four-property detection includes four-property detection of data name, data length, data format, data value range, data description, selected data classification, and selected data type.
Optionally, a preset quadric detection mode is stored in the database, and is used for performing quadric detection on the file header and the metadata of the electronic file in the electronic file to be detected by using the preset quadric detection mode when querying the database with the file header and the metadata of the electronic file in the electronic file to be detected as query data fails.
The invention also provides a system for detecting the four-property of the electronic file, which comprises the following components:
the acquisition unit is used for acquiring file headers and metadata of electronic files in batches of electronic files subjected to the four-property detection and detecting modes of the file headers and the metadata, and storing the file headers and the metadata and the detecting modes of the file headers and the metadata in a database;
the verification unit is used for determining the electronic file to be detected, verifying whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining the file header and the metadata of the electronic file in the electronic file to be detected;
the query unit is used for calling the database, taking the file header and the metadata of the electronic file in the electronic file to be detected as query data to query the database, determining the file header and the metadata of the electronic file in the database and the electronic file to be detected, selecting a detection mode of the queried file header and metadata, and performing four-property detection on the file header and the metadata of the electronic file in the electronic file to be detected.
Optionally, if the four-property detection fails, returning the detected error information, and using the error information to correct the electronic file to be detected.
Optionally, the four-property detection of the file header includes four-property detection of the file extension, the file description, and the file header data.
Optionally, the metadata four-property detection includes four-property detection of data name, data length, data format, data value range, data description, selected data classification, and selected data type.
Optionally, a preset quadric detection mode is stored in the database, and is used for performing quadric detection on the file header and the metadata of the electronic file in the electronic file to be detected by using the preset quadric detection mode when querying the database with the file header and the metadata of the electronic file in the electronic file to be detected as query data fails.
Compared with the prior art, the method is simpler and safer, and the detection efficiency of the electronic archive file is improved.
Drawings
FIG. 1 is a flow chart of a method for detecting the fourteen properties of an electronic file according to the present invention;
FIG. 2 is a block diagram of a system for performing a four-property check of an electronic file according to the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The invention provides a method for detecting the tetragonality of an electronic file, as shown in fig. 1, comprising the following steps:
acquiring file headers and metadata of electronic files in batches of electronic files which finish the quadric detection and detecting modes of the file headers and the metadata, and storing the file headers and the metadata and the detecting modes of the file headers and the metadata in a database;
determining an electronic file to be detected, checking whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining a file header and metadata of the electronic file in the electronic file to be detected;
calling a database, taking the file header and the metadata of the electronic file in the electronic file to be detected as query data to query the database, determining the file header and the metadata of the electronic file in the database and the electronic file to be detected, selecting a file header and metadata approximate to the file header and metadata in a preset range, and performing four-property detection on the file header and the metadata of the electronic file to be detected in the electronic file to be detected.
If the four-property detection fails, returning the detected error information, and using the error information to correct the electronic file to be detected.
The file header four-property detection comprises four-property detection of file extension names, file descriptions and file header data.
The method comprises the following steps of detecting the four properties of metadata, wherein the detection of the four properties of the metadata comprises four properties of data name, data length, data format, data value range, data description, data classification selection and data type selection.
The database stores a preset quadric detection mode, and is used for carrying out the quadric detection on the file header and the metadata of the electronic file in the electronic file to be detected by using the preset quadric detection mode when the query of the database by using the file header and the metadata of the electronic file in the electronic file to be detected as query data fails.
The present invention further provides a system 200 for detecting the tetragonality of an electronic file, as shown in fig. 2, comprising:
the acquisition unit 201 is used for acquiring file headers and metadata of electronic files in batches of electronic files subjected to four-property detection and detecting modes of the file headers and the metadata, and storing the file headers and the metadata and the detecting modes of the file headers and the metadata in a database;
the verification unit 202 is used for determining the electronic file to be detected, verifying whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining the file header and the metadata of the electronic file in the electronic file to be detected;
the query unit 203 invokes a database, queries the database with the header and the metadata of the electronic file in the electronic file to be detected as query data, determines the header and the metadata of the electronic file in the database and the electronic file to be detected, selects a detection mode of the queried header and metadata, and performs a four-property detection on the header and the metadata of the electronic file to be detected.
If the four-property detection fails, returning the detected error information, and using the error information to correct the electronic file to be detected.
The file header four-property detection comprises four-property detection of file extension names, file descriptions and file header data.
The four-characteristic detection of the metadata comprises four-characteristic detection of data name, data length, data format, data value field, data description, selected data classification (certificate/account book/report/other/document/invoice) and selected data type (character string/integer/decimal/date).
The database stores a preset quadric detection mode, and is used for carrying out the quadric detection on the file header and the metadata of the electronic file in the electronic file to be detected by using the preset quadric detection mode when the query of the database by using the file header and the metadata of the electronic file in the electronic file to be detected as query data fails.
Compared with the prior art, the method is simpler and safer, and the detection efficiency of the electronic archive file is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The scheme in the embodiment of the application can be implemented by adopting various computer languages, such as object-oriented programming language Java and transliterated scripting language JavaScript.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for electronic archive tetrasexual detection, the method comprising:
acquiring file headers and metadata of electronic files in batches of electronic files which finish the quadric detection and detecting modes of the file headers and the metadata, and storing the file headers and the metadata and the detecting modes of the file headers and the metadata in a database;
determining an electronic file to be detected, checking whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining a file header and metadata of the electronic file in the electronic file to be detected;
calling a database, taking the file header and the metadata of the electronic file in the electronic file to be detected as query data to query the database, determining the file header and the metadata of the electronic file in the database and the electronic file to be detected, selecting a file header and metadata approximate to the file header and metadata in a preset range, and performing four-property detection on the file header and the metadata of the electronic file to be detected in the electronic file to be detected.
2. The method of claim 1, wherein if the four-property test fails, the method returns a test error message, and the error message is used to modify the electronic file to be tested.
3. The method of claim 1, wherein the header four-property detection comprises four-property detection of file extensions, file descriptions, and header data.
4. The method of claim 1, the metadata quartiles detection comprising quartiles detection of data name, data length, data format, data value range, data description, select data classification, and select data type.
5. The method according to claim 1, wherein a preset quadriversal detection mode is stored in the database, and is used for performing the quadriversal detection on the header and the metadata of the electronic file in the electronic file to be detected by using the preset quadriversal detection mode when the query of the database by using the header and the metadata of the electronic file in the electronic file to be detected as query data fails.
6. A system for electronic archive tetrasexual detection, the system comprising:
the acquisition unit is used for acquiring file headers and metadata of electronic files in batches of electronic files subjected to the four-property detection and detecting modes of the file headers and the metadata, and storing the file headers and the metadata and the detecting modes of the file headers and the metadata in a database;
the verification unit is used for determining the electronic file to be detected, verifying whether the electronic file to be detected meets the condition of the four-characteristic detection, and if so, determining the file header and the metadata of the electronic file in the electronic file to be detected;
the query unit is used for calling the database, taking the file header and the metadata of the electronic file in the electronic file to be detected as query data to query the database, determining the file header and the metadata of the electronic file in the database and the electronic file to be detected, selecting a detection mode of the queried file header and metadata, and performing four-property detection on the file header and the metadata of the electronic file in the electronic file to be detected.
7. The system of claim 6, wherein if the four-property test fails, the four-property test returns a test error message, and the error message is used to modify the electronic file to be tested.
8. The system of claim 6, wherein the header four-property detection comprises a file extension, a file description, and header data four-property detection.
9. The system of claim 6, wherein the metadata quartiles detection comprises quartiles detection of data name, data length, data format, data value range, data description, selected data classification, and selected data type.
10. The system according to claim 6, wherein the database stores a preset quadriversal detection method, and is configured to perform the quadriversal detection on the header and the metadata of the electronic file in the electronic file to be detected by using the preset quadriversal detection method when querying the database using the header and the metadata of the electronic file in the electronic file to be detected as query data fails.
CN202011642674.3A 2020-12-30 2020-12-30 Method and system for detecting electronic file tetragonality Pending CN112711563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011642674.3A CN112711563A (en) 2020-12-30 2020-12-30 Method and system for detecting electronic file tetragonality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011642674.3A CN112711563A (en) 2020-12-30 2020-12-30 Method and system for detecting electronic file tetragonality

Publications (1)

Publication Number Publication Date
CN112711563A true CN112711563A (en) 2021-04-27

Family

ID=75548082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011642674.3A Pending CN112711563A (en) 2020-12-30 2020-12-30 Method and system for detecting electronic file tetragonality

Country Status (1)

Country Link
CN (1) CN112711563A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608905A (en) * 2021-06-23 2021-11-05 南京科海智博信息技术有限公司 Electronic file four-property detection system
CN115618394A (en) * 2022-11-09 2023-01-17 广州明动软件股份有限公司 Method for detecting tetrad based on cloud file integrated platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608905A (en) * 2021-06-23 2021-11-05 南京科海智博信息技术有限公司 Electronic file four-property detection system
CN115618394A (en) * 2022-11-09 2023-01-17 广州明动软件股份有限公司 Method for detecting tetrad based on cloud file integrated platform
CN115618394B (en) * 2022-11-09 2024-01-26 广州明动软件股份有限公司 Four-way detection method based on cloud archive integrated platform

Similar Documents

Publication Publication Date Title
CN111209206B (en) Automatic test method and system for software products
CN104317713A (en) Automatic testing tool and method on basis of templates
CN112711563A (en) Method and system for detecting electronic file tetragonality
CN113191122B (en) Service-oriented construction project electronic file and electronic file four-way detection method
CN116302210B (en) Image file importing method and device, electronic equipment and storage medium
CN111885051B (en) Data verification method and device and electronic equipment
CN114493551B (en) Contract generation method and device, electronic equipment and storage medium
CN117708857A (en) Method and device for detecting electronic file, electronic equipment and medium
CN111143450B (en) Method and device for importing data
CN116932399A (en) Message generation method and device and nonvolatile storage medium
CN109409135B (en) Method, device, equipment and storage medium for acquiring characteristic information of data
CN103167016B (en) The method and apparatus that a kind of browser crash data is uploaded and processed
CN114595096B (en) Database hot backup method and device, electronic equipment and storage medium
CN113434139A (en) Image packaging processing method and device, server and storage medium
CN112749541A (en) Data verification system, method, device, electronic equipment and computer readable medium
CN113450114B (en) Data file acquisition method and device based on block chain
CN110020348B (en) Early warning method and device for circled events
CN113688300A (en) Method for realizing electronic file four-characteristic detection
CN111259361B (en) Bridge engineering cost system
CN116795656B (en) Early warning prompting method, device, equipment and storage medium for buried point error
CN118551405B (en) Safety management method, device and storage medium for data life cycle
CN113688433B (en) Consumable chip cracking prevention method and device, electronic equipment and computer readable storage medium
CN115481445B (en) Signature verification method, device and equipment for portable document format file and storage medium
CN114528516B (en) Intelligent informatization project management method and device
CN113450114A (en) Block chain-based data file acquisition method and device

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