The application discloses a kind of WPS WebOffice-oriented tender chapter tree driven
mass generation and positioning write method,
system and computer readable storage medium.It is described as follows:The method includes:
parsing tender outline data into chapter tree containing multiple levels of title nodes and hierarchical relationship;According to chapter
tree structure, write each level title in WPS WebOffice
online document, and create chapter anchor bookmark in its write end position after writing in target title node is completed, establish the mapping relationship between chapter
tree node and document location;Based on write state
machine, drive
mass content generation and positioning write process, construct generation request containing hierarchical context information according to batch for the title node to be generated, obtain corresponding
structured content;Get the end position of chapter anchor bookmark, and position write
structured content in the end position;After writing is completed, update node state and persistently save, and after all batches are completed, uniformly delete the used chapter anchor bookmark.The application solves the technical problems that multi-chapter content positioning write in
online document is unstable, long-process write lacks
breakpoint continuation ability, and repeated title leads to content and chapter mapping
ambiguity, improves the positioning accuracy of tender content write, process reliability and context relevance.