![目录存储方法、装置、计算机设备及存储介质](/CN/2019/1/166/images/201910833398.jpg)
基本信息:
- 专利标题: 目录存储方法、装置、计算机设备及存储介质
- 专利标题(英):Directory storage method and device, computer equipment and storage medium
- 申请号:CN201910833398.X 申请日:2019-09-04
- 公开(公告)号:CN110704573A 公开(公告)日:2020-01-17
- 发明人: 苏智辉 , 侯丽 , 佘昊天
- 申请人: 平安科技(深圳)有限公司
- 申请人地址: 广东省深圳市福田区福田街道福安社区益田路5033号平安金融中心23楼
- 专利权人: 平安科技(深圳)有限公司
- 当前专利权人: 平安科技(深圳)有限公司
- 当前专利权人地址: 广东省深圳市福田区福田街道福安社区益田路5033号平安金融中心23楼
- 代理机构: 深圳市精英专利事务所
- 代理人: 林燕云
- 主分类号: G06F16/31
- IPC分类号: G06F16/31
The embodiment of the invention discloses a directory storage method and device, computer equipment and a storage medium. The method is applied to the field of data storage in data processing. The method comprises the steps that a target text is read, the positions of all paragraphs in the target text are recorded, the target text comprises titles of all levels, and each title is a paragraph; obtaining title names of titles of all levels in the target text according to a preset format; obtaining positions of paragraphs corresponding to titles of all levels and determining starting and stoppingpositions of titles of all levels according to positions of paragraphs corresponding to adjacent titles of the same level; and creating a tree structure object, and storing the title names of the titles of all levels and the corresponding start and stop positions in nodes of the tree structure object to form a directory of the target text, the tree structure object comprising a plurality of nodes. By implementing the method provided by the embodiment of the invention, the effect of storing the directory of the Word text in the Java program can be realized.
公开/授权文献:
- CN110704573B 目录存储方法、装置、计算机设备及存储介质 公开/授权日:2023-12-22
IPC结构图谱:
G | 物理 |
--G06 | 计算;推算;计数 |
----G06F | 电数字数据处理 |
------G06F16/00 | 信息检索;数据库结构;文件系统结构 |
--------G06F16/10 | .文件系统;文件服务器 |
----------G06F16/31 | ..索引;其数据结构;存储结构 |