Processing method for quickly generating catalog and content in word file import of electronic book

By adding identification symbols to Word files and generating special symbol annotation templates, the problem of inconsistent templates and form designs in traditional information systems is solved, the operation and maintenance efficiency and consistency of directory contents are improved, and the business operation process is simplified.

CN119201851APending Publication Date: 2024-12-27SHANDONG CTRL CLOUD COMPUTING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411254630.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

During the import and form entry process of traditional information systems, the template configuration and form design are inconsistent, resulting in data mismatch, manual maintenance is cumbersome, affecting the user experience, and being unable to unify business operation processes.

Method used

By adding identification symbols to Word files, such as first-level chapter use: &&name$$, second-level chapter use: &name$, content use: ##, generate special symbol labeling templates, set placeholders and data associations, Import it into the template, generate the directory and content based on the identification symbol, compare and obtain the policy similarity to prevent the generation of high similarity.

Benefits of technology

It improves the work efficiency of operation and maintenance personnel, reduces content maintenance processes, improves operability, ensures the consistency of directories and content, avoids the generation of high similarity, and simplifies business operation processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201851A_ABST
    Figure CN119201851A_ABST
Patent Text Reader

Abstract

The invention discloses a processing method for quickly generating a directory and content for importing a word file of an electronic book, and particularly relates to the field of word file processing, which comprises the following steps of: S100, acquiring the word file, and locally storing and analyzing the word file; step S200, adding a special symbol mark to the word file; step S300, removing a cover and a directory of the edited word file, copying the remaining content containing the identification symbol into a txt file, and importing and uploading the txt file into a corresponding book through a website background book; and step S400, creating a special symbol labeling template. According to the method, by adding technical means of identifying questions, paragraphs and the like, the working efficiency of operation and maintenance personnel is effectively improved, the number of processes during content maintenance is reduced, the operability is improved, the contents can be well distinguished from the contents generated before, the contents and the catalogs with high similarity are prevented from being generated, and subsequent use of workers is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of word file processing, and more specifically, to a processing method for quickly generating directories and contents by importing an electronic book word file. Background Art

[0002] Word is a word processor application developed by Microsoft and is a component of the Office software. Microsoft Office Word can be used to create and edit text and graphics in letters, reports, web pages or emails. Compared with WordPad and Notepad, it is more powerful and has more comprehensive performance. It can insert pictures, multimedia, artistic effects, etc. Word documents are widely used in all walks of life, bringing great convenience to office work.

[0003] With the rapid development of economy, the amount of various information data of modern enterprises has increased dramatically. Enterprises often launch information management systems for data management. Most information systems face a lot of initial data work and subsequent data form entry work after they are launched. It is often difficult to ensure the accuracy and consistency of the initial data and the data entered in the later forms. With the development of informatization, many business systems now have the need to output WORD templates in a certain format, and it is not a simple WORD content output, but a WORD document needs to be generated in a certain standard format to be suitable for a specific environment.

[0004] Traditional information systems separate the design work of data import and data form entry. In fact, the configuration of the import template and the design and configuration of the form are repetitive work. After the separate design, the workload increases and it is impossible to ensure that the configuration of the import template and the design of the form are consistent. At the same time, because the form design will change frequently due to business needs, if the import template cannot be modified in time and correctly, it will lead to inconsistencies and mismatches between the data entered through the form and the imported data. Manual maintenance of content operations is cumbersome and repetitive, the workload is huge, and updates are not timely, affecting the user experience of users. The content of the books is complicated, the uniformity is low, the content format is complex, and each book is highly independent. It is impossible to unify the business operation process, and it is urgently needed to be optimized and improved.

[0005] In order to solve the above problems, a technical solution is now provided. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides, by adding identification symbols to chapters, wherein the first-level chapter uses: &&name$, the second-level chapter uses: &name$, when a first-level chapter exists in a second-level chapter, the first-level chapter cannot add content; adding identification symbols to the content, wherein the content uses: ##, each content only needs to be marked at the beginning, and content cannot be added directly under the title, so by adding technical means such as identifying titles and paragraphs, the work efficiency of operation and maintenance personnel is effectively improved, the process during content maintenance is reduced and operability is improved, and it can be well distinguished from previously generated directories and contents, preventing the generation of directories and contents with high similarity, and facilitating subsequent use by staff, so as to solve the problems raised in the above-mentioned background technology.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] Step S100, obtaining a Word file, and locally saving and parsing the Word file;

[0009] Step S200, adding special symbols to the word file;

[0010] Step S300, remove the cover and table of contents from the edited word file, copy the remaining content containing identification symbols into a txt file, and upload the txt file to the corresponding book through the website backend book import;

[0011] Step S400, creating a special symbol annotation template;

[0012] Step S500, importing the saved and parsed Word file into the special symbol annotation template, modifying the special symbols in the special symbol annotation template, and determining the acquisition strategy for each target to be generated according to the special symbols;

[0013] Step S600: quickly generate a directory and content according to the generated acquisition strategy.

[0014] In a preferred embodiment, step S200 further includes the following contents:

[0015] Add identification symbols to chapters. The first-level chapter uses: &&Name$$, and the second-level chapter uses: &Name$. When a first-level chapter has a second-level chapter, content cannot be added to the first-level chapter.

[0016] Add identification symbols to the content. The content is enclosed in ##. Each article only needs to be marked at the beginning. Content cannot be added directly under the title.

[0017] By adopting the above technical solutions, the work efficiency of operation and maintenance personnel can be effectively improved, the process of content maintenance can be reduced and operability can be improved.

[0018] In a preferred embodiment, step S300 further includes the following contents:

[0019] If there is content that needs to be corrected, you can modify it in Word with identification symbols and then upload it again, or make separate adjustments to the corresponding article content in the website backend.

[0020] In a preferred embodiment, step S400 specifically includes the following contents:

[0021] Set placeholders and establish the association between placeholders and data, edit the special symbol annotation initialization template by directly filling in the placeholders, and complete the initialization setting of the template;

[0022] Import the special symbols into the special symbol annotation initialization template, and regularly update and modify the special symbol annotation initialization template to obtain the special symbol annotation template.

[0023] In a preferred embodiment, step S500 specifically includes the following contents:

[0024] Import the saved and parsed Word file into the special symbol annotation template, add specific special symbols according to the chapters and contents of the Word file, and determine the acquisition strategy for each target to be generated according to the special symbols;

[0025] The acquisition strategy is compared with the acquisition strategies in the database to obtain a similarity index.

[0026] By adopting the above technical solution, the acquisition strategy is compared with the acquisition strategy in the database to obtain a similarity index, so as to compare the similarity between the acquisition strategy and the acquisition strategy in the database, which is convenient for subsequent personnel to distinguish them.

[0027] In a preferred embodiment, a similarity index threshold is set, and the similarity index is compared with the similarity index threshold;

[0028] When the similarity index is less than the similarity index threshold, a normal acquisition strategy signal is generated;

[0029] When the similarity index = the similarity index threshold, an abnormal acquisition strategy signal 1 is generated;

[0030] When the similarity index is greater than the similarity index threshold, an abnormal acquisition strategy signal 2 is generated.

[0031] In a preferred embodiment, when an abnormal acquisition strategy signal is generated, the added special symbol is modified, and then a similarity index is obtained and compared with a similarity index threshold until a normal acquisition strategy signal is generated;

[0032] When the abnormal acquisition strategy signal 2 is generated, abnormal alarm processing is performed and an abnormal alarm code is generated.

[0033] By adopting the above technical solution, it is possible to distinguish well from previously generated directories and contents, prevent the generation of directories and contents with high similarity, and facilitate subsequent use by staff.

[0034] In a preferred embodiment, step S600 specifically further includes the following contents:

[0035] When the directory or content needs to be modified, the special symbols in the special symbol annotation template are modified.

[0036] The technical effects and advantages of the processing method for quickly generating directories and contents by importing an electronic book word file of the present invention are as follows:

[0037] 1. By adding identification symbols to chapters, where the first-level chapter uses: &&name$$, and the second-level chapter uses: &name$. When a first-level chapter has a second-level chapter, the first-level chapter cannot add content; add identification symbols to the content, where the content uses: ##. Each content only needs to mark the beginning, and content cannot be added directly under the title. In this way, by adding technical means such as identifying titles and paragraphs, the work efficiency of operation and maintenance personnel can be effectively improved, the process of content maintenance can be reduced, and operability can be improved;

[0038] 2. By setting placeholders and establishing the association between placeholders and data, edit the special symbol annotation initialization template by directly filling in the placeholders, complete the initialization setting of the template, import special symbols into the special symbol annotation initialization template, regularly update and modify the special symbol annotation initialization template to obtain the special symbol annotation template, and then import the Word file into the special symbol annotation template, add specific special symbols, and determine the acquisition strategy for each target to be generated based on the special symbols. After comparison, obtain the similarity index, and then generate a normal acquisition strategy signal, an abnormal acquisition strategy signal one, or an abnormal acquisition strategy signal two based on the obtained similarity index. This can be well distinguished from the previously generated directories and contents, prevent the generation of directories and contents with high similarity, and facilitate subsequent use by staff. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The present invention is a flowchart of a processing method for quickly generating a directory and content by importing an e-book word file. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.

[0041] Example 1

[0042] Figure 1 The present invention provides a processing method for quickly generating a directory and content by importing an e-book word file, which specifically includes the following steps:

[0043] Step S100, obtaining a Word file, and locally saving and parsing the Word file;

[0044] Step S200, adding special symbols to the word file;

[0045] Step S300, remove the cover and table of contents from the edited word file, copy the remaining content containing identification symbols into a txt file, and upload the txt file to the corresponding book through the website backend book import;

[0046] Step S400, creating a special symbol annotation template;

[0047] Step S500, importing the saved and parsed Word file into the special symbol annotation template, modifying the special symbols in the special symbol annotation template, and determining the acquisition strategy for each target to be generated according to the special symbols;

[0048] Step S600: quickly generate a directory and content according to the generated acquisition strategy.

[0049] Step S200 also includes the following contents:

[0050] Add identification symbols to chapters. The first-level chapter uses: &&Name$$, and the second-level chapter uses: &Name$. When a first-level chapter has a second-level chapter, content cannot be added to the first-level chapter.

[0051] Add identification symbols to the content. The content is enclosed in ##. Each article only needs to be marked at the beginning. Content cannot be added directly under the title.

[0052] It should be noted that by adding identification symbols to chapters, where the first-level chapters use: &&Name$, and the second-level chapters use: &Name$, when a first-level chapter has a second-level chapter, the first-level chapter cannot add content; adding identification symbols to the content, where the content uses: ##, each content only needs to mark the beginning, and content cannot be added directly under the title. In this way, by adding technical means such as identifying titles and paragraphs, the work efficiency of operation and maintenance personnel can be effectively improved, the process of content maintenance can be reduced, and operability can be improved.

[0053] Step S300 also includes the following contents:

[0054] If there is content that needs to be corrected, you can modify it in Word with identification symbols and then upload it again, or make separate adjustments to the corresponding article content in the website backend.

[0055] It should be noted that the process of content maintenance is reduced and operability is improved.

[0056] Step S400 specifically includes the following contents:

[0057] Set placeholders and establish the association between placeholders and data, edit the special symbol annotation initialization template by directly filling in the placeholders, and complete the initialization setting of the template;

[0058] Import the special symbols into the special symbol annotation initialization template, and regularly update and modify the special symbol annotation initialization template to obtain the special symbol annotation template.

[0059] It should be noted that, a relationship table between placeholders and data is preset. If the processing is for the paragraph part, the placeholders of the paragraph part are identified, and the relationship table between the placeholders and data is queried. According to the relationship between the placeholders and the corresponding data, a special symbol is retrieved from the database to directly fill the placeholder; if the processing is for the table part, the above method is also adopted, that is, the placeholders of the table part are identified, and the relationship table between the placeholders and data is queried. According to the relationship between the placeholders and the corresponding data, a special symbol is retrieved from the database to directly fill the placeholder.

[0060] Step S500 specifically includes the following contents:

[0061] Import the saved and parsed Word file into the special symbol annotation template, add specific special symbols according to the chapters and contents of the Word file, and determine the acquisition strategy for each target to be generated according to the special symbols;

[0062] The acquisition strategy is compared with the acquisition strategies in the database to obtain a similarity index.

[0063] It should be noted that the acquisition strategy is compared with the acquisition strategy in the database to obtain a similarity index, so as to compare the similarity between the acquisition strategy and the acquisition strategy in the database, which is convenient for subsequent personnel to distinguish them.

[0064] Setting a similarity index threshold, and comparing the similarity index with the similarity index threshold;

[0065] When the similarity index is less than the similarity index threshold, a normal acquisition strategy signal is generated;

[0066] When the similarity index = the similarity index threshold, an abnormal acquisition strategy signal 1 is generated;

[0067] When the similarity index is greater than the similarity index threshold, an abnormal acquisition strategy signal 2 is generated.

[0068] It should be noted that when a normal acquisition strategy signal is generated, it indicates that the similarity between the acquisition strategy and the acquisition strategy in the database is low;

[0069] When an abnormal acquisition strategy signal is generated, it indicates that the acquisition strategy has a medium similarity with the acquisition strategy in the database, and the acquisition strategy needs to be modified;

[0070] When the abnormal acquisition strategy signal 2 is generated, it indicates that the similarity between the acquisition strategy and the acquisition strategy in the database is relatively high, and at this time, an abnormal alarm needs to be issued for the acquisition strategy.

[0071] When an abnormal acquisition strategy signal is generated, the added special symbol is modified, and then a similarity index is obtained, and compared with a similarity index threshold value until a normal acquisition strategy signal is generated;

[0072] When the abnormal acquisition strategy signal 2 is generated, abnormal alarm processing is performed and an abnormal alarm code is generated.

[0073] It should be noted that when an abnormal acquisition strategy signal is generated, the similarity is not high at this time, and the added special symbol can be modified. After the modification is completed, the similarity of the newly obtained acquisition strategy is compared with the acquisition strategy in the database until the requirements are met;

[0074] When the abnormal acquisition strategy signal 2 is generated, the similarity is high at this time, and the abnormal alarm processing can be directly performed, and an abnormal alarm code can be generated. Then the staff will store the acquisition strategy and alarm code and update the information in the database.

[0075] Step S600 specifically includes the following contents:

[0076] When the directory or content needs to be modified, the special symbols in the special symbol annotation template are modified.

[0077] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0078] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A processing method for quickly generating directories and contents by importing an e-book word file, characterized in that: The steps include: Step S100, obtaining a Word file, and locally saving and parsing the Word file; Step S200, adding special symbols to the word file; Step S300, remove the cover and table of contents from the edited word file, copy the remaining content containing identification symbols into a txt file, and upload the txt file to the corresponding book through the website backend book import; Step S400, creating a special symbol annotation template; Step S500, importing the saved and parsed Word file into the special symbol annotation template, modifying the special symbols in the special symbol annotation template, and determining the acquisition strategy for each target to be generated according to the special symbols; Step S600: quickly generate a directory and content according to the generated acquisition strategy.

2. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 1, characterized in that: Step S200 also includes the following contents: Add identification symbols to chapters. The first-level chapter uses: &&Name$$, and the second-level chapter uses: &Name$. When a first-level chapter has a second-level chapter, content cannot be added to the first-level chapter. Add identification symbols to the content. The content is enclosed in ##. Each article only needs to be marked at the beginning. Content cannot be added directly under the title.

3. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 1, characterized in that: Step S300 also includes the following contents: If there is content that needs to be corrected, you can modify it in Word with identification symbols and then upload it again, or make separate adjustments to the corresponding article content in the website backend.

4. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 1, characterized in that: Step S400 specifically includes the following contents: Set placeholders and establish the association between placeholders and data, edit the special symbol annotation initialization template by directly filling in the placeholders, and complete the initialization setting of the template; Import the special symbol into the special symbol annotation initialization template, and regularly update and modify the special symbol annotation initialization template to obtain the special symbol annotation template.

5. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 1, characterized in that: Step S500 specifically includes the following contents: Import the saved and parsed Word file into the special symbol annotation template, add specific special symbols according to the chapters and contents of the Word file, and determine the acquisition strategy for each target to be generated according to the special symbols; The acquisition strategy is compared with the acquisition strategies in the database to obtain a similarity index.

6. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 5, characterized in that: Setting a similarity index threshold, and comparing the similarity index with the similarity index threshold; When the similarity index is less than the similarity index threshold, a normal acquisition strategy signal is generated; When the similarity index = the similarity index threshold, an abnormal acquisition strategy signal 1 is generated; When the similarity index is greater than the similarity index threshold, an abnormal acquisition strategy signal 2 is generated.

7. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 6, characterized in that: When an abnormal acquisition strategy signal is generated, the added special symbol is modified, and then a similarity index is obtained, and compared with a similarity index threshold value until a normal acquisition strategy signal is generated; When the abnormal acquisition strategy signal 2 is generated, abnormal alarm processing is performed and an abnormal alarm code is generated.

8. A processing method for quickly generating directories and contents by importing an electronic book word file according to claim 1, characterized in that: Step S600 specifically includes the following contents: When the directory or content needs to be modified, the special symbols in the special symbol annotation template are modified.