Paper format detection method and system, terminal equipment and storage medium
By extracting key paper information from the local client and uploading it to the cloud server for template matching, the confidentiality and accuracy of paper format detection in the existing technology is solved, and efficient and accurate paper format detection is achieved.
Patent Information
- Application Number
- CN202510150835.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-03-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing paper format detection technology requires the paper author to manually specify the template and upload the paper to the server, resulting in poor confidentiality of the paper content and high risk of leakage, and lack of a mechanism to automatically match the paper template, which affects the detection accuracy.
By installing plug-ins or localization tools on the local client, scanning and extracting key information in the paper to be detected, uploading it to the cloud server for template matching, and downloading the template of the latest paper format detection rules for detection, realizing local detection without uploading the complete paper.
It improves the confidentiality of the paper content, reduces the risk of leakage, enhances the accuracy of detection, and does not need to upload the paper to the cloud server, meeting the personalized needs of paper format detection.
Smart Images

Figure CN119670688A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of paper format detection, and in particular to a paper format detection method, system, terminal device and storage medium. Background Art
[0002] Current paper format detection technology usually requires the author to upload the paper to the server, and also requires manual specification of the template, so that the paper format detection can be completed accurately. At the same time, the server will retain a complete copy of the paper. Some academic papers will retain a large amount of research results that are not suitable for public disclosure, or personal information that is not wanted to be disclosed for the time being, in order to prevent the labor results from being stolen and the early investment in research and development funds from being wasted.
[0003] The reason why the authors of papers are required to manually specify the template is that there is currently no effective mechanism to automatically match the paper with the template. The reason why the authors are required to upload the paper to the server is that different institutions or schools generally have different format or layout requirements for paper format detection rules. Personalized templates can only be designed and maintained on the server side to maximize the needs of format detection and layout changes.
[0004] Therefore, how to improve the confidentiality of paper contents during paper format detection and reduce the risk of paper contents being leaked becomes a problem that needs to be solved.
[0005] The above information disclosed in the background section is only for enhancing understanding of the background of the present application and therefore it may contain information that does not form the prior art known to a person of ordinary skill in the art. Summary of the invention
[0006] The present application provides a paper format detection method, system, terminal device and storage medium to solve the problems existing in the prior art.
[0007] In a first aspect, the present application provides a paper format detection method, which is applied to a local client and includes the following steps: S1. Download and install plug-ins or localization tools; S2. Use a plug-in or localization tool to scan the paper to be tested, and extract key information from the paper to be tested for matching the paper template to obtain the extraction result; The extraction results include: extracting key information and not extracting any key information; S3. If the extraction result is that key information is extracted, the key information is uploaded to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; If the extraction result is that no key information is extracted, matching cannot be performed and S4 is executed; S4. Download a paper template or a universal paper template that contains the latest paper format detection rules, and use the paper template or the universal paper template that contains the latest paper format detection rules to detect the format of the paper to be detected, and generate the paper format detection result.
[0008] In some embodiments, the key information includes: specific content of training level, school name, college name, and subject name.
[0009] In some embodiments, in S2, key information is extracted, including: a1. Extract all key information; a2. Extract no more than three items of key information.
[0010] In some embodiments, in S3, the cloud server matches the paper template according to the key information in a matching manner, including: b1. Exact match: If all key information is extracted, a specific paper template is matched based on all the key information; b2. Fuzzy matching: If no more than three items of key information are extracted, multiple paper templates are matched based on the three items of key information.
[0011] In some embodiments, the fuzzy matching further includes: selecting a correct paper template from a plurality of paper templates.
[0012] In some embodiments, in S2, extracting key information from the paper to be detected for matching the paper template includes the following steps: S201, reading all text contents of the cover of the paper to be detected; S202: extracting the key information of the cover of the paper to be detected.
[0013] In some embodiments, it also includes: S5. When the paper format detection result is: the currently detected paper format does not comply with the paper format detection rules of the paper template, the paper is automatically typeset to comply with the paper format detection rules of the paper template.
[0014] In a second aspect, the present application provides a paper format detection system, comprising: Download and install modules, download and install plug-ins or localization tools; The extraction module uses a plug-in or a localization tool to scan the paper to be detected, and extracts key information in the paper to be detected for matching the paper template to obtain an extraction result; the extraction result includes: extracting key information and not extracting any key information; The matching module, if the extraction result is that the key information is extracted, uploads the key information to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; if the extraction result is that no key information is extracted, the matching cannot be performed, and the next step is executed; The detection module downloads a paper template or a universal paper template containing the latest paper format detection rules, and detects the format of the paper to be detected through the paper template or the universal paper template containing the latest paper format detection rules to generate a paper format detection result.
[0015] In a third aspect, the present application provides a terminal device, including: Memory for storing computer programs; A processor is used to read the computer program in the memory and execute the method described.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the described method when executed by a processor.
[0017] The present application provides a paper format detection method, system, terminal device and storage medium, wherein the paper format detection method is applied to a local client, including: downloading and installing a plug-in or a localization tool; using the plug-in or the localization tool to scan the paper to be detected, and extracting key information in the paper to be detected for matching the paper template to obtain an extraction result; the extraction result includes: extracting key information and not extracting any key information; if the extraction result is that the key information is extracted, the key information is uploaded to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; if the extraction result is that no key information is extracted, the match cannot be performed, and the next step is executed; downloading a paper template or a universal paper template containing the latest paper format detection rules, and detecting the format of the paper to be detected through the paper template or the universal paper template containing the latest paper format detection rules to generate a paper format detection result.
[0018] This application uses a plug-in or localization tool to scan and extract key information used to match the paper template in the paper to be tested. The key information does not contain any scientific research results or confidential content. The key information is uploaded to the cloud server. After the cloud server matches the paper template containing the latest paper format detection rules, the local client downloads the paper template and uses the paper template to detect the format of the paper to be tested. The above detection method does not require uploading the paper to be tested to the cloud server, and the paper format detection can be implemented on the local client. In the process of paper template matching and paper format detection, the confidentiality of the paper content is improved and the risk of paper content being leaked is reduced. In addition, the cloud server automatically matches the paper template according to the key information, and the matched paper template is the latest template, which is conducive to improving the accuracy of detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0020] Figure 1 A timing diagram of the paper format detection method provided for this application; Figure 2 A schematic diagram of the paper format detection system provided for this application; Figure 3 A schematic diagram of a terminal device provided for this application.
[0021] Description of Figure Numbers: 11. Download and installation module; 12. Extraction module; 13. Matching module; 14. Detection module; 21. Processor; 22. Memory.
[0022] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "an" and "the" used in the embodiments of the present application are also intended to include plural forms, unless the context clearly indicates other meanings.
[0025] In the description of the present application, "multiple" or "several" means two or more than two, unless otherwise clearly and specifically defined.
[0026] The words "if" or "when" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting", depending on the context.
[0027] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system that includes a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements that are inherent to such product or system.
[0028] The Ministry of Education now requires that graduation theses written by students must meet the format standards. Current providers of graduation thesis services require students to upload their theses to a server, which will generate a test report, and then the students will download the report to make modifications. However, since many students, especially doctoral students, are involved in research topics that involve confidential content, uploading the thesis directly to the server for testing can easily lead to the leakage of confidential content.
[0029] To solve the above problems, the current processing method is to install a tool containing fixed detection rules or general detection rules locally to complete the detection locally. However, since the template cannot be automatically matched and cannot be updated for a long time, the detection accuracy is very poor.
[0030] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0031] Figure 1 The timing diagram of the paper format detection method provided for this application is as follows: Figure 1 As shown, a paper format detection method provided by the present application is applied to a local client and includes the following steps: S1. Download and install plug-ins or localization tools in editing tools such as word or wps; Specifically, in the embodiment of the present application, the localization tool is an independent localization application software developed by the service provider and runs on the local client.
[0032] More specifically, in the embodiment of the present application, the plug-in or localization tool only needs to be downloaded once on the local client. The purpose of downloading the plug-in or localization tool is to complete the detection on the local client without uploading the paper to be detected.
[0033] It should be noted that the plug-in comes with WPS.
[0034] S2. Use a plug-in or localization tool to scan the paper to be tested, and extract key information from the paper to be tested for matching the paper template to obtain the extraction result; The extraction results include: extracting key information and not extracting any key information; In some embodiments, the key information includes: specific content of training level, school name, college name, and subject name.
[0035] In some embodiments, in S2, key information is extracted, including: a1. Extract all key information, i.e. the specific content of training level, school name, college name, and subject name; a2. Extract no more than three items of key information, namely, 1-3 items from the specific contents of training level, school name, college name, and subject name.
[0036] In some embodiments, in S2, extracting key information from the paper to be detected for matching the paper template includes the following steps: S201, reading all text contents of the cover of the paper to be detected paragraph by paragraph or cell by cell, wherein the paper to be detected is a word file; S202: extracting the key information of the cover of the paper to be detected.
[0037] Specifically, in an embodiment of the present application, the paper template is stored in the cloud server, and the cloud server updates the paper template in real time to ensure that the paper template in the cloud server is a paper template that contains the latest paper format detection rules.
[0038] S3. If the extraction result is that key information is extracted, the key information is uploaded to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; If the extraction result is that no key information is extracted, matching cannot be performed and S4 is executed; Specifically, in the embodiment of the present application, after the cloud server obtains the key information, it searches in the template library according to the key information and matches the corresponding paper template.
[0039] The template library stores paper templates for different training levels, different schools, different colleges and different disciplines.
[0040] In some embodiments, in S3, the cloud server matches the paper template according to the key information in a matching manner, including: b1. Exact match: If all key information is extracted, a specific paper template is matched based on all the key information; That is, based on all the extracted key information, a unique paper template can be matched.
[0041] b2. Fuzzy matching: If no more than three items of key information are extracted, multiple paper templates are matched based on the three items of key information.
[0042] In some embodiments, the fuzzy matching further includes: selecting a correct paper template from a plurality of matched paper templates, the paper template containing the latest paper format detection rules.
[0043] S4. Download a paper template or a universal paper template that contains the latest paper format detection rules, and use the paper template or the universal paper template that contains the latest paper format detection rules to detect the format of the paper to be detected, and generate the paper format detection result.
[0044] Specifically, in the embodiment of the present application, the local client detects the format of the paper to be detected in a similar manner to the cloud server detection method, that is, it uses template metadata drive to analyze and scan the content of the paper to be detected one by one, and performs consistency comparison to obtain the detection result. The specific implementation method of this part can be implemented based on the existing technology and will not be repeated here.
[0045] S5. When the paper format detection result is: the currently detected paper format does not comply with the paper format detection rules of the paper template, the paper is automatically typeset to comply with the paper format detection rules of the paper template.
[0046] Traditional paper detection technology solutions do not consider downloading the latest paper template to the local client to solve the problem of confidentiality of paper content. General localized tools can only use universal or fixed paper templates for detection. As time goes by, the rules keep changing and the accuracy is getting worse. Moreover, there is no mechanism to automatically extract key information related to the paper template from the paper, but it relies on manual input of template-related information. Errors are prone to occur during the operation, resulting in low matching rate and affecting the accuracy of paper detection.
[0047] This application uses a plug-in or localization tool to scan and extract key information used to match the paper template in the paper to be tested. The key information does not contain any scientific research results or confidential content. The key information is uploaded to the cloud server. After the cloud server matches the paper template containing the latest paper format detection rules, the local client downloads the paper template and uses the paper template to detect the format of the paper to be tested. The above detection method does not require uploading the paper to be tested to the cloud server, and the paper format detection can be achieved on the local client. In the process of paper template matching and paper format detection, the confidentiality of the paper content is improved and the risk of paper content being leaked is reduced. In addition, the cloud server automatically matches the paper template according to the key information, and the matched paper template is the latest template, which is conducive to improving the matching rate of the paper template and the accuracy of paper detection.
[0048] It should be understood that, although the various steps in the flowcharts in the above-described embodiments are sequentially displayed according to the indications of the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily to be carried out sequentially, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0049] This application also provides a paper format detection system, such as Figure 2 As shown, including: Download and install module 11, download and install plug-ins or localization tools; The extraction module 12 uses a plug-in or a localization tool to scan the paper to be detected, and extracts key information in the paper to be detected for matching the paper template to obtain an extraction result; the extraction result includes: extracting key information and not extracting any key information; Matching module 13, if the extraction result is that key information is extracted, the key information is uploaded to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; if the extraction result is that no key information is extracted, matching cannot be performed, and the next step is executed; The detection module 14 downloads a paper template or a general paper template containing the latest paper format detection rules, and detects the format of the paper to be detected by using the paper template or the general paper template containing the latest paper format detection rules to generate a paper format detection result.
[0050] The present application also provides a terminal device, such as Figure 3 As shown, including: A memory 22, used for storing computer programs; The processor 21 is configured to read the computer program in the memory 22 and execute the method described.
[0051] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by the processor 21, they are used to implement the method described.
[0052] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0053] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0054] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A paper format detection method, characterized in that: Applied to the local client, it includes the following steps: S1. Download and install plug-ins or localization tools; S2. Use a plug-in or localization tool to scan the paper to be tested, and extract key information from the paper to be tested for matching the paper template to obtain the extraction result; The extraction results include: extracting key information and not extracting any key information; S3. If the extraction result is that key information is extracted, the key information is uploaded to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; If the extraction result is that no key information is extracted, matching cannot be performed and S4 is executed; S4. Download a paper template or a universal paper template that contains the latest paper format detection rules, and use the paper template or the universal paper template that contains the latest paper format detection rules to detect the format of the paper to be detected, and generate the paper format detection result.
2. The method according to claim 1, characterized in that The key information includes: the specific content of training level, school name, college name, and subject name.
3. The method according to claim 2, characterized in that In S2, key information is extracted, including: a1. Extract all key information; a2. Extract no more than three items of key information.
4. The method according to claim 3, characterized in that In S3, the cloud server matches the paper template according to the key information, including: b1. Exact match: If all key information is extracted, a specific paper template is matched based on all the key information; b2. Fuzzy matching: If no more than three items of key information are extracted, multiple paper templates are matched based on the three items of key information.
5. The method according to claim 4, characterized in that The fuzzy matching also includes: selecting a correct paper template from multiple paper templates.
6. The method according to claim 2, characterized in that In S2, extracting key information from the paper to be detected for matching the paper template includes the following steps: S201, reading all text contents of the cover of the paper to be detected; S202: extracting the key information of the cover of the paper to be detected.
7. The method according to claim 1, characterized in that Also includes: S5. When the paper format detection result is: the currently detected paper format does not comply with the paper format detection rules of the paper template, the paper is automatically typeset to comply with the paper format detection rules of the paper template.
8. A paper format detection system, characterized in that: Applied to local clients, including: Download and install modules, download and install plug-ins or localization tools; The extraction module uses a plug-in or a localization tool to scan the paper to be detected, and extracts key information in the paper to be detected for matching the paper template to obtain an extraction result; the extraction result includes: extracting key information and not extracting any key information; The matching module, if the extraction result is that the key information is extracted, uploads the key information to the cloud server, and the cloud server matches the paper template according to the key information, and the paper template contains the latest paper format detection rules; if the extraction result is that no key information is extracted, the matching cannot be performed, and the next step is executed; The detection module downloads a paper template or a universal paper template containing the latest paper format detection rules, and detects the format of the paper to be detected through the paper template or the universal paper template containing the latest paper format detection rules to generate a paper format detection result.
9. A terminal device, characterized in that: include: Memory for storing computer programs; A processor, configured to read the computer program in the memory and execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Patent Citations
Thesis format detection method
CN111488724A
Template recommendation method, apparatus and device, and storage medium
CN112711937A
Paper format detection and typesetting method and system based on AI
CN117540701A
Official document processing method, device, computer equipment and storage medium
US20220414345A1
Cited By
Paper format detection method and system, storage medium and program product
CN121659932A