首页> 外国专利> METHOD OF IDENTIFYING HEADER BLOCK AND DATA BLOCK IN A FILE

METHOD OF IDENTIFYING HEADER BLOCK AND DATA BLOCK IN A FILE

机译:识别文件中的标题块和数据块的方法

摘要

The present invention discloses a method of identifying header block and data block in a file. The method comprises generating a regex pattern for the header block from a sample part of the file, scanning the regex pattern of one or more lines present in the file for identifying the one or more header blocks present in the file and determining the one or more header blocks in the file when the regex pattern occurrence being above a pre-defined number. The regex pattern for the header block is generated from a sample part of the file by performing the method steps which comprises extracting a sample part from the file, scanning each line of the sample part for determining a length of each line determining the header block based on a pre-defined header length, constructing the regex pattern for the determined herder block and storing the regex pattern in a local memory. Figure 1
机译:本发明公开了一种识别文件中的标题块和数据块的方法。该方法包括:从文件的样本部分生成用于报头块的正则表达式模式;扫描文件中存在的一个或多个行的正则表达式模式,以识别文件中存在的一个或多个报头块;以及确定一个或多个当正则表达式模式出现在预定义数字以上时,文件中的标头块会出现。通过执行以下方法步骤,从文件的样本部分生成用于标题块的regex模式:该方法步骤包括从文件中提取样本部分,扫描样本部分的每一行以确定每一行的长度,从而确定标题块。在预定义的标头长度上,为确定的牧民块构造正则表达式模式,并将正则表达式模式存储在本地内存中。图1

著录项

  • 公开/公告号IN2015CH00393A

    专利类型

  • 公开/公告日2016-07-29

    原文格式PDF

  • 申请/专利权人

    申请/专利号IN393/CHE/2015

  • 发明设计人 PATNEY VIPLOV;JAYAKUMARAN JAGADEESH KUMAR;

    申请日2015-01-28

  • 分类号

  • 国家 IN

  • 入库时间 2022-08-21 14:25:17

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号