字符串检索方法及装置制造方法及图纸

技术编号:17102411 阅读:28 留言:0更新日期:2018-01-21 12:38
一种字符串检索方法及装置,该检索方法用于在被划分为多个文件块的文件中进行字符串检索,包括接收字符串检索请求,检索请求包括待检索的第一字符串(S10);在已载入内存的第一文件块中检索第一字符串(S11);如果在第一文件块中未检索到第一字符串,将其它文件块依次单独载入内存并检索第一字符串,直至检索到第一字符串或遍历整个文件为止(S12),能够在不对内存进行大量占用的前提下实现与传统方法用户体验完全一致的字符串全文检索功能。

String retrieval method and device

A character string retrieval method and apparatus, the retrieval method for string search in is divided into a plurality of blocks of the file file, string includes receiving a retrieval request, a retrieval request including the first string to search (S10); the first search string in the first file is loaded into memory blocks (S11); if in the first the file block did not retrieve the first string, the other file blocks individually loaded into memory and retrieve the first string, until the entire file or string to search the first traversal so far (S12), can be achieved with the traditional method of user experience string identical text search function on the premise of not in the memory occupied by a large number of.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:裴廷斌
申请(专利权)人:深圳配天智能技术研究院有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1