# CNAPS1报文
## **概述**
CNAPS1 一代报文, CNAPS1报文有自己定义的特殊格式,例如:
```
<pre class="calibre29">```
<span class="token1">{</span><span class="token2">1</span><span class="token1">:</span> <span class="token2">2000</span><span class="token1">}</span><span class="token1">{</span><span class="token2">2</span><span class="token1">:</span><span class="token1">:</span>CLZ<span class="token1">:</span>ABC123CBA1<span class="token1">:</span>DETAILS<span class="token1">:</span>ABCDEFGHIJKLMNOPQRSTUVWXYZ1234<span class="token1">}</span>
```
```
1. 这段报文有2个报文域,大括号{}部分,且报文域有前缀:{1:,后缀:},前缀{2:,后缀:}。
2. 一般解析报文头{1:2000}用定长报文来处理,解析报文体用tag值来获取信息,如tag值:CLZ,那么将会取到ABC123CBA1
## **配置**
![](https://img.kancloud.cn/f4/f9/f4f9bd21a5c6a0b6198f8f45a7710a9e_1429x390.png)