├── .gitignore
├── LICENSE
├── Linux_voice_1.109
├── README
├── bin
│ ├── gm_continuous_digit.abnf
│ ├── iat_sample
│ ├── libmsc.so
│ ├── msc
│ │ ├── 9cbcfa4f360249238aebf44c91ea786c
│ │ │ ├── u.data
│ │ │ └── urec.data
│ │ ├── cloud_cisr1P1HHBHMuICzHrxnQaam18CJSB1w150.log
│ │ ├── cloud_cisr1P1HHBHMuOgsHRLtHaaWL65AMCD3mJM.log
│ │ ├── ctts1P1HHBHMuOvdHgOQ0aa5wd5s253r1oj.log
│ │ ├── isr.log
│ │ ├── isr_1conn.logcache
│ │ ├── lgi.log
│ │ ├── msc.cfg
│ │ ├── msc.log
│ │ ├── tts.logcache
│ │ ├── user.perf
│ │ └── waiter.log
│ ├── stt_sample
│ ├── temp.wav
│ ├── tts_sample
│ ├── tts_sample.wav
│ ├── userwords.txt
│ └── wav
│ │ ├── iflytek01.wav
│ │ ├── iflytek02.wav
│ │ └── temp.wav
├── include
│ ├── msp_cmn.h
│ ├── msp_errors.h
│ ├── msp_types.h
│ ├── qisr.h
│ └── qtts.h
├── libs
│ ├── RaspberryPi
│ │ └── libmsc.so
│ ├── arm
│ │ └── readme.txt
│ ├── mips
│ │ └── readme.txt
│ ├── x64
│ │ └── libmsc.so
│ └── x86
│ │ └── libmsc.so
└── samples
│ ├── asr_sample
│ ├── 32bit_make.sh
│ ├── 64bit_make.sh
│ ├── Makefile
│ └── asr_sample.c
│ ├── iat_sample
│ ├── 32bit_make.sh
│ ├── 64bit_make.sh
│ ├── Makefile
│ └── iat_sample.c
│ ├── stt_sample
│ ├── 32bit_make.sh
│ ├── 64bit_make.sh
│ ├── Makefile
│ ├── iat_sample.c
│ └── iat_sample.o
│ └── tts_sample
│ ├── 32bit_make.sh
│ ├── 64bit_make.sh
│ ├── Makefile
│ ├── tts_sample.c
│ └── tts_sample.o
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | doc/
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 geektown
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/README:
--------------------------------------------------------------------------------
1 | README for Linux SDK
2 | -----------------------
3 |
4 | bin:
5 | |-- msc
6 | |-- msc.cfg(作用:msc调试、生成msc日志)
7 | |-- wav(符合标准的音频文件样例)
8 | |-- 示例程序可执行文件(samples目录下对应示例生成的可执行文件,编译sample源码后生成)
9 | |-- gm_continuous_digit.abnf(abnf语法样例)
10 | |-- userwords.txt(用户词表样例)
11 |
12 | doc:
13 | |-- iFlytek MSC Reference Manual(API文档,HTML格式)
14 | |-- MSC Novice Manual for Linux.pdf(MSC新手指南)
15 | |-- Grammar Development Guidelines(语音识别语法规范)
16 | |-- Open Semantic Platform API Documents(语义开放平台API文档)
17 |
18 | include:调用SDK所需头文件
19 |
20 | libs:
21 | |-- x86
22 | |-- libmsc.so(32位动态库)
23 | |-- x64
24 | |-- libmsc.so(64位动态库)
25 | |--Raspberry Pi
26 | |-- libmsc.so(32位动态库)
27 | |-- arm
28 | |-- readme.txt(获取相应平台SDK的方法)
29 | |--mips
30 | |-- readme.txt(获取相应平台SDK的方法)
31 |
32 | samples:
33 | |-- asr_sample(语音识别示例)
34 | |-- asr_sample.c
35 | |-- Makefile
36 | |-- make.sh(分为32位和64位执行脚本,建议执行命令:source make.sh,shell脚本会自动设置SDK搜索路径,可根据实际需要修改。)
37 | |-- iat_sample(语音听写示例)
38 | |-- iat_sample.c
39 | |-- Makefile
40 | |-- make.sh
41 | |-- tts_sample(语音合成示例)
42 | |-- tts_sample.c
43 | |-- Makefile
44 | |-- make.sh
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/gm_continuous_digit.abnf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/gm_continuous_digit.abnf
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/iat_sample:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/iat_sample
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/libmsc.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/libmsc.so
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/9cbcfa4f360249238aebf44c91ea786c/u.data:
--------------------------------------------------------------------------------
1 | d4434723208
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/9cbcfa4f360249238aebf44c91ea786c/urec.data:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/9cbcfa4f360249238aebf44c91ea786c/urec.data
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/cloud_cisr1P1HHBHMuICzHrxnQaam18CJSB1w150.log:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/cloud_cisr1P1HHBHMuICzHrxnQaam18CJSB1w150.log
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/cloud_cisr1P1HHBHMuOgsHRLtHaaWL65AMCD3mJM.log:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/cloud_cisr1P1HHBHMuOgsHRLtHaaWL65AMCD3mJM.log
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/ctts1P1HHBHMuOvdHgOQ0aa5wd5s253r1oj.log:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/ctts1P1HHBHMuOvdHgOQ0aa5wd5s253r1oj.log
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/isr_1conn.logcache:
--------------------------------------------------------------------------------
1 | cloud_cisr1P1HHBHMuOgsHRLtHaaWL65AMCD3mJM.log
2 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/lgi.log:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/lgi.log
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/msc.cfg:
--------------------------------------------------------------------------------
1 | ## Copyright (C) 2010-2015 iFLYTEK.
2 | ## Use ';' and '#' character for notation
3 | ## Note: Commands in this cfg file is case sensitive
4 |
5 | [logger]
6 | ##如果用户指定的日志文件路径无效,那么MSC在运行中将不会记录日志信息
7 | file = msc.log
8 | title = Mobile Speech Client
9 | level = -1
10 | output = 1
11 | filter = -1
12 | style = -1
13 | flush = 0
14 | maxsize =
15 | overwrite =
16 | maxfile =
17 | cache =
18 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/msc.log:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/msc.log
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/tts.logcache:
--------------------------------------------------------------------------------
1 | ctts1P1HHBHMuOvdHgOQ0aa5wd5s253r1oj.log
2 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/user.perf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/msc/user.perf
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/msc/waiter.log:
--------------------------------------------------------------------------------
1 | ============================================================
2 | Time 2014/03/29 02:01:48 612
3 | ============================================================
4 | [2014/03/29 02:01:48 613] waiter 189 waiter loaded!
5 | [2014/03/29 02:01:48 661] network 428 update_iplist
6 | [2014/03/29 02:01:48 662] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
7 | [2014/03/29 02:01:48 662] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
8 | [2014/03/29 02:01:48 672] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
9 | [2014/03/29 02:01:48 673] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
10 | [2014/03/29 02:01:48 675] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
11 | [2014/03/29 02:01:48 694] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
12 | [2014/03/29 02:01:48 719] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
13 | [2014/03/29 02:01:48 751] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
14 | [2014/03/29 02:01:48 770] network 199 Set ipcache by ip from gethostbyname
15 | [2014/03/29 02:01:48 770] network 318 gethttpresp dns ok 60.166.12.146
16 | [2014/03/29 02:01:48 778] network 209 gethttpresp2 60.166.12.146 80
17 | [2014/03/29 02:01:48 791] waiter 275 last gc at 1396058508
18 | [2014/03/29 02:01:48 793] network 644 chunkedhttp
19 | [2014/03/29 02:01:48 793] waiter 275 last gc at 1396058508
20 | [2014/03/29 02:01:48 795] network 428 update_iplist
21 | [2014/03/29 02:01:48 796] waiter 275 last gc at 1396058508
22 | [2014/03/29 02:01:48 797] network 209 gethttpresp2 117.121.21.146 1028
23 | [2014/03/29 02:01:48 812] waiter 275 last gc at 1396058508
24 | [2014/03/29 02:01:48 814] network 175 dns resp 0
25 | [2014/03/29 02:01:48 814] network 318 gethttpresp dns ok 117.121.21.146
26 | [2014/03/29 02:01:48 815] network 209 gethttpresp2 117.121.21.146 80
27 | [2014/03/29 02:01:48 837] network 428 update_iplist
28 | [2014/03/29 02:01:48 838] waiter 275 last gc at 1396058508
29 | [2014/03/29 02:01:48 845] network 234 connected
30 | [2014/03/29 02:01:48 850] network 234 connected
31 | [2014/03/29 02:01:48 856] network 237 send ok 94
32 | [2014/03/29 02:01:48 857] network 237 send ok 93
33 | [2014/03/29 02:01:48 859] network 234 connected
34 | [2014/03/29 02:01:48 864] network 237 send ok 94
35 | [2014/03/29 02:01:48 892] network 240 readable
36 | [2014/03/29 02:01:48 935] network 934 port1028 http resp nil 0 udata(11a348)
37 | [2014/03/29 02:01:48 935] network 941 set preferred_port: 1028
38 | [2014/03/29 02:01:48 937] network 240 readable
39 | [2014/03/29 02:01:48 944] network 549 update iplist http resp nil 0 udata(1045c8)
40 | [2014/03/29 02:01:48 945] network 576 update iplist ok
41 | [2014/03/29 02:01:48 945] network 598 not encrypted!
42 | [2014/03/29 02:01:48 971] network 497 dev.voicecloud.cn
43 | [2014/03/29 02:01:48 982] network 508 bj
44 | [2014/03/29 02:01:48 983] network 510 bj
45 | [2014/03/29 02:01:48 983] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
46 | [2014/03/29 02:01:48 987] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
47 | [2014/03/29 02:01:49 005] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
48 | [2014/03/29 02:01:49 020] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
49 | [2014/03/29 02:01:49 053] network 510 gz
50 | [2014/03/29 02:01:49 054] network 510 hf
51 | [2014/03/29 02:01:49 139] network 240 readable
52 | [2014/03/29 02:01:49 179] network 549 update iplist http resp nil 0 udata(d3388)
53 | [2014/03/29 02:01:49 180] network 576 update iplist ok
54 | [2014/03/29 02:01:49 181] network 598 not encrypted!
55 | [2014/03/29 02:01:49 216] network 497 dev.voicecloud.cn
56 | [2014/03/29 02:01:49 243] network 508 bj
57 | [2014/03/29 02:01:49 244] network 510 bj
58 | [2014/03/29 02:01:49 244] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
59 | [2014/03/29 02:01:49 249] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
60 | [2014/03/29 02:01:49 277] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
61 | [2014/03/29 02:01:49 306] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
62 | [2014/03/29 02:01:49 339] network 510 gz
63 | [2014/03/29 02:01:49 352] network 510 hf
64 | ============================================================
65 | Time 2014/03/29 02:11:50 333
66 | ============================================================
67 | [2014/03/29 02:11:50 333] waiter 189 waiter loaded!
68 | [2014/03/29 02:11:50 398] network 428 update_iplist
69 | [2014/03/29 02:11:50 399] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
70 | [2014/03/29 02:11:50 400] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
71 | [2014/03/29 02:11:50 409] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
72 | [2014/03/29 02:11:50 410] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
73 | [2014/03/29 02:11:50 413] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
74 | [2014/03/29 02:11:50 442] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
75 | [2014/03/29 02:11:50 458] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
76 | [2014/03/29 02:11:50 496] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
77 | [2014/03/29 02:11:50 515] network 199 Set ipcache by ip from gethostbyname
78 | [2014/03/29 02:11:50 529] network 318 gethttpresp dns ok 60.166.12.146
79 | [2014/03/29 02:11:50 530] network 209 gethttpresp2 60.166.12.146 80
80 | [2014/03/29 02:11:50 555] waiter 275 last gc at 1396059110
81 | [2014/03/29 02:11:50 557] network 644 chunkedhttp
82 | [2014/03/29 02:11:50 558] waiter 275 last gc at 1396059110
83 | [2014/03/29 02:11:50 559] network 428 update_iplist
84 | [2014/03/29 02:11:50 560] waiter 275 last gc at 1396059110
85 | [2014/03/29 02:11:50 569] network 209 gethttpresp2 117.121.21.148 1028
86 | [2014/03/29 02:11:50 574] waiter 275 last gc at 1396059110
87 | [2014/03/29 02:11:50 576] network 175 dns resp 0
88 | [2014/03/29 02:11:50 577] network 318 gethttpresp dns ok 117.121.21.148
89 | [2014/03/29 02:11:50 577] network 209 gethttpresp2 117.121.21.148 80
90 | [2014/03/29 02:11:50 583] network 428 update_iplist
91 | [2014/03/29 02:11:50 584] waiter 275 last gc at 1396059110
92 | [2014/03/29 02:11:50 586] network 234 connected
93 | [2014/03/29 02:11:50 591] network 237 send ok 94
94 | [2014/03/29 02:11:50 595] network 234 connected
95 | [2014/03/29 02:11:50 600] network 237 send ok 94
96 | [2014/03/29 02:11:50 622] network 234 connected
97 | [2014/03/29 02:11:50 626] network 237 send ok 93
98 | [2014/03/29 02:11:50 647] network 240 readable
99 | [2014/03/29 02:11:50 690] network 549 update iplist http resp nil 0 udata(1a1ee78)
100 | [2014/03/29 02:11:50 691] network 576 update iplist ok
101 | [2014/03/29 02:11:50 691] network 598 not encrypted!
102 | [2014/03/29 02:11:50 706] network 497 dev.voicecloud.cn
103 | [2014/03/29 02:11:50 707] network 508 bj
104 | [2014/03/29 02:11:50 707] network 510 bj
105 | [2014/03/29 02:11:50 708] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
106 | [2014/03/29 02:11:50 734] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
107 | [2014/03/29 02:11:50 750] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
108 | [2014/03/29 02:11:50 759] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
109 | [2014/03/29 02:11:50 768] network 510 gz
110 | [2014/03/29 02:11:50 768] network 510 hf
111 | [2014/03/29 02:11:50 773] network 240 readable
112 | [2014/03/29 02:11:50 781] network 549 update iplist http resp nil 0 udata(1aa6ae0)
113 | [2014/03/29 02:11:50 781] network 576 update iplist ok
114 | [2014/03/29 02:11:50 782] network 598 not encrypted!
115 | [2014/03/29 02:11:50 797] network 497 dev.voicecloud.cn
116 | [2014/03/29 02:11:50 798] network 508 bj
117 | [2014/03/29 02:11:50 799] network 510 bj
118 | [2014/03/29 02:11:50 799] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
119 | [2014/03/29 02:11:50 804] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
120 | [2014/03/29 02:11:50 821] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
121 | [2014/03/29 02:11:50 838] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
122 | [2014/03/29 02:11:50 857] network 510 gz
123 | [2014/03/29 02:11:50 863] network 510 hf
124 | [2014/03/29 02:11:50 868] network 240 readable
125 | [2014/03/29 02:11:50 901] network 934 port1028 http resp nil 0 udata(1a83b70)
126 | [2014/03/29 02:11:50 902] network 941 set preferred_port: 1028
127 | ============================================================
128 | Time 2014/03/29 02:21:50 793
129 | ============================================================
130 | [2014/03/29 02:21:50 793] waiter 189 waiter loaded!
131 | [2014/03/29 02:21:50 852] network 428 update_iplist
132 | [2014/03/29 02:21:50 853] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
133 | [2014/03/29 02:21:50 854] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
134 | [2014/03/29 02:21:50 861] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
135 | [2014/03/29 02:21:50 863] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
136 | [2014/03/29 02:21:50 864] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
137 | [2014/03/29 02:21:50 884] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
138 | [2014/03/29 02:21:50 910] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
139 | [2014/03/29 02:21:50 949] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
140 | [2014/03/29 02:21:50 980] network 199 Set ipcache by ip from gethostbyname
141 | [2014/03/29 02:21:50 981] network 318 gethttpresp dns ok 60.166.12.146
142 | [2014/03/29 02:21:50 981] network 209 gethttpresp2 60.166.12.146 80
143 | [2014/03/29 02:21:50 986] waiter 275 last gc at 1396059710
144 | [2014/03/29 02:21:50 988] network 644 chunkedhttp
145 | [2014/03/29 02:21:50 988] waiter 275 last gc at 1396059710
146 | [2014/03/29 02:21:50 990] network 428 update_iplist
147 | [2014/03/29 02:21:51 001] waiter 275 last gc at 1396059710
148 | [2014/03/29 02:21:51 013] network 209 gethttpresp2 117.121.21.147 1028
149 | [2014/03/29 02:21:51 027] waiter 275 last gc at 1396059710
150 | [2014/03/29 02:21:51 028] network 175 dns resp 0
151 | [2014/03/29 02:21:51 029] network 318 gethttpresp dns ok 117.121.21.147
152 | [2014/03/29 02:21:51 030] network 209 gethttpresp2 117.121.21.147 80
153 | [2014/03/29 02:21:51 036] network 428 update_iplist
154 | [2014/03/29 02:21:51 037] waiter 275 last gc at 1396059710
155 | [2014/03/29 02:21:51 039] network 234 connected
156 | [2014/03/29 02:21:51 044] network 237 send ok 94
157 | [2014/03/29 02:21:51 049] network 234 connected
158 | [2014/03/29 02:21:51 054] network 234 connected
159 | [2014/03/29 02:21:51 075] network 237 send ok 93
160 | [2014/03/29 02:21:51 077] network 237 send ok 94
161 | [2014/03/29 02:21:51 097] network 240 readable
162 | [2014/03/29 02:21:51 107] network 549 update iplist http resp nil 0 udata(1221490)
163 | [2014/03/29 02:21:51 108] network 576 update iplist ok
164 | [2014/03/29 02:21:51 108] network 598 not encrypted!
165 | [2014/03/29 02:21:51 128] network 497 dev.voicecloud.cn
166 | [2014/03/29 02:21:51 140] network 508 bj
167 | [2014/03/29 02:21:51 140] network 510 bj
168 | [2014/03/29 02:21:51 141] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
169 | [2014/03/29 02:21:51 145] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
170 | [2014/03/29 02:21:51 163] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
171 | [2014/03/29 02:21:51 176] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
172 | [2014/03/29 02:21:51 195] network 510 gz
173 | [2014/03/29 02:21:51 207] network 510 hf
174 | [2014/03/29 02:21:51 262] network 240 readable
175 | [2014/03/29 02:21:51 313] network 934 port1028 http resp nil 0 udata(11ac4d8)
176 | [2014/03/29 02:21:51 313] network 941 set preferred_port: 1028
177 | [2014/03/29 02:21:51 315] network 240 readable
178 | [2014/03/29 02:21:51 329] network 549 update iplist http resp nil 0 udata(11ea318)
179 | [2014/03/29 02:21:51 330] network 576 update iplist ok
180 | [2014/03/29 02:21:51 330] network 598 not encrypted!
181 | [2014/03/29 02:21:51 369] network 497 dev.voicecloud.cn
182 | [2014/03/29 02:21:51 369] network 508 bj
183 | [2014/03/29 02:21:51 370] network 510 bj
184 | [2014/03/29 02:21:51 370] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
185 | [2014/03/29 02:21:51 386] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
186 | [2014/03/29 02:21:51 415] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
187 | [2014/03/29 02:21:51 432] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
188 | [2014/03/29 02:21:51 469] network 510 gz
189 | [2014/03/29 02:21:51 470] network 510 hf
190 | ============================================================
191 | Time 2014/03/29 02:22:59 872
192 | ============================================================
193 | [2014/03/29 02:22:59 873] waiter 189 waiter loaded!
194 | [2014/03/29 02:22:59 900] network 428 update_iplist
195 | [2014/03/29 02:22:59 901] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
196 | [2014/03/29 02:22:59 904] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
197 | [2014/03/29 02:22:59 912] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
198 | [2014/03/29 02:22:59 913] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
199 | [2014/03/29 02:22:59 915] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
200 | [2014/03/29 02:22:59 938] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
201 | [2014/03/29 02:22:59 966] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
202 | [2014/03/29 02:22:59 999] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
203 | [2014/03/29 02:23:00 024] network 199 Set ipcache by ip from gethostbyname
204 | [2014/03/29 02:23:00 032] network 318 gethttpresp dns ok 60.166.12.146
205 | [2014/03/29 02:23:00 032] network 209 gethttpresp2 60.166.12.146 80
206 | [2014/03/29 02:23:00 051] waiter 275 last gc at 1396059779
207 | [2014/03/29 02:23:00 053] network 644 chunkedhttp
208 | [2014/03/29 02:23:00 054] waiter 275 last gc at 1396059779
209 | [2014/03/29 02:23:00 055] network 428 update_iplist
210 | [2014/03/29 02:23:00 056] waiter 275 last gc at 1396059779
211 | [2014/03/29 02:23:00 058] network 209 gethttpresp2 117.121.21.148 1028
212 | [2014/03/29 02:23:00 074] waiter 275 last gc at 1396059779
213 | [2014/03/29 02:23:00 076] network 175 dns resp 0
214 | [2014/03/29 02:23:00 076] network 318 gethttpresp dns ok 117.121.21.148
215 | [2014/03/29 02:23:00 077] network 209 gethttpresp2 117.121.21.148 80
216 | [2014/03/29 02:23:00 082] network 428 update_iplist
217 | [2014/03/29 02:23:00 083] waiter 275 last gc at 1396059779
218 | [2014/03/29 02:23:00 085] network 234 connected
219 | [2014/03/29 02:23:00 096] network 234 connected
220 | [2014/03/29 02:23:00 144] network 237 send ok 94
221 | [2014/03/29 02:23:00 145] network 237 send ok 94
222 | [2014/03/29 02:23:00 147] network 234 connected
223 | [2014/03/29 02:23:00 177] network 237 send ok 93
224 | [2014/03/29 02:23:00 184] network 240 readable
225 | [2014/03/29 02:23:00 231] network 549 update iplist http resp nil 0 udata(189bcc0)
226 | [2014/03/29 02:23:00 232] network 576 update iplist ok
227 | [2014/03/29 02:23:00 232] network 598 not encrypted!
228 | [2014/03/29 02:23:00 247] network 497 dev.voicecloud.cn
229 | [2014/03/29 02:23:00 248] network 508 bj
230 | [2014/03/29 02:23:00 248] network 510 bj
231 | [2014/03/29 02:23:00 249] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
232 | [2014/03/29 02:23:00 263] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
233 | [2014/03/29 02:23:00 276] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
234 | [2014/03/29 02:23:00 294] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
235 | [2014/03/29 02:23:00 309] network 510 gz
236 | [2014/03/29 02:23:00 309] network 510 hf
237 | [2014/03/29 02:23:00 329] network 240 readable
238 | [2014/03/29 02:23:00 367] network 549 update iplist http resp nil 0 udata(1893330)
239 | [2014/03/29 02:23:00 368] network 576 update iplist ok
240 | [2014/03/29 02:23:00 369] network 598 not encrypted!
241 | [2014/03/29 02:23:00 388] network 497 dev.voicecloud.cn
242 | [2014/03/29 02:23:00 389] network 508 bj
243 | [2014/03/29 02:23:00 389] network 510 bj
244 | [2014/03/29 02:23:00 390] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
245 | [2014/03/29 02:23:00 415] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
246 | [2014/03/29 02:23:00 449] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
247 | [2014/03/29 02:23:00 473] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
248 | [2014/03/29 02:23:00 497] network 510 gz
249 | [2014/03/29 02:23:00 497] network 510 hf
250 | [2014/03/29 02:23:00 508] network 240 readable
251 | [2014/03/29 02:23:00 518] network 934 port1028 http resp nil 0 udata(187ee00)
252 | [2014/03/29 02:23:00 519] network 941 set preferred_port: 1028
253 | ============================================================
254 | Time 2014/03/29 02:24:57 658
255 | ============================================================
256 | [2014/03/29 02:24:57 658] waiter 189 waiter loaded!
257 | [2014/03/29 02:24:57 696] network 428 update_iplist
258 | [2014/03/29 02:24:57 697] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
259 | [2014/03/29 02:24:57 698] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
260 | [2014/03/29 02:24:57 713] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
261 | [2014/03/29 02:24:57 717] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
262 | [2014/03/29 02:24:57 718] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
263 | [2014/03/29 02:24:57 727] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
264 | [2014/03/29 02:24:57 759] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
265 | [2014/03/29 02:24:57 800] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
266 | [2014/03/29 02:24:57 810] network 199 Set ipcache by ip from gethostbyname
267 | [2014/03/29 02:24:57 822] network 318 gethttpresp dns ok 60.166.12.146
268 | [2014/03/29 02:24:57 822] network 209 gethttpresp2 60.166.12.146 80
269 | [2014/03/29 02:24:57 835] waiter 275 last gc at 1396059897
270 | [2014/03/29 02:24:57 837] network 644 chunkedhttp
271 | [2014/03/29 02:24:57 838] waiter 275 last gc at 1396059897
272 | [2014/03/29 02:24:57 839] network 428 update_iplist
273 | [2014/03/29 02:24:57 840] waiter 275 last gc at 1396059897
274 | [2014/03/29 02:24:57 876] network 209 gethttpresp2 117.121.21.147 1028
275 | [2014/03/29 02:24:57 890] waiter 275 last gc at 1396059897
276 | [2014/03/29 02:24:57 892] network 175 dns resp 0
277 | [2014/03/29 02:24:57 893] network 318 gethttpresp dns ok 117.121.21.147
278 | [2014/03/29 02:24:57 893] network 209 gethttpresp2 117.121.21.147 80
279 | [2014/03/29 02:24:57 900] network 428 update_iplist
280 | [2014/03/29 02:24:57 900] waiter 275 last gc at 1396059897
281 | [2014/03/29 02:24:57 903] network 234 connected
282 | [2014/03/29 02:24:57 908] network 237 send ok 94
283 | [2014/03/29 02:24:57 912] network 234 connected
284 | [2014/03/29 02:24:57 918] network 234 connected
285 | [2014/03/29 02:24:57 938] network 237 send ok 93
286 | [2014/03/29 02:24:57 951] network 237 send ok 94
287 | [2014/03/29 02:24:57 962] network 240 readable
288 | [2014/03/29 02:24:57 970] network 549 update iplist http resp nil 0 udata(1f21230)
289 | [2014/03/29 02:24:57 970] network 576 update iplist ok
290 | [2014/03/29 02:24:57 971] network 598 not encrypted!
291 | [2014/03/29 02:24:57 999] network 497 dev.voicecloud.cn
292 | [2014/03/29 02:24:58 009] network 508 bj
293 | [2014/03/29 02:24:58 010] network 510 bj
294 | [2014/03/29 02:24:58 010] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
295 | [2014/03/29 02:24:58 014] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
296 | [2014/03/29 02:24:58 033] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
297 | [2014/03/29 02:24:58 046] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
298 | [2014/03/29 02:24:58 079] network 510 gz
299 | [2014/03/29 02:24:58 099] network 510 hf
300 | [2014/03/29 02:24:58 104] network 240 readable
301 | [2014/03/29 02:24:58 158] network 934 port1028 http resp nil 0 udata(1eaf4a8)
302 | [2014/03/29 02:24:58 158] network 941 set preferred_port: 1028
303 | [2014/03/29 02:24:58 160] network 240 readable
304 | [2014/03/29 02:24:58 174] network 549 update iplist http resp nil 0 udata(1eb54b8)
305 | [2014/03/29 02:24:58 174] network 576 update iplist ok
306 | [2014/03/29 02:24:58 175] network 598 not encrypted!
307 | [2014/03/29 02:24:58 223] network 497 dev.voicecloud.cn
308 | [2014/03/29 02:24:58 239] network 508 bj
309 | [2014/03/29 02:24:58 239] network 510 bj
310 | [2014/03/29 02:24:58 240] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
311 | [2014/03/29 02:24:58 256] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
312 | [2014/03/29 02:24:58 280] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
313 | [2014/03/29 02:24:58 289] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
314 | [2014/03/29 02:24:58 318] network 510 gz
315 | [2014/03/29 02:24:58 319] network 510 hf
316 | ============================================================
317 | Time 2014/03/29 02:31:38 196
318 | ============================================================
319 | [2014/03/29 02:31:38 196] waiter 189 waiter loaded!
320 | [2014/03/29 02:31:38 255] network 428 update_iplist
321 | [2014/03/29 02:31:38 256] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
322 | [2014/03/29 02:31:38 257] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
323 | [2014/03/29 02:31:38 262] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
324 | [2014/03/29 02:31:38 263] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
325 | [2014/03/29 02:31:38 264] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
326 | [2014/03/29 02:31:38 278] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
327 | [2014/03/29 02:31:38 321] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
328 | [2014/03/29 02:31:38 343] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
329 | [2014/03/29 02:31:38 368] network 199 Set ipcache by ip from gethostbyname
330 | [2014/03/29 02:31:38 369] network 318 gethttpresp dns ok 60.166.12.146
331 | [2014/03/29 02:31:38 370] network 209 gethttpresp2 60.166.12.146 80
332 | [2014/03/29 02:31:38 393] waiter 275 last gc at 1396060298
333 | [2014/03/29 02:31:38 394] network 644 chunkedhttp
334 | [2014/03/29 02:31:38 395] waiter 275 last gc at 1396060298
335 | [2014/03/29 02:31:38 397] network 428 update_iplist
336 | [2014/03/29 02:31:38 397] waiter 275 last gc at 1396060298
337 | [2014/03/29 02:31:38 399] network 209 gethttpresp2 117.121.56.8 1028
338 | [2014/03/29 02:31:38 439] waiter 275 last gc at 1396060298
339 | [2014/03/29 02:31:38 441] network 175 dns resp 0
340 | [2014/03/29 02:31:38 442] network 318 gethttpresp dns ok 117.121.56.8
341 | [2014/03/29 02:31:38 443] network 209 gethttpresp2 117.121.56.8 80
342 | [2014/03/29 02:31:38 459] network 428 update_iplist
343 | [2014/03/29 02:31:38 460] waiter 275 last gc at 1396060298
344 | [2014/03/29 02:31:38 463] network 234 connected
345 | [2014/03/29 02:31:38 470] network 234 connected
346 | [2014/03/29 02:31:38 475] network 237 send ok 94
347 | [2014/03/29 02:31:38 477] network 234 connected
348 | [2014/03/29 02:31:38 500] network 237 send ok 93
349 | [2014/03/29 02:31:38 502] network 237 send ok 94
350 | [2014/03/29 02:31:38 523] network 240 readable
351 | [2014/03/29 02:31:38 530] network 549 update iplist http resp nil 0 udata(1629fd8)
352 | [2014/03/29 02:31:38 531] network 576 update iplist ok
353 | [2014/03/29 02:31:38 532] network 598 not encrypted!
354 | [2014/03/29 02:31:38 560] network 497 dev.voicecloud.cn
355 | [2014/03/29 02:31:38 566] network 508 bj
356 | [2014/03/29 02:31:38 566] network 510 bj
357 | [2014/03/29 02:31:38 567] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
358 | [2014/03/29 02:31:38 570] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
359 | [2014/03/29 02:31:38 604] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
360 | [2014/03/29 02:31:38 633] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
361 | [2014/03/29 02:31:38 651] network 510 gz
362 | [2014/03/29 02:31:38 674] network 510 hf
363 | [2014/03/29 02:31:38 678] network 240 readable
364 | [2014/03/29 02:31:38 725] network 934 port1028 http resp nil 0 udata(16819f8)
365 | [2014/03/29 02:31:38 726] network 941 set preferred_port: 1028
366 | [2014/03/29 02:31:38 728] network 240 readable
367 | [2014/03/29 02:31:38 739] network 549 update iplist http resp nil 0 udata(16af0a8)
368 | [2014/03/29 02:31:38 739] network 576 update iplist ok
369 | [2014/03/29 02:31:38 740] network 598 not encrypted!
370 | [2014/03/29 02:31:38 798] network 497 dev.voicecloud.cn
371 | [2014/03/29 02:31:38 799] network 508 bj
372 | [2014/03/29 02:31:38 800] network 510 bj
373 | [2014/03/29 02:31:38 800] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
374 | [2014/03/29 02:31:38 815] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
375 | [2014/03/29 02:31:38 855] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
376 | [2014/03/29 02:31:38 878] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
377 | [2014/03/29 02:31:38 920] network 510 gz
378 | [2014/03/29 02:31:38 931] network 510 hf
379 | ============================================================
380 | Time 2014/03/29 02:53:05 907
381 | ============================================================
382 | [2014/03/29 02:53:05 908] waiter 189 waiter loaded!
383 | [2014/03/29 02:53:05 921] network 428 update_iplist
384 | [2014/03/29 02:53:05 930] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
385 | [2014/03/29 02:53:05 931] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
386 | [2014/03/29 02:53:05 934] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
387 | [2014/03/29 02:53:05 934] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
388 | [2014/03/29 02:53:05 939] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
389 | [2014/03/29 02:53:05 947] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
390 | [2014/03/29 02:53:05 956] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
391 | [2014/03/29 02:53:05 965] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
392 | [2014/03/29 02:53:05 974] network 199 Set ipcache by ip from gethostbyname
393 | [2014/03/29 02:53:05 974] network 318 gethttpresp dns ok 60.166.12.146
394 | [2014/03/29 02:53:05 975] network 209 gethttpresp2 60.166.12.146 80
395 | [2014/03/29 02:53:05 979] waiter 275 last gc at 1396061585
396 | [2014/03/29 02:53:05 981] network 644 chunkedhttp
397 | [2014/03/29 02:53:05 982] waiter 275 last gc at 1396061585
398 | [2014/03/29 02:53:05 983] network 428 update_iplist
399 | [2014/03/29 02:53:05 984] waiter 275 last gc at 1396061585
400 | [2014/03/29 02:53:05 986] network 209 gethttpresp2 117.121.21.148 1028
401 | [2014/03/29 02:53:05 999] waiter 275 last gc at 1396061585
402 | [2014/03/29 02:53:06 000] network 175 dns resp 0
403 | [2014/03/29 02:53:06 001] network 318 gethttpresp dns ok 117.121.21.148
404 | [2014/03/29 02:53:06 002] network 209 gethttpresp2 117.121.21.148 80
405 | [2014/03/29 02:53:06 016] network 234 connected
406 | [2014/03/29 02:53:06 035] network 237 send ok 94
407 | [2014/03/29 02:53:06 051] network 234 connected
408 | [2014/03/29 02:53:06 056] network 234 connected
409 | [2014/03/29 02:53:06 060] network 428 update_iplist
410 | [2014/03/29 02:53:06 061] waiter 275 last gc at 1396061585
411 | [2014/03/29 02:53:06 079] network 237 send ok 93
412 | [2014/03/29 02:53:06 081] network 237 send ok 94
413 | [2014/03/29 02:53:06 086] network 240 readable
414 | [2014/03/29 02:53:06 097] network 549 update iplist http resp nil 0 udata(1abf200)
415 | [2014/03/29 02:53:06 098] network 576 update iplist ok
416 | [2014/03/29 02:53:06 099] network 598 not encrypted!
417 | [2014/03/29 02:53:06 128] network 497 dev.voicecloud.cn
418 | [2014/03/29 02:53:06 140] network 508 bj
419 | [2014/03/29 02:53:06 140] network 510 bj
420 | [2014/03/29 02:53:06 141] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
421 | [2014/03/29 02:53:06 144] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
422 | [2014/03/29 02:53:06 163] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
423 | [2014/03/29 02:53:06 176] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
424 | [2014/03/29 02:53:06 188] network 510 gz
425 | [2014/03/29 02:53:06 189] network 510 hf
426 | [2014/03/29 02:53:06 193] network 240 readable
427 | [2014/03/29 02:53:06 198] network 934 port1028 http resp nil 0 udata(1b0b990)
428 | [2014/03/29 02:53:06 199] network 941 set preferred_port: 1028
429 | [2014/03/29 02:53:06 201] network 240 readable
430 | [2014/03/29 02:53:06 208] network 549 update iplist http resp nil 0 udata(1b03840)
431 | [2014/03/29 02:53:06 209] network 576 update iplist ok
432 | [2014/03/29 02:53:06 209] network 598 not encrypted!
433 | [2014/03/29 02:53:06 225] network 497 dev.voicecloud.cn
434 | [2014/03/29 02:53:06 226] network 508 bj
435 | [2014/03/29 02:53:06 226] network 510 bj
436 | [2014/03/29 02:53:06 227] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
437 | [2014/03/29 02:53:06 232] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
438 | [2014/03/29 02:53:06 240] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
439 | [2014/03/29 02:53:06 249] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
440 | [2014/03/29 02:53:06 258] network 510 gz
441 | [2014/03/29 02:53:06 258] network 510 hf
442 | ============================================================
443 | Time 2014/03/29 02:55:07 675
444 | ============================================================
445 | [2014/03/29 02:55:07 676] waiter 189 waiter loaded!
446 | [2014/03/29 02:55:07 679] network 428 update_iplist
447 | [2014/03/29 02:55:07 680] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
448 | [2014/03/29 02:55:07 680] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
449 | [2014/03/29 02:55:07 692] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
450 | [2014/03/29 02:55:07 693] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
451 | [2014/03/29 02:55:07 694] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
452 | [2014/03/29 02:55:07 706] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
453 | [2014/03/29 02:55:07 727] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
454 | [2014/03/29 02:55:07 735] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
455 | [2014/03/29 02:55:07 744] network 199 Set ipcache by ip from gethostbyname
456 | [2014/03/29 02:55:07 745] network 318 gethttpresp dns ok 60.166.12.146
457 | [2014/03/29 02:55:07 746] network 209 gethttpresp2 60.166.12.146 80
458 | [2014/03/29 02:55:07 750] waiter 275 last gc at 1396061707
459 | [2014/03/29 02:55:07 752] network 644 chunkedhttp
460 | [2014/03/29 02:55:07 753] waiter 275 last gc at 1396061707
461 | [2014/03/29 02:55:07 754] network 428 update_iplist
462 | [2014/03/29 02:55:07 755] waiter 275 last gc at 1396061707
463 | [2014/03/29 02:55:07 757] network 209 gethttpresp2 117.121.21.146 1028
464 | [2014/03/29 02:55:07 769] waiter 275 last gc at 1396061707
465 | [2014/03/29 02:55:07 771] network 175 dns resp 0
466 | [2014/03/29 02:55:07 772] network 318 gethttpresp dns ok 117.121.21.146
467 | [2014/03/29 02:55:07 772] network 209 gethttpresp2 117.121.21.146 80
468 | [2014/03/29 02:55:07 795] network 234 connected
469 | [2014/03/29 02:55:07 799] network 234 connected
470 | [2014/03/29 02:55:07 846] network 234 connected
471 | [2014/03/29 02:55:07 861] network 237 send ok 94
472 | [2014/03/29 02:55:07 870] network 237 send ok 93
473 | [2014/03/29 02:55:07 871] network 428 update_iplist
474 | [2014/03/29 02:55:07 872] waiter 275 last gc at 1396061707
475 | [2014/03/29 02:55:07 874] network 237 send ok 94
476 | [2014/03/29 02:55:07 884] network 240 readable
477 | [2014/03/29 02:55:07 890] network 549 update iplist http resp nil 0 udata(1f678c0)
478 | [2014/03/29 02:55:07 892] network 576 update iplist ok
479 | [2014/03/29 02:55:07 893] network 598 not encrypted!
480 | [2014/03/29 02:55:07 918] network 497 dev.voicecloud.cn
481 | [2014/03/29 02:55:07 930] network 508 bj
482 | [2014/03/29 02:55:07 931] network 510 bj
483 | [2014/03/29 02:55:07 931] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
484 | [2014/03/29 02:55:07 935] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
485 | [2014/03/29 02:55:07 953] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
486 | [2014/03/29 02:55:07 967] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
487 | [2014/03/29 02:55:07 979] network 510 gz
488 | [2014/03/29 02:55:07 980] network 510 hf
489 | [2014/03/29 02:55:07 984] network 240 readable
490 | [2014/03/29 02:55:07 990] network 934 port1028 http resp nil 0 udata(1f65838)
491 | [2014/03/29 02:55:07 990] network 941 set preferred_port: 1028
492 | [2014/03/29 02:55:07 992] network 240 readable
493 | [2014/03/29 02:55:07 999] network 549 update iplist http resp nil 0 udata(1f65d48)
494 | [2014/03/29 02:55:08 000] network 576 update iplist ok
495 | [2014/03/29 02:55:08 001] network 598 not encrypted!
496 | [2014/03/29 02:55:08 016] network 497 dev.voicecloud.cn
497 | [2014/03/29 02:55:08 016] network 508 bj
498 | [2014/03/29 02:55:08 017] network 510 bj
499 | [2014/03/29 02:55:08 017] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
500 | [2014/03/29 02:55:08 022] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
501 | [2014/03/29 02:55:08 031] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
502 | [2014/03/29 02:55:08 039] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
503 | [2014/03/29 02:55:08 048] network 510 gz
504 | [2014/03/29 02:55:08 048] network 510 hf
505 | ============================================================
506 | Time 2014/03/29 02:56:08 441
507 | ============================================================
508 | [2014/03/29 02:56:08 446] waiter 189 waiter loaded!
509 | [2014/03/29 02:56:08 449] network 428 update_iplist
510 | [2014/03/29 02:56:08 450] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
511 | [2014/03/29 02:56:08 461] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
512 | [2014/03/29 02:56:08 470] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
513 | [2014/03/29 02:56:08 471] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
514 | [2014/03/29 02:56:08 472] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
515 | [2014/03/29 02:56:08 480] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
516 | [2014/03/29 02:56:08 495] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
517 | [2014/03/29 02:56:08 513] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
518 | [2014/03/29 02:56:08 538] network 199 Set ipcache by ip from gethostbyname
519 | [2014/03/29 02:56:08 538] network 318 gethttpresp dns ok 60.166.12.146
520 | [2014/03/29 02:56:08 539] network 209 gethttpresp2 60.166.12.146 80
521 | [2014/03/29 02:56:08 554] waiter 275 last gc at 1396061768
522 | [2014/03/29 02:56:08 556] network 644 chunkedhttp
523 | [2014/03/29 02:56:08 556] waiter 275 last gc at 1396061768
524 | [2014/03/29 02:56:08 559] network 428 update_iplist
525 | [2014/03/29 02:56:08 559] waiter 275 last gc at 1396061768
526 | [2014/03/29 02:56:08 565] network 209 gethttpresp2 117.121.21.146 1028
527 | [2014/03/29 02:56:08 578] waiter 275 last gc at 1396061768
528 | [2014/03/29 02:56:08 583] network 175 dns resp 0
529 | [2014/03/29 02:56:08 583] network 318 gethttpresp dns ok 117.121.21.146
530 | [2014/03/29 02:56:08 584] network 209 gethttpresp2 117.121.21.146 80
531 | [2014/03/29 02:56:08 590] network 234 connected
532 | [2014/03/29 02:56:08 596] network 428 update_iplist
533 | [2014/03/29 02:56:08 597] waiter 275 last gc at 1396061768
534 | [2014/03/29 02:56:08 601] network 237 send ok 94
535 | [2014/03/29 02:56:08 603] network 234 connected
536 | [2014/03/29 02:56:08 608] network 234 connected
537 | [2014/03/29 02:56:08 630] network 237 send ok 93
538 | [2014/03/29 02:56:08 632] network 237 send ok 94
539 | [2014/03/29 02:56:08 652] network 240 readable
540 | [2014/03/29 02:56:08 660] network 549 update iplist http resp nil 0 udata(101ec58)
541 | [2014/03/29 02:56:08 660] network 576 update iplist ok
542 | [2014/03/29 02:56:08 661] network 598 not encrypted!
543 | [2014/03/29 02:56:08 687] network 497 dev.voicecloud.cn
544 | [2014/03/29 02:56:08 697] network 508 bj
545 | [2014/03/29 02:56:08 698] network 510 bj
546 | [2014/03/29 02:56:08 698] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
547 | [2014/03/29 02:56:08 712] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
548 | [2014/03/29 02:56:08 726] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
549 | [2014/03/29 02:56:08 747] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
550 | [2014/03/29 02:56:08 758] network 510 gz
551 | [2014/03/29 02:56:08 759] network 510 hf
552 | [2014/03/29 02:56:08 774] network 240 readable
553 | [2014/03/29 02:56:08 779] network 934 port1028 http resp nil 0 udata(105b210)
554 | [2014/03/29 02:56:08 779] network 941 set preferred_port: 1028
555 | [2014/03/29 02:56:08 791] network 240 readable
556 | [2014/03/29 02:56:08 798] network 549 update iplist http resp nil 0 udata(10604b0)
557 | [2014/03/29 02:56:08 799] network 576 update iplist ok
558 | [2014/03/29 02:56:08 799] network 598 not encrypted!
559 | [2014/03/29 02:56:08 821] network 497 dev.voicecloud.cn
560 | [2014/03/29 02:56:08 822] network 508 bj
561 | [2014/03/29 02:56:08 822] network 510 bj
562 | [2014/03/29 02:56:08 823] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
563 | [2014/03/29 02:56:08 827] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
564 | [2014/03/29 02:56:08 836] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
565 | [2014/03/29 02:56:08 844] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
566 | [2014/03/29 02:56:08 853] network 510 gz
567 | [2014/03/29 02:56:08 854] network 510 hf
568 | ============================================================
569 | Time 2014/03/29 03:26:00 201
570 | ============================================================
571 | [2014/03/29 03:26:00 202] waiter 189 waiter loaded!
572 | [2014/03/29 03:26:00 205] network 428 update_iplist
573 | [2014/03/29 03:26:00 206] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
574 | [2014/03/29 03:26:00 207] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
575 | [2014/03/29 03:26:00 212] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
576 | [2014/03/29 03:26:00 213] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
577 | [2014/03/29 03:26:00 216] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
578 | [2014/03/29 03:26:00 224] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
579 | [2014/03/29 03:26:00 233] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
580 | [2014/03/29 03:26:00 241] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
581 | [2014/03/29 03:26:00 250] network 199 Set ipcache by ip from gethostbyname
582 | [2014/03/29 03:26:00 251] network 318 gethttpresp dns ok 60.166.12.146
583 | [2014/03/29 03:26:00 251] network 209 gethttpresp2 60.166.12.146 80
584 | [2014/03/29 03:26:00 273] waiter 275 last gc at 1396063560
585 | [2014/03/29 03:26:00 275] network 644 chunkedhttp
586 | [2014/03/29 03:26:00 276] waiter 275 last gc at 1396063560
587 | [2014/03/29 03:26:00 278] network 428 update_iplist
588 | [2014/03/29 03:26:00 279] waiter 275 last gc at 1396063560
589 | [2014/03/29 03:26:00 280] network 209 gethttpresp2 117.121.21.147 1028
590 | [2014/03/29 03:26:00 292] waiter 275 last gc at 1396063560
591 | [2014/03/29 03:26:00 294] network 175 dns resp 0
592 | [2014/03/29 03:26:00 295] network 318 gethttpresp dns ok 117.121.21.147
593 | [2014/03/29 03:26:00 295] network 209 gethttpresp2 117.121.21.147 80
594 | [2014/03/29 03:26:00 310] network 234 connected
595 | [2014/03/29 03:26:00 315] network 428 update_iplist
596 | [2014/03/29 03:26:00 316] waiter 275 last gc at 1396063560
597 | [2014/03/29 03:26:00 318] network 234 connected
598 | [2014/03/29 03:26:00 324] network 237 send ok 94
599 | [2014/03/29 03:26:00 326] network 234 connected
600 | [2014/03/29 03:26:00 331] network 237 send ok 94
601 | [2014/03/29 03:26:00 333] network 237 send ok 93
602 | [2014/03/29 03:26:00 366] network 240 readable
603 | [2014/03/29 03:26:00 372] network 934 port1028 http resp nil 0 udata(697560)
604 | [2014/03/29 03:26:00 372] network 941 set preferred_port: 1028
605 | [2014/03/29 03:26:00 433] network 240 readable
606 | [2014/03/29 03:26:00 475] network 549 update iplist http resp nil 0 udata(69c200)
607 | [2014/03/29 03:26:00 475] network 576 update iplist ok
608 | [2014/03/29 03:26:00 476] network 598 not encrypted!
609 | [2014/03/29 03:26:00 490] network 497 dev.voicecloud.cn
610 | [2014/03/29 03:26:00 492] network 508 bj
611 | [2014/03/29 03:26:00 492] network 510 bj
612 | [2014/03/29 03:26:00 493] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
613 | [2014/03/29 03:26:00 496] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
614 | [2014/03/29 03:26:00 504] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
615 | [2014/03/29 03:26:00 513] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
616 | [2014/03/29 03:26:00 521] network 510 gz
617 | [2014/03/29 03:26:00 522] network 510 hf
618 | [2014/03/29 03:26:00 526] network 240 readable
619 | [2014/03/29 03:26:00 534] network 549 update iplist http resp nil 0 udata(6484d8)
620 | [2014/03/29 03:26:00 534] network 576 update iplist ok
621 | [2014/03/29 03:26:00 535] network 598 not encrypted!
622 | [2014/03/29 03:26:00 571] network 497 dev.voicecloud.cn
623 | [2014/03/29 03:26:00 572] network 508 bj
624 | [2014/03/29 03:26:00 573] network 510 bj
625 | [2014/03/29 03:26:00 573] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
626 | [2014/03/29 03:26:00 578] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
627 | [2014/03/29 03:26:00 597] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
628 | [2014/03/29 03:26:00 615] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
629 | [2014/03/29 03:26:00 624] network 510 gz
630 | [2014/03/29 03:26:00 625] network 510 hf
631 | ============================================================
632 | Time 2014/03/29 03:31:31 440
633 | ============================================================
634 | [2014/03/29 03:31:31 440] waiter 189 waiter loaded!
635 | [2014/03/29 03:31:31 459] network 428 update_iplist
636 | [2014/03/29 03:31:31 459] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
637 | [2014/03/29 03:31:31 460] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
638 | [2014/03/29 03:31:31 482] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
639 | [2014/03/29 03:31:31 483] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
640 | [2014/03/29 03:31:31 485] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
641 | [2014/03/29 03:31:31 493] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
642 | [2014/03/29 03:31:31 522] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
643 | [2014/03/29 03:31:31 572] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
644 | [2014/03/29 03:31:31 594] network 199 Set ipcache by ip from gethostbyname
645 | [2014/03/29 03:31:31 595] network 318 gethttpresp dns ok 60.166.12.146
646 | [2014/03/29 03:31:31 595] network 209 gethttpresp2 60.166.12.146 80
647 | [2014/03/29 03:31:31 613] waiter 275 last gc at 1396063891
648 | [2014/03/29 03:31:31 614] network 644 chunkedhttp
649 | [2014/03/29 03:31:31 615] waiter 275 last gc at 1396063891
650 | [2014/03/29 03:31:31 617] network 428 update_iplist
651 | [2014/03/29 03:31:31 617] waiter 275 last gc at 1396063891
652 | [2014/03/29 03:31:31 619] network 209 gethttpresp2 117.121.56.8 1028
653 | [2014/03/29 03:31:31 632] waiter 275 last gc at 1396063891
654 | [2014/03/29 03:31:31 633] network 175 dns resp 0
655 | [2014/03/29 03:31:31 634] network 318 gethttpresp dns ok 117.121.56.8
656 | [2014/03/29 03:31:31 634] network 209 gethttpresp2 117.121.56.8 80
657 | [2014/03/29 03:31:31 643] network 234 connected
658 | [2014/03/29 03:31:31 648] network 237 send ok 94
659 | [2014/03/29 03:31:31 679] network 234 connected
660 | [2014/03/29 03:31:31 710] network 237 send ok 94
661 | [2014/03/29 03:31:31 715] network 240 readable
662 | [2014/03/29 03:31:31 790] network 549 update iplist http resp nil 0 udata(e6cab8)
663 | [2014/03/29 03:31:31 790] network 576 update iplist ok
664 | [2014/03/29 03:31:31 801] network 598 not encrypted!
665 | [2014/03/29 03:31:31 873] network 497 dev.voicecloud.cn
666 | [2014/03/29 03:31:31 874] network 508 bj
667 | [2014/03/29 03:31:31 874] network 510 bj
668 | [2014/03/29 03:31:31 875] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
669 | [2014/03/29 03:31:31 885] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
670 | [2014/03/29 03:31:31 896] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
671 | [2014/03/29 03:31:31 923] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
672 | [2014/03/29 03:31:31 959] network 510 gz
673 | [2014/03/29 03:31:31 960] network 510 hf
674 | [2014/03/29 03:31:31 984] network 234 connected
675 | [2014/03/29 03:31:31 989] network 240 readable
676 | [2014/03/29 03:31:32 029] network 549 update iplist http resp nil 0 udata(e317b8)
677 | [2014/03/29 03:31:32 030] network 576 update iplist ok
678 | [2014/03/29 03:31:32 031] network 598 not encrypted!
679 | [2014/03/29 03:31:32 074] network 497 dev.voicecloud.cn
680 | [2014/03/29 03:31:32 075] network 508 bj
681 | [2014/03/29 03:31:32 075] network 510 bj
682 | [2014/03/29 03:31:32 076] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
683 | [2014/03/29 03:31:32 101] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
684 | [2014/03/29 03:31:32 180] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
685 | [2016/04/30 20:11:04 253] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
686 | [2016/04/30 20:11:04 254] network 510 gz
687 | [2016/04/30 20:11:04 255] network 510 hf
688 | [2016/04/30 20:11:04 260] network 237 send ok 93
689 | [2016/04/30 20:11:04 268] network 240 readable
690 | [2016/04/30 20:11:04 287] network 934 port1028 http resp nil 0 udata(d7bd68)
691 | [2016/04/30 20:11:04 287] network 941 set preferred_port: 1028
692 | ============================================================
693 | Time 2014/03/29 03:32:23 705
694 | ============================================================
695 | [2014/03/29 03:32:23 706] waiter 189 waiter loaded!
696 | [2014/03/29 03:32:23 773] network 428 update_iplist
697 | [2014/03/29 03:32:23 774] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
698 | [2014/03/29 03:32:23 774] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
699 | [2014/03/29 03:32:23 779] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
700 | [2014/03/29 03:32:23 782] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
701 | [2014/03/29 03:32:23 783] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
702 | [2014/03/29 03:32:23 797] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
703 | [2014/03/29 03:32:23 836] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
704 | [2014/03/29 03:32:23 890] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
705 | [2014/03/29 03:32:23 920] network 199 Set ipcache by ip from gethostbyname
706 | [2014/03/29 03:32:23 924] network 318 gethttpresp dns ok 60.166.12.146
707 | [2014/03/29 03:32:23 924] network 209 gethttpresp2 60.166.12.146 80
708 | [2014/03/29 03:32:23 945] waiter 275 last gc at 1396063943
709 | [2014/03/29 03:32:23 947] network 644 chunkedhttp
710 | [2014/03/29 03:32:23 947] waiter 275 last gc at 1396063943
711 | [2014/03/29 03:32:23 949] network 428 update_iplist
712 | [2014/03/29 03:32:23 949] waiter 275 last gc at 1396063943
713 | [2014/03/29 03:32:23 963] network 209 gethttpresp2 117.121.56.8 1028
714 | [2014/03/29 03:32:23 968] waiter 275 last gc at 1396063943
715 | [2014/03/29 03:32:23 970] network 175 dns resp 0
716 | [2014/03/29 03:32:23 970] network 318 gethttpresp dns ok 117.121.56.8
717 | [2014/03/29 03:32:23 971] network 209 gethttpresp2 117.121.56.8 80
718 | [2014/03/29 03:32:23 976] network 428 update_iplist
719 | [2014/03/29 03:32:23 977] waiter 275 last gc at 1396063943
720 | [2014/03/29 03:32:23 979] network 234 connected
721 | [2014/03/29 03:32:23 984] network 237 send ok 94
722 | [2014/03/29 03:32:23 988] network 234 connected
723 | [2014/03/29 03:32:23 995] network 237 send ok 94
724 | [2014/03/29 03:32:24 014] network 234 connected
725 | [2014/03/29 03:32:24 019] network 237 send ok 93
726 | [2014/03/29 03:32:24 040] network 240 readable
727 | [2014/03/29 03:32:24 050] network 549 update iplist http resp nil 0 udata(180f1b0)
728 | [2014/03/29 03:32:24 050] network 576 update iplist ok
729 | [2014/03/29 03:32:24 051] network 598 not encrypted!
730 | [2014/03/29 03:32:24 101] network 497 dev.voicecloud.cn
731 | [2014/03/29 03:32:24 113] network 508 bj
732 | [2014/03/29 03:32:24 114] network 510 bj
733 | [2014/03/29 03:32:24 114] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
734 | [2014/03/29 03:32:24 132] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
735 | [2014/03/29 03:32:24 145] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
736 | [2014/03/29 03:32:24 174] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
737 | [2014/03/29 03:32:24 199] network 510 gz
738 | [2014/03/29 03:32:24 200] network 510 hf
739 | [2014/03/29 03:32:24 222] network 240 readable
740 | [2014/03/29 03:32:24 269] network 934 port1028 http resp nil 0 udata(18768a8)
741 | [2014/03/29 03:32:24 271] network 941 set preferred_port: 1028
742 | [2014/03/29 03:32:24 273] network 240 readable
743 | [2014/03/29 03:32:24 280] network 549 update iplist http resp nil 0 udata(18f3358)
744 | [2014/03/29 03:32:24 290] network 576 update iplist ok
745 | [2014/03/29 03:32:24 292] network 598 not encrypted!
746 | [2014/03/29 03:32:24 318] network 497 dev.voicecloud.cn
747 | [2014/03/29 03:32:24 318] network 508 bj
748 | [2014/03/29 03:32:24 319] network 510 bj
749 | [2014/03/29 03:32:24 319] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
750 | [2014/03/29 03:32:24 345] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
751 | [2014/03/29 03:32:24 377] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
752 | [2014/03/29 03:32:24 400] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
753 | [2014/03/29 03:32:24 438] network 510 gz
754 | [2014/03/29 03:32:24 439] network 510 hf
755 | ============================================================
756 | Time 2014/03/29 03:32:29 025
757 | ============================================================
758 | [2014/03/29 03:32:29 026] waiter 189 waiter loaded!
759 | [2014/03/29 03:32:29 029] network 428 update_iplist
760 | [2014/03/29 03:32:29 029] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
761 | [2014/03/29 03:32:29 030] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
762 | [2014/03/29 03:32:29 079] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
763 | [2014/03/29 03:32:29 080] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
764 | [2014/03/29 03:32:29 081] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
765 | [2014/03/29 03:32:29 111] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
766 | [2014/03/29 03:32:29 120] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
767 | [2014/03/29 03:32:29 150] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
768 | [2014/03/29 03:32:29 178] network 199 Set ipcache by ip from gethostbyname
769 | [2014/03/29 03:32:29 179] network 318 gethttpresp dns ok 60.166.12.146
770 | [2014/03/29 03:32:29 179] network 209 gethttpresp2 60.166.12.146 80
771 | [2014/03/29 03:32:29 223] waiter 275 last gc at 1396063949
772 | [2014/03/29 03:32:29 225] network 644 chunkedhttp
773 | [2014/03/29 03:32:29 225] waiter 275 last gc at 1396063949
774 | [2014/03/29 03:32:29 227] network 428 update_iplist
775 | [2014/03/29 03:32:29 228] waiter 275 last gc at 1396063949
776 | [2014/03/29 03:32:29 229] network 209 gethttpresp2 117.121.56.8 1028
777 | [2014/03/29 03:32:29 250] waiter 275 last gc at 1396063949
778 | [2014/03/29 03:32:29 252] network 175 dns resp 0
779 | [2014/03/29 03:32:29 253] network 318 gethttpresp dns ok 117.121.56.8
780 | [2014/03/29 03:32:29 253] network 209 gethttpresp2 117.121.56.8 80
781 | [2014/03/29 03:32:29 264] network 234 connected
782 | [2014/03/29 03:32:29 269] network 234 connected
783 | [2014/03/29 03:32:29 298] network 237 send ok 94
784 | [2014/03/29 03:32:29 300] network 237 send ok 94
785 | [2014/03/29 03:32:29 324] network 234 connected
786 | [2014/03/29 03:32:29 328] network 237 send ok 93
787 | [2014/03/29 03:32:29 365] network 240 readable
788 | [2014/03/29 03:32:29 444] network 549 update iplist http resp nil 0 udata(d63ba0)
789 | [2014/03/29 03:32:29 444] network 576 update iplist ok
790 | [2014/03/29 03:32:29 445] network 598 not encrypted!
791 | [2014/03/29 03:32:29 483] network 497 dev.voicecloud.cn
792 | [2014/03/29 03:32:29 484] network 508 bj
793 | [2014/03/29 03:32:29 485] network 510 bj
794 | [2014/03/29 03:32:29 485] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
795 | [2014/03/29 03:32:29 499] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
796 | [2014/03/29 03:32:29 516] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
797 | [2014/03/29 03:32:29 542] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
798 | [2014/03/29 03:32:29 575] network 510 gz
799 | [2014/03/29 03:32:29 576] network 510 hf
800 | [2014/03/29 03:32:29 580] network 240 readable
801 | [2014/03/29 03:32:29 605] network 549 update iplist http resp nil 0 udata(c81608)
802 | [2014/03/29 03:32:29 606] network 576 update iplist ok
803 | [2014/03/29 03:32:29 607] network 598 not encrypted!
804 | [2014/03/29 03:32:29 677] network 497 dev.voicecloud.cn
805 | [2014/03/29 03:32:29 678] network 508 bj
806 | [2014/03/29 03:32:29 678] network 510 bj
807 | [2014/03/29 03:32:29 679] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
808 | [2014/03/29 03:32:29 734] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
809 | [2014/03/29 03:32:29 779] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
810 | [2014/03/29 03:32:29 809] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
811 | [2014/03/29 03:32:29 850] network 510 gz
812 | [2014/03/29 03:32:29 862] network 510 hf
813 | [2014/03/29 03:32:29 867] network 240 readable
814 | [2016/04/30 20:12:01 828] network 934 port1028 http resp nil 0 udata(d32658)
815 | [2016/04/30 20:12:01 829] network 941 set preferred_port: 1028
816 | ============================================================
817 | Time 2014/03/29 03:34:58 973
818 | ============================================================
819 | [2014/03/29 03:34:58 974] waiter 189 waiter loaded!
820 | [2014/03/29 03:34:58 977] network 428 update_iplist
821 | [2014/03/29 03:34:58 978] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
822 | [2014/03/29 03:34:58 979] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
823 | [2014/03/29 03:34:59 012] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
824 | [2014/03/29 03:34:59 030] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
825 | [2014/03/29 03:34:59 045] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
826 | [2014/03/29 03:34:59 086] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
827 | [2014/03/29 03:34:59 129] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
828 | [2014/03/29 03:34:59 178] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
829 | [2014/03/29 03:34:59 217] network 199 Set ipcache by ip from gethostbyname
830 | [2014/03/29 03:34:59 261] network 318 gethttpresp dns ok 60.166.12.146
831 | [2014/03/29 03:34:59 262] network 209 gethttpresp2 60.166.12.146 80
832 | [2014/03/29 03:34:59 303] waiter 275 last gc at 1396064098
833 | [2014/03/29 03:34:59 305] network 644 chunkedhttp
834 | [2014/03/29 03:34:59 306] waiter 275 last gc at 1396064098
835 | [2014/03/29 03:34:59 307] network 428 update_iplist
836 | [2014/03/29 03:34:59 308] waiter 275 last gc at 1396064098
837 | [2014/03/29 03:34:59 382] network 209 gethttpresp2 116.213.69.201 1028
838 | [2014/03/29 03:34:59 410] waiter 275 last gc at 1396064098
839 | [2014/03/29 03:34:59 412] network 175 dns resp 0
840 | [2014/03/29 03:34:59 413] network 318 gethttpresp dns ok 116.213.69.201
841 | [2014/03/29 03:34:59 414] network 209 gethttpresp2 116.213.69.201 80
842 | [2014/03/29 03:34:59 463] network 428 update_iplist
843 | [2014/03/29 03:34:59 464] waiter 275 last gc at 1396064098
844 | [2014/03/29 03:34:59 465] network 234 connected
845 | [2014/03/29 03:34:59 470] network 234 connected
846 | [2014/03/29 03:34:59 615] network 234 connected
847 | [2014/03/29 03:34:59 619] network 237 send ok 94
848 | [2014/03/29 03:34:59 685] network 237 send ok 93
849 | [2014/03/29 03:34:59 687] network 237 send ok 94
850 | [2014/03/29 03:34:59 726] network 240 readable
851 | [2014/03/29 03:34:59 948] network 549 update iplist http resp nil 0 udata(124a550)
852 | [2014/03/29 03:34:59 949] network 576 update iplist ok
853 | [2014/03/29 03:34:59 950] network 598 not encrypted!
854 | [2014/03/29 03:35:00 028] network 497 dev.voicecloud.cn
855 | [2014/03/29 03:35:00 029] network 508 bj
856 | [2014/03/29 03:35:00 030] network 510 bj
857 | [2014/03/29 03:35:00 030] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
858 | [2014/03/29 03:35:00 069] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
859 | [2014/03/29 03:35:00 146] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
860 | [2014/03/29 03:35:00 205] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
861 | [2014/03/29 03:35:00 293] network 510 gz
862 | [2014/03/29 03:35:00 305] network 510 hf
863 | [2014/03/29 03:35:00 310] network 240 readable
864 | [2014/03/29 03:35:00 428] network 934 port1028 http resp nil 0 udata(12508c0)
865 | [2014/03/29 03:35:00 428] network 941 set preferred_port: 1028
866 | [2014/03/29 03:35:00 430] network 240 readable
867 | [2016/04/30 20:14:32 544] network 549 update iplist http resp nil 0 udata(1182b70)
868 | [2016/04/30 20:14:32 545] network 576 update iplist ok
869 | [2016/04/30 20:14:32 545] network 598 not encrypted!
870 | [2016/04/30 20:14:32 698] network 497 dev.voicecloud.cn
871 | [2016/04/30 20:14:32 763] network 508 bj
872 | [2016/04/30 20:14:32 763] network 510 bj
873 | [2016/04/30 20:14:32 764] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
874 | [2016/04/30 20:14:32 768] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
875 | [2016/04/30 20:14:32 874] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
876 | [2016/04/30 20:14:32 933] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
877 | [2016/04/30 20:14:33 049] network 510 gz
878 | [2016/04/30 20:14:33 049] network 510 hf
879 | ============================================================
880 | Time 2014/03/29 04:58:03 767
881 | ============================================================
882 | [2014/03/29 04:58:03 768] waiter 189 waiter loaded!
883 | [2014/03/29 04:58:03 787] network 428 update_iplist
884 | [2014/03/29 04:58:03 788] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
885 | [2014/03/29 04:58:03 789] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
886 | [2014/03/29 04:58:03 793] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
887 | [2014/03/29 04:58:03 793] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
888 | [2014/03/29 04:58:03 801] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
889 | [2014/03/29 04:58:03 830] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
890 | [2014/03/29 04:58:03 849] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
891 | [2014/03/29 04:58:03 876] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
892 | [2014/03/29 04:58:03 907] network 199 Set ipcache by ip from gethostbyname
893 | [2014/03/29 04:58:03 921] network 318 gethttpresp dns ok 60.166.12.146
894 | [2014/03/29 04:58:03 922] network 209 gethttpresp2 60.166.12.146 80
895 | [2014/03/29 04:58:03 943] waiter 275 last gc at 1396069083
896 | [2014/03/29 04:58:03 945] network 644 chunkedhttp
897 | [2014/03/29 04:58:03 946] waiter 275 last gc at 1396069083
898 | [2014/03/29 04:58:03 947] network 428 update_iplist
899 | [2014/03/29 04:58:03 948] waiter 275 last gc at 1396069083
900 | [2014/03/29 04:58:03 950] network 209 gethttpresp2 117.121.21.148 1028
901 | [2014/03/29 04:58:03 994] waiter 275 last gc at 1396069083
902 | [2014/03/29 04:58:03 996] network 175 dns resp 0
903 | [2014/03/29 04:58:03 996] network 318 gethttpresp dns ok 117.121.21.148
904 | [2014/03/29 04:58:03 997] network 209 gethttpresp2 117.121.21.148 80
905 | [2014/03/29 04:58:04 015] network 234 connected
906 | [2014/03/29 04:58:04 020] network 234 connected
907 | [2014/03/29 04:58:04 051] network 234 connected
908 | [2014/03/29 04:58:04 056] network 237 send ok 94
909 | [2014/03/29 04:58:04 058] network 237 send ok 93
910 | [2014/03/29 04:58:04 060] network 237 send ok 94
911 | [2014/03/29 04:58:04 113] network 240 readable
912 | [2014/03/29 04:58:04 139] network 549 update iplist http resp nil 0 udata(169b670)
913 | [2014/03/29 04:58:04 139] network 576 update iplist ok
914 | [2014/03/29 04:58:04 140] network 598 not encrypted!
915 | [2014/03/29 04:58:04 175] network 497 dev.voicecloud.cn
916 | [2014/03/29 04:58:04 183] network 508 bj
917 | [2014/03/29 04:58:04 184] network 510 bj
918 | [2014/03/29 04:58:04 184] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
919 | [2014/03/29 04:58:04 188] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
920 | [2014/03/29 04:58:04 211] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
921 | [2014/03/29 04:58:04 243] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
922 | [2014/03/29 04:58:04 259] network 510 gz
923 | [2014/03/29 04:58:04 259] network 510 hf
924 | [2014/03/29 04:58:04 269] network 240 readable
925 | [2014/03/29 04:58:04 280] network 934 port1028 http resp nil 0 udata(15b63d0)
926 | [2014/03/29 04:58:04 281] network 941 set preferred_port: 1028
927 | [2014/03/29 04:58:04 289] network 240 readable
928 | [2014/03/29 04:58:04 307] network 549 update iplist http resp nil 0 udata(15b50e8)
929 | [2014/03/29 04:58:04 308] network 576 update iplist ok
930 | [2014/03/29 04:58:04 349] network 598 not encrypted!
931 | [2014/03/29 04:58:04 387] network 497 dev.voicecloud.cn
932 | [2014/03/29 04:58:04 414] network 508 bj
933 | [2014/03/29 04:58:04 415] network 510 bj
934 | [2014/03/29 04:58:04 416] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
935 | [2014/03/29 04:58:04 428] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
936 | [2014/03/29 04:58:04 453] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
937 | [2014/03/29 04:58:04 544] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
938 | [2014/03/29 04:58:04 597] network 510 gz
939 | [2014/03/29 04:58:04 597] network 510 hf
940 | ============================================================
941 | Time 2014/03/29 04:58:21 148
942 | ============================================================
943 | [2014/03/29 04:58:21 148] waiter 189 waiter loaded!
944 | [2014/03/29 04:58:21 164] network 428 update_iplist
945 | [2014/03/29 04:58:21 164] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
946 | [2014/03/29 04:58:21 165] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
947 | [2014/03/29 04:58:21 175] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
948 | [2014/03/29 04:58:21 186] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
949 | [2014/03/29 04:58:21 186] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
950 | [2014/03/29 04:58:21 206] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
951 | [2014/03/29 04:58:21 229] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
952 | [2014/03/29 04:58:21 245] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
953 | [2014/03/29 04:58:21 263] network 199 Set ipcache by ip from gethostbyname
954 | [2014/03/29 04:58:21 264] network 318 gethttpresp dns ok 60.166.12.146
955 | [2014/03/29 04:58:21 264] network 209 gethttpresp2 60.166.12.146 80
956 | [2014/03/29 04:58:21 282] waiter 275 last gc at 1396069101
957 | [2014/03/29 04:58:21 284] network 644 chunkedhttp
958 | [2014/03/29 04:58:21 284] waiter 275 last gc at 1396069101
959 | [2014/03/29 04:58:21 286] network 428 update_iplist
960 | [2014/03/29 04:58:21 287] waiter 275 last gc at 1396069101
961 | [2014/03/29 04:58:21 288] network 209 gethttpresp2 117.121.21.148 1028
962 | [2014/03/29 04:58:21 310] waiter 275 last gc at 1396069101
963 | [2014/03/29 04:58:21 312] network 175 dns resp 0
964 | [2014/03/29 04:58:21 313] network 318 gethttpresp dns ok 117.121.21.148
965 | [2014/03/29 04:58:21 314] network 209 gethttpresp2 117.121.21.148 80
966 | [2014/03/29 04:58:21 342] network 234 connected
967 | [2014/03/29 04:58:21 355] network 234 connected
968 | [2014/03/29 04:58:21 360] network 234 connected
969 | [2014/03/29 04:58:21 395] network 237 send ok 94
970 | [2014/03/29 04:58:21 397] network 237 send ok 94
971 | [2014/03/29 04:58:21 398] network 237 send ok 93
972 | [2014/03/29 04:58:21 492] network 240 readable
973 | [2014/03/29 04:58:21 550] network 549 update iplist http resp nil 0 udata(293668)
974 | [2014/03/29 04:58:21 551] network 576 update iplist ok
975 | [2014/03/29 04:58:21 552] network 598 not encrypted!
976 | [2014/03/29 04:58:21 608] network 497 dev.voicecloud.cn
977 | [2014/03/29 04:58:21 613] network 508 bj
978 | [2014/03/29 04:58:21 614] network 510 bj
979 | [2014/03/29 04:58:21 614] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
980 | [2014/03/29 04:58:21 622] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
981 | [2014/03/29 04:58:21 631] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
982 | [2014/03/29 04:58:21 649] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
983 | [2014/03/29 04:58:21 668] network 510 gz
984 | [2014/03/29 04:58:21 669] network 510 hf
985 | [2014/03/29 04:58:21 680] network 240 readable
986 | [2014/03/29 04:58:21 705] network 549 update iplist http resp nil 0 udata(1dc0b0)
987 | [2014/03/29 04:58:21 706] network 576 update iplist ok
988 | [2014/03/29 04:58:21 706] network 598 not encrypted!
989 | [2014/03/29 04:58:21 754] network 497 dev.voicecloud.cn
990 | [2014/03/29 04:58:21 766] network 508 bj
991 | [2014/03/29 04:58:21 767] network 510 bj
992 | [2014/03/29 04:58:21 767] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
993 | [2014/03/29 04:58:21 782] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
994 | [2014/03/29 04:58:21 814] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
995 | [2014/03/29 04:58:21 855] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
996 | [2014/03/29 04:58:21 961] network 510 gz
997 | [2014/03/29 04:58:21 962] network 510 hf
998 | [2014/03/29 04:58:21 966] network 240 readable
999 | [2014/03/29 04:58:21 996] network 934 port1028 http resp nil 0 udata(26b160)
1000 | [2014/03/29 04:58:21 996] network 941 set preferred_port: 1028
1001 | ============================================================
1002 | Time 2014/03/29 04:58:34 839
1003 | ============================================================
1004 | [2014/03/29 04:58:34 840] waiter 189 waiter loaded!
1005 | [2014/03/29 04:58:34 863] network 428 update_iplist
1006 | [2014/03/29 04:58:34 864] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1007 | [2014/03/29 04:58:34 865] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1008 | [2014/03/29 04:58:34 881] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1009 | [2014/03/29 04:58:34 884] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1010 | [2014/03/29 04:58:34 885] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1011 | [2014/03/29 04:58:34 904] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1012 | [2014/03/29 04:58:34 930] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1013 | [2014/03/29 04:58:34 950] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1014 | [2014/03/29 04:58:34 968] network 199 Set ipcache by ip from gethostbyname
1015 | [2014/03/29 04:58:34 969] network 318 gethttpresp dns ok 60.166.12.146
1016 | [2014/03/29 04:58:34 969] network 209 gethttpresp2 60.166.12.146 80
1017 | [2014/03/29 04:58:34 995] waiter 275 last gc at 1396069114
1018 | [2014/03/29 04:58:34 997] network 644 chunkedhttp
1019 | [2014/03/29 04:58:34 997] waiter 275 last gc at 1396069114
1020 | [2014/03/29 04:58:34 999] network 428 update_iplist
1021 | [2014/03/29 04:58:35 000] waiter 275 last gc at 1396069114
1022 | [2014/03/29 04:58:35 017] network 209 gethttpresp2 117.121.21.146 1028
1023 | [2014/03/29 04:58:35 021] waiter 275 last gc at 1396069114
1024 | [2014/03/29 04:58:35 044] network 175 dns resp 0
1025 | [2014/03/29 04:58:35 045] network 318 gethttpresp dns ok 117.121.21.146
1026 | [2014/03/29 04:58:35 045] network 209 gethttpresp2 117.121.21.146 80
1027 | [2014/03/29 04:58:35 054] network 234 connected
1028 | [2014/03/29 04:58:35 059] network 234 connected
1029 | [2014/03/29 04:58:35 089] network 237 send ok 94
1030 | [2014/03/29 04:58:35 101] network 237 send ok 93
1031 | [2014/03/29 04:58:35 119] network 234 connected
1032 | [2014/03/29 04:58:35 150] network 237 send ok 94
1033 | [2014/03/29 04:58:35 185] network 240 readable
1034 | [2014/03/29 04:58:35 203] network 549 update iplist http resp nil 0 udata(1e69850)
1035 | [2014/03/29 04:58:35 203] network 576 update iplist ok
1036 | [2014/03/29 04:58:35 204] network 598 not encrypted!
1037 | [2014/03/29 04:58:35 229] network 497 dev.voicecloud.cn
1038 | [2014/03/29 04:58:35 272] network 508 bj
1039 | [2014/03/29 04:58:35 273] network 510 bj
1040 | [2014/03/29 04:58:35 273] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1041 | [2014/03/29 04:58:35 277] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1042 | [2014/03/29 04:58:35 303] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1043 | [2014/03/29 04:58:35 319] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1044 | [2014/03/29 04:58:35 335] network 510 gz
1045 | [2014/03/29 04:58:35 336] network 510 hf
1046 | [2014/03/29 04:58:35 340] network 240 readable
1047 | [2014/03/29 04:58:35 356] network 934 port1028 http resp nil 0 udata(1e0dda8)
1048 | [2014/03/29 04:58:35 356] network 941 set preferred_port: 1028
1049 | [2014/03/29 04:58:35 358] network 240 readable
1050 | [2014/03/29 04:58:35 376] network 549 update iplist http resp nil 0 udata(1e9aef8)
1051 | [2014/03/29 04:58:35 376] network 576 update iplist ok
1052 | [2014/03/29 04:58:35 377] network 598 not encrypted!
1053 | [2014/03/29 04:58:35 436] network 497 dev.voicecloud.cn
1054 | [2014/03/29 04:58:35 456] network 508 bj
1055 | [2014/03/29 04:58:35 456] network 510 bj
1056 | [2014/03/29 04:58:35 459] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1057 | [2014/03/29 04:58:35 488] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1058 | [2014/03/29 04:58:35 506] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1059 | [2014/03/29 04:58:35 534] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1060 | [2014/03/29 04:58:35 554] network 510 gz
1061 | [2014/03/29 04:58:35 571] network 510 hf
1062 | ============================================================
1063 | Time 2014/03/29 07:06:47 438
1064 | ============================================================
1065 | [2014/03/29 07:06:47 438] waiter 189 waiter loaded!
1066 | [2014/03/29 07:06:47 515] network 428 update_iplist
1067 | [2014/03/29 07:06:47 515] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1068 | [2014/03/29 07:06:47 516] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1069 | [2014/03/29 07:06:47 558] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1070 | [2014/03/29 07:06:47 589] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1071 | [2014/03/29 07:06:47 590] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1072 | [2014/03/29 07:06:47 608] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1073 | [2014/03/29 07:06:47 659] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1074 | [2014/03/29 07:06:47 698] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1075 | [2014/03/29 07:06:47 765] network 199 Set ipcache by ip from gethostbyname
1076 | [2014/03/29 07:06:47 766] network 318 gethttpresp dns ok 60.166.12.146
1077 | [2014/03/29 07:06:47 766] network 209 gethttpresp2 60.166.12.146 80
1078 | [2014/03/29 07:06:47 770] waiter 275 last gc at 1396076807
1079 | [2014/03/29 07:06:47 826] network 644 chunkedhttp
1080 | [2014/03/29 07:06:47 827] waiter 275 last gc at 1396076807
1081 | [2014/03/29 07:06:47 828] network 428 update_iplist
1082 | [2014/03/29 07:06:47 829] waiter 275 last gc at 1396076807
1083 | [2014/03/29 07:06:47 831] network 209 gethttpresp2 116.213.69.199 1028
1084 | [2014/03/29 07:06:47 885] waiter 275 last gc at 1396076807
1085 | [2014/03/29 07:06:47 912] network 175 dns resp 0
1086 | [2014/03/29 07:06:47 913] network 318 gethttpresp dns ok 116.213.69.199
1087 | [2014/03/29 07:06:47 914] network 209 gethttpresp2 116.213.69.199 80
1088 | [2014/03/29 07:06:47 932] network 428 update_iplist
1089 | [2014/03/29 07:06:47 933] waiter 275 last gc at 1396076807
1090 | [2014/03/29 07:06:47 935] network 234 connected
1091 | [2014/03/29 07:06:47 939] network 234 connected
1092 | [2014/03/29 07:06:47 992] network 234 connected
1093 | [2014/03/29 07:06:47 996] network 237 send ok 94
1094 | [2014/03/29 07:06:47 998] network 237 send ok 93
1095 | [2014/03/29 07:06:48 000] network 237 send ok 94
1096 | [2014/03/29 07:06:48 023] network 240 readable
1097 | [2014/03/29 07:06:48 031] network 549 update iplist http resp nil 0 udata(e32850)
1098 | [2014/03/29 07:06:48 032] network 576 update iplist ok
1099 | [2014/03/29 07:06:48 033] network 598 not encrypted!
1100 | [2014/03/29 07:06:48 058] network 497 dev.voicecloud.cn
1101 | [2014/03/29 07:06:48 079] network 508 bj
1102 | [2014/03/29 07:06:48 080] network 510 bj
1103 | [2014/03/29 07:06:48 080] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1104 | [2014/03/29 07:06:48 097] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1105 | [2014/03/29 07:06:48 136] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1106 | [2014/03/29 07:06:48 160] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1107 | [2014/03/29 07:06:48 205] network 510 gz
1108 | [2014/03/29 07:06:48 211] network 510 hf
1109 | [2014/03/29 07:06:48 243] network 240 readable
1110 | [2014/03/29 07:06:48 326] network 934 port1028 http resp nil 0 udata(f03348)
1111 | [2014/03/29 07:06:48 326] network 941 set preferred_port: 1028
1112 | [2014/03/29 07:06:48 328] network 240 readable
1113 | [2014/03/29 07:06:48 365] network 549 update iplist http resp nil 0 udata(f00b00)
1114 | [2014/03/29 07:06:48 366] network 576 update iplist ok
1115 | [2014/03/29 07:06:48 367] network 598 not encrypted!
1116 | [2014/03/29 07:06:48 428] network 497 dev.voicecloud.cn
1117 | [2014/03/29 07:06:48 429] network 508 bj
1118 | [2014/03/29 07:06:48 429] network 510 bj
1119 | [2014/03/29 07:06:48 430] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1120 | [2014/03/29 07:06:48 457] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1121 | [2014/03/29 07:06:48 532] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1122 | [2014/03/29 07:06:48 583] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1123 | [2014/03/29 07:06:48 643] network 510 gz
1124 | [2014/03/29 07:06:48 691] network 510 hf
1125 | ============================================================
1126 | Time 2014/03/29 07:15:02 211
1127 | ============================================================
1128 | [2014/03/29 07:15:02 212] waiter 189 waiter loaded!
1129 | ============================================================
1130 | Time 2014/03/29 07:18:34 170
1131 | ============================================================
1132 | [2014/03/29 07:18:34 177] waiter 189 waiter loaded!
1133 | ============================================================
1134 | Time 2014/03/29 07:20:15 152
1135 | ============================================================
1136 | [2014/03/29 07:20:15 152] waiter 189 waiter loaded!
1137 | [2014/03/29 07:20:15 160] network 428 update_iplist
1138 | [2014/03/29 07:20:15 161] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1139 | [2014/03/29 07:20:15 172] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1140 | [2014/03/29 07:20:15 175] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1141 | [2014/03/29 07:20:15 175] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1142 | [2014/03/29 07:20:15 178] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1143 | [2014/03/29 07:20:15 190] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1144 | [2014/03/29 07:20:15 209] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1145 | [2014/03/29 07:20:15 238] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1146 | [2014/03/29 07:20:15 275] network 199 Set ipcache by ip from gethostbyname
1147 | [2014/03/29 07:20:15 275] network 318 gethttpresp dns ok 60.166.12.146
1148 | [2014/03/29 07:20:15 276] network 209 gethttpresp2 60.166.12.146 80
1149 | [2014/03/29 07:20:15 289] waiter 275 last gc at 1396077615
1150 | [2014/03/29 07:20:15 300] network 644 chunkedhttp
1151 | [2014/03/29 07:20:15 300] waiter 275 last gc at 1396077615
1152 | [2014/03/29 07:20:15 302] network 428 update_iplist
1153 | [2014/03/29 07:20:15 303] waiter 275 last gc at 1396077615
1154 | [2014/03/29 07:20:15 321] network 209 gethttpresp2 117.121.21.147 1028
1155 | [2014/03/29 07:20:15 363] waiter 275 last gc at 1396077615
1156 | [2014/03/29 07:20:15 365] network 175 dns resp 0
1157 | [2014/03/29 07:20:15 365] network 318 gethttpresp dns ok 117.121.21.147
1158 | [2014/03/29 07:20:15 366] network 209 gethttpresp2 117.121.21.147 80
1159 | [2014/03/29 07:20:15 402] network 428 update_iplist
1160 | [2014/03/29 07:20:15 403] waiter 275 last gc at 1396077615
1161 | [2014/03/29 07:20:15 405] network 234 connected
1162 | [2014/03/29 07:20:15 435] network 234 connected
1163 | [2014/03/29 07:20:15 440] network 234 connected
1164 | [2014/03/29 07:20:15 462] network 237 send ok 94
1165 | [2014/03/29 07:20:15 464] network 237 send ok 93
1166 | [2014/03/29 07:20:15 465] network 237 send ok 94
1167 | [2014/03/29 07:20:15 503] network 240 readable
1168 | [2014/03/29 07:20:15 561] network 549 update iplist http resp nil 0 udata(e48c8)
1169 | [2014/03/29 07:20:15 561] network 576 update iplist ok
1170 | [2014/03/29 07:20:15 562] network 598 not encrypted!
1171 | [2014/03/29 07:20:15 578] network 497 dev.voicecloud.cn
1172 | [2014/03/29 07:20:15 579] network 508 bj
1173 | [2014/03/29 07:20:15 579] network 510 bj
1174 | [2014/03/29 07:20:15 580] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1175 | [2014/03/29 07:20:15 584] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1176 | [2014/03/29 07:20:15 592] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1177 | [2014/03/29 07:20:15 600] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1178 | [2014/03/29 07:20:15 609] network 510 gz
1179 | [2014/03/29 07:20:15 610] network 510 hf
1180 | [2014/03/29 07:20:15 614] network 240 readable
1181 | [2014/03/29 07:20:15 620] network 934 port1028 http resp nil 0 udata(e9680)
1182 | [2014/03/29 07:20:15 620] network 941 set preferred_port: 1028
1183 | [2014/03/29 07:20:15 622] network 240 readable
1184 | [2014/03/29 07:20:15 630] network 549 update iplist http resp nil 0 udata(738a8)
1185 | [2014/03/29 07:20:15 630] network 576 update iplist ok
1186 | [2014/03/29 07:20:15 631] network 598 not encrypted!
1187 | [2014/03/29 07:20:15 646] network 497 dev.voicecloud.cn
1188 | [2014/03/29 07:20:15 647] network 508 bj
1189 | [2014/03/29 07:20:15 647] network 510 bj
1190 | [2014/03/29 07:20:15 648] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1191 | [2014/03/29 07:20:15 653] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1192 | [2014/03/29 07:20:15 662] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1193 | [2014/03/29 07:20:15 701] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1194 | [2014/03/29 07:20:15 726] network 510 gz
1195 | [2014/03/29 07:20:15 733] network 510 hf
1196 | ============================================================
1197 | Time 2014/03/29 07:40:01 860
1198 | ============================================================
1199 | [2014/03/29 07:40:01 860] waiter 189 waiter loaded!
1200 | [2014/03/29 07:40:02 039] network 428 update_iplist
1201 | [2014/03/29 07:40:02 040] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1202 | [2014/03/29 07:40:02 053] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1203 | [2014/03/29 07:40:02 062] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1204 | [2014/03/29 07:40:02 063] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1205 | [2014/03/29 07:40:02 076] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1206 | [2014/03/29 07:40:02 094] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1207 | [2014/03/29 07:40:02 112] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1208 | [2014/03/29 07:40:02 132] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1209 | [2014/03/29 07:40:02 152] network 199 Set ipcache by ip from gethostbyname
1210 | [2014/03/29 07:40:02 153] network 318 gethttpresp dns ok 60.166.12.146
1211 | [2014/03/29 07:40:02 154] network 209 gethttpresp2 60.166.12.146 80
1212 | [2014/03/29 07:40:02 164] waiter 275 last gc at 1396078802
1213 | [2014/03/29 07:40:02 165] network 644 chunkedhttp
1214 | [2014/03/29 07:40:02 166] waiter 275 last gc at 1396078802
1215 | [2014/03/29 07:40:02 167] network 428 update_iplist
1216 | [2014/03/29 07:40:02 168] waiter 275 last gc at 1396078802
1217 | [2014/03/29 07:40:02 170] network 209 gethttpresp2 117.121.21.148 1028
1218 | [2014/03/29 07:40:02 204] waiter 275 last gc at 1396078802
1219 | [2014/03/29 07:40:02 206] network 428 update_iplist
1220 | [2014/03/29 07:40:02 206] waiter 275 last gc at 1396078802
1221 | [2014/03/29 07:40:02 208] network 175 dns resp 0
1222 | [2014/03/29 07:40:02 209] network 318 gethttpresp dns ok 117.121.21.148
1223 | [2014/03/29 07:40:02 210] network 209 gethttpresp2 117.121.21.148 80
1224 | [2014/03/29 07:40:02 249] network 234 connected
1225 | [2014/03/29 07:40:02 260] network 234 connected
1226 | [2014/03/29 07:40:02 265] network 237 send ok 94
1227 | [2014/03/29 07:40:02 267] network 234 connected
1228 | [2014/03/29 07:40:02 309] network 237 send ok 93
1229 | [2014/03/29 07:40:02 311] network 237 send ok 94
1230 | [2014/03/29 07:40:02 332] network 240 readable
1231 | [2014/03/29 07:40:02 373] network 549 update iplist http resp nil 0 udata(3c3de0)
1232 | [2014/03/29 07:40:02 374] network 576 update iplist ok
1233 | [2014/03/29 07:40:02 374] network 598 not encrypted!
1234 | [2014/03/29 07:40:02 390] network 497 dev.voicecloud.cn
1235 | [2014/03/29 07:40:02 390] network 508 bj
1236 | [2014/03/29 07:40:02 397] network 510 bj
1237 | [2014/03/29 07:40:02 408] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1238 | [2014/03/29 07:40:02 416] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1239 | [2014/03/29 07:40:02 435] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1240 | [2014/03/29 07:40:02 448] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1241 | [2014/03/29 07:40:02 467] network 510 gz
1242 | [2014/03/29 07:40:02 473] network 510 hf
1243 | [2014/03/29 07:40:02 478] network 240 readable
1244 | [2014/03/29 07:40:02 547] network 549 update iplist http resp nil 0 udata(3f73c0)
1245 | [2014/03/29 07:40:02 548] network 576 update iplist ok
1246 | [2014/03/29 07:40:02 549] network 598 not encrypted!
1247 | [2014/03/29 07:40:02 578] network 497 dev.voicecloud.cn
1248 | [2014/03/29 07:40:02 593] network 508 bj
1249 | [2014/03/29 07:40:02 593] network 510 bj
1250 | [2014/03/29 07:40:02 594] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1251 | [2014/03/29 07:40:02 599] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1252 | [2014/03/29 07:40:02 634] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1253 | [2014/03/29 07:40:02 658] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1254 | [2014/03/29 07:40:02 703] network 510 gz
1255 | [2014/03/29 07:40:02 715] network 510 hf
1256 | [2014/03/29 07:40:02 733] network 240 readable
1257 | [2014/03/29 07:40:02 810] network 934 port1028 http resp nil 0 udata(427ce0)
1258 | [2014/03/29 07:40:02 810] network 941 set preferred_port: 1028
1259 | ============================================================
1260 | Time 2014/03/29 07:40:52 904
1261 | ============================================================
1262 | [2014/03/29 07:40:52 904] waiter 189 waiter loaded!
1263 | [2014/03/29 07:40:52 966] network 428 update_iplist
1264 | [2014/03/29 07:40:52 967] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1265 | [2014/03/29 07:40:52 971] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1266 | [2014/03/29 07:40:52 974] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1267 | [2014/03/29 07:40:52 975] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1268 | [2014/03/29 07:40:52 988] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1269 | [2014/03/29 07:40:53 017] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1270 | [2014/03/29 07:40:53 037] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1271 | [2014/03/29 07:40:53 072] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1272 | [2014/03/29 07:40:53 092] network 199 Set ipcache by ip from gethostbyname
1273 | [2014/03/29 07:40:53 101] network 318 gethttpresp dns ok 60.166.12.146
1274 | [2014/03/29 07:40:53 102] network 209 gethttpresp2 60.166.12.146 80
1275 | [2014/03/29 07:40:53 121] waiter 275 last gc at 1396078852
1276 | [2014/03/29 07:40:53 123] network 644 chunkedhttp
1277 | [2014/03/29 07:40:53 123] waiter 275 last gc at 1396078852
1278 | [2014/03/29 07:40:53 125] network 428 update_iplist
1279 | [2014/03/29 07:40:53 126] waiter 275 last gc at 1396078852
1280 | [2014/03/29 07:40:53 127] network 209 gethttpresp2 117.121.21.146 1028
1281 | [2014/03/29 07:40:53 142] waiter 275 last gc at 1396078852
1282 | [2014/03/29 07:40:53 143] network 175 dns resp 0
1283 | [2014/03/29 07:40:53 144] network 318 gethttpresp dns ok 117.121.21.146
1284 | [2014/03/29 07:40:53 145] network 209 gethttpresp2 117.121.21.146 80
1285 | [2014/03/29 07:40:53 150] network 428 update_iplist
1286 | [2014/03/29 07:40:53 150] waiter 275 last gc at 1396078852
1287 | [2014/03/29 07:40:53 153] network 234 connected
1288 | [2014/03/29 07:40:53 158] network 237 send ok 94
1289 | [2014/03/29 07:40:53 161] network 234 connected
1290 | [2014/03/29 07:40:53 167] network 237 send ok 94
1291 | [2014/03/29 07:40:53 188] network 234 connected
1292 | [2014/03/29 07:40:53 208] network 237 send ok 93
1293 | [2014/03/29 07:40:53 215] network 240 readable
1294 | [2014/03/29 07:40:53 222] network 549 update iplist http resp nil 0 udata(38ffd0)
1295 | [2014/03/29 07:40:53 223] network 576 update iplist ok
1296 | [2014/03/29 07:40:53 224] network 598 not encrypted!
1297 | [2014/03/29 07:40:53 254] network 497 dev.voicecloud.cn
1298 | [2014/03/29 07:40:53 261] network 508 bj
1299 | [2014/03/29 07:40:53 261] network 510 bj
1300 | [2014/03/29 07:40:53 262] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1301 | [2014/03/29 07:40:53 266] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1302 | [2014/03/29 07:40:53 284] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1303 | [2014/03/29 07:40:53 299] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1304 | [2014/03/29 07:40:53 316] network 510 gz
1305 | [2014/03/29 07:40:53 317] network 510 hf
1306 | [2014/03/29 07:40:53 322] network 240 readable
1307 | [2014/03/29 07:40:53 327] network 934 port1028 http resp nil 0 udata(3fea70)
1308 | [2014/03/29 07:40:53 328] network 941 set preferred_port: 1028
1309 | [2014/03/29 07:40:53 329] network 240 readable
1310 | [2014/03/29 07:40:53 347] network 549 update iplist http resp nil 0 udata(37e8f0)
1311 | [2014/03/29 07:40:53 347] network 576 update iplist ok
1312 | [2014/03/29 07:40:53 348] network 598 not encrypted!
1313 | [2014/03/29 07:40:53 407] network 497 dev.voicecloud.cn
1314 | [2014/03/29 07:40:53 425] network 508 bj
1315 | [2014/03/29 07:40:53 425] network 510 bj
1316 | [2014/03/29 07:40:53 426] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1317 | [2014/03/29 07:40:53 451] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1318 | [2014/03/29 07:40:53 476] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1319 | [2014/03/29 07:40:53 496] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1320 | [2014/03/29 07:40:53 520] network 510 gz
1321 | [2014/03/29 07:40:53 531] network 510 hf
1322 | ============================================================
1323 | Time 2014/03/29 08:00:57 270
1324 | ============================================================
1325 | [2014/03/29 08:00:57 270] waiter 189 waiter loaded!
1326 | [2014/03/29 08:00:57 274] network 428 update_iplist
1327 | [2014/03/29 08:00:57 275] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1328 | [2014/03/29 08:00:57 276] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1329 | [2014/03/29 08:00:57 292] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1330 | [2014/03/29 08:00:57 305] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1331 | [2014/03/29 08:00:57 306] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1332 | [2014/03/29 08:00:57 325] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1333 | [2014/03/29 08:00:57 339] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1334 | [2014/03/29 08:00:57 363] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1335 | [2014/03/29 08:00:57 390] network 199 Set ipcache by ip from gethostbyname
1336 | [2014/03/29 08:00:57 391] network 318 gethttpresp dns ok 60.166.12.146
1337 | [2014/03/29 08:00:57 402] network 209 gethttpresp2 60.166.12.146 80
1338 | [2014/03/29 08:00:57 407] waiter 275 last gc at 1396080057
1339 | [2014/03/29 08:00:57 408] network 644 chunkedhttp
1340 | [2014/03/29 08:00:57 409] waiter 275 last gc at 1396080057
1341 | [2014/03/29 08:00:57 421] network 428 update_iplist
1342 | [2014/03/29 08:00:57 423] waiter 275 last gc at 1396080057
1343 | [2014/03/29 08:00:57 425] network 209 gethttpresp2 117.121.21.148 1028
1344 | [2014/03/29 08:00:57 470] waiter 275 last gc at 1396080057
1345 | [2014/03/29 08:00:57 472] network 175 dns resp 0
1346 | [2014/03/29 08:00:57 473] network 318 gethttpresp dns ok 117.121.21.148
1347 | [2014/03/29 08:00:57 473] network 209 gethttpresp2 117.121.21.148 80
1348 | [2014/03/29 08:00:57 484] network 234 connected
1349 | [2014/03/29 08:00:57 489] network 234 connected
1350 | [2014/03/29 08:00:57 546] network 234 connected
1351 | [2014/03/29 08:00:57 561] network 237 send ok 94
1352 | [2014/03/29 08:00:57 573] network 237 send ok 93
1353 | [2014/03/29 08:00:57 574] network 237 send ok 94
1354 | [2014/03/29 08:00:57 588] network 240 readable
1355 | [2014/03/29 08:00:57 599] network 549 update iplist http resp nil 0 udata(191d810)
1356 | [2014/03/29 08:00:57 599] network 576 update iplist ok
1357 | [2014/03/29 08:00:57 600] network 598 not encrypted!
1358 | [2014/03/29 08:00:57 667] network 497 dev.voicecloud.cn
1359 | [2014/03/29 08:00:57 695] network 508 bj
1360 | [2014/03/29 08:00:57 696] network 510 bj
1361 | [2014/03/29 08:00:57 696] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1362 | [2014/03/29 08:00:57 700] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1363 | [2014/03/29 08:00:57 728] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1364 | [2014/03/29 08:00:57 782] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1365 | [2014/03/29 08:00:57 791] network 510 gz
1366 | [2014/03/29 08:00:57 850] network 510 hf
1367 | [2014/03/29 08:00:57 861] network 240 readable
1368 | [2014/03/29 08:00:57 875] network 934 port1028 http resp nil 0 udata(181e8c8)
1369 | [2014/03/29 08:00:57 876] network 941 set preferred_port: 1028
1370 | [2014/03/29 08:00:57 877] network 240 readable
1371 | [2014/03/29 08:00:57 916] network 549 update iplist http resp nil 0 udata(184e5d0)
1372 | [2014/03/29 08:00:57 916] network 576 update iplist ok
1373 | [2014/03/29 08:00:57 917] network 598 not encrypted!
1374 | [2014/03/29 08:00:57 974] network 497 dev.voicecloud.cn
1375 | [2014/03/29 08:00:57 975] network 508 bj
1376 | [2014/03/29 08:00:57 975] network 510 bj
1377 | [2014/03/29 08:00:57 976] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1378 | [2014/03/29 08:00:58 009] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1379 | [2016/05/01 00:40:30 270] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1380 | [2016/05/01 00:40:30 314] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1381 | [2016/05/01 00:40:30 363] network 510 gz
1382 | [2016/05/01 00:40:30 384] network 510 hf
1383 | ============================================================
1384 | Time 2014/03/29 08:01:23 074
1385 | ============================================================
1386 | [2014/03/29 08:01:23 075] waiter 189 waiter loaded!
1387 | [2014/03/29 08:01:23 078] network 428 update_iplist
1388 | [2014/03/29 08:01:23 079] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1389 | [2014/03/29 08:01:23 080] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1390 | [2014/03/29 08:01:23 101] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1391 | [2014/03/29 08:01:23 111] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1392 | [2014/03/29 08:01:23 112] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1393 | [2014/03/29 08:01:23 120] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1394 | [2014/03/29 08:01:23 137] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1395 | [2014/03/29 08:01:23 169] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1396 | [2014/03/29 08:01:23 199] network 199 Set ipcache by ip from gethostbyname
1397 | [2014/03/29 08:01:23 208] network 318 gethttpresp dns ok 60.166.12.146
1398 | [2014/03/29 08:01:23 208] network 209 gethttpresp2 60.166.12.146 80
1399 | [2014/03/29 08:01:23 235] waiter 275 last gc at 1396080083
1400 | [2014/03/29 08:01:23 237] network 644 chunkedhttp
1401 | [2014/03/29 08:01:23 237] waiter 275 last gc at 1396080083
1402 | [2014/03/29 08:01:23 239] network 428 update_iplist
1403 | [2014/03/29 08:01:23 240] waiter 275 last gc at 1396080083
1404 | [2014/03/29 08:01:23 251] network 209 gethttpresp2 117.121.21.148 1028
1405 | [2014/03/29 08:01:23 272] waiter 275 last gc at 1396080083
1406 | [2014/03/29 08:01:23 274] network 175 dns resp 0
1407 | [2014/03/29 08:01:23 274] network 318 gethttpresp dns ok 117.121.21.148
1408 | [2014/03/29 08:01:23 275] network 209 gethttpresp2 117.121.21.148 80
1409 | [2014/03/29 08:01:23 288] network 234 connected
1410 | [2014/03/29 08:01:23 316] network 234 connected
1411 | [2014/03/29 08:01:23 331] network 234 connected
1412 | [2014/03/29 08:01:23 366] network 237 send ok 94
1413 | [2014/03/29 08:01:23 367] network 237 send ok 93
1414 | [2014/03/29 08:01:23 369] network 237 send ok 94
1415 | [2014/03/29 08:01:23 371] network 240 readable
1416 | [2014/03/29 08:01:23 453] network 549 update iplist http resp nil 0 udata(14c7438)
1417 | [2014/03/29 08:01:23 453] network 576 update iplist ok
1418 | [2014/03/29 08:01:23 454] network 598 not encrypted!
1419 | [2014/03/29 08:01:23 529] network 497 dev.voicecloud.cn
1420 | [2014/03/29 08:01:23 529] network 508 bj
1421 | [2014/03/29 08:01:23 530] network 510 bj
1422 | [2014/03/29 08:01:23 563] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1423 | [2014/03/29 08:01:23 567] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1424 | [2014/03/29 08:01:23 585] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1425 | [2014/03/29 08:01:23 599] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1426 | [2014/03/29 08:01:23 645] network 510 gz
1427 | [2014/03/29 08:01:23 646] network 510 hf
1428 | [2014/03/29 08:01:23 650] network 240 readable
1429 | [2014/03/29 08:01:23 677] network 934 port1028 http resp nil 0 udata(156eb40)
1430 | [2014/03/29 08:01:23 678] network 941 set preferred_port: 1028
1431 | [2014/03/29 08:01:23 679] network 428 update_iplist
1432 | [2014/03/29 08:01:23 680] waiter 275 last gc at 1396080083
1433 | [2014/03/29 08:01:23 714] network 240 readable
1434 | [2014/03/29 08:01:23 732] network 549 update iplist http resp nil 0 udata(1517a90)
1435 | [2014/03/29 08:01:23 733] network 576 update iplist ok
1436 | [2014/03/29 08:01:23 733] network 598 not encrypted!
1437 | [2014/03/29 08:01:23 776] network 497 dev.voicecloud.cn
1438 | [2014/03/29 08:01:23 825] network 508 bj
1439 | [2014/03/29 08:01:23 826] network 510 bj
1440 | [2014/03/29 08:01:23 826] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1441 | [2014/03/29 08:01:23 841] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1442 | [2014/03/29 08:01:23 869] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1443 | [2014/03/29 08:01:23 919] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1444 | [2016/05/01 00:40:56 941] network 510 gz
1445 | [2016/05/01 00:40:56 140] network 510 hf
1446 | ============================================================
1447 | Time 2014/03/29 08:03:50 668
1448 | ============================================================
1449 | [2014/03/29 08:03:50 668] waiter 189 waiter loaded!
1450 | [2014/03/29 08:03:50 688] network 428 update_iplist
1451 | [2014/03/29 08:03:50 689] network 332 gethttpresp3 http://dev.voicecloud.cn:80/ipcfg.txt standard
1452 | [2014/03/29 08:03:50 690] network 314 gethttpresp http://dev.voicecloud.cn:80/ipcfg.txt
1453 | [2014/03/29 08:03:50 702] network 332 gethttpresp3 http://60.166.12.146:80/ipcfg.txt standard
1454 | [2014/03/29 08:03:50 703] network 314 gethttpresp http://60.166.12.146:80/ipcfg.txt
1455 | [2014/03/29 08:03:50 711] network 90 iptoenv , ipcache 60.166.12.146 cm 60.166.12.146
1456 | [2014/03/29 08:03:50 723] network 90 iptoenv , ipcache 60.166.12.146 ct 60.166.12.146
1457 | [2014/03/29 08:03:50 758] network 90 iptoenv , ipcache 60.166.12.146 cu 60.166.12.146
1458 | [2014/03/29 08:03:50 766] network 90 iptoenv , ipcache 60.166.12.146 def 60.166.12.146
1459 | [2014/03/29 08:03:50 798] network 199 Set ipcache by ip from gethostbyname
1460 | [2014/03/29 08:03:50 799] network 318 gethttpresp dns ok 60.166.12.146
1461 | [2014/03/29 08:03:50 799] network 209 gethttpresp2 60.166.12.146 80
1462 | [2014/03/29 08:03:50 819] waiter 275 last gc at 1396080230
1463 | [2014/03/29 08:03:50 820] network 644 chunkedhttp
1464 | [2014/03/29 08:03:50 840] waiter 275 last gc at 1396080230
1465 | [2014/03/29 08:03:50 842] network 428 update_iplist
1466 | [2014/03/29 08:03:50 842] waiter 275 last gc at 1396080230
1467 | [2014/03/29 08:03:50 844] network 209 gethttpresp2 117.121.21.148 1028
1468 | [2014/03/29 08:03:50 859] waiter 275 last gc at 1396080230
1469 | [2014/03/29 08:03:50 860] network 175 dns resp 0
1470 | [2014/03/29 08:03:50 869] network 318 gethttpresp dns ok 117.121.21.148
1471 | [2014/03/29 08:03:50 870] network 209 gethttpresp2 117.121.21.148 80
1472 | [2014/03/29 08:03:50 894] network 234 connected
1473 | [2014/03/29 08:03:50 899] network 234 connected
1474 | [2014/03/29 08:03:50 929] network 234 connected
1475 | [2014/03/29 08:03:50 962] network 237 send ok 94
1476 | [2014/03/29 08:03:50 964] network 237 send ok 93
1477 | [2014/03/29 08:03:50 966] network 237 send ok 94
1478 | [2014/03/29 08:03:50 982] network 240 readable
1479 | [2014/03/29 08:03:50 990] network 549 update iplist http resp nil 0 udata(de3878)
1480 | [2014/03/29 08:03:50 990] network 576 update iplist ok
1481 | [2014/03/29 08:03:51 001] network 598 not encrypted!
1482 | [2014/03/29 08:03:51 088] network 497 dev.voicecloud.cn
1483 | [2014/03/29 08:03:51 101] network 508 bj
1484 | [2014/03/29 08:03:51 102] network 510 bj
1485 | [2014/03/29 08:03:51 103] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1486 | [2014/03/29 08:03:51 106] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1487 | [2014/03/29 08:03:51 145] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1488 | [2014/03/29 08:03:51 160] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1489 | [2014/03/29 08:03:51 191] network 510 gz
1490 | [2014/03/29 08:03:51 192] network 510 hf
1491 | [2014/03/29 08:03:51 196] network 240 readable
1492 | [2014/03/29 08:03:51 212] network 934 port1028 http resp nil 0 udata(d18978)
1493 | [2014/03/29 08:03:51 212] network 941 set preferred_port: 1028
1494 | [2014/03/29 08:03:51 214] network 240 readable
1495 | [2014/03/29 08:03:51 231] network 549 update iplist http resp nil 0 udata(e062c8)
1496 | [2014/03/29 08:03:51 232] network 576 update iplist ok
1497 | [2014/03/29 08:03:51 233] network 598 not encrypted!
1498 | [2014/03/29 08:03:51 284] network 497 dev.voicecloud.cn
1499 | [2014/03/29 08:03:51 284] network 508 bj
1500 | [2014/03/29 08:03:51 285] network 510 bj
1501 | [2014/03/29 08:03:51 285] network 90 iptoenv , ipcfg dev.voicecloud.cn cm 117.121.56.3
1502 | [2014/03/29 08:03:51 290] network 90 iptoenv , ipcfg dev.voicecloud.cn ct 116.213.69.201
1503 | [2014/03/29 08:03:51 344] network 90 iptoenv , ipcfg dev.voicecloud.cn cu 117.121.56.8
1504 | [2016/05/01 00:43:23 601] network 90 iptoenv , ipcfg dev.voicecloud.cn def 116.213.69.199
1505 | [2016/05/01 00:43:23 623] network 510 gz
1506 | [2016/05/01 00:43:23 624] network 510 hf
1507 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/stt_sample:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/stt_sample
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/temp.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/temp.wav
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/tts_sample:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/tts_sample
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/tts_sample.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/tts_sample.wav
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/userwords.txt:
--------------------------------------------------------------------------------
1 | {"userword":[{"words":["中美速控","人民","张山","明百","可勒"],"name":"再见"},{"words":["邯郸钢铁","电话簿"],"name":"常用命令"},{"words":["身体健康","恭喜发财","吉祥如意","龙年"],"name":"新年短信"}]}
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/wav/iflytek01.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/wav/iflytek01.wav
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/wav/iflytek02.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/wav/iflytek02.wav
--------------------------------------------------------------------------------
/Linux_voice_1.109/bin/wav/temp.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/bin/wav/temp.wav
--------------------------------------------------------------------------------
/Linux_voice_1.109/include/msp_cmn.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file msp_cmn.h
3 | * @brief Mobile Speech Platform Common Interface Header File
4 | *
5 | * This file contains the quick common programming interface (API) declarations
6 | * of MSP. Developer can include this file in your project to build applications.
7 | * For more information, please read the developer guide.
8 |
9 | * Use of this software is subject to certain restrictions and limitations set
10 | * forth in a license agreement entered into between iFLYTEK, Co,LTD.
11 | * and the licensee of this software. Please refer to the license
12 | * agreement for license use rights and restrictions.
13 | *
14 | * Copyright (C) 1999 - 2015 by iFLYTEK, Co,LTD.
15 | * All rights reserved.
16 | *
17 | * @author MSC
18 | * @version 5.0
19 | * @date 2015/03/19
20 | *
21 | * @see
22 | *
23 | * History:
24 | *
25 | * Version | Date | Author | Notes |
26 | * 5.0 | 2015/03/19 | MSC | Create this file |
27 | *
28 | */
29 |
30 | #ifndef __MSP_CMN_H__
31 | #define __MSP_CMN_H__
32 |
33 | #include "msp_types.h"
34 |
35 | #ifdef __cplusplus
36 | extern "C" {
37 | #endif /* C++ */
38 |
39 | /**
40 | * @fn MSPLogin
41 | * @brief user login interface
42 | *
43 | * User login.
44 | *
45 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
46 | * @param const char* usr - [in] user name.
47 | * @param const char* pwd - [in] password.
48 | * @param const char* params - [in] parameters when user login.
49 | * @see
50 | */
51 | int MSPAPI MSPLogin(const char* usr, const char* pwd, const char* params);
52 | typedef int (MSPAPI *Proc_MSPLogin)(const char* usr, const char* pwd, const char* params);
53 |
54 | /**
55 | * @fn MSPLogout
56 | * @brief user logout interface
57 | *
58 | * User logout
59 | *
60 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
61 | * @see
62 | */
63 | int MSPAPI MSPLogout();
64 | typedef int (MSPAPI *Proc_MSPLogout)();
65 |
66 | /**
67 | * @fn MSPGetResult
68 | * @brief Get Result
69 | *
70 | * Get result of uploading, downloading or searching, etc.
71 | *
72 | * @return const char* MSPAPI - Return result of uploading, downloading or searching, etc.
73 | * @param int* rsltLen - [out] Length of result returned.
74 | * @param int* rsltStatus - [out] Status of result returned.
75 | * @param int* errorCode - [out] Return 0 in success, otherwise return error code.
76 | * @see
77 | */
78 | const char* MSPAPI MSPGetResult(unsigned int* rsltLen, int* rsltStatus, int *errorCode);
79 | typedef const char * (MSPAPI *Proc_MSPGetResult)(unsigned int* rsltLen, int* rsltStatus, int *errorCode);
80 |
81 | /**
82 | * @fn MSPSetParam
83 | * @brief set params of msc
84 | *
85 | * set param of msc
86 | *
87 | * @return int - Return 0 if success, otherwise return errcode.
88 | * @param const char* paramName - [in] param name.
89 | * @param const char* paramValue - [in] param value
90 | * @see
91 | */
92 | int MSPAPI MSPSetParam( const char* paramName, const char* paramValue );
93 | typedef int (MSPAPI *Proc_MSPSetParam)(const char* paramName, const char* paramValue);
94 |
95 | /**
96 | * @fn MSPGetParam
97 | * @brief get params of msc
98 | *
99 | * get param of msc
100 | *
101 | * @return int - Return 0 if success, otherwise return errcode.
102 | * @param const char* paramName - [in] param name.
103 | * @param const char* paramValue - [out] param value
104 | * @param const char* valueLen - [in/out] param value (buffer) length
105 | * @see
106 | */
107 | int MSPAPI MSPGetParam( const char *paramName, char *paramValue, unsigned int *valueLen );
108 | typedef int (MSPAPI *Proc_MSPGetParam)( const char *paramName, char *paramValue, unsigned int *valueLen );
109 |
110 | /**
111 | * @fn MSPUploadData
112 | * @brief Upload User Specific Data
113 | *
114 | * Upload data such as user config, custom grammar, etc.
115 | *
116 | * @return const char* MSPAPI - data id returned by Server, used for special command.
117 | * @param const char* dataName - [in] data name, should be unique to diff other data.
118 | * @param void* data - [in] the data buffer pointer, data could be binary.
119 | * @param unsigned int dataLen - [in] length of data.
120 | * @param const char* params - [in] parameters about uploading data.
121 | * @param int* errorCode - [out] Return 0 in success, otherwise return error code.
122 | * @see
123 | */
124 | const char* MSPAPI MSPUploadData(const char* dataName, void* data, unsigned int dataLen, const char* params, int* errorCode);
125 | typedef const char* (MSPAPI* Proc_MSPUploadData)(const char* dataName, void* data, unsigned int dataLen, const char* params, int* errorCode);
126 |
127 | /**
128 | * @fn MSPDownloadData
129 | * @brief Download User Specific Data
130 | *
131 | * Download data such as user config, etc.
132 | *
133 | * @return const void* MSPAPI - received data buffer pointer, data could be binary, NULL if failed or data does not exsit.
134 | * @param const char* params - [in] parameters about data to be downloaded.
135 | * @param unsigned int* dataLen - [out] length of received data.
136 | * @param int* errorCode - [out] Return 0 in success, otherwise return error code.
137 | * @see
138 | */
139 | const void* MSPAPI MSPDownloadData(const char* params, unsigned int* dataLen, int* errorCode);
140 | typedef const void* (MSPAPI* Proc_MSPDownloadData)(const char* params, unsigned int* dataLen, int* errorCode);
141 |
142 | /**
143 | * @fn MSPSearch
144 | * @brief Search text for result
145 | *
146 | * Search text content, and got text result
147 | *
148 | * @return const void* MSPAPI - received data buffer pointer, data could be binary, NULL if failed or data does not exsit.
149 | * @param const char* params - [in] parameters about data to be downloaded.
150 | * @param unsigned int* dataLen - [out] length of received data.
151 | * @param int* errorCode - [out] Return 0 in success, otherwise return error code.
152 | * @see
153 | */
154 | const char* MSPAPI MSPSearch(const char* params, const char* text, unsigned int* dataLen, int* errorCode);
155 | typedef const char* (MSPAPI* Proc_MSPSearch)(const char* params, const char* text, unsigned int* dataLen, int* errorCode);
156 |
157 | typedef int (*NLPSearchCB)(const char *sessionID, int errorCode, int status, const void* result, long rsltLen, void *userData);
158 | const char* MSPAPI MSPNlpSearch(const char* params, const char* text, unsigned int textLen, int *errorCode, NLPSearchCB callback, void *userData);
159 | typedef const char* (MSPAPI* Proc_MSPNlpSearch)(const char* params, const char* text, unsigned int textLen, int *errorCode, NLPSearchCB callback, void *userData);
160 | int MSPAPI MSPNlpSchCancel(const char *sessionID, const char *hints);
161 |
162 | /**
163 | * @fn MSPRegisterNotify
164 | * @brief Register a Callback
165 | *
166 | * Register a Callback
167 | *
168 | * @return int -
169 | * @param msp_status_ntf_handler statusCb - [in] notify handler
170 | * @param void *userData - [in] userData
171 | * @see
172 | */
173 | typedef void ( *msp_status_ntf_handler)( int type, int status, int param1, const void *param2, void *userData );
174 | int MSPAPI MSPRegisterNotify( msp_status_ntf_handler statusCb, void *userData );
175 | typedef const char* (MSPAPI* Proc_MSPRegisterNotify)( msp_status_ntf_handler statusCb, void *userData );
176 |
177 | #ifdef __cplusplus
178 | } /* extern "C" */
179 | #endif /* C++ */
180 |
181 | #endif /* __MSP_CMN_H__ */
182 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/include/msp_errors.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/include/msp_errors.h
--------------------------------------------------------------------------------
/Linux_voice_1.109/include/msp_types.h:
--------------------------------------------------------------------------------
1 | #ifndef __MSP_TYPES_H__
2 | #define __MSP_TYPES_H__
3 |
4 | #if !defined(MSPAPI)
5 | #if defined(WIN32)
6 | #define MSPAPI __stdcall
7 | #else
8 | #define MSPAPI
9 | #endif /* WIN32 */
10 | #endif /* MSPAPI */
11 |
12 |
13 | /**
14 | * MSPSampleStatus indicates how the sample buffer should be handled
15 | * MSP_AUDIO_SAMPLE_FIRST - The sample buffer is the start of audio
16 | * If recognizer was already recognizing, it will discard
17 | * audio received to date and re-start the recognition
18 | * MSP_AUDIO_SAMPLE_CONTINUE - The sample buffer is continuing audio
19 | * MSP_AUDIO_SAMPLE_LAST - The sample buffer is the end of audio
20 | * The recognizer will cease processing audio and
21 | * return results
22 | * Note that sample statii can be combined; for example, for file-based input
23 | * the entire file can be written with SAMPLE_FIRST | SAMPLE_LAST as the
24 | * status.
25 | * Other flags may be added in future to indicate other special audio
26 | * conditions such as the presence of AGC
27 | */
28 | enum
29 | {
30 | MSP_AUDIO_SAMPLE_INIT = 0x00,
31 | MSP_AUDIO_SAMPLE_FIRST = 0x01,
32 | MSP_AUDIO_SAMPLE_CONTINUE = 0x02,
33 | MSP_AUDIO_SAMPLE_LAST = 0x04,
34 | };
35 |
36 | /*
37 | * The enumeration MSPRecognizerStatus contains the recognition status
38 | * MSP_REC_STATUS_SUCCESS - successful recognition with partial results
39 | * MSP_REC_STATUS_NO_MATCH - recognition rejected
40 | * MSP_REC_STATUS_INCOMPLETE - recognizer needs more time to compute results
41 | * MSP_REC_STATUS_NON_SPEECH_DETECTED - discard status, no more in use
42 | * MSP_REC_STATUS_SPEECH_DETECTED - recognizer has detected audio, this is delayed status
43 | * MSP_REC_STATUS_COMPLETE - recognizer has return all result
44 | * MSP_REC_STATUS_MAX_CPU_TIME - CPU time limit exceeded
45 | * MSP_REC_STATUS_MAX_SPEECH - maximum speech length exceeded, partial results may be returned
46 | * MSP_REC_STATUS_STOPPED - recognition was stopped
47 | * MSP_REC_STATUS_REJECTED - recognizer rejected due to low confidence
48 | * MSP_REC_STATUS_NO_SPEECH_FOUND - recognizer still found no audio, this is delayed status
49 | */
50 | enum
51 | {
52 | MSP_REC_STATUS_SUCCESS = 0,
53 | MSP_REC_STATUS_NO_MATCH = 1,
54 | MSP_REC_STATUS_INCOMPLETE = 2,
55 | MSP_REC_STATUS_NON_SPEECH_DETECTED = 3,
56 | MSP_REC_STATUS_SPEECH_DETECTED = 4,
57 | MSP_REC_STATUS_COMPLETE = 5,
58 | MSP_REC_STATUS_MAX_CPU_TIME = 6,
59 | MSP_REC_STATUS_MAX_SPEECH = 7,
60 | MSP_REC_STATUS_STOPPED = 8,
61 | MSP_REC_STATUS_REJECTED = 9,
62 | MSP_REC_STATUS_NO_SPEECH_FOUND = 10,
63 | MSP_REC_STATUS_FAILURE = MSP_REC_STATUS_NO_MATCH,
64 | };
65 |
66 | /**
67 | * The enumeration MSPepState contains the current endpointer state
68 | * MSP_EP_LOOKING_FOR_SPEECH - Have not yet found the beginning of speech
69 | * MSP_EP_IN_SPEECH - Have found the beginning, but not the end of speech
70 | * MSP_EP_AFTER_SPEECH - Have found the beginning and end of speech
71 | * MSP_EP_TIMEOUT - Have not found any audio till timeout
72 | * MSP_EP_ERROR - The endpointer has encountered a serious error
73 | * MSP_EP_MAX_SPEECH - Have arrive the max size of speech
74 | */
75 | enum
76 | {
77 | MSP_EP_LOOKING_FOR_SPEECH = 0,
78 | MSP_EP_IN_SPEECH = 1,
79 | MSP_EP_AFTER_SPEECH = 3,
80 | MSP_EP_TIMEOUT = 4,
81 | MSP_EP_ERROR = 5,
82 | MSP_EP_MAX_SPEECH = 6,
83 | MSP_EP_IDLE = 7 // internal state after stop and before start
84 | };
85 |
86 | /* Synthesizing process flags */
87 | enum
88 | {
89 | MSP_TTS_FLAG_STILL_HAVE_DATA = 1,
90 | MSP_TTS_FLAG_DATA_END = 2,
91 | MSP_TTS_FLAG_CMD_CANCELED = 4,
92 | };
93 |
94 | /* Handwriting process flags */
95 | enum
96 | {
97 | MSP_HCR_DATA_FIRST = 1,
98 | MSP_HCR_DATA_CONTINUE = 2,
99 | MSP_HCR_DATA_END = 4,
100 | };
101 |
102 | /*ivw message type */
103 | enum
104 | {
105 | MSP_IVW_MSG_WAKEUP = 1,
106 | MSP_IVW_MSG_ERROR = 2,
107 | MSP_IVW_MSG_ISR_RESULT = 3,
108 | MSP_IVW_MSG_ISR_EPS = 4,
109 | MSP_IVW_MSG_VOLUME = 5,
110 | MSP_IVW_MSG_ENROLL = 6
111 | };
112 |
113 | /* Upload data process flags */
114 | enum
115 | {
116 | MSP_DATA_SAMPLE_INIT = 0x00,
117 | MSP_DATA_SAMPLE_FIRST = 0x01,
118 | MSP_DATA_SAMPLE_CONTINUE = 0x02,
119 | MSP_DATA_SAMPLE_LAST = 0x04,
120 | };
121 |
122 | #endif /* __MSP_TYPES_H__ */
123 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/include/qisr.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file qisr.h
3 | * @brief iFLY Speech Recognizer Header File
4 | *
5 | * This file contains the quick application programming interface (API) declarations
6 | * of ISR. Developer can include this file in your project to build applications.
7 | * For more information, please read the developer guide.
8 |
9 | * Use of this software is subject to certain restrictions and limitations set
10 | * forth in a license agreement entered into between iFLYTEK, Co,LTD.
11 | * and the licensee of this software. Please refer to the license
12 | * agreement for license use rights and restrictions.
13 | *
14 | * Copyright (C) 1999 - 2015 by iFLYTEK, Co,LTD.
15 | * All rights reserved.
16 | *
17 | * @author MSC
18 | * @version 5.0
19 | * @date 2015/03/19
20 | *
21 | * @see
22 | *
23 | * History:
24 | *
25 | * Version | Date | Author | Notes |
26 | * 5.0 | 2015/03/19 | MSC | Create this file |
27 | *
28 | */
29 |
30 | #ifndef __QISR_H__
31 | #define __QISR_H__
32 |
33 | #ifdef __cplusplus
34 | extern "C" {
35 | #endif /* C++ */
36 |
37 | #include "msp_types.h"
38 |
39 | /**
40 | * @fn QISRSessionBegin
41 | * @brief Begin a Recognizer Session
42 | *
43 | * Create a recognizer session to recognize audio data
44 | *
45 | * @return return sessionID of current session, NULL is failed.
46 | * @param const char* grammarList - [in] grammars list, inline grammar support only one.
47 | * @param const char* params - [in] parameters when the session created.
48 | * @param int *errorCode - [out] return 0 on success, otherwise return error code.
49 | * @see
50 | */
51 | const char* MSPAPI QISRSessionBegin(const char* grammarList, const char* params, int* errorCode);
52 | typedef const char* (MSPAPI *Proc_QISRSessionBegin)(const char* grammarList, const char* params, int *result);
53 |
54 | /**
55 | * @fn QISRAudioWrite
56 | * @brief Write Audio Data to Recognizer Session
57 | *
58 | * Writing binary audio data to recognizer.
59 | *
60 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
61 | * @param const char* sessionID - [in] The session id returned by recog_begin
62 | * @param const void* waveData - [in] Binary data of waveform
63 | * @param unsigned int waveLen - [in] Waveform data size in bytes
64 | * @param int audioStatus - [in] Audio status, can be
65 | * @param int *epStatus - [out] ISRepState
66 | * @param int *recogStatus - [out] ISRrecRecognizerStatus, see isr_rec.h
67 | * @see
68 | */
69 | int MSPAPI QISRAudioWrite(const char* sessionID, const void* waveData, unsigned int waveLen, int audioStatus, int *epStatus, int *recogStatus);
70 | typedef int (MSPAPI *Proc_QISRAudioWrite)(const char* sessionID, const void* waveData, unsigned int waveLen, int audioStatus, int *epStatus, int *recogStatus);
71 |
72 | /**
73 | * @fn QISRGetResult
74 | * @brief Get Recognize Result in Specified Format
75 | *
76 | * Get recognize result in Specified format.
77 | *
78 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
79 | * @param const char* sessionID - [in] session id returned by session begin
80 | * @param int* rsltStatus - [out] status of recognition result, 0: success, 1: no match, 2: incomplete, 5:speech complete
81 | * @param int *errorCode - [out] return 0 on success, otherwise return error code.
82 | * @see
83 | */
84 | const char * MSPAPI QISRGetResult(const char* sessionID, int* rsltStatus, int waitTime, int *errorCode);
85 | typedef const char * (MSPAPI *Proc_QISRGetResult)(const char* sessionID, int* rsltStatus, int waitTime, int *errorCode);
86 |
87 | /**
88 | * @fn QISRSessionEnd
89 | * @brief End a Recognizer Session
90 | *
91 | * End the recognizer session, release all resource.
92 | *
93 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
94 | * @param const char* sessionID - [in] session id string to end
95 | * @param const char* hints - [in] user hints to end session, hints will be logged to CallLog
96 | * @see
97 | */
98 | int MSPAPI QISRSessionEnd(const char* sessionID, const char* hints);
99 | typedef int (MSPAPI *Proc_QISRSessionEnd)(const char* sessionID, const char* hints);
100 |
101 | /**
102 | * @fn QISRGetParam
103 | * @brief get params related with msc
104 | *
105 | * the params could be local or server param, we only support netflow params "upflow" & "downflow" now
106 | *
107 | * @return int - Return 0 if success, otherwise return errcode.
108 | * @param const char* sessionID - [in] session id of related param, set NULL to got global param
109 | * @param const char* paramName - [in] param name,could pass more than one param split by ','';'or'\n'
110 | * @param const char* paramValue - [in] param value buffer, malloced by user
111 | * @param int *valueLen - [in, out] pass in length of value buffer, and return length of value string
112 | * @see
113 | */
114 | int MSPAPI QISRGetParam(const char* sessionID, const char* paramName, char* paramValue, unsigned int* valueLen);
115 | typedef int (MSPAPI *Proc_QISRGetParam)(const char* sessionID, const char* paramName, char* paramValue, unsigned int* valueLen);
116 |
117 | /**
118 | * @fn QISRSetParam
119 | * @brief get params related with msc
120 | *
121 | * the params could be local or server param, we only support netflow params "upflow" & "downflow" now
122 | *
123 | * @return int - Return 0 if success, otherwise return errcode.
124 | * @param const char* sessionID - [in] session id of related param, set NULL to got global param
125 | * @param const char* paramName - [in] param name,could pass more than one param split by ','';'or'\n'
126 | * @param const char* paramValue - [in] param value buffer, malloced by user
127 | * @param int *valueLen - [in, out] pass in length of value buffer, and return length of value string
128 | * @see
129 | */
130 | int MSPAPI QISRSetParam(const char* sessionID, const char* paramName, const char* paramValue);
131 | typedef int (MSPAPI *Proc_QISRSetParam)(const char* sessionID, const char* paramName, const char* paramValue);
132 |
133 | typedef void ( *recog_result_ntf_handler)( const char *sessionID, const char *result, int resultLen, int resultStatus, void *userData );
134 | typedef void ( *recog_status_ntf_handler)( const char *sessionID, int type, int status, int param1, const void *param2, void *userData);
135 | typedef void ( *recog_error_ntf_handler)(const char *sessionID, int errorCode, const char *detail, void *userData);
136 | int MSPAPI QISRRegisterNotify(const char *sessionID, recog_result_ntf_handler rsltCb, recog_status_ntf_handler statusCb, recog_error_ntf_handler errCb, void *userData);
137 |
138 | typedef int ( *UserCallBack)( int, const char*, void*);
139 | typedef int ( *GrammarCallBack)( int, const char*, void*);
140 | typedef int ( *LexiconCallBack)( int, const char*, void*);
141 |
142 | int MSPAPI QISRBuildGrammar(const char *grammarType, const char *grammarContent, unsigned int grammarLength, const char *params, GrammarCallBack callback, void *userData);
143 | typedef int (MSPAPI *Proc_QISRBuildGrammar)(const char *grammarType, const char *grammarContent, unsigned int grammarLength, const char *params, GrammarCallBack callback, void *userData);
144 |
145 | int MSPAPI QISRUpdateLexicon(const char *lexiconName, const char *lexiconContent, unsigned int lexiconLength, const char *params, LexiconCallBack callback, void *userData);
146 | typedef int (MSPAPI *Proc_QISRUpdataLexicon)(const char *lexiconName, const char *lexiconContent, unsigned int lexiconLength, const char *params, LexiconCallBack callback, void *userData);
147 | #ifdef __cplusplus
148 | } /* extern "C" */
149 | #endif /* C++ */
150 |
151 | #endif /* __QISR_H__ */
152 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/include/qtts.h:
--------------------------------------------------------------------------------
1 | /**
2 | * @file qtts.h
3 | * @brief iFLY Speech Synthesizer Header File
4 | *
5 | * This file contains the quick application programming interface (API) declarations
6 | * of TTS. Developer can include this file in your project to build applications.
7 | * For more information, please read the developer guide.
8 |
9 | * Use of this software is subject to certain restrictions and limitations set
10 | * forth in a license agreement entered into between iFLYTEK, Co,LTD.
11 | * and the licensee of this software. Please refer to the license
12 | * agreement for license use rights and restrictions.
13 | *
14 | * Copyright (C) 1999 - 2015 by iFLYTEK, Co,LTD.
15 | * All rights reserved.
16 | *
17 | * @author MSC
18 | * @version 5.0
19 | * @date 2015/03/19
20 | *
21 | * @see
22 | *
23 | * History:
24 | *
25 | * Version | Date | Author | Notes |
26 | * 5.0 | 2015/03/19 | MSC | Create this file |
27 | *
28 | */
29 | #ifndef __QTTS_H__
30 | #define __QTTS_H__
31 |
32 | #if !defined(MSPAPI)
33 | #if defined(WIN32)
34 | #define MSPAPI __stdcall
35 | #else
36 | #define MSPAPI
37 | #endif /* WIN32 */
38 | #endif /* MSPAPI */
39 |
40 | #ifdef __cplusplus
41 | extern "C" {
42 | #endif /* C++ */
43 |
44 | #include "msp_types.h"
45 |
46 | /**
47 | * @fn QTTSSessionBegin
48 | * @brief Begin a TTS Session
49 | *
50 | * Create a tts session to synthesize data.
51 | *
52 | * @return const char* - Return the new session id in success, otherwise return NULL, error code.
53 | * @param const char* params - [in] parameters when the session created.
54 | * @param const char** sessionID - [out] return a string to this session.
55 | * @see
56 | */
57 | const char* MSPAPI QTTSSessionBegin(const char* params, int* errorCode);
58 | typedef const char* (MSPAPI *Proc_QTTSSessionBegin)(const char* params, int* errorCode);
59 |
60 | /**
61 | * @fn QTTSTextPut
62 | * @brief Put Text Buffer to TTS Session
63 | *
64 | * Writing text string to synthesizer.
65 | *
66 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
67 | * @param const char* sessionID - [in] The session id returned by sesson begin
68 | * @param const char* textString - [in] text buffer
69 | * @param unsigned int textLen - [in] text size in bytes
70 | * @see
71 | */
72 | int MSPAPI QTTSTextPut(const char* sessionID, const char* textString, unsigned int textLen, const char* params);
73 | typedef int (MSPAPI *Proc_QTTSTextPut)(const char* sessionID, const char* textString, unsigned int textLen, const char* params);
74 |
75 | /**
76 | * @fn QTTSAudioGet
77 | * @brief Synthesize text to audio
78 | *
79 | * Synthesize text to audio, and return audio information.
80 | *
81 | * @return const void* - Return current synthesized audio data buffer, size returned by QTTSTextSynth.
82 | * @param const char* sessionID - [in] session id returned by session begin
83 | * @param unsigned int* audioLen - [out] synthesized audio size in bytes
84 | * @param int* synthStatus - [out] synthesizing status
85 | * @param int* errorCode - [out] error code if failed, 0 to success.
86 | * @see
87 | */
88 | const void* MSPAPI QTTSAudioGet(const char* sessionID, unsigned int* audioLen, int* synthStatus, int* errorCode);
89 | typedef const void* (MSPAPI *Proc_QTTSAudioGet)(const char* sessionID, unsigned int* audioLen, int* synthStatus, int* errorCode);
90 |
91 | /**
92 | * @fn QTTSAudioInfo
93 | * @brief Get Synthesized Audio information
94 | *
95 | * Get synthesized audio data information.
96 | *
97 | * @return const char * - Return audio info string.
98 | * @param const char* sessionID - [in] session id returned by session begin
99 | * @see
100 | */
101 | const char* MSPAPI QTTSAudioInfo(const char* sessionID);
102 | typedef const char* (MSPAPI *Proc_QTTSAudioInfo)(const char* sessionID);
103 |
104 | /**
105 | * @fn QTTSSessionEnd
106 | * @brief End a Recognizer Session
107 | *
108 | * End the recognizer session, release all resource.
109 | *
110 | * @return int MSPAPI - Return 0 in success, otherwise return error code.
111 | * @param const char* session_id - [in] session id string to end
112 | * @param const char* hints - [in] user hints to end session, hints will be logged to CallLog
113 | * @see
114 | */
115 | int MSPAPI QTTSSessionEnd(const char* sessionID, const char* hints);
116 | typedef int (MSPAPI *Proc_QTTSSessionEnd)(const char* sessionID, const char* hints);
117 |
118 | /**
119 | * @fn QTTSGetParam
120 | * @brief get params related with msc
121 | *
122 | * the params could be local or server param, we only support netflow params "upflow" & "downflow" now
123 | *
124 | * @return int - Return 0 if success, otherwise return errcode.
125 | * @param const char* sessionID - [in] session id of related param, set NULL to got global param
126 | * @param const char* paramName - [in] param name,could pass more than one param split by ','';'or'\n'
127 | * @param const char* paramValue - [in] param value buffer, malloced by user
128 | * @param int *valueLen - [in, out] pass in length of value buffer, and return length of value string
129 | * @see
130 | */
131 | int MSPAPI QTTSGetParam(const char* sessionID, const char* paramName, char* paramValue, unsigned int* valueLen);
132 | typedef int (MSPAPI *Proc_QTTSGetParam)(const char* sessionID, const char* paramName, char* paramValue, unsigned int* valueLen);
133 |
134 | /**
135 | * @fn QTTSSetParam
136 | * @brief set params related with msc
137 | *
138 | * the params could be local or server param, we only support netflow params "upflow" & "downflow" now
139 | *
140 | * @return int - Return 0 if success, otherwise return errcode.
141 | * @param const char* sessionID - [in] session id of related param, set NULL to got global param
142 | * @param const char* paramName - [in] param name,could pass more than one param split by ','';'or'\n'
143 | * @param const char* paramValue - [in] param value buffer, malloced by user
144 | * @see
145 | */
146 | int MSPAPI QTTSSetParam(const char *sessionID, const char *paramName, const char *paramValue);
147 | typedef int (MSPAPI *Proc_QTTSSetParam)(const char* sessionID, const char* paramName, char* paramValue);
148 |
149 | typedef void ( *tts_result_ntf_handler)( const char *sessionID, const char *audio, int audioLen, int synthStatus, int ced, const char *audioInfo, int audioInfoLen, void *userData );
150 | typedef void ( *tts_status_ntf_handler)( const char *sessionID, int type, int status, int param1, const void *param2, void *userData);
151 | typedef void ( *tts_error_ntf_handler)(const char *sessionID, int errorCode, const char *detail, void *userData);
152 | int MSPAPI QTTSRegisterNotify(const char *sessionID, tts_result_ntf_handler rsltCb, tts_status_ntf_handler statusCb, tts_error_ntf_handler errCb, void *userData);
153 |
154 | #ifdef __cplusplus
155 | } /* extern "C" */
156 | #endif /* C++ */
157 |
158 | #endif /* __QTTS_H__ */
159 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/libs/RaspberryPi/libmsc.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/libs/RaspberryPi/libmsc.so
--------------------------------------------------------------------------------
/Linux_voice_1.109/libs/arm/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/libs/arm/readme.txt
--------------------------------------------------------------------------------
/Linux_voice_1.109/libs/mips/readme.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/libs/mips/readme.txt
--------------------------------------------------------------------------------
/Linux_voice_1.109/libs/x64/libmsc.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/libs/x64/libmsc.so
--------------------------------------------------------------------------------
/Linux_voice_1.109/libs/x86/libmsc.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/libs/x86/libmsc.so
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/asr_sample/32bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译32位可执行文件
2 | make clean;make
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x86/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/asr_sample/64bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译64位可执行文件
2 | make clean;make LINUX64=1
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x64/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/asr_sample/Makefile:
--------------------------------------------------------------------------------
1 | #common makefile header
2 |
3 | DIR_INC = ../../include
4 | DIR_BIN = ../../bin
5 | DIR_LIB = ../../libs
6 |
7 | TARGET = asr_sample
8 | BIN_TARGET = $(DIR_BIN)/$(TARGET)
9 |
10 | CROSS_COMPILE =
11 | CFLAGS = -g -Wall -I$(DIR_INC)
12 |
13 | #可根据实际需要修改,选择所需平台SDK,默认为x64或x86平台。
14 | ifdef LINUX64
15 | LDFLAGS := -L$(DIR_LIB)/x64
16 | else
17 | LDFLAGS := -L$(DIR_LIB)/x86
18 | endif
19 |
20 | LDFLAGS += -lmsc -lrt -ldl -lpthread
21 |
22 | OBJECTS := $(patsubst %.c,%.o,$(wildcard *.c))
23 |
24 | $(BIN_TARGET) : $(OBJECTS)
25 | $(CROSS_COMPILE)gcc $(CFLAGS) $^ -o $@ $(LDFLAGS)
26 |
27 | %.o : %.c
28 | $(CROSS_COMPILE)gcc -c $(CFLAGS) $< -o $@
29 | clean:
30 | @rm -f *.o $(BIN_TARGET)
31 |
32 | .PHONY:clean
33 |
34 | #common makefile foot
35 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/asr_sample/asr_sample.c:
--------------------------------------------------------------------------------
1 | /*
2 | * 语音识别(Automatic Speech Recognition)技术能够从语音中识别出特定的命令词或语句模式。
3 | */
4 |
5 | #include
6 | #include
7 | #include
8 | #include
9 |
10 | #include "qisr.h"
11 | #include "msp_cmn.h"
12 | #include "msp_errors.h"
13 |
14 | #define BUFFER_SIZE 2048
15 | #define HINTS_SIZE 100
16 | #define GRAMID_LEN 128
17 | #define FRAME_LEN 640
18 |
19 | int get_grammar_id(char* grammar_id, unsigned int id_len)
20 | {
21 | FILE* fp = NULL;
22 | char* grammar = NULL;
23 | unsigned int grammar_len = 0;
24 | unsigned int read_len = 0;
25 | const char* ret_id = NULL;
26 | unsigned int ret_id_len = 0;
27 | int ret = -1;
28 |
29 | if (NULL == grammar_id)
30 | goto grammar_exit;
31 |
32 | fp = fopen("gm_continuous_digit.abnf", "rb");
33 | if (NULL == fp)
34 | {
35 | printf("\nopen grammar file failed!\n");
36 | goto grammar_exit;
37 | }
38 |
39 | fseek(fp, 0, SEEK_END);
40 | grammar_len = ftell(fp); //获取语法文件大小
41 | fseek(fp, 0, SEEK_SET);
42 |
43 | grammar = (char*)malloc(grammar_len + 1);
44 | if (NULL == grammar)
45 | {
46 | printf("\nout of memory!\n");
47 | goto grammar_exit;
48 | }
49 |
50 | read_len = fread((void *)grammar, 1, grammar_len, fp); //读取语法内容
51 | if (read_len != grammar_len)
52 | {
53 | printf("\nread grammar error!\n");
54 | goto grammar_exit;
55 | }
56 | grammar[grammar_len] = '\0';
57 |
58 | ret_id = MSPUploadData("usergram", grammar, grammar_len, "dtt = abnf, sub = asr", &ret); //上传语法
59 | if (MSP_SUCCESS != ret)
60 | {
61 | printf("\nMSPUploadData failed, error code: %d.\n", ret);
62 | goto grammar_exit;
63 | }
64 |
65 | ret_id_len = strlen(ret_id);
66 | if (ret_id_len >= id_len)
67 | {
68 | printf("\nno enough buffer for grammar_id!\n");
69 | goto grammar_exit;
70 | }
71 | strncpy(grammar_id, ret_id, ret_id_len);
72 | printf("grammar_id: \"%s\" \n", grammar_id); //下次可以直接使用该ID,不必重复上传语法。
73 |
74 | grammar_exit:
75 | if (NULL != fp)
76 | {
77 | fclose(fp);
78 | fp = NULL;
79 | }
80 | if (NULL!= grammar)
81 | {
82 | free(grammar);
83 | grammar = NULL;
84 | }
85 | return ret;
86 | }
87 |
88 | void run_asr(const char* audio_file, const char* params, char* grammar_id)
89 | {
90 | const char* session_id = NULL;
91 | char rec_result[BUFFER_SIZE] = {'\0'};
92 | char hints[HINTS_SIZE] = {'\0'}; //hints为结束本次会话的原因描述,由用户自定义
93 | unsigned int total_len = 0;
94 | int aud_stat = MSP_AUDIO_SAMPLE_CONTINUE; //音频状态
95 | int ep_stat = MSP_EP_LOOKING_FOR_SPEECH; //端点检测
96 | int rec_stat = MSP_REC_STATUS_SUCCESS; //识别状态
97 | int errcode = MSP_SUCCESS;
98 |
99 | FILE* f_pcm = NULL;
100 | char* p_pcm = NULL;
101 | long pcm_count = 0;
102 | long pcm_size = 0;
103 | long read_size = 0;
104 |
105 | if (NULL == audio_file)
106 | goto asr_exit;
107 |
108 | f_pcm = fopen(audio_file, "rb");
109 | if (NULL == f_pcm)
110 | {
111 | printf("\nopen [%s] failed!\n", audio_file);
112 | goto asr_exit;
113 | }
114 |
115 | fseek(f_pcm, 0, SEEK_END);
116 | pcm_size = ftell(f_pcm); //获取音频文件大小
117 | fseek(f_pcm, 0, SEEK_SET);
118 |
119 | p_pcm = (char*)malloc(pcm_size);
120 | if (NULL == p_pcm)
121 | {
122 | printf("\nout of memory!\n");
123 | goto asr_exit;
124 | }
125 |
126 | read_size = fread((void *)p_pcm, 1, pcm_size, f_pcm); //读取音频文件内容
127 | if (read_size != pcm_size)
128 | {
129 | printf("\nread [%s] failed!\n", audio_file);
130 | goto asr_exit;
131 | }
132 |
133 | printf("\n开始语音识别 ...\n");
134 | session_id = QISRSessionBegin(grammar_id, params, &errcode);
135 | if (MSP_SUCCESS != errcode)
136 | {
137 | printf("\nQISRSessionBegin failed, error code:%d\n", errcode);
138 | goto asr_exit;
139 | }
140 |
141 | while (1)
142 | {
143 | unsigned int len = 10 * FRAME_LEN; // 每次写入200ms音频(16k,16bit):1帧音频20ms,10帧=200ms。16k采样率的16位音频,一帧的大小为640Byte
144 | int ret = 0;
145 |
146 | if (pcm_size < 2 * len)
147 | len = pcm_size;
148 | if (len <= 0)
149 | break;
150 |
151 | aud_stat = MSP_AUDIO_SAMPLE_CONTINUE;
152 | if (0 == pcm_count)
153 | aud_stat = MSP_AUDIO_SAMPLE_FIRST;
154 |
155 | printf(">");
156 | ret = QISRAudioWrite(session_id, (const void *)&p_pcm[pcm_count], len, aud_stat, &ep_stat, &rec_stat);
157 | if (MSP_SUCCESS != ret)
158 | {
159 | printf("\nQISRAudioWrite failed, error code:%d\n",ret);
160 | goto asr_exit;
161 | }
162 |
163 | pcm_count += (long)len;
164 | pcm_size -= (long)len;
165 |
166 | if (MSP_EP_AFTER_SPEECH == ep_stat)
167 | break;
168 | usleep(200*1000); //模拟人说话时间间隙,10帧的音频长度为200ms
169 | }
170 | errcode = QISRAudioWrite(session_id, NULL, 0, MSP_AUDIO_SAMPLE_LAST, &ep_stat, &rec_stat);
171 | if (MSP_SUCCESS != errcode)
172 | {
173 | printf("\nQISRAudioWrite failed, error code:%d\n",errcode);
174 | goto asr_exit;
175 | }
176 |
177 | while (MSP_REC_STATUS_COMPLETE != rec_stat)
178 | {
179 | const char *rslt = QISRGetResult(session_id, &rec_stat, 0, &errcode);
180 | if (MSP_SUCCESS != errcode)
181 | {
182 | printf("\nQISRGetResult failed, error code: %d\n", errcode);
183 | goto asr_exit;
184 | }
185 | if (NULL != rslt)
186 | {
187 | unsigned int rslt_len = strlen(rslt);
188 | total_len += rslt_len;
189 | if (total_len >= BUFFER_SIZE)
190 | {
191 | printf("\nno enough buffer for rec_result !\n");
192 | goto asr_exit;
193 | }
194 | strncat(rec_result, rslt, rslt_len);
195 | }
196 | usleep(150*1000); //防止频繁占用CPU
197 | }
198 | printf("\n语音识别结束\n");
199 | printf("=============================================================\n");
200 | printf("%s",rec_result);
201 | printf("=============================================================\n");
202 |
203 | asr_exit:
204 | if (NULL != f_pcm)
205 | {
206 | fclose(f_pcm);
207 | f_pcm = NULL;
208 | }
209 | if (NULL != p_pcm)
210 | {
211 | free(p_pcm);
212 | p_pcm = NULL;
213 | }
214 |
215 | QISRSessionEnd(session_id, hints);
216 | }
217 |
218 | int main(int argc, char* argv[])
219 | {
220 | int ret = MSP_SUCCESS;
221 | const char* login_params = "appid = 570ee863, work_dir = ."; //登录参数,appid与msc库绑定,请勿随意改动
222 | /*
223 | * sub: 请求业务类型
224 | * result_type: 识别结果格式
225 | * result_encoding: 结果编码格式
226 | *
227 | * 详细参数说明请参阅《iFlytek MSC Reference Manual》
228 | */
229 | const char* session_begin_params = "sub = asr, result_type = plain, result_encoding = utf8";
230 | char* grammar_id = NULL;
231 |
232 | /* 用户登录 */
233 | ret = MSPLogin(NULL, NULL, login_params); //第一个参数是用户名,第二个参数是密码,均传NULL即可,第三个参数是登录参数
234 | if (MSP_SUCCESS != ret)
235 | {
236 | printf("MSPLogin failed, error code: %d.\n",ret);
237 | goto exit; //登录失败,退出登录
238 | }
239 |
240 | printf("\n##################################################\n");
241 | printf("## 语音识别(Automatic Speech Recognition)技术 ##\n");
242 | printf("## 能够从语音中识别出特定的命令词或语句模式。 ##\n");
243 | printf("##################################################\n\n");
244 |
245 | grammar_id = (char*)malloc(GRAMID_LEN);
246 | if (NULL == grammar_id)
247 | {
248 | printf("out of memory !\n");
249 | goto exit;
250 | }
251 | memset(grammar_id, 0, GRAMID_LEN);
252 |
253 | printf("上传语法 ...\n");
254 | ret = get_grammar_id(grammar_id, GRAMID_LEN);
255 | if (MSP_SUCCESS != ret)
256 | goto exit;
257 | printf("上传语法成功\n");
258 |
259 | run_asr("wav/iflytek01.wav", session_begin_params, grammar_id); //iflytek01对应的音频内容:“18012345678”
260 |
261 | exit:
262 | if (NULL != grammar_id)
263 | {
264 | free(grammar_id);
265 | grammar_id = NULL;
266 | }
267 | printf("按任意键退出 ...\n");
268 | getchar();
269 | MSPLogout(); //退出登录
270 |
271 | return 0;
272 | }
273 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/iat_sample/32bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译32位可执行文件
2 | make clean;make
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x86/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/iat_sample/64bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译64位可执行文件
2 | make clean;make LINUX64=1
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x64/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/iat_sample/Makefile:
--------------------------------------------------------------------------------
1 | #common makefile header
2 |
3 | DIR_INC = ../../include
4 | DIR_BIN = ../../bin
5 | DIR_LIB = ../../libs
6 |
7 | TARGET = iat_sample
8 | BIN_TARGET = $(DIR_BIN)/$(TARGET)
9 |
10 | CROSS_COMPILE =
11 | CFLAGS = -g -Wall -I$(DIR_INC)
12 |
13 | #可根据实际需要修改,选择所需平台SDK,默认为x64或x86平台。
14 | LDFLAGS := -L$(DIR_LIB)/RaspberryPi
15 |
16 | LDFLAGS += -lmsc -lrt -ldl -lpthread
17 |
18 | OBJECTS := $(patsubst %.c,%.o,$(wildcard *.c))
19 |
20 | $(BIN_TARGET) : $(OBJECTS)
21 | $(CROSS_COMPILE)gcc $(CFLAGS) $^ -o $@ $(LDFLAGS)
22 |
23 | %.o : %.c
24 | $(CROSS_COMPILE)gcc -c $(CFLAGS) $< -o $@
25 | clean:
26 | @rm -f *.o $(BIN_TARGET)
27 |
28 | .PHONY:clean
29 |
30 | #common makefile foot
31 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/iat_sample/iat_sample.c:
--------------------------------------------------------------------------------
1 | /*
2 | * 语音听写(iFly Auto Transform)技术能够实时地将语音转换成对应的文字。
3 | */
4 |
5 | #include
6 | #include
7 | #include
8 | #include
9 |
10 | #include "qisr.h"
11 | #include "msp_cmn.h"
12 | #include "msp_errors.h"
13 |
14 | #define BUFFER_SIZE 4096
15 | #define FRAME_LEN 640
16 | #define HINTS_SIZE 100
17 |
18 | /* 上传用户词表 */
19 | int upload_userwords()
20 | {
21 | char* userwords = NULL;
22 | unsigned int len = 0;
23 | unsigned int read_len = 0;
24 | FILE* fp = NULL;
25 | int ret = -1;
26 |
27 | fp = fopen("userwords.txt", "rb");
28 | if (NULL == fp)
29 | {
30 | printf("\nopen [userwords.txt] failed! \n");
31 | goto upload_exit;
32 | }
33 |
34 | fseek(fp, 0, SEEK_END);
35 | len = ftell(fp); //获取音频文件大小
36 | fseek(fp, 0, SEEK_SET);
37 |
38 | userwords = (char*)malloc(len + 1);
39 | if (NULL == userwords)
40 | {
41 | printf("\nout of memory! \n");
42 | goto upload_exit;
43 | }
44 |
45 | read_len = fread((void*)userwords, 1, len, fp); //读取用户词表内容
46 | if (read_len != len)
47 | {
48 | printf("\nread [userwords.txt] failed!\n");
49 | goto upload_exit;
50 | }
51 | userwords[len] = '\0';
52 |
53 | MSPUploadData("userwords", userwords, len, "sub = uup, dtt = userword", &ret); //上传用户词表
54 | if (MSP_SUCCESS != ret)
55 | {
56 | printf("\nMSPUploadData failed ! errorCode: %d \n", ret);
57 | goto upload_exit;
58 | }
59 |
60 | upload_exit:
61 | if (NULL != fp)
62 | {
63 | fclose(fp);
64 | fp = NULL;
65 | }
66 | if (NULL != userwords)
67 | {
68 | free(userwords);
69 | userwords = NULL;
70 | }
71 |
72 | return ret;
73 | }
74 |
75 | void run_iat(const char* audio_file, const char* session_begin_params)
76 | {
77 | const char* session_id = NULL;
78 | char rec_result[BUFFER_SIZE] = {NULL};
79 | char hints[HINTS_SIZE] = {NULL}; //hints为结束本次会话的原因描述,由用户自定义
80 | unsigned int total_len = 0;
81 | int aud_stat = MSP_AUDIO_SAMPLE_CONTINUE ; //音频状态
82 | int ep_stat = MSP_EP_LOOKING_FOR_SPEECH; //端点检测
83 | int rec_stat = MSP_REC_STATUS_SUCCESS ; //识别状态
84 | int errcode = MSP_SUCCESS ;
85 |
86 | FILE* f_pcm = NULL;
87 | char* p_pcm = NULL;
88 | long pcm_count = 0;
89 | long pcm_size = 0;
90 | long read_size = 0;
91 |
92 |
93 | if (NULL == audio_file)
94 | goto iat_exit;
95 |
96 | f_pcm = fopen(audio_file, "rb");
97 | if (NULL == f_pcm)
98 | {
99 | printf("\nopen [%s] failed! \n", audio_file);
100 | goto iat_exit;
101 | }
102 |
103 | fseek(f_pcm, 0, SEEK_END);
104 | pcm_size = ftell(f_pcm); //获取音频文件大小
105 | fseek(f_pcm, 0, SEEK_SET);
106 |
107 | p_pcm = (char *)malloc(pcm_size);
108 | if (NULL == p_pcm)
109 | {
110 | printf("\nout of memory! \n");
111 | goto iat_exit;
112 | }
113 |
114 | read_size = fread((void *)p_pcm, 1, pcm_size, f_pcm); //读取音频文件内容
115 | if (read_size != pcm_size)
116 | {
117 | printf("\nread [%s] error!\n", audio_file);
118 | goto iat_exit;
119 | }
120 |
121 | printf("\n开始语音听写 ...\n");
122 | session_id = QISRSessionBegin(NULL, session_begin_params, &errcode); //听写不需要语法,第一个参数为NULL
123 | if (MSP_SUCCESS != errcode)
124 | {
125 | printf("\nQISRSessionBegin failed! error code:%d\n", errcode);
126 | goto iat_exit;
127 | }
128 |
129 | while (1)
130 | {
131 | unsigned int len = 10 * FRAME_LEN; // 每次写入200ms音频(16k,16bit):1帧音频20ms,10帧=200ms。16k采样率的16位音频,一帧的大小为640Byte
132 | int ret = 0;
133 |
134 | if (pcm_size < 2 * len)
135 | len = pcm_size;
136 | if (len <= 0)
137 | break;
138 |
139 | aud_stat = MSP_AUDIO_SAMPLE_CONTINUE;
140 | if (0 == pcm_count)
141 | aud_stat = MSP_AUDIO_SAMPLE_FIRST;
142 |
143 | printf(">");
144 | ret = QISRAudioWrite(session_id, (const void *)&p_pcm[pcm_count], len, aud_stat, &ep_stat, &rec_stat);
145 | if (MSP_SUCCESS != ret)
146 | {
147 | printf("\nQISRAudioWrite failed! error code:%d\n", ret);
148 | goto iat_exit;
149 | }
150 |
151 | pcm_count += (long)len;
152 | pcm_size -= (long)len;
153 |
154 | if (MSP_REC_STATUS_SUCCESS == rec_stat) //已经有部分听写结果
155 | {
156 | const char *rslt = QISRGetResult(session_id, &rec_stat, 0, &errcode);
157 | if (MSP_SUCCESS != errcode)
158 | {
159 | printf("\nQISRGetResult failed! error code: %d\n", errcode);
160 | goto iat_exit;
161 | }
162 | if (NULL != rslt)
163 | {
164 | unsigned int rslt_len = strlen(rslt);
165 | total_len += rslt_len;
166 | if (total_len >= BUFFER_SIZE)
167 | {
168 | printf("\nno enough buffer for rec_result !\n");
169 | goto iat_exit;
170 | }
171 | strncat(rec_result, rslt, rslt_len);
172 | }
173 | }
174 |
175 | if (MSP_EP_AFTER_SPEECH == ep_stat)
176 | break;
177 | usleep(200*1000); //模拟人说话时间间隙。200ms对应10帧的音频
178 | }
179 | errcode = QISRAudioWrite(session_id, NULL, 0, MSP_AUDIO_SAMPLE_LAST, &ep_stat, &rec_stat);
180 | if (MSP_SUCCESS != errcode)
181 | {
182 | printf("\nQISRAudioWrite failed! error code:%d \n", errcode);
183 | goto iat_exit;
184 | }
185 |
186 | while (MSP_REC_STATUS_COMPLETE != rec_stat)
187 | {
188 | const char *rslt = QISRGetResult(session_id, &rec_stat, 0, &errcode);
189 | if (MSP_SUCCESS != errcode)
190 | {
191 | printf("\nQISRGetResult failed, error code: %d\n", errcode);
192 | goto iat_exit;
193 | }
194 | if (NULL != rslt)
195 | {
196 | unsigned int rslt_len = strlen(rslt);
197 | total_len += rslt_len;
198 | if (total_len >= BUFFER_SIZE)
199 | {
200 | printf("\nno enough buffer for rec_result !\n");
201 | goto iat_exit;
202 | }
203 | strncat(rec_result, rslt, rslt_len);
204 | }
205 | usleep(150*1000); //防止频繁占用CPU
206 | }
207 | printf("\n语音听写结束\n");
208 | printf("=============================================================\n");
209 | printf("%s\n",rec_result);
210 | printf("=============================================================\n");
211 |
212 | iat_exit:
213 | if (NULL != f_pcm)
214 | {
215 | fclose(f_pcm);
216 | f_pcm = NULL;
217 | }
218 | if (NULL != p_pcm)
219 | { free(p_pcm);
220 | p_pcm = NULL;
221 | }
222 |
223 | QISRSessionEnd(session_id, hints);
224 | }
225 |
226 | int main(int argc, char* argv[])
227 | {
228 | int ret = MSP_SUCCESS;
229 | int upload_on = 1; //是否上传用户词表
230 | const char* login_params = "appid = 570ee863, work_dir = ."; // 登录参数,appid与msc库绑定,请勿随意改动
231 |
232 | /*
233 | * sub: 请求业务类型
234 | * domain: 领域
235 | * language: 语言
236 | * accent: 方言
237 | * sample_rate: 音频采样率
238 | * result_type: 识别结果格式
239 | * result_encoding: 结果编码格式
240 | *
241 | * 详细参数说明请参阅《iFlytek MSC Reference Manual》
242 | */
243 | const char* session_begin_params = "sub = iat, domain = iat, language = zh_ch, accent = mandarin, sample_rate = 16000, result_type = plain, result_encoding = utf8";
244 |
245 | /* 用户登录 */
246 | ret = MSPLogin(NULL, NULL, login_params); //第一个参数是用户名,第二个参数是密码,均传NULL即可,第三个参数是登录参数
247 | if (MSP_SUCCESS != ret)
248 | {
249 | printf("MSPLogin failed , Error code %d.\n",ret);
250 | goto exit; //登录失败,退出登录
251 | }
252 |
253 | printf("\n########################################################################\n");
254 | printf("## 语音听写(iFly Auto Transform)技术能够实时地将语音转换成对应的文字。##\n");
255 | printf("########################################################################\n\n");
256 | printf("演示示例选择:是否上传用户词表?\n0:不使用\n1:使用\n");
257 |
258 | scanf("%d", &upload_on);
259 | if (upload_on)
260 | {
261 | printf("上传用户词表 ...\n");
262 | ret = upload_userwords();
263 | if (MSP_SUCCESS != ret)
264 | goto exit;
265 | printf("上传用户词表成功\n");
266 | }
267 | run_iat("wav/iflytek02.wav", session_begin_params); //iflytek02音频内容为“中美数控”;如果上传了用户词表,识别结果为:“中美速控”。
268 | exit:
269 | printf("按任意键退出 ...\n");
270 | getchar();
271 | MSPLogout(); //退出登录
272 |
273 | return 0;
274 | }
275 |
276 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/stt_sample/32bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译32位可执行文件
2 | make clean;make
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x86/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/stt_sample/64bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译64位可执行文件
2 | make clean;make LINUX64=1
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x64/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/stt_sample/Makefile:
--------------------------------------------------------------------------------
1 | #common makefile header
2 |
3 | DIR_INC = ../../include
4 | DIR_BIN = ../../bin
5 | DIR_LIB = ../../libs
6 |
7 | TARGET = stt_sample
8 | BIN_TARGET = $(DIR_BIN)/$(TARGET)
9 |
10 | CROSS_COMPILE =
11 | CFLAGS = -g -Wall -I$(DIR_INC)
12 |
13 | #可根据实际需要修改,选择所需平台SDK,默认为x64或x86平台。
14 | LDFLAGS := -L$(DIR_LIB)/RaspberryPi
15 |
16 | LDFLAGS += -lmsc -lrt -ldl -lpthread
17 |
18 | OBJECTS := $(patsubst %.c,%.o,$(wildcard *.c))
19 |
20 | $(BIN_TARGET) : $(OBJECTS)
21 | $(CROSS_COMPILE)gcc $(CFLAGS) $^ -o $@ $(LDFLAGS)
22 |
23 | %.o : %.c
24 | $(CROSS_COMPILE)gcc -c $(CFLAGS) $< -o $@
25 | clean:
26 | @rm -f *.o $(BIN_TARGET)
27 |
28 | .PHONY:clean
29 |
30 | #common makefile foot
31 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/stt_sample/iat_sample.c:
--------------------------------------------------------------------------------
1 | /*
2 | * 语音听写(iFly Auto Transform)技术能够实时地将语音转换成对应的文字。
3 | */
4 |
5 | #include
6 | #include
7 | #include
8 | #include
9 |
10 | #include "qisr.h"
11 | #include "msp_cmn.h"
12 | #include "msp_errors.h"
13 |
14 | #define BUFFER_SIZE 4096
15 | #define FRAME_LEN 640
16 | #define HINTS_SIZE 100
17 |
18 | /* 上传用户词表 */
19 | int upload_userwords()
20 | {
21 | char* userwords = NULL;
22 | unsigned int len = 0;
23 | unsigned int read_len = 0;
24 | FILE* fp = NULL;
25 | int ret = -1;
26 |
27 | fp = fopen("userwords.txt", "rb");
28 | if (NULL == fp)
29 | {
30 | // printf("\nopen [userwords.txt] failed! \n");
31 | goto upload_exit;
32 | }
33 |
34 | fseek(fp, 0, SEEK_END);
35 | len = ftell(fp); //获取音频文件大小
36 | fseek(fp, 0, SEEK_SET);
37 |
38 | userwords = (char*)malloc(len + 1);
39 | if (NULL == userwords)
40 | {
41 | // printf("\nout of memory! \n");
42 | goto upload_exit;
43 | }
44 |
45 | read_len = fread((void*)userwords, 1, len, fp); //读取用户词表内容
46 | if (read_len != len)
47 | {
48 | // printf("\nread [userwords.txt] failed!\n");
49 | goto upload_exit;
50 | }
51 | userwords[len] = '\0';
52 |
53 | MSPUploadData("userwords", userwords, len, "sub = uup, dtt = userword", &ret); //上传用户词表
54 | if (MSP_SUCCESS != ret)
55 | {
56 | // printf("\nMSPUploadData failed ! errorCode: %d \n", ret);
57 | goto upload_exit;
58 | }
59 |
60 | upload_exit:
61 | if (NULL != fp)
62 | {
63 | fclose(fp);
64 | fp = NULL;
65 | }
66 | if (NULL != userwords)
67 | {
68 | free(userwords);
69 | userwords = NULL;
70 | }
71 |
72 | return ret;
73 | }
74 |
75 | void run_iat(const char* audio_file, const char* session_begin_params)
76 | {
77 | const char* session_id = NULL;
78 | char rec_result[BUFFER_SIZE] = {NULL};
79 | char hints[HINTS_SIZE] = {NULL}; //hints为结束本次会话的原因描述,由用户自定义
80 | unsigned int total_len = 0;
81 | int aud_stat = MSP_AUDIO_SAMPLE_CONTINUE ; //音频状态
82 | int ep_stat = MSP_EP_LOOKING_FOR_SPEECH; //端点检测
83 | int rec_stat = MSP_REC_STATUS_SUCCESS ; //识别状态
84 | int errcode = MSP_SUCCESS ;
85 |
86 | FILE* f_pcm = NULL;
87 | char* p_pcm = NULL;
88 | long pcm_count = 0;
89 | long pcm_size = 0;
90 | long read_size = 0;
91 |
92 |
93 | if (NULL == audio_file)
94 | goto iat_exit;
95 |
96 | f_pcm = fopen(audio_file, "rb");
97 | if (NULL == f_pcm)
98 | {
99 | // printf("\nopen [%s] failed! \n", audio_file);
100 | goto iat_exit;
101 | }
102 |
103 | fseek(f_pcm, 0, SEEK_END);
104 | pcm_size = ftell(f_pcm); //获取音频文件大小
105 | fseek(f_pcm, 0, SEEK_SET);
106 |
107 | p_pcm = (char *)malloc(pcm_size);
108 | if (NULL == p_pcm)
109 | {
110 | // printf("\nout of memory! \n");
111 | goto iat_exit;
112 | }
113 |
114 | read_size = fread((void *)p_pcm, 1, pcm_size, f_pcm); //读取音频文件内容
115 | if (read_size != pcm_size)
116 | {
117 | // printf("\nread [%s] error!\n", audio_file);
118 | goto iat_exit;
119 | }
120 |
121 | // // printf("\n开始语音听写 ...\n");
122 | session_id = QISRSessionBegin(NULL, session_begin_params, &errcode); //听写不需要语法,第一个参数为NULL
123 | if (MSP_SUCCESS != errcode)
124 | {
125 | // printf("\nQISRSessionBegin failed! error code:%d\n", errcode);
126 | goto iat_exit;
127 | }
128 |
129 | while (1)
130 | {
131 | unsigned int len = 10 * FRAME_LEN; // 每次写入200ms音频(16k,16bit):1帧音频20ms,10帧=200ms。16k采样率的16位音频,一帧的大小为640Byte
132 | int ret = 0;
133 |
134 | if (pcm_size < 2 * len)
135 | len = pcm_size;
136 | if (len <= 0)
137 | break;
138 |
139 | aud_stat = MSP_AUDIO_SAMPLE_CONTINUE;
140 | if (0 == pcm_count)
141 | aud_stat = MSP_AUDIO_SAMPLE_FIRST;
142 |
143 | // // printf(">");
144 | ret = QISRAudioWrite(session_id, (const void *)&p_pcm[pcm_count], len, aud_stat, &ep_stat, &rec_stat);
145 | if (MSP_SUCCESS != ret)
146 | {
147 | // printf("\nQISRAudioWrite failed! error code:%d\n", ret);
148 | goto iat_exit;
149 | }
150 |
151 | pcm_count += (long)len;
152 | pcm_size -= (long)len;
153 |
154 | if (MSP_REC_STATUS_SUCCESS == rec_stat) //已经有部分听写结果
155 | {
156 | const char *rslt = QISRGetResult(session_id, &rec_stat, 0, &errcode);
157 | if (MSP_SUCCESS != errcode)
158 | {
159 | // printf("\nQISRGetResult failed! error code: %d\n", errcode);
160 | goto iat_exit;
161 | }
162 | if (NULL != rslt)
163 | {
164 | unsigned int rslt_len = strlen(rslt);
165 | total_len += rslt_len;
166 | if (total_len >= BUFFER_SIZE)
167 | {
168 | // printf("\nno enough buffer for rec_result !\n");
169 | goto iat_exit;
170 | }
171 | strncat(rec_result, rslt, rslt_len);
172 | }
173 | }
174 |
175 | if (MSP_EP_AFTER_SPEECH == ep_stat)
176 | break;
177 | usleep(200*1000); //模拟人说话时间间隙。200ms对应10帧的音频
178 | }
179 | errcode = QISRAudioWrite(session_id, NULL, 0, MSP_AUDIO_SAMPLE_LAST, &ep_stat, &rec_stat);
180 | if (MSP_SUCCESS != errcode)
181 | {
182 | // printf("\nQISRAudioWrite failed! error code:%d \n", errcode);
183 | goto iat_exit;
184 | }
185 |
186 | while (MSP_REC_STATUS_COMPLETE != rec_stat)
187 | {
188 | const char *rslt = QISRGetResult(session_id, &rec_stat, 0, &errcode);
189 | if (MSP_SUCCESS != errcode)
190 | {
191 | // printf("\nQISRGetResult failed, error code: %d\n", errcode);
192 | goto iat_exit;
193 | }
194 | if (NULL != rslt)
195 | {
196 | unsigned int rslt_len = strlen(rslt);
197 | total_len += rslt_len;
198 | if (total_len >= BUFFER_SIZE)
199 | {
200 | // printf("\nno enough buffer for rec_result !\n");
201 | goto iat_exit;
202 | }
203 | strncat(rec_result, rslt, rslt_len);
204 | }
205 | usleep(150*1000); //防止频繁占用CPU
206 | }
207 | // // printf("\n语音听写结束\n");
208 | // // printf("=============================================================\n");
209 | printf("%s\n",rec_result);
210 | // // printf("=============================================================\n");
211 |
212 | iat_exit:
213 | if (NULL != f_pcm)
214 | {
215 | fclose(f_pcm);
216 | f_pcm = NULL;
217 | }
218 | if (NULL != p_pcm)
219 | { free(p_pcm);
220 | p_pcm = NULL;
221 | }
222 |
223 | QISRSessionEnd(session_id, hints);
224 | }
225 |
226 | int main(int argc, char* argv[])
227 | {
228 | int ret = MSP_SUCCESS;
229 | int upload_on = 0; //1; //是否上传用户词表
230 | const char* login_params = "appid = 570ee863, work_dir = ."; // 登录参数,appid与msc库绑定,请勿随意改动
231 |
232 | /*
233 | * sub: 请求业务类型
234 | * domain: 领域
235 | * language: 语言
236 | * accent: 方言
237 | * sample_rate: 音频采样率
238 | * result_type: 识别结果格式
239 | * result_encoding: 结果编码格式
240 | *
241 | * 详细参数说明请参阅《iFlytek MSC Reference Manual》
242 | */
243 | const char* session_begin_params = "sub = iat, domain = iat, language = zh_ch, accent = mandarin, sample_rate = 16000, result_type = plain, result_encoding = utf8";
244 |
245 | /* 用户登录 */
246 | ret = MSPLogin(NULL, NULL, login_params); //第一个参数是用户名,第二个参数是密码,均传NULL即可,第三个参数是登录参数
247 | if (MSP_SUCCESS != ret)
248 | {
249 | // printf("MSPLogin failed , Error code %d.\n",ret);
250 | goto exit; //登录失败,退出登录
251 | }
252 |
253 | // // printf("\n########################################################################\n");
254 | // // printf("## 语音听写(iFly Auto Transform)技术能够实时地将语音转换成对应的文字。##\n");
255 | // // printf("########################################################################\n\n");
256 | // // printf("演示示例选择:是否上传用户词表?\n0:不使用\n1:使用\n");
257 |
258 | // scanf("%d", &upload_on);
259 | if (upload_on)
260 | {
261 | // printf("上传用户词表 ...\n");
262 | ret = upload_userwords();
263 | if (MSP_SUCCESS != ret)
264 | goto exit;
265 | // printf("上传用户词表成功\n");
266 | }
267 | // // printf("下面将wav转成文本 ...\n");
268 | run_iat(argv[1], session_begin_params); //iflytek02音频内容为“中美数控”;如果上传了用户词表,识别结果为:“中美速控”。
269 | exit:
270 | // // printf("按任意键退出 ...\n");
271 | // getchar();
272 | MSPLogout(); //退出登录
273 |
274 | return 0;
275 | }
276 |
277 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/stt_sample/iat_sample.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/samples/stt_sample/iat_sample.o
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/tts_sample/32bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译32位可执行文件
2 | make clean;make
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/RaspberryPi/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/tts_sample/64bit_make.sh:
--------------------------------------------------------------------------------
1 | #编译64位可执行文件
2 | make clean;make LINUX64=1
3 | #设置libmsc.so库搜索路径
4 | export LD_LIBRARY_PATH=$(pwd)/../../libs/x64/
5 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/tts_sample/Makefile:
--------------------------------------------------------------------------------
1 | #common makefile header
2 |
3 | DIR_INC = ../../include
4 | DIR_BIN = ../../bin
5 | DIR_LIB = ../../libs
6 |
7 | TARGET = tts_sample
8 | BIN_TARGET = $(DIR_BIN)/$(TARGET)
9 |
10 | CROSS_COMPILE =
11 | CFLAGS = -g -Wall -I$(DIR_INC)
12 |
13 | #可根据实际需要修改,选择所需平台SDK,默认为x64或x86平台。
14 | ifdef LINUX64
15 | LDFLAGS := -L$(DIR_LIB)/x64
16 | else
17 | LDFLAGS := -L$(DIR_LIB)/RaspberryPi
18 | endif
19 |
20 | LDFLAGS += -lmsc -lrt -ldl -lpthread
21 |
22 | OBJECTS := $(patsubst %.c,%.o,$(wildcard *.c))
23 |
24 | $(BIN_TARGET) : $(OBJECTS)
25 | $(CROSS_COMPILE)gcc $(CFLAGS) $^ -o $@ $(LDFLAGS)
26 |
27 | %.o : %.c
28 | $(CROSS_COMPILE)gcc -c $(CFLAGS) $< -o $@
29 | clean:
30 | @rm -f *.o $(BIN_TARGET)
31 |
32 | .PHONY:clean
33 |
34 | #common makefile foot
35 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/tts_sample/tts_sample.c:
--------------------------------------------------------------------------------
1 | /*
2 | * 语音合成(Text To Speech,TTS)技术能够自动将任意文字实时转换为连续的
3 | * 自然语音,是一种能够在任何时间、任何地点,向任何人提供语音信息服务的
4 | * 高效便捷手段,非常符合信息时代海量数据、动态更新和个性化查询的需求。
5 | */
6 |
7 | #include
8 | #include
9 | #include
10 | #include
11 |
12 | #include "qtts.h"
13 | #include "msp_cmn.h"
14 | #include "msp_errors.h"
15 |
16 | /* wav音频头部格式 */
17 | typedef struct _wave_pcm_hdr
18 | {
19 | char riff[4]; // = "RIFF"
20 | int size_8; // = FileSize - 8
21 | char wave[4]; // = "WAVE"
22 | char fmt[4]; // = "fmt "
23 | int fmt_size; // = 下一个结构体的大小 : 16
24 |
25 | short int format_tag; // = PCM : 1
26 | short int channels; // = 通道数 : 1
27 | int samples_per_sec; // = 采样率 : 8000 | 6000 | 11025 | 16000
28 | int avg_bytes_per_sec; // = 每秒字节数 : samples_per_sec * bits_per_sample / 8
29 | short int block_align; // = 每采样点字节数 : wBitsPerSample / 8
30 | short int bits_per_sample; // = 量化比特数: 8 | 16
31 |
32 | char data[4]; // = "data";
33 | int data_size; // = 纯数据长度 : FileSize - 44
34 | } wave_pcm_hdr;
35 |
36 | /* 默认wav音频头部数据 */
37 | wave_pcm_hdr default_wav_hdr =
38 | {
39 | { 'R', 'I', 'F', 'F' },
40 | 0,
41 | {'W', 'A', 'V', 'E'},
42 | {'f', 'm', 't', ' '},
43 | 16,
44 | 1,
45 | 1,
46 | 16000,
47 | 32000,
48 | 2,
49 | 16,
50 | {'d', 'a', 't', 'a'},
51 | 0
52 | };
53 | /* 文本合成 */
54 | int text_to_speech(const char* src_text, const char* des_path, const char* params)
55 | {
56 | int ret = -1;
57 | FILE* fp = NULL;
58 | const char* sessionID = NULL;
59 | unsigned int audio_len = 0;
60 | wave_pcm_hdr wav_hdr = default_wav_hdr;
61 | int synth_status = MSP_TTS_FLAG_STILL_HAVE_DATA;
62 |
63 | if (NULL == src_text || NULL == des_path)
64 | {
65 | // printf("params is error!\n");
66 | return ret;
67 | }
68 | fp = fopen(des_path, "wb");
69 | if (NULL == fp)
70 | {
71 | // printf("open %s error.\n", des_path);
72 | return ret;
73 | }
74 | /* 开始合成 */
75 | sessionID = QTTSSessionBegin(params, &ret);
76 | if (MSP_SUCCESS != ret)
77 | {
78 | // printf("QTTSSessionBegin failed, error code: %d.\n", ret);
79 | fclose(fp);
80 | return ret;
81 | }
82 | ret = QTTSTextPut(sessionID, src_text, (unsigned int)strlen(src_text), NULL);
83 | if (MSP_SUCCESS != ret)
84 | {
85 | // printf("QTTSTextPut failed, error code: %d.\n",ret);
86 | QTTSSessionEnd(sessionID, "TextPutError");
87 | fclose(fp);
88 | return ret;
89 | }
90 | // printf("正在合成 ...\n");
91 | fwrite(&wav_hdr, sizeof(wav_hdr) ,1, fp); //添加wav音频头,使用采样率为16000
92 | while (1)
93 | {
94 | /* 获取合成音频 */
95 | const void* data = QTTSAudioGet(sessionID, &audio_len, &synth_status, &ret);
96 | if (MSP_SUCCESS != ret)
97 | break;
98 | if (NULL != data)
99 | {
100 | fwrite(data, audio_len, 1, fp);
101 | wav_hdr.data_size += audio_len; //计算data_size大小
102 | }
103 | if (MSP_TTS_FLAG_DATA_END == synth_status)
104 | break;
105 | // printf(">");
106 | usleep(150*1000); //防止频繁占用CPU
107 | }//合成状态synth_status取值请参阅《讯飞语音云API文档》
108 | // printf("\n");
109 | if (MSP_SUCCESS != ret)
110 | {
111 | // printf("QTTSAudioGet failed, error code: %d.\n",ret);
112 | QTTSSessionEnd(sessionID, "AudioGetError");
113 | fclose(fp);
114 | return ret;
115 | }
116 | /* 修正wav文件头数据的大小 */
117 | wav_hdr.size_8 += wav_hdr.data_size + (sizeof(wav_hdr) - 8);
118 |
119 | /* 将修正过的数据写回文件头部,音频文件为wav格式 */
120 | fseek(fp, 4, 0);
121 | fwrite(&wav_hdr.size_8,sizeof(wav_hdr.size_8), 1, fp); //写入size_8的值
122 | fseek(fp, 40, 0); //将文件指针偏移到存储data_size值的位置
123 | fwrite(&wav_hdr.data_size,sizeof(wav_hdr.data_size), 1, fp); //写入data_size的值
124 | fclose(fp);
125 | fp = NULL;
126 | /* 合成完毕 */
127 | ret = QTTSSessionEnd(sessionID, "Normal");
128 | if (MSP_SUCCESS != ret)
129 | {
130 | // printf("QTTSSessionEnd failed, error code: %d.\n",ret);
131 | }
132 |
133 | return ret;
134 | }
135 |
136 | int main(int argc, char* argv[])
137 | {
138 |
139 | int ret = MSP_SUCCESS;
140 | const char* login_params = "appid = 570ee863, work_dir = .";//登录参数,appid与msc库绑定,请勿随意改动
141 | /*
142 | * rdn: 合成音频数字发音方式
143 | * volume: 合成音频的音量
144 | * pitch: 合成音频的音调
145 | * speed: 合成音频对应的语速
146 | * voice_name: 合成发音人
147 | * sample_rate: 合成音频采样率
148 | * text_encoding: 合成文本编码格式
149 | *
150 | * 详细参数说明请参阅《iFlytek MSC Reference Manual》
151 | */
152 | const char* session_begin_params = "voice_name = xiaoyan, text_encoding = UTF8, sample_rate = 16000, speed = 50, volume = 50, pitch = 50, rdn = 2";
153 | const char* filename = argv[1]; // "tts_sample.wav"; //合成的语音文件名称
154 | const char* text = argv[2]; //"亲爱的用户,您好,这是一个语音合成示例,感谢您对科大讯飞语音技术的支持!科大讯飞是亚太地区最大的语音上市公司,股票代码:002230"; //合成文本
155 | // printf("first params is wave file, and the second is text.");
156 | /* 用户登录 */
157 | ret = MSPLogin(NULL, NULL, login_params);//第一个参数是用户名,第二个参数是密码,第三个参数是登录参数,用户名和密码可在http://open.voicecloud.cn注册获取
158 | if (MSP_SUCCESS != ret)
159 | {
160 | // printf("MSPLogin failed, error code: %d.\n", ret);
161 | goto exit ;//登录失败,退出登录
162 | }
163 | // printf("\n###########################################################################\n");
164 | // printf("## 语音合成(Text To Speech,TTS)技术能够自动将任意文字实时转换为连续的 ##\n");
165 | // printf("## 自然语音,是一种能够在任何时间、任何地点,向任何人提供语音信息服务的 ##\n");
166 | // printf("## 高效便捷手段,非常符合信息时代海量数据、动态更新和个性化查询的需求。 ##\n");
167 | // printf("###########################################################################\n\n");
168 | /* 文本合成 */
169 | printf("开始合成 ...%s -> %s\n", text, filename);
170 | ret = text_to_speech(text, filename, session_begin_params);
171 | if (MSP_SUCCESS != ret)
172 | {
173 | // printf("text_to_speech failed, error code: %d.\n", ret);
174 | }
175 | // printf("合成完毕\n");
176 |
177 | exit:
178 | // printf("退出 ...\n");
179 | // getchar();
180 | MSPLogout(); //退出登录
181 |
182 | return 0;
183 | }
184 |
185 |
--------------------------------------------------------------------------------
/Linux_voice_1.109/samples/tts_sample/tts_sample.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/geektown/raspberry-xunfei/a56d12ac4c756c476294d60776465e36b32678d6/Linux_voice_1.109/samples/tts_sample/tts_sample.o
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # raspberry-xunfei
2 | 科大讯飞树莓派语音测试
3 | =====
4 | ## Raspberry PI B型 代码库位置
5 | /home/pi/xunfei/Linux_voice_1.109
6 |
7 | ## 环境配置
8 | ```shell
9 | export LD_LIBRARY_PATH=/home/pi/xunfei/Linux_voice_1.109/libs/RaspberryPi:$LD_LIBRARY_PATH
10 | sudo ldconfig
11 | ```
12 |
13 | ## 测试样例
14 | ```shell
15 | chmod +x bin/tts_sample
16 | bin/tts_sample temp.wav "Hello Jasper 这个是科大讯飞tts合成的文本。体验一下还不错吧?"
17 | ```
18 |
19 | ## 编译脚本
20 | 在samples目录中
21 |
--------------------------------------------------------------------------------