A non-plug-in embedded Java card coverage statistics method

By adopting a non-instrumented embedded Java card coverage statistics method, the problems of insufficient space utilization and low accuracy in Java card coverage statistics are solved. It realizes efficient and accurate coverage statistics and detailed test data generation in real-world environments, and is suitable for situations where Java card functionality is increased.

CN122412299APending Publication Date: 2026-07-17BEIJING HUAHONG INTEGRATED CIRCUIT DESIGN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610459752.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-09
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing Java card coverage statistics methods suffer from insufficient space utilization, inaccurate coverage statistics, and low development efficiency. Especially with the continuous increase in Java card functionality, traditional instrumentation methods consume additional code and storage space, and the difference between the simulator and the actual card operating environment leads to inaccurate statistics.

Method used

An embedded Java card coverage statistics method without instrumentation is adopted. By configuring the Java card conversion tool to generate line number matching files and structure information files, and combining instruction tracing macro units to collect runtime data in real time, a coverage analysis report is generated. This avoids additional modifications to bytecode files and uses hardware emulators, software emulators or physical Java cards for data collection and analysis.

Benefits of technology

It enables a more accurate reflection of Java card operation in the actual operating environment, avoids space occupation issues, improves resource utilization efficiency and coverage statistics accuracy, and provides detailed test data to improve development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122412299A_ABST
    Figure CN122412299A_ABST
Patent Text Reader

Abstract

本发明涉及一种非插桩的嵌入式Java卡覆盖率统计方法,属于嵌入式系统技术领域,解决了现有技术中Java卡覆盖率统计方法中存在的空间占用大、模拟环境不准确以及实施复杂的问题。一种非插桩的嵌入式Java卡覆盖率统计方法,包括配置Java卡转换工具,将源代码编译为字节码并同步输出行号匹配与结构信息文件;随后在Java卡虚拟机运行字节码,利用嵌入的指令跟踪宏单元实时采集已执行字节码地址及分支选择结果;最终由覆盖率分析工具综合字节码信息文件与运行时数据,生成覆盖率分析报告,实现无需插桩、低资源占用的精确覆盖率统计。实现了在资源受限的嵌入式Java卡环境中高效、准确地生成覆盖率分析报告,降低了空间占用,提高了测试效率和结果的准确性。
Need to check novelty before this filing date? Find Prior Art