Multi-format conversion method and system for massive electronic archives
Through linear pooling technology and multi-threaded parallel processing, the problem of limited format conversion capabilities in massive electronic archive management is solved, efficient multi-format conversion and quality detection is realized, and the standardization and applicability of electronic files are ensured.
Patent Information
- Application Number
- CN202510282363.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-08-01
AI Technical Summary
The prior art has problems in electronic file management with limited format conversion capabilities and low efficiency, especially when processing massive electronic files, it is difficult to achieve multi-format parallel processing.
Linear pooling technology is used to combine file types and current formats, and multi-threaded parallel processing to realize the identification and analysis of electronic files in any format, format conversion and quality detection, and use the graphical interface to feedback the conversion progress.
It improves the performance and efficiency of format conversion, realizes intelligent and automatic management of massive electronic files, ensures the quality and standardization of electronic files, and expands the scope of application.
Smart Images

Figure CN120409425A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of format conversion, and particularly relates to a method and system for multi-format conversion of a large amount of electronic files. Background Art
[0002] With the rapid development of information technology, digital applications are becoming more and more widespread. As an important carrier for information storage and transmission, electronic files have gradually become an indispensable information resource in modern society. Electronic files are files generated and managed electronically, with the advantages of high efficiency, convenience, and easy sharing. With the increase in the amount of electronic file data, the management of electronic files faces greater challenges.
[0003] Currently, when managing electronic files, format specifications are usually carried out for electronic files, and a unified file format is used for management to provide convenience for file management and enable the database to better retain the metadata of electronic files. However, when converting the format of electronic files, usually only a single thread can be used to convert the format of specific format files, with limited format conversion ability and low efficiency. Therefore, the present invention proposes a method and system for multi-format conversion of a large amount of electronic files, which uses a linear pool to achieve parallel processing of multiple threads and multiple file formats, enabling format conversion for any current format of electronic files and effectively improving the performance and efficiency of format conversion. Summary of the Invention
[0004] The purpose of the present invention is to provide a method and system for multi-format conversion of a large amount of electronic files to solve the problems raised in the above background art.
[0005] To achieve the above purpose, the present invention provides the following technical solutions: A method for multi-format conversion of a large amount of electronic files, comprising:
[0006] Receiving a large amount of electronic files to obtain electronic files, and determining the file type and current format of the electronic files;
[0007] Performing parsing scheme matching according to the file type of the electronic file, and performing identification and parsing on the electronic file according to the matching result to obtain electronic file parsing information;
[0008] Performing format conversion processing on the electronic file by using a linear pool in combination with the file type and the current format to obtain an electronic file in the target format;
[0009] Detecting the electronic file in the target format by using the electronic file parsing information to obtain a quality detection result;
[0010] Performing pre-filing on the electronic file in the target format according to the quality detection result.
[0011] Preferably, the recognition and parsing of the electronic document are performed according to the matching result, including:
[0012] Determine the parsing scheme;
[0013] Adjust the parsing scheme in combination with the current format to obtain an adjusted parsing scheme;
[0014] Recognize the electronic document according to the adjusted parsing scheme to obtain electronic document recognition information;
[0015] Parse the electronic document recognition information, and extract valid information from the electronic document recognition information to obtain electronic document parsing information;
[0016] Store the data for the electronic document parsing information.
[0017] Preferably, the linear pool is used to perform format conversion processing on the electronic document in combination with the file type and the current format, including:
[0018] Use the linear pool to perform multi-threaded format conversion on the electronic document in combination with the file type and the current format to obtain a first format-converted electronic document;
[0019] Form a message queue according to the acquisition order of the first processed electronic document in the target format;
[0020] Standardize the format of the first format-converted electronic document according to the message queue to obtain an electronic document in the target format.
[0021] Preferably, the linear pool is used to perform multi-threaded format conversion on the electronic document in combination with the file type and the current format, including:
[0022] Obtain the thread status information of the linear pool, and configure the threads for the electronic document in combination with the thread status information;
[0023] Determine the target format according to the file type;
[0024] Analyze the current format in combination with the target format to determine whether format conversion is required, and obtain a first judgment result;
[0025] When the first judgment result is that format conversion is required, perform file recognition and disassembly according to the current format to obtain a first processed electronic document;
[0026] Perform sub-information analysis on the first processed electronic document to determine whether there is sub-information that needs to be processed twice, and obtain a second judgment result;
[0027] Screen and process the sub-information according to the second judgment result to obtain a second processed electronic document;
[0028] Analyze the mapping relationship between the current format and the target format;
[0029] Convert the second processed electronic file according to the mapping relationship to obtain the second processed electronic file in the target format, and obtain the first format conversion electronic file.
[0030] Preferably, when standardizing the format of the first format conversion electronic file according to the message queue, monitor the message queue, obtain the first format conversion electronic file to be processed in the message queue, and obtain the long-term storage format of the target format for the first format conversion electronic file, and then perform format processing on the first format conversion electronic file in combination with the long-term storage format of the target format to obtain the target format electronic file.
[0031] Preferably, use the electronic file parsing information to detect the target format electronic file, including:
[0032] Retrieve the parsing scheme for the target format electronic file to determine the target parsing scheme;
[0033] Perform recognition and parsing on the target format electronic file according to the target parsing scheme to obtain the target format electronic file parsing information;
[0034] Retrieve the electronic file parsing information of the target format electronic file, and use the inspection model to compare, analyze and evaluate the electronic file parsing information and the target format electronic file parsing information to obtain the electronic file inspection data;
[0035] Determine the quality inspection result according to the electronic file inspection data, and generate an electronic file format conversion inspection report based on the quality inspection result;
[0036] Correct the target format electronic file in combination with the electronic file format conversion inspection report to obtain the target format electronic corrected file.
[0037] Preferably, when correcting the target format electronic file in combination with the electronic file format conversion inspection report, also perform format conversion processing optimization according to the electronic file format conversion inspection report, including:
[0038] Identify the quality inspection result based on the electronic file format conversion inspection report;
[0039] Determine whether optimization adjustment is required according to the quality inspection result to obtain the preliminary analysis result;
[0040] When the preliminary analysis result is that optimization adjustment is required, retrieve the electronic file inspection data, and obtain the format conversion processing evaluation data according to the electronic file inspection data;
[0041] Analyze problems in the process of evaluating data combined with format conversion processing for format conversion processing, and determine the steps of format conversion processing problems;
[0042] Analyze the associated factors for the steps of format conversion processing problems, and determine the influence relationship between the associated factors and the steps of format conversion processing problems;
[0043] Combined with the influence relationship, conduct an optimization analysis for the problem steps to determine the optimization plan for the associated factors;
[0044] According to the optimization plan for the associated factors, conduct an optimization adjustment for the process of format conversion processing to obtain the optimized format conversion processing.
[0045] Preferably, after determining the current format of the electronic file, establish a log file for the electronic file, and then during the process of format conversion of the electronic file, monitor the progress through monitoring nodes to obtain the progress information of the format conversion of the electronic file, and record it in the log file according to the progress information of the format conversion of the electronic file to obtain the electronic file log record information. And when pre-archiving the target format electronic file according to the quality inspection result, combine the electronic file log record information with the target format electronic file to wait for archiving processing.
[0046] Preferably, the multi-format conversion method for massive electronic archives also conducts information feedback through a graphical interface, determines the format conversion progress according to the log file combined with the electronic file log record information to obtain the format conversion progress data of the electronic file, presents the format conversion progress data of the electronic file in the graphical interface for feedback, and displays the result for the target format electronic correction file after the electronic file completes format conversion.
[0047] A multi-format conversion system for massive electronic archives includes: an archive receiving module, an identification and parsing module, a format conversion module, a quality inspection module, a storage management module, a log recording module, and a feedback display module;
[0048] The archive receiving module is used to receive massive electronic archives to obtain electronic files, and determine the file type and current format of the electronic files;
[0049] The identification and parsing module is used to match the parsing scheme according to the file type of the electronic file, and conduct identification and parsing for the electronic file according to the matching result to obtain the electronic file parsing information;
[0050] The format conversion module is used to perform format conversion processing for the electronic file by using a linear pool combined with the file type and the current format to obtain the target format electronic file;
[0051] The quality inspection module is used to detect the electronic file in the target format by using the electronic file parsing information, and obtain the quality inspection result;
[0052] The storage management module is used to pre-archive the electronic file in the target format according to the quality inspection result;
[0053] The log recording module is used to establish a log file for the electronic file, and then during the format conversion process of the electronic file, monitor the progress through the monitoring node to obtain the progress information of the electronic file format conversion, and record it in the log file according to the progress information of the electronic file format conversion to obtain the electronic file log recording information;
[0054] The feedback display module is used to determine the format conversion progress according to the log file combined with the electronic file log recording information, obtain the electronic file format conversion progress data, feedback and present the electronic file format conversion progress data in the graphical interface, and display the result for the target format electronic correction file after the electronic file completes the format conversion.
[0055] The present invention realizes the intelligent automatic management of a large number of electronic files, enables the standardization and pre-archiving of the target format for any format of electronic files, improves the performance of format conversion, can perform format conversion processing in parallel with multiple threads through the linear pool, effectively improves the efficiency of format conversion, and further realizes the efficient management of the pre-archiving of electronic files.
[0056] Other features and advantages of the present invention will be described in the following description, and some of them will be obvious from the description, or understood by implementing the present invention. The objectives and other advantages of the present invention can be achieved and obtained by the structures specifically pointed out in the written description and the drawings.
[0057] The technical solution of the present invention will be further described in detail below through the drawings and embodiments. Description of the Drawings
[0058] The drawings are used to provide a further understanding of the present invention, and constitute a part of the description. They are used to explain the present invention together with the embodiments of the present invention, and do not constitute a limitation to the present invention. In the drawings:
[0059] Figure 1 It is a schematic diagram of the steps of the multi-format conversion method for a large number of electronic files according to the present invention;
[0060] Figure 2 It is a schematic diagram of the steps of step three in the multi-format conversion method for a large number of electronic files according to the present invention;
[0061] Figure 3Schematic diagram of step S1 in step three of the multi-format conversion method for a large amount of electronic files according to the present invention;
[0062] Figure 4 Schematic diagram of step four in the multi-format conversion method for a large amount of electronic files according to the present invention;
[0063] Figure 5 Schematic diagram of the format conversion optimization step in the multi-format conversion method for a large amount of electronic files according to the present invention;
[0064] Figure 6 Schematic diagram of the multi-format conversion system for a large amount of electronic files according to the present invention. Detailed implementation manners
[0065] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only for the purpose of illustrating and explaining the present invention, and are not used to limit the present invention.
[0066] As Figure 1 shown, the embodiments of the present invention provide a multi-format conversion method and system for a large amount of electronic files, including:
[0067] Step 1: Receive a large amount of electronic files to obtain electronic documents, and determine the file type and current format of the electronic documents;
[0068] Step 2: Match the parsing scheme according to the file type of the electronic document, and perform identification and parsing on the electronic document according to the matching result to obtain electronic document parsing information;
[0069] Step 3: Use a linear pool to perform format conversion processing on the electronic document in combination with the file type and the current format to obtain an electronic document in the target format;
[0070] Step 4: Use the electronic document parsing information to detect the electronic document in the target format to obtain a quality detection result;
[0071] Step 5: Perform pre-filing on the electronic document in the target format according to the quality detection result.
[0072] In the above technical solution, the target formats corresponding to different file types are different. For example, the target format of a text file is the PDF format, the target format of a photo file is the JPG format or the TIF format, the target format of an audio file is the WAV format or the MP3 format, and the target format of a video file is the MPG format, the MP4 format, the FLV format or the AVI format.
[0073] In the above technical solution, the electronic files can be electronic documents in any format.
[0074] The above technical solution realizes the intelligent automatic management of a large number of electronic files, enabling the standardization and pre-filing of electronic files in any format into the target format, improving the performance of format conversion. Through the linear pool, format conversion processing can be carried out in parallel by multiple threads, effectively improving the efficiency of format conversion, and then realizing the efficient management of the pre-filing of electronic files. By identifying and parsing electronic files, after obtaining the electronic files in the target format, the electronic files in the target format can be detected in combination with the electronic file parsing information, which can not only clarify the quality of the format conversion of the electronic files and ensure the quality of the electronic files in the target format, but also improve the standardization of the pre-filed electronic files, providing convenience for the archiving of electronic files. When performing format conversion processing, the linear pool is used to achieve multi-threaded parallel processing, enabling the format conversion of multiple electronic files to be completed within a short period of time, improving the efficiency of format conversion, and combining the file type and the current format in the linear pool to perform format conversion processing on the electronic files, enabling corresponding format conversion processing for electronic files of any file type and any format, improving the performance of the threads, and at the same time expanding the applicable range of the multi-format conversion method for a large number of electronic files.
[0075] In an embodiment provided by the present invention, identifying and parsing an electronic file according to the matching result includes:
[0076] Determining a parsing scheme;
[0077] Adjusting the parsing scheme in combination with the current format to obtain an adjusted parsing scheme;
[0078] Identifying the electronic file according to the adjusted parsing scheme to obtain electronic file identification information;
[0079] Parsing the electronic file identification information and extracting effective information from the electronic file identification information to obtain electronic file parsing information;
[0080] Storing the electronic file parsing information.
[0081] In the above technical solution, different file types correspond to different parsing methods.
[0082] In the above technical solution, when adjusting the parsing scheme in combination with the current format, determining a file reading method for the current format to obtain a target file reading method, and adjusting the corresponding file reading part in the parsing scheme according to the target file reading method to obtain an adjusted parsing scheme.
[0083] In the above technical solution, when identifying an electronic document according to the adjusted parsing solution, when the electronic document is a text document, information is read from the text document, and effective information analysis and extraction are performed on the read information to obtain electronic document parsing information; when the electronic document is a picture file, the picture file is read and the picture information is identified, and then feature analysis is performed on the picture information to obtain electronic document parsing information; when the electronic document is an audio file, the audio file is read and semantic recognition is performed on the audio file, and then effective information analysis and extraction are performed based on the semantic recognition information to obtain electronic document parsing information; when the electronic document is a video file, the video file is read and image and audio analysis are performed on the video file to obtain first analysis information and second analysis information, and then effective information analysis and extraction are respectively performed on the first analysis information and the second analysis information to obtain electronic document parsing information.
[0084] The different parsing solutions in the above technical solution enable the identification and parsing of electronic documents in any format, improve the applicable range of the multi-format conversion method for massive electronic archives, eliminate the limitation of single-format conversion, and through effective information extraction and storage, clarify the specific information of the electronic document, providing data reference for the detection of electronic documents in the target format in the future.
[0085] As Figure 2 shown, in an embodiment provided by the present invention, linear pooling is combined with the file type and the current format to perform format conversion processing on the electronic document, including:
[0086] S1. Use linear pooling to combine the file type and the current format to perform multi-threaded format conversion on the electronic document to obtain a first format-converted electronic document;
[0087] S2. Form a message queue according to the acquisition order of the first processed electronic document in the target format;
[0088] S3. Standardize the format of the first format-converted electronic document according to the message queue to obtain an electronic document in the target format.
[0089] In the above technical solution, when using linear pooling to combine the file type and the current format to perform multi-threaded format conversion on the electronic document, metadata acquisition and format conversion are performed based on the file type on the basis of the current format, so as to obtain a first format-converted electronic document.
[0090] In the above technical solution, the first format-converted electronic document is the target format corresponding to the file type of the electronic document.
[0091] In the above technical solution, the message queue is arranged according to the order in which the first processed electronic document in the target format is obtained.
[0092] In the above technical solution, the format standardization specification is for setting up the electronic file for long-term preservation of the first format-converted electronic file.
[0093] In the above technical solution, the multi-threaded format conversion of electronic files using a linear pool in combination with the file type and the current format not only realizes multi-threaded parallel processing, improves the efficiency of electronic file format conversion, enables the first format-converted electronic file to be obtained in a shorter time, but also can perform format conversion on electronic files of different file types, eliminates the limitation of the thread being limited to a single format conversion, improves the applicable range of the thread for format conversion, and moreover, according to the message queue, the format standardization specification for the first format-converted electronic file can orderly convert the first format-converted electronic file into a long-term preservation electronic file, avoids certain characteristics that may cause changes in the document content, and ensures that the document is still readable in the future.
[0094] As Figure 3 shown, in an embodiment provided by the present invention, the multi-threaded format conversion of electronic files using a linear pool in combination with the file type and the current format includes:
[0095] A1. Obtain the thread status information of the linear pool, and perform thread configuration for the electronic file in combination with the thread status information;
[0096] A2. Determine the target format according to the file type;
[0097] A3. Analyze the combination of the current format and the target format to determine whether format conversion is required, and obtain the first judgment result;
[0098] A4. When the first judgment result is that format conversion is required, perform file recognition and decomposition according to the current format to obtain the first processed electronic file;
[0099] A5. Perform sub-information analysis on the first processed electronic file to determine whether there is sub-information that needs to be processed secondarily, and obtain the second judgment result;
[0100] A6. Screen and process the sub-information according to the second judgment result to obtain the second processed electronic file;
[0101] A7. Analyze the mapping relationship between the current format and the target format;
[0102] A8. Perform conversion on the second processed electronic file according to the mapping relationship to obtain the second processed electronic file in the target format, and obtain the first format-converted electronic file.
[0103] In the above technical solution, when performing thread configuration for the electronic file in combination with the thread status information, dynamic configuration is performed according to the thread status information, including:
[0104] Obtain the real-time status of the thread to get the thread real-time status information;
[0105] Predict the task processing time based on the thread real-time status information to obtain the thread predicted time;
[0106] Allocate threads for the electronic file based on the thread predicted time to implement thread configuration for the electronic file.
[0107] In the above technical solution, when the first judgment result is that format conversion is not required, the electronic file is directly used as the first format conversion electronic file for subsequent step analysis and processing.
[0108] In the above technical solution, when screening and processing sub-information according to the second judgment result, when the second judgment result is that there are sub-information that needs to be processed twice, screen out the sub-information that needs to be processed twice, and then perform information processing on the screened sub-information to obtain the twice-processed sub-information. Then, obtain the second processed electronic file according to the twice-processed sub-information and the sub-information that does not need to be processed twice. When the second judgment result is that there is no sub-information that needs to be processed twice, directly analyze the mapping relationship between the current format and the target format.
[0109] In the above technical solution, by combining the thread status information to perform thread configuration for the electronic file, the dynamic management of thread configuration is enabled, so that the electronic file can be allocated according to the thread status, avoiding a long waiting time for the electronic file to be processed, improving the efficiency of thread processing. Moreover, by judging whether format conversion is required, the diversion of electronic files is realized, avoiding invalid processing of electronic files that are already in the target format, reducing the waste of unnecessary time, ensuring the effectiveness of target format conversion, and by judging whether there is sub-information that needs to be processed twice, secondary processing is performed when the content of the electronic file is relatively complex, ensuring the standardization of the content of the electronic file, avoiding the phenomenon that complex electronic files are difficult to convert or cannot be converted, and ensuring the progress of format conversion.
[0110] In an embodiment provided by the present invention, when standardizing the format of the first format conversion electronic file according to the message queue, monitor the message queue, obtain the first format conversion electronic file to be processed in the message queue, and obtain the long-term storage format of the target format for the first format conversion electronic file. Then, perform format processing on the first format conversion electronic file in combination with the long-term storage format of the target format to obtain the target format electronic file.
[0111] In the above technical solution, when converting the electronic file in the first format to obtain the long-term storage format of the target format, the long-term storage format is determined based on the target format and the file type, and format processing is performed according to the determined long-term storage format to obtain the final target format electronic file.
[0112] The above technical solution monitors the message queue so that format conversion and processing can be carried out in an orderly manner according to the order of the message queue, so that the first format converted electronic file is converted into a long-term stored electronic file, and the readability of the target format electronic file is determined, which provides convenience for file management, and at the same time can prevent the document content from being changed, thereby improving the security of the document content.
[0113] like Figure 4 As shown, in one embodiment provided by the present invention, using electronic file parsing information to detect electronic files in a target format includes:
[0114] Y1. Retrieve the parsing solution for the target format electronic file and determine the target parsing solution;
[0115] Y2. Identify and parse the target format electronic file according to the target parsing solution to obtain parsing information of the target format electronic file;
[0116] Y3. Retrieve electronic file parsing information of the target format electronic file, and use the verification model to compare, analyze, and evaluate the electronic file parsing information with the target format electronic file parsing information to obtain electronic file verification data;
[0117] Y4. Determine the quality inspection results based on the electronic document inspection data, and generate an electronic document format conversion inspection report based on the quality inspection results;
[0118] Y5. Based on the electronic file format conversion test report, correct the target format electronic file to obtain the target format electronic correction file.
[0119] In the above technical solution, the target parsing solution is a pre-determined parsing method for the target format.
[0120] In the above technical solution, the inspection model includes: a comparison module and an evaluation module, wherein the comparison module performs corresponding matching on the electronic file parsing information and the target format electronic file parsing information, and performs difference analysis according to the corresponding matching results to obtain comparative analysis data, and then the evaluation module performs quality analysis and evaluation on the format conversion processing process based on the comparative analysis data, and performs quality assessment analysis on the comparative analysis data according to the quality assessment mapping relationship to obtain quality assessment data.
[0121] In the above technical solution, the electronic document inspection data includes comparative analysis data and quality assessment data.
[0122] In the above technical solution, when determining the quality inspection result according to the electronic file inspection data, it is determined whether it is necessary to correct the electronic file in the target format according to the quality assessment data analysis.
[0123] In the above technical solution, when generating an electronic file format conversion inspection report based on the quality inspection result, artificial intelligence technology is used to automatically generate the inspection report, including: retrieving the inspection report template according to the quality inspection result to obtain the target inspection report template, and filling the quality inspection result into the target inspection report template for the first information filling to obtain the initial inspection report, and then filling the second information into the initial inspection report according to the electronic file inspection data to obtain the final inspection report. When filling the second information into the initial inspection report according to the electronic file inspection data, identify the missing information for the initial inspection report, obtain the missing information, and perform feature analysis on the missing information to obtain the missing information features. Perform data matching analysis and screening in the electronic file inspection data according to the missing information features to obtain the target screening data, and then fill the target screening data into the initial inspection report to obtain the inspection report after secondary filling. Then, analyze the electronic file inspection data according to the target screening data to determine whether there is remaining data in the electronic file inspection data, and perform importance analysis and judgment on the remaining data. If the remaining data is not important, discard the remaining data and use the inspection report after secondary filling as the final inspection report. If there is important data in the remaining data, extract the important data and supplement the extracted important data in the inspection report after secondary filling to obtain the final inspection report.
[0124] In the above technical solution, when correcting the electronic file in the target format in combination with the electronic file format conversion inspection report, obtain the comparison analysis data according to the electronic file format conversion inspection report, determine the correction information according to the comparison analysis data, and adjust the electronic correction file in the target format according to the correction information to obtain the electronic correction file in the target format. Among them, the correction information includes text, font, font size, line spacing, etc.
[0125] The above technical solution detects the target format electronic file by using the electronic file parsing information to clarify the differences between the electronic files before and after format conversion, ensuring the consistency between the target format electronic file and the original electronic file. Moreover, by identifying and parsing the target format electronic file according to the target parsing scheme, the data information for comparison verification and quality assessment has similarity, ensuring that the data information can be compared, guaranteeing the progress of the inspection, and generating an electronic file format conversion detection report based on the quality inspection results to realize the summary of the data information of the quality inspection results, facilitating the feedback of the inspection results, and at the same time providing convenience for data retrieval for subsequent calibration. In addition, by combining the electronic file format conversion detection report to correct the target format electronic file, the adjustment of the target format electronic file is realized, and the abnormal phenomena in the target format electronic file are corrected in a timely manner, ensuring the accuracy of the target format electronic correction file and reducing the error of file management caused by the deviation of the target format electronic file.
[0126] As Figure 5 shown, in an embodiment provided by the present invention, when correcting the target format electronic file in combination with the electronic file format conversion detection report, format conversion processing optimization is also performed according to the electronic file format conversion detection report, including:
[0127] E1. Identify the quality inspection results based on the electronic file format conversion detection report;
[0128] E2. Determine whether optimization adjustment is required according to the quality inspection results to obtain a preliminary analysis result;
[0129] E3. When the preliminary analysis result indicates that optimization adjustment is required, retrieve the electronic file inspection data and obtain format conversion processing evaluation data according to the electronic file inspection data;
[0130] E4. Analyze the problems in combination with the process of format conversion processing for the format conversion processing evaluation data to determine the format conversion processing problem steps;
[0131] E5. Analyze the associated factors for the format conversion processing problem steps and determine the influence relationship between the associated factors and the format conversion processing problem steps;
[0132] E6. Conduct optimization analysis for the problem steps in combination with the influence relationship to determine the associated factor optimization scheme;
[0133] E7. Optimize and adjust the process of format conversion processing according to the associated factor optimization scheme to obtain the optimized format conversion processing after adjustment.
[0134] In the above technical solution, when determining whether optimization adjustment is required based on the quality inspection results, if the quality evaluation data is within the allowable error range, no optimization adjustment is required.
[0135] In the above technical solution, when the preliminary analysis result is that no optimization adjustment is required, no format conversion processing optimization is required.
[0136] In the above technical solution, the influence relationship between the associated factors and the problem steps includes: positive influence relationship and reverse influence relationship, and the influence factors are respectively defined in the positive influence relationship and the reverse influence relationship.
[0137] The above technical solution realizes the optimization of format conversion processing, reduces the error of format conversion processing, and improves the accuracy of the target format electronic file. By analyzing the problems in combination with the format conversion processing evaluation data and the process of format conversion processing, the steps where the problems occur can be accurately located, so as to start from the problem steps. By analyzing the associated factors of the format conversion processing problem steps, the optimization scheme of the associated factors can be determined more quickly, and then the optimization adjustment of the format conversion processing can be efficiently realized, so that the optimized format conversion processing can be obtained in a short time and the quality of format conversion can be improved.
[0138] In an embodiment provided by the present invention, after determining the current format of the electronic file, a log file is established for the electronic file, and then during the format conversion process of the electronic file, progress monitoring is performed through monitoring nodes to obtain the progress information of the electronic file format conversion, and the progress information of the electronic file format conversion is recorded in the log file to obtain the electronic file log record information. When pre-archiving the target format electronic file according to the quality inspection results, the electronic file log record information is combined with the target format electronic file to wait for archiving processing.
[0139] In the above technical solution, when recording according to the progress information of the electronic file format conversion in the log file, the process of the electronic file format conversion is also analyzed according to the progress information of the electronic file format conversion, including: dividing the process of the electronic file format conversion into nodes according to steps to determine the processing nodes of the electronic file format conversion; performing node performance analysis according to the progress information of the electronic file format conversion for each processing node of the electronic file format conversion to determine whether there is a busy phenomenon in the processing nodes of the electronic file format conversion, and obtaining a preliminary analysis and judgment result of the nodes; when the preliminary analysis and judgment result of the nodes indicates that there is a busy phenomenon in the processing nodes of the electronic file format conversion, determining the busy processing nodes of the electronic file format conversion, and further analyzing whether there is an excessive number of data to be processed beyond the preset quantity for the busy processing nodes of the electronic file format conversion in combination with the progress information of the electronic file format conversion to obtain a secondary analysis and judgment result of the nodes; when the secondary analysis and judgment result of the nodes indicates that there is an excessive number of data to be processed beyond the preset quantity for the busy processing nodes of the electronic file format conversion, performing performance expansion processing on the busy processing nodes of the electronic file format conversion, so as to use the processing nodes of the electronic file format conversion after performance expansion processing to perform corresponding electronic file format conversion processing.
[0140] In the above technical solution, when monitoring the progress through the monitoring nodes, the monitoring information of the monitoring nodes is also obtained, and then it is analyzed whether there is a damage phenomenon for the monitoring nodes according to the monitoring information of the monitoring nodes. When there is a damage phenomenon for the monitoring nodes, the damaged monitoring nodes are determined and notified for the damaged monitoring nodes.
[0141] In the above technical solution, the electronic file log record information includes the input file, output file, conversion tool used, conversion time, etc.
[0142] In the above technical solution, when combining the electronic file log record information with the target format electronic files waiting for archiving processing, the electronic file log record information is matched with the target format electronic files, and the electronic file log record information and the target format electronic files are combined according to the matching result and then wait for the electronic file archiving processing.
[0143] In the above technical solution, there are various ways of distributed storage, such as local storage, cloud storage, etc.
[0144] The above technical solution enables progress recording during the process of the multi-format conversion method for a large number of electronic files through a log file, so as to record in detail the progress of the format conversion of electronic files in the electronic file log record information, display the multi-format conversion method for a large number of electronic files intuitively in the electronic file log record information, and provide convenience for the archiving of electronic files by combining the electronic file log record information with the target format electronic files waiting for archiving processing. This makes the archiving management of electronic files include not only electronic files but also electronic file log record information, providing convenience for information traceability and facilitating the management of electronic files.
[0145] In an embodiment provided by the present invention, the multi-format conversion method for a large number of electronic files also performs information feedback through a graphical interface. The format conversion progress is determined according to the log file in combination with the electronic file log record information to obtain the electronic file format conversion progress data, and the electronic file format conversion progress data is presented in feedback on the graphical interface. And after the electronic file completes the format conversion, the result is displayed for the target format electronic correction file.
[0146] In the above technical solution, the graphical interface is an interactive display tool.
[0147] The above technical solution enables relevant personnel to intuitively obtain the progress of electronic files during the multi-format conversion of a large number of electronic files by presenting the electronic file format conversion progress data in feedback on the graphical interface. And after the electronic file completes the format conversion, the result is displayed for the target format electronic correction file, enabling relevant personnel to clearly know that the electronic file has completed the format conversion and also to know what the target format electronic file looks like.
[0148] As Figure 6 shown, an embodiment of the present invention provides a multi-format conversion system for a large number of electronic files, including: an archive receiving module, an identification and parsing module, a format conversion module, a quality inspection module, a storage management module, a log recording module, and a feedback display module;
[0149] The archive receiving module is used to receive a large number of electronic files to obtain electronic files, and determine the file type and current format of the electronic files;
[0150] The identification and parsing module is used to match the parsing scheme according to the file type of the electronic file, and perform identification and parsing on the electronic file according to the matching result to obtain the electronic file parsing information;
[0151] The format conversion module is used to perform format conversion processing on the electronic file by using a linear pool in combination with the file type and the current format to obtain the target format electronic file;
[0152] The quality inspection module is used to inspect the electronic file in the target format by using the electronic file parsing information to obtain a quality inspection result;
[0153] The storage management module is used to pre-archive the electronic file in the target format according to the quality inspection result;
[0154] The log recording module is used to establish a log file for the electronic file, and then during the format conversion process of the electronic file, progress monitoring is performed through a monitoring node to obtain the progress information of the electronic file format conversion, and the progress information of the electronic file format conversion is recorded in the log file to obtain the electronic file log recording information;
[0155] The feedback display module is used to determine the format conversion progress based on the log file in combination with the electronic file log recording information to obtain the electronic file format conversion progress data, and the electronic file format conversion progress data is presented in a graphical interface for feedback, and the result of the target format electronic correction file is displayed after the electronic file completes format conversion.
[0156] The above technical solution realizes the intelligent and automatic management of a large number of electronic archives, enabling the standardization and pre-archiving of the target format for any format of electronic files, improving the performance of format conversion. Through the linear pool, format conversion processing can be performed in parallel with multiple threads, effectively improving the efficiency of format conversion, and then realizing the efficient management of the pre-archiving of electronic files. Through the recognition and parsing module, the electronic file is recognized and parsed, so that after obtaining the electronic file in the target format, the quality inspection module can inspect the electronic file in the target format in combination with the electronic file parsing information, which can not only clarify the quality of the electronic file format conversion, but also ensure the accuracy of the electronic file in distributed storage, improving the accuracy of electronic archive management. When the format conversion module performs format conversion processing, a linear pool is used to achieve multi-threaded parallel processing, enabling the format conversion of multiple electronic files to be completed in a short time, improving the efficiency of format conversion, and combining the file type and the current format in the linear pool to perform format conversion processing on the electronic file, enabling corresponding format conversion processing for any file type and any format of electronic file, improving the performance of the thread, and at the same time expanding the applicable range of the multi-format conversion method for a large number of electronic archives.
[0157] Those skilled in the art should understand that the first and second in the present invention only refer to different application stages.
[0158] Other embodiments of the present disclosure will be readily apparent to those skilled in the art in view of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed herein. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0159] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A method for multi-format conversion of massive electronic files, characterized in that, Including: Receiving a large number of electronic files to obtain electronic documents, and determining the document type and current format of the electronic documents; Performing parsing scheme matching according to the document type of the electronic document, and performing identification and parsing on the electronic document according to the matching result to obtain electronic document parsing information; Performing format conversion processing on the electronic document by using a linear pool in combination with the document type and the current format to obtain an electronic document in the target format; Detecting the electronic document in the target format by using the electronic document parsing information to obtain a quality inspection result; Performing pre-filing on the electronic document in the target format according to the quality inspection result.
2. The method for multi-format conversion of a large number of electronic files according to claim 1, characterized in that Performing identification and parsing on the electronic document according to the matching result, including: Determining a parsing scheme; Adjusting the parsing scheme in combination with the current format to obtain an adjusted parsing scheme; Performing identification on the electronic document according to the adjusted parsing scheme to obtain electronic document identification information; Parsing the electronic document identification information, and extracting effective information from the electronic document identification information to obtain electronic document parsing information; Storing the data of the electronic document parsing information.
3. The method for multi-format conversion of massive electronic files according to claim 1, wherein Performing format conversion processing on the electronic document by using a linear pool in combination with the document type and the current format, including: Performing multi-threaded format conversion on the electronic document by using a linear pool in combination with the document type and the current format to obtain a first format-converted electronic document; Forming a message queue according to the acquisition order of the first processed electronic document in the target format; Performing format standardization on the first format-converted electronic document according to the message queue to obtain an electronic document in the target format.
4. The method for multi-format conversion of a large amount of electronic files according to claim 3, wherein Performing multi-threaded format conversion on the electronic document by using a linear pool in combination with the document type and the current format, including: Obtaining the thread status information of the linear pool, and performing thread configuration on the electronic document in combination with the thread status information; Determining the target format according to the document type; Analyzing the current format in combination with the target format to judge whether format conversion is required, and obtaining a first judgment result; When the first judgment result is that format conversion is required, performing file identification and disassembly according to the current format to obtain a first processed electronic document; Performing sub-information analysis on the first processed electronic document to judge whether there is sub-information that needs secondary processing, and obtaining a second judgment result; Performing sub-information screening and processing according to the second judgment result to obtain a second processed electronic document; Analyzing the mapping relationship between the current format and the target format; Performing conversion on the second processed electronic document according to the mapping relationship to obtain a second processed electronic document in the target format, and obtaining a first format-converted electronic document.
5. The method for multi-format conversion of massive electronic files according to claim 3, characterized in that When performing format standardization on the first format-converted electronic document according to the message queue, listening to the message queue, obtaining the first format-converted electronic document to be processed in the message queue, and obtaining the long-term preservation format of the target format for the first format-converted electronic document, and then performing format processing on the first format-converted electronic document in combination with the long-term preservation format of the target format to obtain an electronic document in the target format.
6. The method for multi-format conversion of massive electronic files according to claim 1, characterized in that Detecting the electronic document in the target format by using the electronic document parsing information, including: Invoking a parsing scheme for the electronic document in the target format to determine a target parsing scheme; Perform recognition and parsing on the electronic file in the target format according to the target parsing scheme to obtain the parsing information of the electronic file in the target format; Retrieve the parsing information of the electronic file in the target format, and use the inspection model to perform comparative analysis and evaluation on the parsing information of the electronic file and the parsing information of the electronic file in the target format to obtain the inspection data of the electronic file; Determine the quality inspection result based on the inspection data of the electronic file, and generate an electronic file format conversion inspection report based on the quality inspection result; Perform correction on the electronic file in the target format in combination with the electronic file format conversion inspection report to obtain the corrected electronic file in the target format.
7. The method for multi-format conversion of a large amount of electronic files according to claim 6, characterized in that When performing correction on the electronic file in the target format in combination with the electronic file format conversion inspection report, also perform optimization of the format conversion process according to the electronic file format conversion inspection report, including: Identify the quality inspection result based on the electronic file format conversion inspection report; Determine whether optimization adjustment is required according to the quality inspection result to obtain the preliminary analysis result; When the preliminary analysis result is that optimization adjustment is required, retrieve the inspection data of the electronic file, and obtain the evaluation data of the format conversion process according to the inspection data of the electronic file; Perform problem analysis on the evaluation data of the format conversion process in combination with the process of the format conversion process to determine the problem steps of the format conversion process; Perform associated factor analysis on the problem steps of the format conversion process, and determine the influence relationship between the associated factors and the problem steps of the format conversion process; Perform optimization analysis on the problem steps in combination with the influence relationship to determine the optimization scheme for the associated factors; Perform optimization adjustment on the process of the format conversion process according to the optimization scheme for the associated factors to obtain the optimized format conversion process.
8. The method for multi-format conversion of a large number of electronic files according to claim 1, wherein After determining the current format of the electronic file, establish a log file for the electronic file. Then, during the format conversion process of the electronic file, monitor the progress through the monitoring node to obtain the progress information of the electronic file format conversion, and record it in the log file to obtain the log record information of the electronic file. And when pre-archiving the electronic file in the target format according to the quality inspection result, combine the log record information of the electronic file with the electronic file in the target format to wait for archiving processing.
9. The method for multi-format conversion of a large number of electronic files according to claim 8, wherein The multi-format conversion method for massive electronic archives also performs information feedback through a graphical interface. Determine the format conversion progress according to the log file in combination with the log record information of the electronic file to obtain the format conversion progress data of the electronic file, and present the format conversion progress data in the graphical interface. And display the result for the corrected electronic file in the target format after the electronic file completes the format conversion.
10. A multi-format conversion system for a large amount of electronic files, characterized in that, The multi-format conversion system for massive electronic archives includes: an archive receiving module, a recognition and parsing module, a format conversion module, a quality inspection module, a storage management module, a log recording module, and a feedback display module; The archive receiving module is used to receive massive electronic archives to obtain electronic files, and determine the file type and current format of the electronic files; The recognition and parsing module is used to match the parsing scheme according to the file type of the electronic file, and perform recognition and parsing on the electronic file according to the matching result to obtain the parsing information of the electronic file; The format conversion module is used to perform format conversion processing on the electronic file by combining the linear pool with the file type and the current format to obtain the electronic file in the target format; The quality detection module is used to detect the electronic file in the target format by using the electronic file parsing information to obtain the quality detection result; The storage management module is used to perform pre-archiving on the electronic file in the target format according to the quality detection result; The log recording module is used to establish a log file for the electronic file, and then during the format conversion process of the electronic file, progress monitoring is performed through the monitoring node to obtain the progress information of the electronic file format conversion, and the progress information of the electronic file format conversion is recorded in the log file to obtain the electronic file log recording information; The feedback display module is used to determine the format conversion progress according to the log file combined with the electronic file log recording information to obtain the electronic file format conversion progress data, and the electronic file format conversion progress data is presented in a graphical interface for feedback, and the result of the target format electronic correction file is displayed after the electronic file completes format conversion.