The molecular structure of alkanes is described by anovel molecular subgraph coding method,recently developed in this la在拓扑不变量的基础上直接将子图分类、计数、编码,提出了一种新分子拓扑子图指数,已数字化的子图编码部分保持具体分子结构的直观信息。