WO2024001308A1 - 基于模板的红外热像分析报告的批量生成方法及装置 - Google Patents

基于模板的红外热像分析报告的批量生成方法及装置 Download PDF

Info

Publication number
WO2024001308A1
WO2024001308A1 PCT/CN2023/081620 CN2023081620W WO2024001308A1 WO 2024001308 A1 WO2024001308 A1 WO 2024001308A1 CN 2023081620 W CN2023081620 W CN 2023081620W WO 2024001308 A1 WO2024001308 A1 WO 2024001308A1
Authority
WO
WIPO (PCT)
Prior art keywords
report
infrared
page
template
nodes
Prior art date
Application number
PCT/CN2023/081620
Other languages
English (en)
French (fr)
Inventor
黄晟
毛磊
王江波
Original Assignee
武汉高德智感科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 武汉高德智感科技有限公司 filed Critical 武汉高德智感科技有限公司
Publication of WO2024001308A1 publication Critical patent/WO2024001308A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents

Definitions

  • the present invention relates to the technical field of infrared thermal imaging, and in particular to a method and device for batch generation of template-based infrared thermal imaging analysis reports.
  • Infrared thermal imaging technology is widely used in electric power, epidemic prevention, customs and other industries. After collecting infrared heat images through a thermal imaging camera, it is often necessary to use special infrared heat image analysis software to analyze the heat images and measure the temperature. Then use word editing software such as word to compile the analysis results of the infrared heat map into an analysis report.
  • the traditional method for users to prepare analysis reports is in general word processing software such as Word.
  • the preparation process has the following flaws: 1. After the user uses the infrared thermal image analysis software to obtain the required analysis data, he inputs the required images and data one by one into the word processing software.
  • the manual input method is prone to errors and omissions due to human negligence; 2. Users often need Thermal map analysis and report preparation are performed on the same batch of infrared heat images taken by thermal imaging cameras, and the analysis reports prepared often have a certain general format. Therefore, there are a lot of repeated operations and the work efficiency is low.
  • embodiments of the present invention provide a method and device for batch generating infrared thermal image analysis reports based on templates.
  • Embodiments of the present invention provide a template-based batch generation method of infrared thermal image analysis reports, which includes:
  • a corresponding tree structure is generated according to the first-level sub-nodes and the second-level sub-nodes. According to the tree The corresponding report template is generated based on the shape structure;
  • the preset requirements include:
  • the method further includes:
  • Identify infrared objects in the infrared heat map determine the priority of the infrared objects, and sort the batch infrared analysis reports according to the priority.
  • the attribute information includes:
  • Application software version number report template version number, template name, template thumbnail, each infrared content area included in the template, template logo, header and footer, and report title.
  • the infrared content information includes:
  • the ID of the infrared content area the type of the infrared content area, the relative position and size of the infrared content area in the report single page, whether it is associated with the infrared picture area and the associated infrared picture content area ID.
  • the infrared content information includes:
  • Cell information includes: row number, column number, and field information in the cell;
  • a corresponding tree structure is generated according to the first-level sub-nodes, second-level sub-nodes and third-level sub-nodes, and a corresponding report template is generated according to the tree structure.
  • Embodiments of the present invention provide a device for batch generating infrared thermal image analysis reports based on templates, including:
  • the acquisition module is used to obtain the report single page of the infrared thermal image analysis report uploaded by the user, and obtain the attribute information and infrared content information in the report single page;
  • a determination module configured to determine the first-level sub-nodes of the report template based on the attribute information, and determine the second-level sub-nodes of the report template based on the infrared content information;
  • a template generation module configured to generate a corresponding tree structure according to the first-level sub-nodes and the second-level sub-nodes, and generate a corresponding report template according to the tree structure;
  • the report generation module is used to receive the uploaded infrared heat image, determine the single-page report and multi-page report in the infrared analysis report corresponding to the infrared heat image according to the preset report requirements, and obtain the corresponding cover page, content page and back cover. page, and combine the single-page report and the multi-page report to generate the corresponding batch infrared analysis report.
  • the device further includes:
  • An identification module configured to identify infrared objects in the infrared heat map, determine the priority of the infrared object, and sort the batch infrared analysis reports according to the priority.
  • An embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the program, the above template-based infrared thermal image analysis report is implemented. The steps of the batch generation method.
  • Embodiments of the present invention provide a non-transitory computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps of the above template-based batch generation method of infrared thermal image analysis reports are implemented.
  • the embodiment of the present invention provides a template-based batch generation method and device for infrared thermal image analysis reports, which obtains a report single page of the infrared thermal image analysis report uploaded by the user, and obtains the attribute information and infrared content information in the single page of the report.
  • Figure 1 is a flow chart of a method for batch generation of template-based infrared thermal image analysis reports in an embodiment of the present invention
  • Figure 2 is a structural diagram of a device for batch generating template-based infrared thermal image analysis reports in an embodiment of the present invention
  • Figure 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
  • FIG. 1 is a schematic flow chart of a method for batch generation of template-based infrared thermal image analysis reports provided by an embodiment of the present invention. As shown in Figure 1, an embodiment of the present invention provides a template-based infrared thermal image analysis report. Batch generation methods include:
  • Step S101 Obtain the report single page of the infrared thermal image analysis report uploaded by the user, and obtain the attribute information and infrared content information in the report single page.
  • the attribute information is the template related information of the report single page, which can be such as: application software version number, report template version number, template name, template thumbnail, each infrared content area included in the template, template logo, header and footer,
  • the infrared content information is the content-related information of the infrared heat map, such as: the ID of the infrared content area, the type of the infrared content area, the relative position and size of the infrared content area in the report single page, whether it is associated with the infrared picture area and the association Infrared image content area ID, etc.
  • Step S102 Determine the first-level sub-nodes of the report template based on the attribute information, and determine the second-level sub-nodes of the report template based on the infrared content information.
  • the first-level sub-nodes of the tree structure of the report template are determined based on the attribute information, and then the infrared content area in the first-level sub-nodes can be extended downward, and the second-level sub-nodes of the report template are determined based on the infrared content information. .
  • Step S103 Generate a corresponding tree structure based on the first-level sub-nodes and the second-level sub-nodes, and generate a corresponding report template based on the tree structure.
  • the corresponding tree structure is generated according to the first-level sub-nodes and the second-level sub-nodes, and the corresponding report template is generated according to the tree structure.
  • the report single page generated by the created report template is the same as the obtained user's report single page content.
  • the regional layout and regional binding relationship are consistent. You only need to fill in the infrared heat map area in the created report page, and the software will automatically fill in the associated content defined in the template (for example, in the image) in each area associated with it. Fill in the image parameters in the parameter table, fill in the analysis object information in the object information table, etc.), and the template file uses the serialization method to format the information flow. Supported serialization formats include json, xml, protobuf, etc.
  • the infrared content area can also detect whether the infrared content area is in table form, and when the infrared content area is in table form, obtain the cell information in the table, and determine the third-layer sub-node of the report template based on the cell information.
  • the cell information includes : Row number, column number, field information in the cell, and then generate the corresponding tree structure based on the first-level sub-nodes, second-level sub-nodes, and third-level sub-nodes, and generate the corresponding report template based on the tree structure.
  • Step S104 receive the uploaded infrared heat image, determine the single-page report and multi-page report in the infrared analysis report corresponding to the infrared heat image according to the preset report requirements, obtain the corresponding cover page, content page and back cover page, and combine The single-page report and multi-page report generate corresponding batch infrared analysis reports.
  • each analysis report consists of an It consists of a cover page (optional), a content page, and a back cover page (optional). The cover page and back cover page are directly generated from the cover page template and the back cover page template.
  • the content page is generated according to the above rules after filling in the infrared image in the content page template.
  • the analysis report consists of a cover page (optional), several It consists of one content page and one back cover page (optional).
  • the number of content pages is automatically calculated based on the number of infrared heat map areas in the selected content page template and the number of selected infrared heat maps to determine the minimum number of single report pages required to fill all infrared heat maps.
  • Each content page is generated according to the above rules after filling in the corresponding number of infrared images in the infrared heat map area of the content page template.
  • the number of generated batch infrared analysis reports may be huge, so the infrared objects in the infrared heat map can be identified, the priority of the infrared objects can be determined, and the batch infrared analysis reports can be sorted according to the priority, so that the infrared heat map can be used according to the Sort the corresponding reports based on the priority of the objects in the report to make it easier for users to view.
  • the embodiment of the present invention provides a template-based batch generation method of infrared thermal image analysis reports, which obtains the report single page of the infrared thermal image analysis report uploaded by the user, and obtains the attribute information and infrared content information in the report single page; according to The attribute information determines the first-level sub-nodes of the report template, and the second-level sub-nodes of the report template are determined based on the infrared content information; the corresponding tree structure is generated based on the first-level sub-nodes and the second-level sub-nodes, and the corresponding tree structure is generated based on the tree structure.
  • Corresponding report template receive the uploaded infrared heat image, determine the single-page report and multi-page report in the infrared analysis report corresponding to the infrared heat image according to the preset report requirements, obtain the corresponding cover page, content page and back cover page, and combine Single-page reports and multi-page reports can generate corresponding batch infrared analysis reports. In this way, infrared thermal imaging analysis reports can be generated in batches based on a single page of the report, which not only saves human resources, but also ensures the efficiency of report generation.
  • Figure 2 is a device for batch generating infrared thermal image analysis reports based on templates provided by an embodiment of the present invention, including: an acquisition module S201, a determination module S202, a template generation module S203, and a report generation module S204, where:
  • the acquisition module S201 is used to obtain the report single page of the infrared thermal image analysis report uploaded by the user, and obtain the attribute information and infrared content information in the report single page.
  • the determination module S202 is configured to determine the first-level sub-nodes of the report template based on the attribute information, and determine the second-level sub-nodes of the report template based on the infrared content information.
  • the template generation module S203 is configured to generate a corresponding tree structure according to the first-level sub-nodes and the second-level sub-nodes, and generate a corresponding report template according to the tree structure.
  • the report generation module S204 is used to receive the uploaded infrared heat image, determine the single-page report and the multi-page report in the infrared analysis report corresponding to the infrared heat image according to the preset report requirements, and obtain the corresponding cover page, content page and The back cover page combines the single-page report and the multi-page report to generate the corresponding batch infrared analysis report.
  • the device may further include:
  • An identification module configured to identify infrared objects in the infrared heat map, determine the priority of the infrared object, and sort the batch infrared analysis reports according to the priority.
  • Each module in the above-mentioned template-based batch generation device for infrared thermal image analysis reports can be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • Figure 3 illustrates a schematic diagram of the physical structure of an electronic device.
  • the electronic device may include: a processor (processor) 301, a memory (memory) 302, a communications interface (Communications Interface) 303 and a communication bus 304.
  • the processor 301, the memory 302, and the communication interface 303 complete communication with each other through the communication bus 304.
  • the processor 301 can call the logical instructions in the memory 302 to perform the following method: obtain the report single page of the infrared thermal image analysis report uploaded by the user, and obtain the attribute information and infrared content information in the report single page; determine the report based on the attribute information
  • the first-level sub-node of the template determines the second-level sub-node of the report template based on the infrared content information; the corresponding tree structure is generated based on the first-level sub-node and the second-level sub-node.
  • the tree structure Generate the corresponding report template; receive the uploaded infrared heat image, determine the single-page report and multi-page report in the infrared analysis report corresponding to the infrared heat image according to the preset report requirements, and obtain the corresponding cover page, content page and back cover page. Combine single-page reports and multi-page reports to generate corresponding batch infrared analysis reports.
  • the above-mentioned logical instructions in the memory 302 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
  • embodiments of the present invention also provide a non-transitory computer-readable storage medium on which a computer program is stored.
  • the computer program is implemented when executed by a processor to perform the transmission method provided by the above embodiments, for example, including : Obtain the report single page of the infrared thermal imaging analysis report uploaded by the user, and obtain the attribute information and infrared content information in the report single page; determine the first-level sub-nodes of the report template based on the attribute information, and determine the report template based on the infrared content information.
  • Second-level sub-nodes generate corresponding tree structures based on first-level sub-nodes and second-level sub-nodes, and generate corresponding report templates based on the tree structure; receive uploaded infrared heat maps, and determine infrared based on preset report requirements
  • the single-page report and multi-page report in the infrared analysis report corresponding to the heat map are obtained, and the corresponding cover page, content page and back cover page are obtained, and the corresponding batch infrared analysis report is generated by combining the single-page report and the multi-page report.
  • the device embodiments described above are only illustrative.
  • the units described as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the Give.
  • each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware.
  • the computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radiation Pyrometers (AREA)

Abstract

一种基于模板的红外热像分析报告的批量生成方法及装置,所述方法包括:获取用户上传的红外热像分析报告的报表单页,并获取报表单页中的属性信息及红外内容信息(S101);根据属性信息确定报表模板的第一层子节点,根据红外内容信息确定报表模板的第二层子节点(S102);根据子节点生成对应的树形结构,根据树形结构生成对应的报表模板(S103);接收上传的红外热图,根据预设的报告要求确定红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合单页报告及多页报告,生成对应的批量红外分析报告(S104)。采用本方法能够将基于报表单页进行红外热像分析报告的批量生成,既节约了人力资源,又保证了报告的生成效率。

Description

基于模板的红外热像分析报告的批量生成方法及装置 技术领域
本发明涉及红外热成像技术领域,尤其涉及一种基于模板的红外热像分析报告的批量生成方法及装置。
背景技术
红外热成像技术在电力,防疫,海关等行业有广泛应用。通过热像仪采集红外热图之后,往往需要使用专用的红外热图分析软件对热图进行分析,测温。然后使用word等文字编辑软件将红外热图的分析结果编制成分析报告。
用户编制分析报告的过程,传统的方法是在word等通用文字处理软件中进行。编制过程存在以下缺陷:1用户使用红外热图分析软件得到需要的分析数据之后,将需要的图像和数据一一输入到文字处理软件,手动输入的方式容易因人为疏忽引入错漏;2用户往往需要对热像仪拍摄的同一批大量红外热图进行热图分析和报告编制,且编制的分析报告往往具有一定的通用格式。因此存在大量重复的操作,工作效率低下。
发明内容
针对现有技术中存在的问题,本发明实施例提供一种基于模板的红外热像分析报告的批量生成方法及装置。
本发明实施例提供一种基于模板的红外热像分析报告的批量生成方法,包括:
获取用户上传的红外热像分析报告的报表单页,并获取所述报表单页中的属性信息及红外内容信息;
根据所述属性信息确定报表模板的第一层子节点,根据所述红外内容信息确定所述报表模板的第二层子节点;
根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树 形结构生成对应的报表模板;
接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合所述单页报告及多页报告,生成对应的批量红外分析报告。
在其中一个实施例中,所述预设要求,包括:
时间要求、地点要求、对象要求、温度范围要求;
接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,包括:
接收上传的红外热图,根据所述预设要求对所述红外热图进行分组,并根据分组结果确定所述红外分析报告中的单页报告及多页报告。
在其中一个实施例中,所述方法还包括:
识别所述红外热图中的红外对象,并确定所述红外对象的优先级,根据所述优先级对所述批量红外分析报告进行排序。
在其中一个实施例中,所述属性信息,包括:
应用软件版本号、报表模板版本号、模板名称、模板缩略图、模板中包含的各个红外内容区域、模板logo、页眉页脚、报告标题。
在其中一个实施例中,所述红外内容信息,包括:
所述红外内容区域的ID、红外内容区域的类型、所述红外内容区域在报表单页中的相对位置及大小、是否关联红外图片区域以及关联的红外图片内容区域ID。
在其中一个实施例中,所述红外内容信息,包括:
检测所述红外内容区域是否为表格形式,并当所述红外内容区域为表格形式时,获取表格中的单元格信息,并根据所述单元格信息确定报表模板的第三层子节点,所述单元格信息包括:行号、列号、单元格中的字段信息;
根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板,包括:
根据所述第一层子节点、第二层子节点和第三层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板。
本发明实施例提供一种基于模板的红外热像分析报告的批量生成装置,包括:
获取模块,用于获取用户上传的红外热像分析报告的报表单页,并获取所述报表单页中的属性信息及红外内容信息;
确定模块,用于根据所述属性信息确定报表模板的第一层子节点,根据所述红外内容信息确定所述报表模板的第二层子节点;
模板生成模块,用于根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板;
报告生成模块,用于接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合所述单页报告及多页报告,生成对应的批量红外分析报告。
在其中一个实施例中,所述装置还包括:
识别模块,用于识别所述红外热图中的红外对象,并确定所述红外对象的优先级,根据所述优先级对所述批量红外分析报告进行排序。
本发明实施例提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述基于模板的红外热像分析报告的批量生成方法的步骤。
本发明实施例提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述基于模板的红外热像分析报告的批量生成方法的步骤。
本发明实施例提供的一种基于模板的红外热像分析报告的批量生成方法及装置,获取用户上传的红外热像分析报告的报表单页,并获取报表单页中的属性信息及红外内容信息;根据属性信息确定报表模板的第一层子节点,根据红外内容信息确定报表模板的第二层子节点;根据第一层子节点和第二层子节点生成对应的树形结构,根据树形结构生成对应的报表模板;接收上传的红外热图,根据预设的报告要求确定红外热图对应的红外分析报告中的单页报告及多 页报告,获取对应的封面页、内容页及封底页,结合单页报告及多页报告,生成对应的批量红外分析报告。这样能够将基于报表单页进行红外热像分析报告的批量生成,既节约了人力资源,又保证了报告的生成效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例中一种基于模板的红外热像分析报告的批量生成方法的流程图;
图2为本发明实施例中一种基于模板的红外热像分析报告的批量生成装置的结构图;
图3为本发明实施例中电子设备结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例提供的一种基于模板的红外热像分析报告的批量生成方法的流程示意图,如图1所示,本发明实施例提供了一种基于模板的红外热像分析报告的批量生成方法,包括:
步骤S101,获取用户上传的红外热像分析报告的报表单页,并获取所述报表单页中的属性信息及红外内容信息。
具体地,获取到用户上传的红外热像分析报告的报表单页后,对报表单页进行数据分析,得到报表单页中红外热图的的属性信息及红外内容信息,其 中,属性信息为报表单页的模板相关信息,可以比如:应用软件版本号、报表模板版本号、模板名称、模板缩略图、模板中包含的各个红外内容区域、模板logo、页眉页脚、报告标题,红外内容信息为红外热图的内容相关信息,比如:红外内容区域的ID、红外内容区域的类型、红外内容区域在报表单页中的相对位置及大小、是否关联红外图片区域以及关联的红外图片内容区域ID等。
步骤S102,根据所述属性信息确定报表模板的第一层子节点,根据所述红外内容信息确定所述报表模板的第二层子节点。
具体地,根据属性信息确定报表模板的树形结构的第一层子节点,然后可以对第一层子节点中的红外内容区域进行下延伸,根据红外内容信息确定报表模板的第二层子节点。
步骤S103,根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板。
具体地,根据第一层子节点和第二层子节点生成对应的树形结构,根据树形结构生成对应的报表模板,创建的报表模板生成的报表单页与获取的用户的报表单页内容区域布局和区域绑定关系保持一致,只需要在创建的报表单页中的红外热图区域填入红外图片,软件自动在与其关联的各个区域填入模板中定义好的关联内容(例如在图像参数表中填入图像参数,在对象信息表中填入分析对象信息等),模板文件使用序列化的方法对信息流进行格式组织。支持的序列化格式包括json,xml,protobuf等。
另外,还可以检测红外内容区域是否为表格形式,并当红外内容区域为表格形式时,获取表格中的单元格信息,并根据单元格信息确定报表模板的第三层子节点,单元格信息包括:行号、列号、单元格中的字段信息,然后根据第一层子节点、第二层子节点和第三层子节点生成对应的树形结构,根据树形结构生成对应的报表模板。
步骤S104,接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合所述单页报告及多页报告,生成对应的批量红外分析报告。
具体地,接收需要生成对应报告的批量的红外热图,根据预设的报告要求确定红外热图对应的红外分析报告中的单页报告及多页报告,其中,报告要求可以包括时间要求、地点要求、对象要求、温度范围要求等,然后根据报告要求对红外热图进行分组,并据分组结果确定红外分析报告中的单页报告及多页报告,对于单页报告,每份分析报告由一张封面页(可选),一张内容页,一张封底页(可选)组成。封面页和封底页由封面页模板和封底页模板直接生成,内容页由内容页模板填入红外图片后根据上述规则生成,对于多页报告,分析报告由一张封面页(可选),若干张内容页,一张封底页(可选)组成。内容页的数量根据所选内容页模板中红外热图区域的数量和选择的红外热图数量自动计算得出填充完所有红外热图需要的报表单页的最小数量。每张内容页由内容页模板在其红外热图区域依次填入对应数量的红外图片后根据上述规则生成。
另外,生成的批量红外分析报告可能数量巨大,则可以识别红外热图中的红外对象,并确定红外对象的优先级,根据优先级对所述批量红外分析报告进行排序,这样能够根据红外热图中对象的优先级对对应的报告进行排序,方便用户查看。
本发明实施例提供的一种基于模板的红外热像分析报告的批量生成方法,获取用户上传的红外热像分析报告的报表单页,并获取报表单页中的属性信息及红外内容信息;根据属性信息确定报表模板的第一层子节点,根据红外内容信息确定报表模板的第二层子节点;根据第一层子节点和第二层子节点生成对应的树形结构,根据树形结构生成对应的报表模板;接收上传的红外热图,根据预设的报告要求确定红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合单页报告及多页报告,生成对应的批量红外分析报告。这样能够将基于报表单页进行红外热像分析报告的批量生成,既节约了人力资源,又保证了报告的生成效率。
图2为本发明实施例提供的一种基于模板的红外热像分析报告的批量生成装置,包括:获取模块S201、确定模块S202、模板生成模块S203、报告生成模块S204,其中:
获取模块S201,用于获取用户上传的红外热像分析报告的报表单页,并获取所述报表单页中的属性信息及红外内容信息。
确定模块S202,用于根据所述属性信息确定报表模板的第一层子节点,根据所述红外内容信息确定所述报表模板的第二层子节点。
模板生成模块S203,用于根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板。
报告生成模块S204,用于接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合所述单页报告及多页报告,生成对应的批量红外分析报告。
在一个实施例中,装置还可以包括:
识别模块,用于识别所述红外热图中的红外对象,并确定所述红外对象的优先级,根据所述优先级对所述批量红外分析报告进行排序。
关于基于模板的红外热像分析报告的批量生成装置的具体限定可以参见上文中对于基于模板的红外热像分析报告的批量生成方法的限定,在此不再赘述。上述基于模板的红外热像分析报告的批量生成装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
图3示例了一种电子设备的实体结构示意图,如图3所示,该电子设备可以包括:处理器(processor)301、存储器(memory)302、通信接口(Communications Interface)303和通信总线304,其中,处理器301,存储器302,通信接口303通过通信总线304完成相互间的通信。处理器301可以调用存储器302中的逻辑指令,以执行如下方法:获取用户上传的红外热像分析报告的报表单页,并获取报表单页中的属性信息及红外内容信息;根据属性信息确定报表模板的第一层子节点,根据红外内容信息确定报表模板的第二层子节点;根据第一层子节点和第二层子节点生成对应的树形结构,根据树形结构 生成对应的报表模板;接收上传的红外热图,根据预设的报告要求确定红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合单页报告及多页报告,生成对应的批量红外分析报告。
此外,上述的存储器302中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
另一方面,本发明实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的传输方法,例如包括:获取用户上传的红外热像分析报告的报表单页,并获取报表单页中的属性信息及红外内容信息;根据属性信息确定报表模板的第一层子节点,根据红外内容信息确定报表模板的第二层子节点;根据第一层子节点和第二层子节点生成对应的树形结构,根据树形结构生成对应的报表模板;接收上传的红外热图,根据预设的报告要求确定红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合单页报告及多页报告,生成对应的批量红外分析报告。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实 施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (10)

  1. 一种基于模板的红外热像分析报告的批量生成方法,其特征在于,包括:
    获取用户上传的红外热像分析报告的报表单页,并获取所述报表单页中的属性信息及红外内容信息;
    根据所述属性信息确定报表模板的第一层子节点,根据所述红外内容信息确定所述报表模板的第二层子节点;
    根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板;
    接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合所述单页报告及多页报告,生成对应的批量红外分析报告。
  2. 根据权利要求1所述的基于模板的红外热像分析报告的批量生成方法,其特征在于,所述预设要求,包括:
    时间要求、地点要求、对象要求、温度范围要求;
    接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,包括:
    接收上传的红外热图,根据所述预设要求对所述红外热图进行分组,并根据分组结果确定所述红外分析报告中的单页报告及多页报告。
  3. 根据权利要求1所述的基于模板的红外热像分析报告的批量生成方法,其特征在于,所述生成对应的批量红外分析报告时,还包括:
    识别所述红外热图中的红外对象,并确定所述红外对象的优先级,根据所述优先级对所述批量红外分析报告进行排序。
  4. 根据权利要求1所述的基于模板的红外热像分析报告的批量生成方法,其特征在于,所述属性信息,包括:
    应用软件版本号、报表模板版本号、模板名称、模板缩略图、模板中包含的各个红外内容区域、模板logo、页眉页脚、报告标题。
  5. 根据权利要求4所述的基于模板的红外热像分析报告的批量生成方法,其特征在于,所述红外内容信息,包括:
    所述红外内容区域的ID、红外内容区域的类型、所述红外内容区域在报表单页中的相对位置及大小、是否关联红外图片区域以及关联的红外图片内容区 域ID。
  6. 根据权利要求4所述的基于模板的红外热像分析报告的批量生成方法,其特征在于,所述方法还包括:
    检测所述红外内容区域是否为表格形式,并当所述红外内容区域为表格形式时,获取表格中的单元格信息,并根据所述单元格信息确定报表模板的第三层子节点,所述单元格信息包括:行号、列号、单元格中的字段信息;
    根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板,包括:
    根据所述第一层子节点、第二层子节点和第三层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板。
  7. 一种基于模板的红外热像分析报告的批量生成装置,其特征在于,所述装置包括:
    获取模块,用于获取用户上传的红外热像分析报告的报表单页,并获取所述报表单页中的属性信息及红外内容信息;
    确定模块,用于根据所述属性信息确定报表模板的第一层子节点,根据所述红外内容信息确定所述报表模板的第二层子节点;
    模板生成模块,用于根据所述第一层子节点和第二层子节点生成对应的树形结构,根据所述树形结构生成对应的报表模板;
    报告生成模块,用于接收上传的红外热图,根据预设的报告要求确定所述红外热图对应的红外分析报告中的单页报告及多页报告,获取对应的封面页、内容页及封底页,结合所述单页报告及多页报告,生成对应的批量红外分析报告。
  8. 根据权利要求7中所述的基于模板的红外热像分析报告的批量生成装置,其特征在于,所述装置还包括:
    识别模块,用于识别所述红外热图中的红外对象,并确定所述红外对象的优先级,根据所述优先级对所述批量红外分析报告进行排序。
  9. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1至6任一项所述基于模板的红外热像分析报告的批量生成方法的步骤。
  10. 一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1至6任一项所述基于模板的红外热像分析报告的批量生成方法的步骤。
PCT/CN2023/081620 2022-06-30 2023-03-15 基于模板的红外热像分析报告的批量生成方法及装置 WO2024001308A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210770440.X 2022-06-30
CN202210770440.XA CN115146602A (zh) 2022-06-30 2022-06-30 基于模板的红外热像分析报告的批量生成方法及装置

Publications (1)

Publication Number Publication Date
WO2024001308A1 true WO2024001308A1 (zh) 2024-01-04

Family

ID=83409555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/081620 WO2024001308A1 (zh) 2022-06-30 2023-03-15 基于模板的红外热像分析报告的批量生成方法及装置

Country Status (2)

Country Link
CN (1) CN115146602A (zh)
WO (1) WO2024001308A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115146602A (zh) * 2022-06-30 2022-10-04 武汉高德智感科技有限公司 基于模板的红外热像分析报告的批量生成方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046366A1 (en) * 2013-08-09 2015-02-12 Lingua Next Technologies Pvt. Ltd Method And System For Batch Generation Of Reports
CN111737539A (zh) * 2020-08-24 2020-10-02 成都四方伟业软件股份有限公司 一种复杂报表引擎方法及装置
CN113761859A (zh) * 2021-11-09 2021-12-07 武汉先峰数据有限公司 电子报告定义方法及装置、电子设备
CN115146602A (zh) * 2022-06-30 2022-10-04 武汉高德智感科技有限公司 基于模板的红外热像分析报告的批量生成方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046366A1 (en) * 2013-08-09 2015-02-12 Lingua Next Technologies Pvt. Ltd Method And System For Batch Generation Of Reports
CN111737539A (zh) * 2020-08-24 2020-10-02 成都四方伟业软件股份有限公司 一种复杂报表引擎方法及装置
CN113761859A (zh) * 2021-11-09 2021-12-07 武汉先峰数据有限公司 电子报告定义方法及装置、电子设备
CN115146602A (zh) * 2022-06-30 2022-10-04 武汉高德智感科技有限公司 基于模板的红外热像分析报告的批量生成方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JIANG, TAO; DUAN, LEQI; YANG, YUE: "Design of Standardization System of Infrared Thermal Image Live Detection Information", INNER MONGOLIA ELECTRIC POWER, vol. 36, no. 4, 7 September 2018 (2018-09-07), pages 63 - 67, XP009552122, ISSN: 1008-6218, DOI: 10.3969/j.issn.1008-6218.2018.04.015 *

Also Published As

Publication number Publication date
CN115146602A (zh) 2022-10-04

Similar Documents

Publication Publication Date Title
US9832195B2 (en) Developer based document collaboration
JP6507472B2 (ja) 処理方法、処理システム及びコンピュータプログラム
US9880989B1 (en) Document annotation service
US20130238968A1 (en) Automatic Creation of a Table and Query Tools
US8311337B2 (en) Systems and methods for organizing and accessing feature vectors in digital images
JP2009295148A (ja) ファイル管理装置、ファイル管理方法及びファイル管理プログラム
CN110737689B (zh) 数据标准符合性检测方法、装置、系统及存储介质
US20150058708A1 (en) Systems and methods of character dialog generation
CN109241003B (zh) 文件管理方法和装置
WO2024001308A1 (zh) 基于模板的红外热像分析报告的批量生成方法及装置
WO2020233023A1 (zh) 基于分层技术实现的psd文件编辑方法、电子设备
JP2007042092A (ja) 電子ドキュメント処理装置、方法およびプログラム
CN106599001A (zh) 网页内容获取方法和系统
CN113901954A (zh) 一种文档版面的识别方法、装置、电子设备及存储介质
CN111818175A (zh) 企业服务总线配置文件生成方法、装置、设备和存储介质
JP2019040260A (ja) 情報処理装置及びプログラム
US10643022B2 (en) PDF extraction with text-based key
WO2024001309A1 (zh) 一种红外热像分析报告的生成及模板制作方法及装置
CN116343210B (zh) 档案数字化的管理方法及装置
US11967344B2 (en) Video processing method and apparatus, device and computer readable storage medium
CN112364790B (zh) 基于卷积神经网络的机场工作单信息识别方法及系统
US9946698B2 (en) Inserting text and graphics using hand markup
CN110443202B (zh) 论文字体工整度即时分析系统、方法及存储介质
CN113312318A (zh) 文件显示方法、装置及计算机设备
Kratochvil Managing multimedia and unstructured data in the Oracle database

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829500

Country of ref document: EP

Kind code of ref document: A1