Intelligent templated editing system for digital publishing
Through the text entry, processing and layout module of the intelligent template editing system, combined with the adjustment of the natural language processing model and control module, the rendering errors and compatibility problems of the template editing system in the existing technology are solved, and the accuracy and security of text processing are improved.
Patent Information
- Application Number
- CN202510547456.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2025-08-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The template editing method in the existing digital publishing system does not comply with the .epub specification, resulting in the system being unable to automatically detect rendering errors, the generated files cannot be displayed normally in compliant readers, and cross-platform compatibility is invalid.
The intelligent template editing system is adopted, including text entry, text processing and type-based conversion modules, and the form proofreading and structured annotation is performed through the natural language processing model. The control module is combined with the control module to adjust the update frequency of the natural language processing model, the character cache size and the storage size of the pre-cache area to improve the accuracy and security of text processing.
Improve the accuracy and security of text processing, enhance the compatibility and adaptability of templates, ensure that the text is closer to the original content when typing, reduce the risk of system crash caused by virus attacks, and improve cross-platform compatibility.
Smart Images

Figure CN120449852A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an intelligent template editing system for digital publishing. Background Art
[0002] In existing technologies, digital publishing resources are a collection of resources that exist in digital form and serve the entire publishing process. These include both content products directly oriented to users and the technical tools and data assets that support content production and dissemination. Their core goal is to maximize the value of content through integration and optimization. Digital publishing technology is an intersectional field that integrates information technology and the publishing industry, encompassing a technical system covering the entire process of content creation, processing, management, dissemination, and consumption. Currently, intelligent templated editing systems in the digital publishing field have formed a technical system centered around template engine technology, artificial intelligence (AI), and multimodal content integration, and have made significant progress in standardization and adaptation, collaborative editing, and copyright management. Intelligent templated editing systems are digital publishing tools that integrate templated architecture with intelligent technologies. They aim to achieve efficient and standardized digital content production by pre-setting standardized templates and combining intelligent algorithms to assist in content editing, format verification, and cross-platform adaptation. Their core goals are to reduce labor costs, improve content consistency, and simplify complex formatting.
[0003] Chinese Patent Publication No.: CN103793229B discloses a templated digital publishing editing method and system. A templated digital publishing editing method and system, the present invention proposes a templated digital publishing editing method and system, the method comprising the following steps: starting the system, generating an editing display area and a code display area, the controller using a template boot file to traverse the information of existing templates stored in the template storage area, and loading the existing templates into the cache area; generating a system interface template application button, matching the attribute control of the existing template with the system interface template application button one by one, and controlling the attributes of the existing template through the system interface template application button; generating an e-book editing page, selecting a template in the cache area and loading the selected template image into the editing display area, and displaying the basic information of the template in the code display area; inputting e-book content into the selected template content and storing it in the cache area; saving the e-book in the cache area as an .epub file. The present invention can simply and conveniently realize the production of standardized digital publishing resources. It can be seen from this that the templated digital publishing editing method and system have a structure that does not comply with the .epub specification, which causes the system to be unable to automatically detect and directly generate an erroneous file. Rendering errors may occur when loading the editing display area. These elements cannot be automatically filtered or converted when saved as .epub, resulting in the generated file being unable to be displayed normally in a compliant reader, thereby causing the problem of cross-platform compatibility failure. Summary of the Invention
[0004] To this end, the present invention provides an intelligent templated editing system for digital publishing, which is used to overcome the problem that the templated digital publishing editing methods and systems in the prior art have structures that do not comply with the .epub specifications, resulting in the system being unable to automatically detect and directly generating erroneous files. Rendering errors may occur when loading the editing display area, and these elements cannot be automatically filtered or converted when saved as .epub, resulting in the generated files being unable to be displayed normally in compliant readers, thereby causing the cross-platform compatibility to fail.
[0005] To achieve the above-mentioned object, the present invention provides an intelligent template editing system for digital publishing, comprising: A text entry module, for entering text content to be published, comprising a text acquisition unit for acquiring the text content and a pre-cache unit connected to the text acquisition unit for storing the text content in a pre-cache area; a text processing module connected to the text entry module, comprising a proofreading unit for performing formal proofreading and modification on the text content using a natural language processing model to output a revised text, and a marking unit connected to the proofreading unit for performing structured marking on the revised text to output a marked text; a typesetting conversion module connected to the text processing module, configured to typeset the annotated text and convert it into a corresponding format to output a templated text, comprising a text typesetting unit configured to modify the structure and format of the annotated text according to a template library, and a text conversion unit connected to the text typesetting unit configured to convert the format of the typeset annotated text into a corresponding format to output the templated text; A control module is respectively connected to the text entry module, the text processing module and the typesetting conversion module, and is used to determine the update frequency of the natural language processing model according to the proportion of garbled bytes in the corrected text, or to determine the character cache size in the text content according to the packet loss rate of the templated text, and to determine the storage size of the pre-cache area according to the delay duration of the text content processing.
[0006] Furthermore, the control module is used to determine whether the compatibility adaptability of the template meets the requirements based on the proportion of garbled bytes in the corrected text. If the proportion of garbled bytes in the corrected text is greater than the preset first proportion, it is determined that the compatibility adaptability of the template does not meet the requirements.
[0007] Furthermore, the control module is used to preliminarily determine that the typesetting validity of the templated text does not meet the requirements when the proportion of the garbled bytes in the corrected text is greater than the preset first proportion and less than or equal to the preset second proportion, and determine whether the typesetting validity of the templated text meets the requirements based on the packet loss rate of the templated text.
[0008] Furthermore, the control module is configured to increase the update frequency of the natural language processing model when the proportion of garbled bytes in the corrected text is greater than the preset second proportion; The increase in the update frequency of the natural language processing model is determined by the difference between the proportion of garbled bytes in the corrected text and a preset second proportion.
[0009] Furthermore, the control module is used to determine whether the typesetting validity of the templated text meets the requirements based on the packet loss rate of the templated text. If the packet loss rate of the templated text is greater than the preset first packet loss rate, it is determined that the typesetting validity of the templated text does not meet the requirements.
[0010] Furthermore, the control module is configured to increase the character cache size in the text content when the packet loss rate of the templated text is greater than the preset first packet loss rate and less than or equal to a preset second packet loss rate.
[0011] Furthermore, the control module is used to preliminarily determine that the network security risk does not meet the requirements when the packet loss rate of the templated text is greater than the preset second packet loss rate, and determine whether the network security risk meets the requirements based on the delay time of text content processing.
[0012] Furthermore, the increase range of the character buffer size in the text content is determined by the difference between the packet loss rate of the templated text and a preset first packet loss rate.
[0013] Furthermore, the control module is used to determine whether the network security risk meets the requirements based on the delay time of text content processing. If the delay time of text content processing is greater than the preset delay time, it is determined that the network security risk does not meet the requirements, and the storage size of the pre-cache area is increased.
[0014] Furthermore, the increase range of the storage size of the pre-cache area is determined by the difference between the delay time of text content processing and the preset delay time.
[0015] Compared with the prior art, the beneficial effect of the present invention is that the system of the present invention adjusts the update frequency of the natural language processing model according to the proportion of garbled bytes in the corrected text. Due to the lack of contextual semantic understanding, errors in the text are not detected when the text is checked, resulting in subsequent operations being processed with erroneous text, which leads to errors in the final converted output text. By increasing the update frequency of the natural language processing model, the model can learn new language patterns and rules more quickly, including patterns of various text errors. For errors that were not detected before due to a single inspection dimension, the updated model may analyze from more dimensions, thereby improving the error recognition rate. The character cache size in the text content is adjusted according to the packet loss rate of the templated text. Since there are special characters in the text, they may not be fully supported by the editing system or output format, resulting in the special characters not being able to be displayed normally, resulting in typesetting abnormalities. By increasing the size of the character cache, more special characters can be accommodated, reducing the possibility of special characters being discarded or unable to load due to insufficient cache space, ensuring that special characters in the text are processed as completely as possible, reducing the problems of incomplete text content and typesetting confusion caused by character loss, making the text closer to the original content during typesetting, and improving typesetting accuracy. The storage size of the pre-cache area is adjusted according to the delay time of text content processing. Due to the lack of timely updates, network security is reduced, and the text editing system is attacked by viruses, resulting in a slower processing speed when processing the text. By increasing the size of the data pre-cache area, when the system is interfered with by viruses, the cache area can provide a relatively stable data storage and access environment, reducing the risk of system crashes due to data transmission interruptions or errors, and preventing the text processing function from being completely paralyzed due to virus attacks, thereby indirectly reducing other security risks that may be caused by system failures.
[0016] Furthermore, the system of the present invention adjusts the natural language processing model by setting a preset first ratio and a preset second ratio. Due to the lack of contextual semantic understanding, errors in the text are not detected when the text is checked, resulting in subsequent operations being processed with erroneous text, which leads to errors in the final converted output text. By increasing the update frequency of the natural language processing model, the model can learn new language patterns and rules more quickly, including patterns of various text errors. For errors that were not detected before due to a single inspection dimension, the updated model may analyze from more dimensions, thereby improving the error recognition rate and improving the compatibility and adaptability of the template.
[0017] Furthermore, the system of the present invention adjusts the character cache size in the text content by setting a preset first packet loss rate and a preset second packet loss rate. Since there are special characters in the text, they may not be fully supported by the editing system or the output format, resulting in the special characters not being displayed normally, thereby causing typesetting abnormalities. By increasing the size of the character cache, more special characters can be accommodated, reducing the possibility of special characters being discarded or unable to be loaded due to insufficient cache space, ensuring that the special characters in the text are processed as completely as possible, reducing the problems of incomplete text content and typesetting chaos caused by character loss, making the text closer to the original content during typesetting, improving the accuracy of typesetting, and further improving the compatibility and adaptability of the template.
[0018] Furthermore, the system of the present invention adjusts the storage size of the pre-cache area by setting a preset delay time. Since the network security is reduced due to the failure to update in time, the text editing system is attacked by viruses, which leads to a slower processing speed when processing the text. By increasing the size of the data pre-cache area, when the system is interfered with by viruses, the cache area can provide a relatively stable data storage and access environment, reducing the risk of system crashes caused by data transmission interruptions or errors, so that the text processing function will not be completely paralyzed due to virus attacks, thereby indirectly reducing other security risks that may be caused by system failures and further improving the compatibility and adaptability of the template. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a block diagram of the overall structure of the intelligent template editing system for digital publishing according to an embodiment of the present invention; Figure 2 A logic flow chart of a process for determining the update frequency of a natural language processing model in an intelligent templated editing system for digital publishing according to an embodiment of the present invention; Figure 3 A logic flow chart of a process for determining a character buffer size in text content in an intelligent templated editing system for digital publishing according to an embodiment of the present invention; Figure 4 This is a logic flow chart of the process of determining the storage size of the pre-cache area in the intelligent template editing system for digital publishing according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below with reference to embodiments. It should be understood that the specific embodiments described herein are merely used to explain the present invention and are not intended to limit the present invention.
[0021] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0022] See also Figure 1 、 Figure 2 、 Figure 3 as well as Figure 4 As shown in the figure, they are respectively a block diagram of the overall structure of the intelligent template editing system for digital publishing according to an embodiment of the present invention, a logic flow chart of the process of determining the update frequency of the natural language processing model, a logic flow chart of the process of determining the character cache size in the text content, and a logic flow chart of the process of determining the storage size of the pre-cache area. The intelligent template editing system for digital publishing according to the present invention includes: A text entry module, for entering text content to be published, comprising a text acquisition unit for acquiring the text content and a pre-cache unit connected to the text acquisition unit for storing the text content in a pre-cache area; a text processing module connected to the text entry module, comprising a proofreading unit for performing formal proofreading and modification on the text content using a natural language processing model to output a revised text, and a marking unit connected to the proofreading unit for performing structured marking on the revised text to output a marked text; a typesetting conversion module connected to the text processing module, configured to typeset the annotated text and convert it into a corresponding format to output a templated text, comprising a text typesetting unit configured to modify the structure and format of the annotated text according to a template library, and a text conversion unit connected to the text typesetting unit configured to convert the format of the typeset annotated text into a corresponding format to output the templated text; A control module is respectively connected to the text entry module, the text processing module and the typesetting conversion module, and is used to determine the update frequency of the natural language processing model according to the proportion of garbled bytes in the corrected text, or to determine the character cache size in the text content according to the packet loss rate of the templated text, and to determine the storage size of the pre-cache area according to the delay duration of the text content processing.
[0023] Specifically, natural language processing models include statistical models, classification models, and multilingual models.
[0024] Specifically, formal proofreading includes spelling checking, grammar correction, and terminology consistency.
[0025] Specifically, the revised text is a text version formed after formal proofreading of semantic errors and grammatical errors in the text content.
[0026] Specifically, structured annotation is to add annotations to text, data, and images through a preset label system.
[0027] Specifically, the annotated text is the text output after structured annotation of the corrected text.
[0028] Specifically, the formats include PDF, EPUB and HTML5.
[0029] Specifically, templated text is text that is typeset and formatted using the format, layout, and framework of a template in a template library.
[0030] During implementation, the system of the present invention adjusts the update frequency of the natural language processing model according to the proportion of garbled bytes in the corrected text by setting a template management module, a data analysis module, a content editing module and a control module. Due to the lack of contextual semantic understanding, errors in the text are not detected when the text is checked, resulting in subsequent operations being processed with erroneous text, which leads to errors in the final converted output text. By increasing the update frequency of the natural language processing model, the model can learn new language patterns and rules more quickly, including patterns of various text errors. For errors that were previously not detected due to a single inspection dimension, the updated model may analyze from more dimensions, thereby improving the error recognition rate. The character cache size in the text content is adjusted according to the packet loss rate of the templated text. Since there are special characters in the text, they may not be fully supported by the editing system or the output format, resulting in the special characters not being displayed normally, resulting in typesetting abnormalities. By increasing the size of the character cache, more special characters can be accommodated, reducing the possibility of special characters being discarded or unable to load due to insufficient cache space, ensuring that special characters in the text are processed as completely as possible, reducing the problems of incomplete text content and typesetting confusion caused by character loss, making the text closer to the original content during typesetting, and improving the accuracy of typesetting. The storage size of the pre-cache area is adjusted according to the delay time of text content processing. Due to the lack of timely updates, network security is reduced, making the text editing system vulnerable to virus attacks, resulting in slower processing speed when processing text. By increasing the size of the data pre-cache area, when the system is interfered with by viruses, the cache area can provide a relatively stable data storage and access environment, reducing the risk of system crashes caused by data transmission interruptions or errors, and preventing the text processing function from being completely paralyzed due to virus attacks, thereby indirectly reducing other security risks that may be caused by system failures and improving the compatibility and adaptability of templates.
[0031] Specifically, the control module is used to determine whether the compatibility adaptability of the template meets the requirements based on the proportion of garbled bytes in the corrected text. If the proportion of garbled bytes in the corrected text is greater than the preset first proportion, it is determined that the compatibility adaptability of the template does not meet the requirements.
[0032] Specifically, the control module is used to preliminarily determine that the typesetting validity of the templated text does not meet the requirements when the proportion of the garbled bytes in the corrected text is greater than the preset first proportion and less than or equal to the preset second proportion, and determine whether the typesetting validity of the templated text meets the requirements based on the packet loss rate of the templated text.
[0033] It can be understood that the three intervals divided by the preset first proportion and the preset second proportion correspond to three situations respectively: The first interval is when the proportion of garbled bytes in the corrected text is less than or equal to the preset first proportion, corresponding to the situation that: the compatibility and adaptability of the template are determined to meet the requirements; The second interval is when the proportion of garbled bytes in the corrected text is greater than the preset first proportion and less than or equal to the preset second proportion. This corresponds to the situation where the text contains special characters that may not be fully supported by the editing system or output format, resulting in the special characters not being displayed normally, causing typesetting anomalies. The third interval indicates that the proportion of garbled bytes in the corrected text is greater than the preset second proportion. This corresponds to the situation where, due to a lack of understanding of the contextual semantics, errors in the text are not detected during text inspection. As a result, subsequent operations are processed using erroneous text, resulting in errors in the final converted output text.
[0034] In implementation, the preset first ratio is generally selected in the range of [0.1%, 0.5%], and the preset second ratio is generally selected in the range of [0.6%, 1%].
[0035] Preferably, the preferred embodiment of the preset first proportion is 0.4%, and the preferred embodiment of the preset second proportion is 0.8%.
[0036] Specifically, the proportion of the garbled bytes in the corrected text is the ratio of the garbled bytes in the corrected text to the total bytes of the corrected text.
[0037] Specifically, the control module is used to increase the update frequency of the natural language processing model when the proportion of the garbled bytes in the corrected text is greater than the preset second proportion; The increase in the update frequency of the natural language processing model is determined by the difference between the proportion of garbled bytes in the corrected text and a preset second proportion.
[0038] Specifically, when the difference between the proportion of garbled bytes in the corrected text and the preset second proportion is within 0.1%, the update frequency of the natural language processing model is increased to 1.2 times the original; when the difference between the proportion of garbled bytes in the corrected text and the preset second proportion exceeds 0.1%, on the basis of the increase to 1.2 times the original, the update frequency of the natural language processing model increases by 1 time / week for every 0.1% increase. For example, the difference between the proportion of garbled bytes in the corrected text and the preset second proportion is 0.3%. The current update frequency of the natural language processing model is 5 times / week, and the increased update frequency of the natural language processing model is 5×1.2+1×2=8 times / week.
[0039] In implementation, the system of the present invention determines the update frequency of the natural language processing model by setting a preset first ratio and a preset second ratio. Due to the lack of contextual semantic understanding, errors in the text are not detected when the text is checked, resulting in subsequent operations being processed with erroneous text, which leads to errors in the final converted output text. By increasing the update frequency of the natural language processing model, the model can learn new language patterns and rules more quickly, including patterns of various text errors. For errors that were not detected before due to a single inspection dimension, the updated model may analyze from more dimensions, thereby improving the error recognition rate and improving the compatibility and adaptability of the template.
[0040] Specifically, the control module is used to determine whether the typesetting validity of the templated text meets the requirements based on the packet loss rate of the templated text. If the packet loss rate of the templated text is greater than the preset first packet loss rate, it is determined that the typesetting validity of the templated text does not meet the requirements.
[0041] Specifically, the control module is configured to increase the character cache size in the text content when the packet loss rate of the templated text is greater than the preset first packet loss rate and less than or equal to a preset second packet loss rate.
[0042] Specifically, the control module is used to preliminarily determine that the network security risk does not meet the requirements when the packet loss rate of the templated text is greater than the preset second packet loss rate, and determine whether the network security risk meets the requirements based on the delay time of text content processing.
[0043] It can be understood that the three intervals divided by the preset first packet loss rate and the preset second packet loss rate correspond to three situations respectively: The first interval is when the packet loss rate of the templated text is less than or equal to the preset first packet loss rate, corresponding to the situation that: it is determined that the typesetting validity of the templated text meets the requirements; The second interval is when the packet loss rate of the templated text is greater than the preset first packet loss rate and less than or equal to the preset second packet loss rate. This corresponds to the situation where the text contains special characters that may not be fully supported by the editing system or output format, resulting in the special characters not being displayed normally, causing typesetting anomalies. The third interval is when the packet loss rate of the templated text is greater than the preset second packet loss rate. The corresponding situation is: due to failure to update in time, network security is reduced, causing the text editing system to be attacked by viruses, resulting in a slower processing speed when processing the text.
[0044] In implementation, the preset first packet loss rate is generally selected from the range of [0.01%, 0.03%], and the preset second packet loss rate is generally selected from the range of [0.04%, 0.06%].
[0045] Preferably, the preferred embodiment of the preset first packet loss rate is 0.02%, and the preferred embodiment of the preset second packet loss rate is 0.05%.
[0046] Specifically, the increase range of the character buffer size in the text content is determined by the difference between the packet loss rate of the templated text and a preset first packet loss rate.
[0047] Specifically, when the difference between the packet loss rate of the templated text and the preset first packet loss rate is within 0.005%, the character cache size in the text content is increased to 1.5 times the original size. When the difference between the packet loss rate of the templated text and the preset first packet loss rate exceeds 0.005%, on the basis of being increased to 1.5 times the original size, the character cache size in the text content is increased by 8KB for every 0.005% increase. For example, the difference between the packet loss rate of the templated text and the preset first packet loss rate is 0.02%, the character cache size in the current text content is 64KB, and the character cache size in the text content after increase is 64×1.5+8×3=120KB.
[0048] In implementation, the system of the present invention determines the character cache size in the text content by setting a preset first packet loss rate and a second packet loss rate. Since there are special characters in the text, they may not be fully supported by the editing system or the output format, resulting in the special characters not being displayed normally, thereby causing typesetting abnormalities. By increasing the size of the character cache, more special characters can be accommodated, reducing the possibility of special characters being discarded or unable to be loaded due to insufficient cache space, ensuring that the special characters in the text are processed as completely as possible, reducing the problems of incomplete text content and typesetting chaos caused by character loss, making the text closer to the original content during typesetting, improving the accuracy of typesetting, and further improving the compatibility and adaptability of the template.
[0049] Specifically, the control module is used to determine whether the network security risk meets the requirements based on the delay time of text content processing. If the delay time of text content processing is greater than the preset delay time, it is determined that the network security risk does not meet the requirements and the storage size of the pre-cache area is increased.
[0050] It is understandable that the two intervals divided by the preset delay time correspond to two situations: The first interval is when the delay in text content processing is less than or equal to the preset delay, corresponding to the situation where it is determined that the network security risk meets the requirements; The second interval is when the delay in text content processing is longer than the preset delay. This corresponds to the following situation: network security is reduced due to failure to update in a timely manner, causing the text editing system to be attacked by viruses, resulting in a slower processing speed when processing text.
[0051] In practice, the preset delay time is generally selected in the range of [1ms, 3ms].
[0052] Preferably, the preferred embodiment of the preset delay time length is 2ms.
[0053] Specifically, the increase range of the storage size of the pre-cache area is determined by the difference between the delay time of text content processing and the preset delay time.
[0054] Specifically, when the difference between the delay time of text content processing and the preset delay time is within 0.5ms, the storage size of the pre-cache area is increased to 1.2 times the original size; when the difference between the delay time of text content processing and the preset delay time exceeds 0.5ms, on the basis of the increase to 1.2 times the original size, the storage size of the pre-cache area is increased by 1GB for every 0.2ms exceeding the original size. For example, when the difference between the delay time of text content processing and the preset delay time is 0.9ms, the current storage size of the pre-cache area is 40GB, and the increased storage size of the pre-cache area is 40×1.2+1×2=50GB.
[0055] During implementation, the system of the present invention determines the storage size of the pre-cache area by setting a preset delay time. Due to the failure to update in time, the network security is reduced, and the text editing system is attacked by viruses, which leads to a slower processing speed when processing the text. By increasing the size of the data pre-cache area, when the system is interfered with by viruses, the cache area can provide a relatively stable data storage and access environment, reducing the risk of system crashes caused by data transmission interruptions or errors, so that the text processing function will not be completely paralyzed due to virus attacks, thereby indirectly reducing other security risks that may be caused by system failures and further improving the compatibility and adaptability of the template.
[0056] Thus far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present invention.
Claims
1. An intelligent template editing system for digital publishing, characterized in that: include: A text entry module, for entering text content to be published, comprising a text acquisition unit for acquiring the text content and a pre-cache unit connected to the text acquisition unit for storing the text content in a pre-cache area; a text processing module connected to the text entry module, comprising a proofreading unit for performing formal proofreading and modification on the text content using a natural language processing model to output a revised text, and a marking unit connected to the proofreading unit for performing structured marking on the revised text to output a marked text; a typesetting conversion module connected to the text processing module, configured to typeset the annotated text and convert it into a corresponding format to output a templated text, comprising a text typesetting unit configured to modify the structure and format of the annotated text according to a template library, and a text conversion unit connected to the text typesetting unit configured to convert the format of the typeset annotated text into a corresponding format to output the templated text; A control module is respectively connected to the text entry module, the text processing module and the typesetting conversion module, and is used to determine the update frequency of the natural language processing model according to the proportion of garbled bytes in the corrected text, or to determine the character cache size in the text content according to the packet loss rate of the templated text, and to determine the storage size of the pre-cache area according to the delay duration of the text content processing.
2. The intelligent template editing system for digital publishing according to claim 1, characterized in that: The control module is used to determine whether the compatibility adaptability of the template meets the requirements based on the proportion of the garbled bytes in the corrected text. If the proportion of the garbled bytes in the corrected text is greater than the preset first proportion, it is determined that the compatibility adaptability of the template does not meet the requirements.
3. The intelligent template editing system for digital publishing according to claim 2, characterized in that: The control module is used to preliminarily determine that the typesetting validity of the templated text does not meet the requirements when the proportion of the garbled bytes in the corrected text is greater than the preset first proportion and less than or equal to the preset second proportion, and determine whether the typesetting validity of the templated text meets the requirements based on the packet loss rate of the templated text.
4. The intelligent template editing system for digital publishing according to claim 3, characterized in that: The control module is configured to increase the update frequency of the natural language processing model when the proportion of garbled bytes in the corrected text is greater than the preset second proportion; The increase in the update frequency of the natural language processing model is determined by the difference between the proportion of garbled bytes in the corrected text and a preset second proportion.
5. The intelligent template editing system for digital publishing according to claim 4, characterized in that: The control module is used to determine whether the typesetting validity of the templated text meets the requirements based on the packet loss rate of the templated text. If the packet loss rate of the templated text is greater than the preset first packet loss rate, it is determined that the typesetting validity of the templated text does not meet the requirements.
6. The intelligent template editing system for digital publishing according to claim 5, characterized in that: The control module is configured to increase the character buffer size in the text content when the packet loss rate of the templated text is greater than the preset first packet loss rate and less than or equal to a preset second packet loss rate.
7. The intelligent template editing system for digital publishing according to claim 6, characterized in that: The control module is used to preliminarily determine that the network security risk does not meet the requirements when the packet loss rate of the templated text is greater than the preset second packet loss rate, and determine whether the network security risk meets the requirements based on the delay time of text content processing.
8. The intelligent template editing system for digital publishing according to claim 7, characterized in that: The increase in the character buffer size in the text content is determined by the difference between the packet loss rate of the templated text and a preset first packet loss rate.
9. The intelligent template editing system for digital publishing according to claim 8, characterized in that: The control module is used to determine whether the network security risk meets the requirements based on the delay time of text content processing. If the delay time of text content processing is greater than the preset delay time, it is determined that the network security risk does not meet the requirements and the storage size of the pre-cache area is increased.
10. The intelligent template editing system for digital publishing according to claim 9, characterized in that: The increase range of the storage size of the pre-cache area is determined by the difference between the delay time of text content processing and the preset delay time.
Citation Information
Patent Citations
A Templated Digital Publishing Editing Method and System
CN103793229B